Re: [Gambas-user] EXEC question

2011-08-04 Thread tobias
> hi, > > i don't use EXEC usually but this time do and immediately have a problem > with it (gambas2). > you can't do > EXEC ["ls -l ."] TO s > why doesn't this do anything? (i know, an array is expected, but isn't > it the same if i specify three arguments or just one containing all the > thr

[Gambas-user] EXEC question

2011-08-04 Thread tobias
hi, i don't use EXEC usually but this time do and immediately have a problem with it (gambas2). you can't do EXEC ["ls -l ."] TO s why doesn't this do anything? (i know, an array is expected, but isn't it the same if i specify three arguments or just one containing all the three?) regards, tob

Re: [Gambas-user] Debugging gbx2

2011-08-04 Thread Benoît Minisini
> hi Benoît, > > there is a question remaining at gambas-club.de about an old error > (don't know if it is present in gb3 and can't check now) so i wanted to > debug gbx2 running the application that causes that error (it is a #6 > while using Image.Spread or something...) > it's common practice f

[Gambas-user] Debugging gbx2

2011-08-04 Thread tobias
hi Benoît, there is a question remaining at gambas-club.de about an old error (don't know if it is present in gb3 and can't check now) so i wanted to debug gbx2 running the application that causes that error (it is a #6 while using Image.Spread or something...) it's common practice for me to de

Re: [Gambas-user] Compile failed #3967, Ubuntu 10.10 [FIXED]

2011-08-04 Thread Caveat
It is indeed fixed! Thanks Benoit :-) On Fri, 2011-08-05 at 00:43 +0200, Benoît Minisini wrote: > > > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > > > -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include > > > -I/usr/include/atk-1.0 -I/usr/include/cairo > >

Re: [Gambas-user] Compile failed #3967, Ubuntu 10.10

2011-08-04 Thread Benoît Minisini
> > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > > -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include > > -I/usr/include/atk-1.0 -I/usr/include/cairo > > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 > > -I/usr/include/gio-unix-2.0/ -I/usr/include/

Re: [Gambas-user] ProgressBar and Smtp control

2011-08-04 Thread Benoît Minisini
> >but this time depend of the server, no ? > > (a) this code don't works good, progress bar move all to the end of the > process: > > private errore as integer > private endprocess as boolean > > public sub SendMail() > Dim n As Integer > Dim x As Integer > > If txtTitle.text = "" Or EDITOR_M

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Benoît Minisini
> Am Donnerstag, den 04.08.2011, 15:22 +0200 schrieb Benoît Minisini: > > Hi there, > > > > I'd like to add some options to the "making code pretty" feature in the > > IDE. > > > > But I have no idea what I could make optional, as I wrote the > > pretty-printer the way I wanted to see the code. >

Re: [Gambas-user] Compile failed #3967, Ubuntu 10.10

2011-08-04 Thread Benoît Minisini
> /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include > -I/usr/include/atk-1.0 -I/usr/include/cairo > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 > -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 >

Re: [Gambas-user] ProgressBar and Smtp control

2011-08-04 Thread Andrea Bertini
>but this time depend of the server, no ? (a) this code don't works good, progress bar move all to the end of the process: private errore as integer private endprocess as boolean public sub SendMail() Dim n As Integer Dim x As Integer If txtTitle.text = "" Or EDITOR_MAIL.TextEdit1.RichText =

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Jesus
El 04/08/11 21:38, Kevin Fishburne escribió: > On 08/04/2011 03:07 PM, Ron wrote: >> Empty lines yes, keep them! >> >> But Kevin and I mean remove spaces on empty lines. >> >> Looks like this: >> >>Dim sTest as string >> ...<- remove these >>sTest = "this is a test" >> >>' here above no

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Ron
Yes the lines must stay, but not the spaces, see the dots in the attachment... Regards, Ron_2nd. 2011/8/4 Fabien Bodard : > i alway keep a blank line after var declaration > > 2011/8/4 Ron : >>> That would be awesome. Also removing spaces on otherwise empty lines and >>> removing spaces at the end

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Kevin Fishburne
On 08/04/2011 03:07 PM, Ron wrote: > Empty lines yes, keep them! > > But Kevin and I mean remove spaces on empty lines. > > Looks like this: > >Dim sTest as string > ...<- remove these >sTest = "this is a test" > >' here above normal empty line, without spaces on it. Agreed. I do use e

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Fabien Bodard
i alway keep a blank line after var declaration 2011/8/4 Ron : >> That would be awesome. Also removing spaces on otherwise empty lines and >> removing spaces at the end of lines. > > Yes a +1 from me on this one too, I hate floating spaces, and always > have the urge to remove them. > > Regards, >

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Ron
> That would be awesome. Also removing spaces on otherwise empty lines and > removing spaces at the end of lines. Yes a +1 from me on this one too, I hate floating spaces, and always have the urge to remove them. Regards, Ron_2nd. 2011/8/4 Kevin Fishburne : > On 08/04/2011 11:43 AM, zachsmith...

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Ron
Empty lines yes, keep them! But Kevin and I mean remove spaces on empty lines. Looks like this: Dim sTest as string ... <- remove these sTest = "this is a test" ' here above normal empty line, without spaces on it. Regards, Ron_2nd. 2011/8/4 Fabien Bodard : > 2011/8/4 Kevin Fishburne :

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Fabien Bodard
2011/8/4 Kevin Fishburne : > On 08/04/2011 11:43 AM, zachsmith...@gmail.com wrote: >> On 8/4/2011 8:22 AM, Benoît Minisini wrote: >>> Hi there, >>> >>> I'd like to add some options to the "making code pretty" feature in the IDE. >> I think that an option to sort procedures by name would be helpful.

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Kevin Fishburne
On 08/04/2011 11:43 AM, zachsmith...@gmail.com wrote: > On 8/4/2011 8:22 AM, Benoît Minisini wrote: >> Hi there, >> >> I'd like to add some options to the "making code pretty" feature in the IDE. > I think that an option to sort procedures by name would be helpful. That would be awesome. Also remo

[Gambas-user] Compile failed #3967, Ubuntu 10.10

2011-08-04 Thread Caveat
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/

Re: [Gambas-user] Making code pretty

2011-08-04 Thread zachsmith022
On 8/4/2011 8:22 AM, Benoît Minisini wrote: > Hi there, > > I'd like to add some options to the "making code pretty" feature in the IDE. I think that an option to sort procedures by name would be helpful. -- BlackBerry® D

Re: [Gambas-user] ProgressBar and Smtp control

2011-08-04 Thread Fabien Bodard
2011/8/4 Andrea Bertini : > Can i see an effective exemple of use progress bar with smtp control. I > can not use the progress bar, depending on the time required to send email. but this time depend of the server, no ? > > Thx > > Andrea Bertini > Linuxforce >

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Fabien Bodard
hey bruce have you trying the help comments with three " ' " if you place it before a function declaration it is shown in the autocompletion help when you want to use the function for example '''This public var is for store something Public pubVar1 as string '''help for the function '''this fu

Re: [Gambas-user] Accessing a microsoft database from gambas

2011-08-04 Thread Fabien Bodard
Le 4 août 2011 15:14, Benoît Minisini a écrit : >> Le 2 août 2011 13:09, Benoît Minisini a écrit > : >> >> LOL, I spent several days banging my head against a wall trying to get >> >> this to work (I think you have to go through ODBC) and eventually gave >> >> up and turned to java.  There's a ni

Re: [Gambas-user] Making code pretty

2011-08-04 Thread Bruce Bruen
On 04/08/11 22:52, Benoît Minisini wrote: > Hi there, > > I'd like to add some options to the "making code pretty" feature in the IDE. > > But I have no idea what I could make optional, as I wrote the pretty-printer > the way I wanted to see the code. > > So if you have some suggestion, I am eager.

[Gambas-user] Making code pretty

2011-08-04 Thread Benoît Minisini
Hi there, I'd like to add some options to the "making code pretty" feature in the IDE. But I have no idea what I could make optional, as I wrote the pretty-printer the way I wanted to see the code. So if you have some suggestion, I am eager. -- Benoît Minisini ---

Re: [Gambas-user] Accessing a microsoft database from gambas

2011-08-04 Thread Benoît Minisini
> Le 2 août 2011 13:09, Benoît Minisini a écrit : > >> LOL, I spent several days banging my head against a wall trying to get > >> this to work (I think you have to go through ODBC) and eventually gave > >> up and turned to java. There's a nice java library called jackcess for > >> this. > > >

Re: [Gambas-user] Accessing a microsoft database from gambas

2011-08-04 Thread Fabien Bodard
Le 2 août 2011 13:09, Benoît Minisini a écrit : >> LOL, I spent several days banging my head against a wall trying to get >> this to work (I think you have to go through ODBC) and eventually gave >> up and turned to java.  There's a nice java library called jackcess for >> this. >> > > Maybe that

[Gambas-user] ProgressBar and Smtp control

2011-08-04 Thread Andrea Bertini
Can i see an effective exemple of use progress bar with smtp control. I can not use the progress bar, depending on the time required to send email. Thx Andrea Bertini Linuxforce -- Bl

[Gambas-user] WebView control in Gambas3

2011-08-04 Thread Andrea Bertini
Is it possible to open Google Calendar in a WebView control with saving userid and password? I have noticed that, if a run the program containing the control, i always must insert userid and password to enter. thx Andrea Bertini Linuxforce --

Re: [Gambas-user] Accessing a microsoft database from gambas

2011-08-04 Thread Bruce Bruen
On 04/08/11 03:20, Caveat wrote: > Hope somebody finds this useful... Caveat, Not at the moment ( :-) ) but sometime in the next few weeks I am going to be cleaning up over 20 years of saved Access databases !!!. What I would especially like to get back out of them is the VBA code. Any chance t

[Gambas-user] How can I see the allocation non freed?

2011-08-04 Thread Ricardo Díaz Martín
Hi, I got a problem with a non freed allocation when I'm filling a gridview. I use the same sub to fill all the gridviews in the different forms the app and works fine. How can I check wich object are non freed? Regards, Ricardo Díaz --

Re: [Gambas-user] gb.report gambas3

2011-08-04 Thread Fabien Bodard
ouch i can maybe help you ... if i can understand what you mean :) i've not suffisely time to make the doc for gb.Report :/ (but i will try) now .. report.spacing = "1mm" for each hresult hcont = new ReportHBox(report) hcont.autoresize = true hcont.border.bottom.width = "1px" hlabel = new rep