Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Doriano Blengino
Benoît Minisini ha scritto: >> 1. i18n says that a "normal" number has no thousand separator; instead a >> currency ("monetary") has it. Thinking again and again, this could make >> sense. >> >> 2. KDE desktop has its own management. Don't know how and why - perhaps >> those guys want to run KDE wi

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Benoît Minisini
> Benoît Minisini ha scritto: > >> Benoît Minisini ha scritto: > Changed file "/usr/share/i18n/locales/it_IT" so the section: > > LC_NUMERIC > decimal_point "" > thousands_sep "" < empty string > grouping

[Gambas-user] How do you set text for a group of textbox ?

2009-06-26 Thread Swee Kwang Tan
Dear Sir, If I have a group of textbox, a string array access data from database, How do I write a program to set text for each textbox sepqrately ? like the following dim str[10] as string dim i as integer . .  'after this line, str get the data from database for i = 0 to 9    

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Benoît Minisini ha scritto: >> Changed file "/usr/share/i18n/locales/it_IT" so the section: LC_NUMERIC decimal_point "" thousands_sep "" < empty string grouping

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Benoît Minisini
> Il venerdì 26 giugno 2009 04:34:54 kobolds ha scritto: > > I create a function call FormatX() for easy formatting number, date and > > string . read the cctools.html for detail on how to use it . > > > > post your opinion what you think about it > > > > http://www.nabble.com/file/p24216805/cctool

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Benoît Minisini
> Benoît Minisini ha scritto: > >> Changed file "/usr/share/i18n/locales/it_IT" so the section: > >> > >> LC_NUMERIC > >> decimal_point "" > >> thousands_sep "" < empty string > >> grouping 0;0 > >> END LC_NUMERIC > >> >

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Doriano Blengino
Benoît Minisini ha scritto: >> Changed file "/usr/share/i18n/locales/it_IT" so the section: >> >> LC_NUMERIC >> decimal_point "" >> thousands_sep "" < empty string >> grouping 0;0 >> END LC_NUMERIC >> >> >> results in: >>

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Pino Zollo
Il venerdì 26 giugno 2009 11:34:04 kobolds ha scritto: > for example > you need to write program to export data to text file in fix size in > following format. > 1. item_no      type:integer    size = 10 character , leading zero > 2. item name   type:string      size = 20 character, trailing space

Re: [Gambas-user] Blob management

2009-06-26 Thread Benoît Minisini
> Form MySQL 5.1 Manual, page 603: > > - Data Type - - Storage Required - > BLOB, TEXT L+2 bytes, where L < 2^16 > MEDIUMBLOB, MEDIUMTEXT L+3 bytes, where L < 2^24 > LONGBLOB, LONGTEXT L+4 bytes, where L < 2^32 > > > I

Re: [Gambas-user] Blob management

2009-06-26 Thread David Villalobos Cambronero
Form MySQL 5.1 Manual, page 603: - Data Type - - Storage Required - BLOB, TEXT L+2 bytes, where L < 2^16 MEDIUMBLOB, MEDIUMTEXT L+3 bytes, where L < 2^24 LONGBLOB, LONGTEXT L+4 bytes, where L < 2^32 I just need 2^2

Re: [Gambas-user] Blob management

2009-06-26 Thread Benoît Minisini
> Hi, first of all thanks to Benoit, Ron and Wener for help me. > > Just to be clear if someone reads this in the future, these statementst are > correct: > > DIM hResultado AS Result > > IF NOT Exist("/tmp/mas") THEN MKDIR "/tmp/mas" > hResultado = $hConn.Exec("SELECT * FROM `Imagenes`") >

Re: [Gambas-user] Blob management

2009-06-26 Thread David Villalobos Cambronero
Hi, first of all thanks to Benoit, Ron and Wener for help me. Just to be clear if someone reads this in the future, these statementst are correct: DIM hResultado AS Result IF NOT Exist("/tmp/mas") THEN MKDIR "/tmp/mas" hResultado = $hConn.Exec("SELECT * FROM `Imagenes`") File.Save("/tm

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread kobolds
Pino Zollo wrote: > > Il venerdì 26 giugno 2009 04:34:54 kobolds ha scritto: >> I create a function call FormatX() for easy formatting number, date and >> string . read the cctools.html for detail on how to use it . >> >> post your opinion what you think about it >> >> http://www.nabble.com/fil

Re: [Gambas-user] Blob management

2009-06-26 Thread Benoît Minisini
> I do this: > > DIM hResultado AS Result > DIM sImagen AS String > > IF NOT Exist("/tmp/mas") THEN MKDIR "/tmp/mas" > hResultado = $hConn.Exec("SELECT * FROM `Imagenes`") > sImagen = hResultado["Imagen"].Data <--- Fails here > "Not an object" Well, that means that h

Re: [Gambas-user] Blob management

2009-06-26 Thread Ron
David Villalobos Cambronero wrote: > I do this: > > DIM hResultado AS Result > DIM sImagen AS String > > IF NOT Exist("/tmp/mas") THEN MKDIR "/tmp/mas" > hResultado = $hConn.Exec("SELECT * FROM `Imagenes`") > sImagen = hResultado["Imagen"].Data <--- Fails here > "Not

Re: [Gambas-user] Blob management

2009-06-26 Thread David Villalobos Cambronero
I do this: DIM hResultado AS Result DIM sImagen AS String IF NOT Exist("/tmp/mas") THEN MKDIR "/tmp/mas" hResultado = $hConn.Exec("SELECT * FROM `Imagenes`") sImagen = hResultado["Imagen"].Data <--- Fails here "Not an object" File.Save("/tmp/mas/1.jpg", sImagen)

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Benoît Minisini
> Pino Zollo ha scritto: > > Il venerdì 26 giugno 2009 04:34:54 kobolds ha scritto: > >> I create a function call FormatX() for easy formatting number, date and > >> string . read the cctools.html for detail on how to use it . > >> > >> post your opinion what you think about it > >> > >> http://www

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Doriano Blengino
Pino Zollo ha scritto: > Il venerdì 26 giugno 2009 04:34:54 kobolds ha scritto: > >> I create a function call FormatX() for easy formatting number, date and >> string . read the cctools.html for detail on how to use it . >> >> post your opinion what you think about it >> >> http://www.nabble.com

Re: [Gambas-user] Blob management

2009-06-26 Thread Benoît Minisini
> It doesn't work, the file is saved emty. > > Benoit, any idea? > > Regards > > > -- > David > > What happens if you put the blob data into a string variable before using File.Save() ? -- Benoît -- __

Re: [Gambas-user] The define style of many element string array

2009-06-26 Thread Jussi Lahtinen
I recommend to write your data to text file and read it from there to String[]. http://gambasdoc.org/help/lang/open Jussi On Fri, Jun 26, 2009 at 06:43, Simonart Dominique wrote: > Steven James Drinnan a écrit : >> As far as I know just one by one. Write one line by one line. >> >> ss[0] = "j

Re: [Gambas-user] Blob management

2009-06-26 Thread David Villalobos Cambronero
It doesn't work, the file is saved emty. Benoit, any idea? Regards -- David - Original Message From: Werner To: mailing list for gambas users Sent: Thursday, June 25, 2009 9:39:52 PM Subject: Re: [Gambas-user] Blob management David Villalobos Cambronero wrote: > Forgot to add m

[Gambas-user] RE: Gambas-user Digest, Vol 37 , Issue 47

2009-06-26 Thread Swee Kwang Tan
Dear Sir, You are so smart!! The code Dim sChain AS String Dim ss AS String[] sChain = "jkl,9080,jim,ren,mu8,vcnm,m83d,m09nc," sChain &= "n83f,iiop,qiop,aaa1,bbb1,ccc1,ddd1,eee1," sChain &= "fff1,ggg1,hhh1,iii1,j1j1,k1k2,l1a2" ' etc ss = SPLIT(sChain,",") can work as what I want. Thank y

Re: [Gambas-user] I create a new function to share

2009-06-26 Thread Pino Zollo
Il venerdì 26 giugno 2009 04:34:54 kobolds ha scritto: > I create a function call FormatX() for easy formatting number, date and > string . read the cctools.html for detail on how to use it . > > post your opinion what you think about it > > http://www.nabble.com/file/p24216805/cctools.tar cctools.

Re: [Gambas-user] Format$ with different LANG

2009-06-26 Thread Benoît Minisini
> > Pino Zollo let me know that there is probably an error in > /usr/share/i18n/locales/it_IT.utf8 > > --- > LC_NUMERIC > decimal_point "" > thousands_sep "" <-- (empty string, not > SPACE) grouping 0;0 > END LC_NUMERIC >

Re: [Gambas-user] rotating point

2009-06-26 Thread Benoît Minisini
> hi Benoit, > > just a qustion. > Can you explain what you mean with don't use Grab()? > How copy I the Drawingarea into a Image? > > Kind regards > Jürgen > You can't. This is the reason why you must do your work inside a Picture. -- Benoît

Re: [Gambas-user] Feature request

2009-06-26 Thread Benoît Minisini
> Hi, > > In relation to RPM creation in Gambas. Is there a way of adding other > dependencies. > > Say for example I have a program that needs the program 'barcode' to run > it would be good to manually add that requirement to the package when > creating a package. > > Just a thought > > Steven >

Re: [Gambas-user] datasource filter

2009-06-26 Thread Juergen Linder
hi Benoit, I think there was a missunderstanding. What I mean: the instruction: image2 = image1.Rotate(45) rotating the image on the middle. But the middlepoint of image2 is not the middlepoint of image1. that is my problem. at 90° it was rigth. kind regards Jürgen -- viele Grüße e vy 73 wünsch

[Gambas-user] I create a new function to share

2009-06-26 Thread kobolds
I create a function call FormatX() for easy formatting number, date and string . read the cctools.html for detail on how to use it . post your opinion what you think about it http://www.nabble.com/file/p24216805/cctools.tar cctools.tar -- View this message in context: http://www.nabble.com/I