From nigel at ...38... Sat May 3 10:18:42 2003 From: nigel at ...38... (Nigel GERRARD) Date: Sat, 3 May 2003 09:18:42 +0100 Subject: [Gambas-user] gbdmgr References: <3EA9A2C5.4020504@...9...> <200304252334.40945.gambas@...2...> <200304261233.09502.nigel@...38...> <200304261553.12950.dimitribellini@...69...> Message-ID: <003a01c3114c$9d4f1c20$3b1cfea9@...55...> HBasic uses QT to access the databases. With the Database drivers we are trying to create a component that can be used both with QT and in the future, GTK. Nigel ----- Original Message ----- From: "Dimitri Bellini" To: Sent: Saturday, April 26, 2003 2:50 PM Subject: Re: [Gambas-user] gbdmgr On Saturday 26 April 2003 13:33, Nigel Gerrard wrote: > On Saturday 26 Apr 2003 12:34 am, Benoit Minisini wrote: > > Le Vendredi 25 Avril 2003 21:04, Charlie a ?crit : > > > Salut, > > > > > > has anybody runnig the gbdmgr with mysql ? > > > > > > need some hint(s)/ first step! > > > > > > Charlie > > > > You must wait for the mysql driver to be done ! > > Charlie, > > I am working on updating the mysql driver. Hopefully it will be > done by the end of the week. > > Nigel > Why not merge some other project (Hbasic,kexi) i use it at seems works fine... Thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From karl.reinl at ...9... Sun May 4 23:43:16 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 04 May 2003 23:43:16 +0200 Subject: [Gambas-user] new way Message-ID: <3EB58974.1020305@...9...> Salut, wrote 2 new classes to work with mysql in the way TomySql do it. Let me know, if you have problems with. Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: RST_01.tar.gz Type: application/x-tar Size: 5186 bytes Desc: not available URL: From ajm at ...126... Mon May 5 05:17:14 2003 From: ajm at ...126... (Andrew Morrison) Date: 04 May 2003 23:17:14 -0400 Subject: [Gambas-user] new way In-Reply-To: <3EB58974.1020305@...9...> References: <3EB58974.1020305@...9...> Message-ID: <1052104666.18905.4.camel@...37...> Hello, do you think you could maybe see if you could find anything about programming a server with Gambas I'm trying to make a chat program if you could it would be appreciated thanks you. Sincerely, Andrew From ajm at ...126... Mon May 5 05:17:24 2003 From: ajm at ...126... (Andrew Morrison) Date: 04 May 2003 23:17:24 -0400 Subject: [Gambas-user] new way In-Reply-To: <3EB58974.1020305@...9...> References: <3EB58974.1020305@...9...> Message-ID: <1052104667.18981.6.camel@...37...> On Sun, 2003-05-04 at 17:43, Charlie wrote: > Salut, > > wrote 2 new classes to work with mysql in the way TomySql do it. > Let me know, if you have problems with. > > > Charlie From lighth7015 at ...125... Mon May 5 17:06:43 2003 From: lighth7015 at ...125... (Robert Butler) Date: Mon, 05 May 2003 11:06:43 -0400 Subject: [Gambas-user] Re: MDI under GAMBAS.... Message-ID: hmm, anybody seem to have a problem with memory-leaking and GAMBAS? I tried to embed a form-in-a-form and the Gtk+ GUI seems to leak somewhere... I'll debug it and post my findings... -Robert Butler _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From sourceforge-raindog2 at ...94... Mon May 5 18:43:18 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 5 May 2003 12:43:18 -0400 Subject: [Gambas-user] mandrake 9.0 packages for 0.55 In-Reply-To: References: Message-ID: <200305051243.18692.sourceforge-raindog2@...94...> I was just going out to the gambas site this morning looking to build a package for 0.54 and discovered 0.55 was already posted. So I skipped a version. Database manager is really nifty by the way! http://www.kudla.org/?wl_mode=more&wl_eid=11 No 9.1 packages yet as I haven't gotten to a 9.1 box yet. Maybe this afternoon or evening. This may be my last 9.0 package since I had to write my first patch to get rid of a couple Qt 3.1 specific lines and I assume there'll be more coming.... Rob From bernard.pre at ...62... Mon May 5 19:29:55 2003 From: bernard.pre at ...62... (Bernard PRE) Date: Mon, 5 May 2003 19:29:55 +0200 Subject: [Gambas-user] Pb compiling 0.55 Message-ID: Hi, When i compile i have the follwing error : In CWindow.cpp "isFullScreen" undeclared My version is redhat 8.0 with qt 3.0.5-17 From gambas at ...2... Mon May 5 18:22:34 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 5 May 2003 16:22:34 +0000 Subject: [Gambas-user] gambas 0.55 Message-ID: <200305051622.34917.gambas@...2...> Hi everybody, Gambas 0.55 is out ! The Gambas Database Manager is now usable, but the MySQL database driver is not completely terminated. There are two new controls: the TableView, used for displaying large data sheets, and the Splitter, a moveable control separator. Last, but not least, you get a Polish translation. If you want to translate Gambas, tell me before starting the translation, so that I check that nobody else do the same job ! You access the Database Manager from a new "Tools" menu in the IDE. OK, there is only one tool at the moment... You have a Database programming example in the examples directory. This example does not cover everything. I will document the database component when its interface will be stable. At the moment, some internal changes are planned, so you must be patient. Maybe I will start to develop a network component. If someone has a lot of experience in developing servers and client, he can contact me ! I would like to do a simple and powerful component that allow you to make a server in a few code lines :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon May 5 19:48:51 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 5 May 2003 13:48:51 -0400 Subject: [Gambas-user] Pb compiling 0.55 In-Reply-To: References: Message-ID: <200305051348.51930.sourceforge-raindog2@...94...> On Monday 05 May 2003 13:29, Bernard PRE wrote: > When i compile i have the follwing error : > In CWindow.cpp "isFullScreen" undeclared > My version is redhat 8.0 with qt 3.0.5-17 isFullScreen is new in 3.1. Comment out that line and the previous one and it'll build under 3.0. This is what I alluded to in my last post (and what I had to patch to build my Mdk 9.0 rpm.) Rob From Gambasfr at ...11... Mon May 5 20:11:48 2003 From: Gambasfr at ...11... (Fabien) Date: Mon, 5 May 2003 20:11:48 +0200 Subject: [Gambas-user] gambas 0.55 In-Reply-To: <200305051622.34917.gambas@...2...> References: <200305051622.34917.gambas@...2...> Message-ID: <200305052011.48976.Gambasfr@...11...> Le Lundi 5 Mai 2003 18:22, Benoit Minisini a ?crit : > Hi everybody, > > Gambas 0.55 is out ! > > The Gambas Database Manager is now usable, but the MySQL database driver is > not completely terminated. There are two new controls: the TableView, used > for displaying large data sheets, and the Splitter, a moveable control > separator. Last, but not least, you get a Polish translation. > > If you want to translate Gambas, tell me before starting the translation, > so that I check that nobody else do the same job ! > > You access the Database Manager from a new "Tools" menu in the IDE. OK, > there is only one tool at the moment... > > You have a Database programming example in the examples directory. This > example does not cover everything. > > I will document the database component when its interface will be stable. > At the moment, some internal changes are planned, so you must be patient. > > Maybe I will start to develop a network component. If someone has a lot of > experience in developing servers and client, he can contact me ! I would > like to do a simple and powerful component that allow you to make a server > in a few code lines :-) > > Regards, pff ... pfff ... it's too speedy ... I've just installed the 0.54 version ! :-) but i'm happy, now every day i can dicovered something new ! Fabien From karl.reinl at ...9... Mon May 5 20:37:58 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 05 May 2003 20:37:58 +0200 Subject: [Gambas-user] troubles with gambas-0.55 Message-ID: <3EB6AF86.3080602@...9...> Salut Benoit, SuSE 7.2 full updated, qt-3.0.5, KDE 2.2.2 , mysql 3.23.37 disabled KDE and pgsql I can't make gambas-0.55 ( nice nbr for this day) attached log-file Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: make-0.55.log URL: From gambas at ...2... Mon May 5 22:48:16 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 5 May 2003 20:48:16 +0000 Subject: [Gambas-user] Pb compiling 0.55 In-Reply-To: <200305051348.51930.sourceforge-raindog2@...94...> References: <200305051348.51930.sourceforge-raindog2@...94...> Message-ID: <200305052048.16106.gambas@...2...> Le Lundi 5 Mai 2003 17:48, Rob a ?crit : > On Monday 05 May 2003 13:29, Bernard PRE wrote: > > When i compile i have the follwing error : > > In CWindow.cpp "isFullScreen" undeclared > > My version is redhat 8.0 with qt 3.0.5-17 > > isFullScreen is new in 3.1. Comment out that line and the previous one and > it'll build under 3.0. This is what I alluded to in my last post (and what > I had to patch to build my Mdk 9.0 rpm.) > > Rob > I will make a test on QT version for this method. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Mon May 5 18:39:49 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 5 May 2003 16:39:49 +0000 Subject: [Gambas-user] new way In-Reply-To: <1052104667.18981.6.camel@...37...> References: <3EB58974.1020305@...9...> <1052104667.18981.6.camel@...37...> Message-ID: <200305051639.49722.gambas@...2...> Hi everybody, Gambas 0.55 is out ! The Gambas Database Manager is now usable, but the MySQL database driver is not completely terminated. There are two new controls: the TableView, used for displaying large data sheets, and the Splitter, a moveable control separator. Last, but not least, you get a Polish translation. If you want to translate Gambas, tell me before starting the translation, so that I check that nobody else do the same job ! You access the Database Manager from a new "Tools" menu in the IDE. OK, there is only one tool at the moment... You have a Database programming example in the examples directory. This example does not cover everything. I will document the database component when its interface will be stable. At the moment, some internal changes are planned, so you must be patient. Maybe I will start to develop a network component. If someone has a lot of experience in developing servers and client, he can contact me ! I would like to do a simple and powerful component that allow you to make a server in a few code lines :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon May 5 20:57:59 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 5 May 2003 14:57:59 -0400 Subject: [Gambas-user] gambas 0.55 In-Reply-To: <200305051622.34917.gambas@...2...> References: <200305051622.34917.gambas@...2...> Message-ID: <200305051440.12432.sourceforge-raindog2@...94...> On Monday 05 May 2003 12:22, Benoit Minisini wrote: > The Gambas Database Manager is now usable, but the MySQL database driver is > not completely terminated. In particular, when editing a mysql table, if you make an error causing it to not save the table (e.g. making a string of length >255) it drops the table, gives you the error, drops you back into the editor but then never lets you save it again because the table no longer exists. If you create a dummy table just for it to delete, it still fails with the message " already exists". Only by renaming all the fields can you then save successfully. Is there a bugzilla for this kind of bug report or is this the place? I haven't actually messed with the gambas-database-manager source but I might just be able to fix it myself and submit a patch. Rob From jochen.georges at ...22... Mon May 5 21:23:33 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Mon, 5 May 2003 21:23:33 +0200 Subject: [Gambas-user] making a gui without form editor Message-ID: <200305052120.22832@...24...> hi gambasians i try to make a program with gui, but i do not want to use the form editor. with the following code i get a form, but without button and label. can anybody give me a hint? many thanks ! beste gruesse jochen '-------------------------------------------------------------------------------- ' Gambas class file STATIC hForm AS Form hButton AS Button hLabel AS Label STATIC PUBLIC SUB Main() hForm = NEW Form hForm.X = 20 hForm.Y = 20 hForm.Width = 500 hForm.Height = 500 hForm.show END PUBLIC SUB _new() hButton = NEW Button(hForm) AS "Button1" hButton.X = 8 hButton.Y = 30 hButton.Width = 80 hButton.Height = 40 hButton.Text = "hello" hButton.show hLabel = NEW Label(hForm) AS "Label1" hLabel.X = 8 hLabel.Y = 100 hLabel.Width = 200 hLabel.Height = 40 hLabel.show END PUBLIC SUB Button1_click() hLabel.Text = "hello hello" END From gambas at ...2... Mon May 5 23:31:12 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 5 May 2003 21:31:12 +0000 Subject: [Gambas-user] gambas 0.55 In-Reply-To: <200305051440.12432.sourceforge-raindog2@...94...> References: <200305051622.34917.gambas@...2...> <200305051440.12432.sourceforge-raindog2@...94...> Message-ID: <200305052131.12755.gambas@...2...> Le Lundi 5 Mai 2003 18:57, Rob a ?crit : > On Monday 05 May 2003 12:22, Benoit Minisini wrote: > > The Gambas Database Manager is now usable, but the MySQL database driver > > is not completely terminated. > > In particular, when editing a mysql table, if you make an error causing it > to not save the table (e.g. making a string of length >255) it drops the > table, gives you the error, drops you back into the editor but then never > lets you save it again because the table no longer exists. If you create a > dummy table just for it to delete, it still fails with the message " of first field> already exists". Only by renaming all the fields can you > then save successfully. > > Is there a bugzilla for this kind of bug report or is this the place? I > haven't actually messed with the gambas-database-manager source but I might > just be able to fix it myself and submit a patch. > > Rob > There is no bugzilla for bug report. You can send that directly to me or on the mailing-list, as you like. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Mon May 5 22:53:33 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 5 May 2003 20:53:33 +0000 Subject: [Gambas-user] Pb with Window.State In-Reply-To: <200305051348.51930.sourceforge-raindog2@...94...> References: <200305051348.51930.sourceforge-raindog2@...94...> Message-ID: <200305052053.33497.gambas@...2...> I have a problem with Window.State (i.e. with the inside QT stuff) Window.State = Window.Minimized works, but once minimized, the window stays in that mode, whatever I put in Window.State, and despite that, Qt returns the state I wanted to fix ! Example: DIM hForm AS Form hForm.Show WAIT 5 hForm.State = Window.Minimized WAIT 5 hForm.State = Window.Normal ' Nothing happened WAIT PRINT hForm.State = Window.Normal => TRUE ! Can anyone test this code on its machine with the last version of gambas and tell me what happens ? I upgraded my Madnrake 9.0 to KDE 3.1, and some stranges things occurs in KDE since (Konqueror freezes when I open a tar.gz with ark from it, and this Window.State problem). Maybe this is a KDE window manager problem, or maybe it is a qt problem. Thanks in advance. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Mon May 5 22:56:35 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 5 May 2003 20:56:35 +0000 Subject: [Gambas-user] troubles with gambas-0.55 In-Reply-To: <3EB6AF86.3080602@...9...> References: <3EB6AF86.3080602@...9...> Message-ID: <200305052056.35728.gambas@...2...> Le Lundi 5 Mai 2003 18:37, Charlie a ?crit : > Salut Benoit, > > SuSE 7.2 full updated, qt-3.0.5, KDE 2.2.2 , mysql 3.23.37 > > disabled KDE and pgsql > > I can't make gambas-0.55 ( nice nbr for this day) > > attached log-file > > Charlie It seems that on Mandrake gcc 3.2 accept C++ syntax while compiling C, and not older versions ! In other words, try to exchange the line 298 and the line 297 in the main.c file of src/lib/db/mysql, it should work. Regards, -- Benoit Minisini mailto:gambas at ...1... From jochen.georges at ...22... Mon May 5 22:29:22 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Mon, 5 May 2003 22:29:22 +0200 Subject: [Gambas-user] gambas 0.55 In-Reply-To: <200305051622.34917.gambas@...2...> References: <200305051622.34917.gambas@...2...> Message-ID: <200305052227.46337@...24...> On Monday 05 May 2003 18:22, Benoit Minisini wrote: > Hi everybody, > > Gambas 0.55 is out ! hi benoit gambas 0.55 does not compile on debian woody :( ... Making all in mysql make[5]: Entering directory `/opt/gambas-0.55/src/lib/db/mysql' /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/mysql/ -I/usr/include/mysql// -pipe -Wall -g -O0 -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/mysql/ -I/usr/include/mysql// -pipe -Wall -g -O0 -c main.c -fPIC -DPIC -o main.lo main.c: In function `open_database': main.c:298: parse error before `char' main.c:303: `name' undeclared (first use in this function) main.c:303: (Each undeclared identifier is reported only once main.c:303: for each function it appears in.) make[5]: *** [main.lo] Error 1 make[5]: Leaving directory `/opt/gambas-0.55/src/lib/db/mysql' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/opt/gambas-0.55/src/lib/db' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/opt/gambas-0.55/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/gambas-0.55/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/gambas-0.55' make: *** [all-recursive-am] Error 2 archie:~# beste gruesse jochen From gambas at ...2... Tue May 6 00:48:26 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 5 May 2003 22:48:26 +0000 Subject: [Gambas-user] gambas 0.55 In-Reply-To: <200305052227.46337@...24...> References: <200305051622.34917.gambas@...2...> <200305052227.46337@...24...> Message-ID: <200305052248.26725.gambas@...2...> Le Lundi 5 Mai 2003 20:29, Jochen Georges a ?crit : > On Monday 05 May 2003 18:22, Benoit Minisini wrote: > > Hi everybody, > > > > Gambas 0.55 is out ! > > hi benoit > > gambas 0.55 does not compile on debian woody :( > > ... > Making all in mysql > make[5]: Entering directory `/opt/gambas-0.55/src/lib/db/mysql' > /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. > -I. -I../../../.. -I../../../../src/share -I/usr/include/mysql/ > -I/usr/include/mysql// -pipe -Wall -g -O0 -c main.c > gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share > -I/usr/include/mysql/ -I/usr/include/mysql// -pipe -Wall -g -O0 -c > main.c -fPIC -DPIC -o main.lo > main.c: In function `open_database': > main.c:298: parse error before `char' > main.c:303: `name' undeclared (first use in this function) > main.c:303: (Each undeclared identifier is reported only once > main.c:303: for each function it appears in.) > make[5]: *** [main.lo] Error 1 > make[5]: Leaving directory `/opt/gambas-0.55/src/lib/db/mysql' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/opt/gambas-0.55/src/lib/db' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/opt/gambas-0.55/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/opt/gambas-0.55/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/gambas-0.55' > make: *** [all-recursive-am] Error 2 > archie:~# > > beste gruesse > jochen > > See my answer to Charlie below. Try to exchange the line 298 and the line 297 in the main.c file of src/lib/db/mysql, it should work. -- Benoit Minisini mailto:gambas at ...1... From jochen.georges at ...22... Mon May 5 22:55:30 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Mon, 5 May 2003 22:55:30 +0200 Subject: [Gambas-user] gambas 0.55 In-Reply-To: <200305052248.26725.gambas@...2...> References: <200305051622.34917.gambas@...2...> <200305052227.46337@...24...> <200305052248.26725.gambas@...2...> Message-ID: <200305052254.20635@...24...> hi benoit i changed the two lines. now make stops with an other error. beste gruesse jochen make[5]: Leaving directory `/opt/gambas-0.55/src/lib/db/mysql' make[5]: Entering directory `/opt/gambas-0.55/src/lib/db' /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -pipe -Wall -g -O0 -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -pipe -Wall -g -O0 -c main.c -fPIC -DPIC -o main.lo /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -pipe -Wall -g -O0 -c CDatabase.c gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -pipe -Wall -g -O0 -c CDatabase.c -fPIC -DPIC -o CDatabase.lo CDatabase.c: In function `CTABLE_create': CDatabase.c:472: parse error before `*' CDatabase.c:474: `table' undeclared (first use in this function) CDatabase.c:474: (Each undeclared identifier is reported only once CDatabase.c:474: for each function it appears in.) make[5]: *** [CDatabase.lo] Error 1 make[5]: Leaving directory `/opt/gambas-0.55/src/lib/db' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/opt/gambas-0.55/src/lib/db' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/opt/gambas-0.55/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/gambas-0.55/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/gambas-0.55' make: *** [all-recursive-am] Error 2 From karl.reinl at ...9... Mon May 5 23:43:09 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 05 May 2003 23:43:09 +0200 Subject: [Gambas-user] gambas 0.55 References: <200305051622.34917.gambas@...2...> <200305052227.46337@...24...> <200305052248.26725.gambas@...2...> <200305052254.20635@...24...> Message-ID: <3EB6DAED.2070600@...9...> Jochen Georges schrieb: >hi benoit >i changed the two lines. >now make stops with an other error. > >beste gruesse >jochen > > >make[5]: Leaving directory `/opt/gambas-0.55/src/lib/db/mysql' >make[5]: Entering directory `/opt/gambas-0.55/src/lib/db' >/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. >-I../../.. -I../../../src/share -pipe -Wall -g -O0 -c main.c >gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -pipe >-Wall -g -O0 -c main.c -fPIC -DPIC -o main.lo >/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. >-I../../.. -I../../../src/share -pipe -Wall -g -O0 -c CDatabase.c >gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/share -pipe >-Wall -g -O0 -c CDatabase.c -fPIC -DPIC -o CDatabase.lo >CDatabase.c: In function `CTABLE_create': >CDatabase.c:472: parse error before `*' >CDatabase.c:474: `table' undeclared (first use in this function) >CDatabase.c:474: (Each undeclared identifier is reported only once >CDatabase.c:474: for each function it appears in.) >make[5]: *** [CDatabase.lo] Error 1 >make[5]: Leaving directory `/opt/gambas-0.55/src/lib/db' >make[4]: *** [all-recursive] Error 1 >make[4]: Leaving directory `/opt/gambas-0.55/src/lib/db' >make[3]: *** [all-recursive] Error 1 >make[3]: Leaving directory `/opt/gambas-0.55/src/lib' >make[2]: *** [all-recursive] Error 1 >make[2]: Leaving directory `/opt/gambas-0.55/src' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/opt/gambas-0.55' >make: *** [all-recursive-am] Error 2 > > Me the same, even if I configure without DB, got to muche troubles ( I update my qt to 3.1.2) Charlie From karl.reinl at ...9... Mon May 5 23:52:03 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 05 May 2003 23:52:03 +0200 Subject: [Gambas-user] gambas 0.55 References: <200305051622.34917.gambas@...2...> <200305052227.46337@...24...> <200305052248.26725.gambas@...2...> Message-ID: <3EB6DD03.1060901@...9...> Benoit Minisini schrieb: >Le Lundi 5 Mai 2003 20:29, Jochen Georges a ?crit : > > >>On Monday 05 May 2003 18:22, Benoit Minisini wrote: >> >> >>>Hi everybody, >>> >>>Gambas 0.55 is out ! >>> >>> >>hi benoit >> >>gambas 0.55 does not compile on debian woody :( >> >>... >>Making all in mysql >>make[5]: Entering directory `/opt/gambas-0.55/src/lib/db/mysql' >>/bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. >>-I. -I../../../.. -I../../../../src/share -I/usr/include/mysql/ >>-I/usr/include/mysql// -pipe -Wall -g -O0 -c main.c >>gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share >>-I/usr/include/mysql/ -I/usr/include/mysql// -pipe -Wall -g -O0 -c >>main.c -fPIC -DPIC -o main.lo >>main.c: In function `open_database': >>main.c:298: parse error before `char' >>main.c:303: `name' undeclared (first use in this function) >>main.c:303: (Each undeclared identifier is reported only once >>main.c:303: for each function it appears in.) >>make[5]: *** [main.lo] Error 1 >>make[5]: Leaving directory `/opt/gambas-0.55/src/lib/db/mysql' >>make[4]: *** [all-recursive] Error 1 >>make[4]: Leaving directory `/opt/gambas-0.55/src/lib/db' >>make[3]: *** [all-recursive] Error 1 >>make[3]: Leaving directory `/opt/gambas-0.55/src/lib' >>make[2]: *** [all-recursive] Error 1 >>make[2]: Leaving directory `/opt/gambas-0.55/src' >>make[1]: *** [all-recursive] Error 1 >>make[1]: Leaving directory `/opt/gambas-0.55' >>make: *** [all-recursive-am] Error 2 >>archie:~# >> >>beste gruesse >>jochen >> >> >> >> > >See my answer to Charlie below. > >Try to exchange the line 298 and the line 297 in the main.c >file of src/lib/db/mysql, it should work. > > > Salut Beno?t, it is 23:50 on my box but your mail came one houre ago with date 06.05.2003 00:48 Charlie From karl.reinl at ...9... Mon May 5 23:58:22 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 05 May 2003 23:58:22 +0200 Subject: [Gambas-user] 0.55 without kde and db Message-ID: <3EB6DE7E.5030609@...9...> Salut Benoit, SuSE 7.2 full updated, qt-3.1.2, KDE 2.2.2 disabled KDE and db I can't make gambas-0.55 attached log-file Charlie -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: make-0.55.log URL: From karl.reinl at ...9... Tue May 6 00:01:51 2003 From: karl.reinl at ...9... (Charlie) Date: Tue, 06 May 2003 00:01:51 +0200 Subject: [Gambas-user] gcc Message-ID: <3EB6DF4F.10203@...9...> Salut should we update gcc ? (me Version 2.95.3) Charlie From clindahl at ...127... Tue May 6 00:04:52 2003 From: clindahl at ...127... (Charles Lindahl) Date: Mon, 5 May 2003 17:04:52 -0500 Subject: [Gambas-user] Problems compiling under RH9 (still) Message-ID: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> All: I can't make GAMBAS on RedHat 9 either. This is a re-submission of an earlier report by the "other" Charlie :-) about version 0.54. To whomever: is there any other detail I can send or things I can/should do to help debug/fix this? Charlie Lindahl (different Charlie :-) Technical Webmaster Texas A&M University System Health Science Center Houston, TX ================================================ Making symbolic links in /usr/bin... Compiling and installing the development environment... Compiling gambas... OK Compiling gambas-database-manager... OK Creating the library info files... /opt/gambas/lib/info/gb.info /opt/gambas/lib/info/gb.eval.info /opt/gambas/lib/info/gb.example.info /opt/gambas/lib/info/gb.db.info /opt/gambas/lib/lib.gb.qt.editor.la: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefine d symbol: _ZNSs4_Rep11_S_terminalE make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' make: *** [install-recursive] Error 1 From karl.reinl at ...9... Tue May 6 00:17:39 2003 From: karl.reinl at ...9... (Charlie) Date: Tue, 06 May 2003 00:17:39 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> Message-ID: <3EB6E303.70600@...9...> Charles Lindahl schrieb: >All: > >I can't make GAMBAS on RedHat 9 either. This is a >re-submission of an earlier report by the "other" >Charlie :-) about version 0.54. > >To whomever: is there any other detail I can send or >things I can/should do to help debug/fix this? > >Charlie Lindahl (different Charlie :-) >Technical Webmaster >Texas A&M University System >Health Science Center >Houston, TX > >================================================ > >Making symbolic links in /usr/bin... > >Compiling and installing the development environment... >Compiling gambas... >OK >Compiling gambas-database-manager... >OK > >Creating the library info files... >/opt/gambas/lib/info/gb.info >/opt/gambas/lib/info/gb.eval.info >/opt/gambas/lib/info/gb.example.info >/opt/gambas/lib/info/gb.db.info >/opt/gambas/lib/lib.gb.qt.editor.la: /usr/lib/qt-3.1/lib/libqt-mt.so.3: >undefine >d symbol: _ZNSs4_Rep11_S_terminalE >make[2]: *** [install-exec-local] Error 1 >make[2]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' >make[1]: *** [install-am] Error 2 >make[1]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' >make: *** [install-recursive] Error 1 > > Salut Charlie, are you the different or the other Charlie, I ask myself, couldn't get a answer, am I or am I not the other the different Charlie But for shure I'm Charlie amicalement Charlie From carlo.m at ...122... Tue May 6 00:29:18 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: 06 May 2003 00:29:18 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <3EB6E303.70600@...9...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <3EB6E303.70600@...9...> Message-ID: <1052173758.3482.4.camel@...121...> Il mar, 2003-05-06 alle 00:17, Charlie ha scritto: > Charles Lindahl schrieb: > > >All: > > > >I can't make GAMBAS on RedHat 9 either. This is a > >re-submission of an earlier report by the "other" > >Charlie :-) about version 0.54. > > > >To whomever: is there any other detail I can send or > >things I can/should do to help debug/fix this? > > > >Charlie Lindahl (different Charlie :-) > >Technical Webmaster > >Texas A&M University System > >Health Science Center > >Houston, TX > > > >================================================ > > > >Making symbolic links in /usr/bin... > > > >Compiling and installing the development environment... > >Compiling gambas... > >OK > >Compiling gambas-database-manager... > >OK > > > >Creating the library info files... > >/opt/gambas/lib/info/gb.info > >/opt/gambas/lib/info/gb.eval.info > >/opt/gambas/lib/info/gb.example.info > >/opt/gambas/lib/info/gb.db.info > >/opt/gambas/lib/lib.gb.qt.editor.la: /usr/lib/qt-3.1/lib/libqt-mt.so.3: > >undefine > >d symbol: _ZNSs4_Rep11_S_terminalE > >make[2]: *** [install-exec-local] Error 1 > >make[2]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' > >make[1]: *** [install-am] Error 2 > >make[1]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' > >make: *** [install-recursive] Error 1 > > > > > Salut Charlie, > > are you the different or the other Charlie, > I ask myself, couldn't get a answer, am I or am I not the other the > different Charlie > > But for shure I'm Charlie > > amicalement > Charlie > Well, I'm not Charlie, I'm Carlo but the problem is still the same, as per Charlie hereabove. Bye, Carlo From ajm at ...126... Tue May 6 01:12:09 2003 From: ajm at ...126... (Andrew Morrison) Date: 05 May 2003 19:12:09 -0400 Subject: [Gambas-user] 0.55 without kde and db In-Reply-To: <3EB6DE7E.5030609@...9...> References: <3EB6DE7E.5030609@...9...> Message-ID: <1052176362.7812.1.camel@...37...> Hello, I've downloaded and installed Gambas .55 with no problems on Mandrake 9.0 and with the new version is it possible to make programs like Chat Programs From sourceforge-raindog2 at ...94... Tue May 6 01:44:01 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 5 May 2003 19:44:01 -0400 Subject: [Gambas-user] 0.55 without kde and db In-Reply-To: <1052176362.7812.1.camel@...37...> References: <3EB6DE7E.5030609@...9...> <1052176362.7812.1.camel@...37...> Message-ID: <200305051944.01603.sourceforge-raindog2@...94...> On Monday 05 May 2003 19:12, Andrew Morrison wrote: > Hello, I've downloaded and installed Gambas .55 with no problems on > Mandrake 9.0 and with the new version is it possible to make programs > like Chat Programs Possible, yeah, I think so. Easy, not so much. If nothing else you can probably use a background helper app like telnet or nc to make your socket connections, but Benoit just said he may start working on a network component so you can do it the right way. Rob From ajm at ...126... Tue May 6 02:04:45 2003 From: ajm at ...126... (Andrew Morrison) Date: 05 May 2003 20:04:45 -0400 Subject: [Gambas-user] 0.55 without kde and db In-Reply-To: <200305051944.01603.sourceforge-raindog2@...94...> References: <3EB6DE7E.5030609@...9...> <1052176362.7812.1.camel@...37...> <200305051944.01603.sourceforge-raindog2@...94...> Message-ID: <1052179531.7950.2.camel@...37...> Rob, I hope Benoit gets that network component out soon because that will be real handy with my chat program I'm making I have it all figured out i just need a way to make a server and client for it and it should be all go. Andrew From gambas at ...2... Tue May 6 13:26:57 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 6 May 2003 11:26:57 +0000 Subject: [Gambas-user] gambas 0.55 In-Reply-To: <3EB6DD03.1060901@...9...> References: <200305051622.34917.gambas@...2...> <200305052248.26725.gambas@...2...> <3EB6DD03.1060901@...9...> Message-ID: <200305061126.57009.gambas@...2...> Le Lundi 5 Mai 2003 21:52, Charlie a ?crit : > Benoit Minisini schrieb: > >Le Lundi 5 Mai 2003 20:29, Jochen Georges a ?crit : > >>On Monday 05 May 2003 18:22, Benoit Minisini wrote: > >>>Hi everybody, > >>> > >>>Gambas 0.55 is out ! > >> > >>hi benoit > >> > >>gambas 0.55 does not compile on debian woody :( > >> > >>... > >>Making all in mysql > >>make[5]: Entering directory `/opt/gambas-0.55/src/lib/db/mysql' > >>/bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. > >>-I. -I../../../.. -I../../../../src/share -I/usr/include/mysql/ > >>-I/usr/include/mysql// -pipe -Wall -g -O0 -c main.c > >>gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share > >>-I/usr/include/mysql/ -I/usr/include/mysql// -pipe -Wall -g -O0 -c > >>main.c -fPIC -DPIC -o main.lo > >>main.c: In function `open_database': > >>main.c:298: parse error before `char' > >>main.c:303: `name' undeclared (first use in this function) > >>main.c:303: (Each undeclared identifier is reported only once > >>main.c:303: for each function it appears in.) It is (alas) exactly the same problem. Replace: char *name = GB.ToZeroString(ARG(name)); if (DB_CheckName(name, "table")) return; CTABLE *table = get_table(THIS, name, FALSE); by: CTABLE *table; char *name = GB.ToZeroString(ARG(name)); if (DB_CheckName(name, "table")) return; table = get_table(THIS, name, FALSE); And it should work. > >>make[5]: *** [main.lo] Error 1 > >>make[5]: Leaving directory `/opt/gambas-0.55/src/lib/db/mysql' > >>make[4]: *** [all-recursive] Error 1 > >>make[4]: Leaving directory `/opt/gambas-0.55/src/lib/db' > >>make[3]: *** [all-recursive] Error 1 > >>make[3]: Leaving directory `/opt/gambas-0.55/src/lib' > >>make[2]: *** [all-recursive] Error 1 > >>make[2]: Leaving directory `/opt/gambas-0.55/src' > >>make[1]: *** [all-recursive] Error 1 > >>make[1]: Leaving directory `/opt/gambas-0.55' > >>make: *** [all-recursive-am] Error 2 > >>archie:~# > >> > >>beste gruesse > >>jochen > > > >See my answer to Charlie below. > > > >Try to exchange the line 298 and the line 297 in the main.c > >file of src/lib/db/mysql, it should work. > > Salut Beno?t, > > it is 23:50 on my box but your mail came one houre ago with date > 06.05.2003 00:48 > > Charlie > Strange, the date of the mail is correct on my box ?? (22:48) I go to the date/time configuration of KDE, and, strange, the time zone was not configured. I have selected 'Paris'. We will see if it changes anything. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 6 13:47:01 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 6 May 2003 11:47:01 +0000 Subject: [Gambas-user] problems with gambas 0.55 and SuSE/RedHat Message-ID: <200305061147.01502.gambas@...2...> There are problems with SuSE, RedHAT, QT 3.0 and gcc ! First, gcc 3.2 seems to accept C++ syntax in C code. I wrote such code without notice, and so gambas does not compile on systems with an older gcc (SuSE 7.2, for example) Jochen Georges try to compile it, and I will say him what lines to change each time he encounters a problem. When every C++ syntax is removed, I will be able to make a new version of gambas to correct that. Secondly, there is a problem with QT 3.0, because I used new functions of QT 3.1 without notice, so it does not compile. I will add a test on the QT version for such a code. Last, the problem on RedHat 8.1 is worse, at it seems that a library is missing in the options passed to the linker. This library was not needed in RedHat 8.0 - They like changing everything at each version at RedHat. The problem is how to find this library, as I have only a RedHat 8.0 at home and not a 8.1. I investigate... Be patient... I think I will make a version when all these problems will be solved... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 6 13:53:33 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 6 May 2003 11:53:33 +0000 Subject: [Gambas-user] making a gui without form editor In-Reply-To: <200305052120.22832@...24...> References: <200305052120.22832@...24...> Message-ID: <200305061153.33650.gambas@...2...> Le Lundi 5 Mai 2003 19:23, Jochen Georges a ?crit : > hi gambasians > > i try to make a program with gui, but i do not want to use the form > editor. > > with the following code i get a form, but without button and label. > > can anybody give me a hint? > > many thanks ! > > beste gruesse > jochen > '-------------------------------------------------------------------------- >------ ' Gambas class file > STATIC hForm AS Form > hButton AS Button > hLabel AS Label > > STATIC PUBLIC SUB Main() > hForm = NEW Form > hForm.X = 20 > hForm.Y = 20 > hForm.Width = 500 > hForm.Height = 500 > hForm.show > END > > PUBLIC SUB _new() > hButton = NEW Button(hForm) AS "Button1" > hButton.X = 8 > hButton.Y = 30 > hButton.Width = 80 > hButton.Height = 40 > hButton.Text = "hello" > hButton.show > hLabel = NEW Label(hForm) AS "Label1" > hLabel.X = 8 > hLabel.Y = 100 > hLabel.Width = 200 > hLabel.Height = 40 > hLabel.show > END > > PUBLIC SUB Button1_click() > hLabel.Text = "hello hello" > END > Your _new() function is the constructor of your class, not of the Form class. So when you do hForm = new Form, this constructor is never called. You should do hForm = new MyClass (if the file you sent is MyClass.class) and put the form in a non-static variable of MyClass, and the code of Main() in _new(). -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 6 13:58:12 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 6 May 2003 11:58:12 +0000 Subject: [Gambas-user] problems with gambas 0.55 and SuSE/RedHat In-Reply-To: <200305061147.01502.gambas@...2...> References: <200305061147.01502.gambas@...2...> Message-ID: <200305061158.12481.gambas@...2...> Le Mardi 6 Mai 2003 11:47, Benoit Minisini a ?crit : > Last, the problem on RedHat 8.1 is worse, at it seems that a library is > missing in the options passed to the linker. This library was not needed in > RedHat 8.0 - They like changing everything at each version at RedHat. > > The problem is how to find this library, as I have only a RedHat 8.0 at > home and not a 8.1. I investigate... Be patient... > Hmm... I wanted to say RedHat 9, not 8.1. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 6 14:30:19 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 6 May 2003 14:30:19 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> Message-ID: <200305061430.20003.gambas@...2...> Le Mardi 6 Mai 2003 00:04, Charles Lindahl a ?crit : > All: > > I can't make GAMBAS on RedHat 9 either. This is a > re-submission of an earlier report by the "other" > Charlie :-) about version 0.54. > > To whomever: is there any other detail I can send or > things I can/should do to help debug/fix this? > > Charlie Lindahl (different Charlie :-) > Technical Webmaster > Texas A&M University System > Health Science Center > Houston, TX > > ================================================ > > Making symbolic links in /usr/bin... > > Compiling and installing the development environment... > Compiling gambas... > OK > Compiling gambas-database-manager... > OK > > Creating the library info files... > /opt/gambas/lib/info/gb.info > /opt/gambas/lib/info/gb.eval.info > /opt/gambas/lib/info/gb.example.info > /opt/gambas/lib/info/gb.db.info > /opt/gambas/lib/lib.gb.qt.editor.la: /usr/lib/qt-3.1/lib/libqt-mt.so.3: > undefine > d symbol: _ZNSs4_Rep11_S_terminalE > make[2]: *** [install-exec-local] Error 1 > make[2]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' > make: *** [install-recursive] Error 1 > > Could you edit the 'configure.in' file, and modify the line 378 this way: 3\.* ) CXX_LIB=-lgcc_s -lstdc++ Then, open a terminal on the package directory, and type the following: ~/gambas-0.55 $ ./reconf ... ~/gambas-0.55 $ ./configure ... ~/gambas-0.55 $ make ... ~/gambas-0.55 $ su -c "make install" ... Tell me the result ! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 6 14:37:38 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 6 May 2003 14:37:38 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <200305061430.20003.gambas@...2...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305061430.20003.gambas@...2...> Message-ID: <200305061437.38994.gambas@...2...> Le Mardi 6 Mai 2003 14:30, Benoit Minisini a ?crit : > Could you edit the 'configure.in' file, and modify the line 378 this way: > > 3\.* ) CXX_LIB=-lgcc_s -lstdc++ > Argh ! You must type this line instead: 3\.* ) CXX_LIB="-lgcc_s -lstdc++" -- Benoit Minisini mailto:gambas at ...1... From dimitribellini at ...69... Tue May 6 15:19:17 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 6 May 2003 13:19:17 +0000 Subject: [Gambas-user] Compile Gambas 0.55 on Mandrake 9.1 In-Reply-To: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> Message-ID: <200305061319.17701.dimitribellini@...69...> Thanks great tool for DB and i have not problem to compile with mdk 9.1 Best greating Dimitri P.S.: Benoit if you want add new italian translation a do it. From carlo.m at ...122... Tue May 6 23:52:25 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: 06 May 2003 23:52:25 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <200305061437.38994.gambas@...2...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305061430.20003.gambas@...2...> <200305061437.38994.gambas@...2...> Message-ID: <1052257945.3602.3.camel@...121...> Hi, have tried as per your message but the problem is still there: Creating the library info files... /opt/gambas/lib/info/gb.info /opt/gambas/lib/info/gb.eval.info /opt/gambas/lib/info/gb.example.info /opt/gambas/lib/info/gb.db.info /opt/gambas/lib/lib.gb.qt.editor.la: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/home/carlo/downloads/gambas-0.55' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/carlo/downloads/gambas-0.55' make: *** [install-recursive] Error 1 Anything else I can try to succesfully install Gambas? Thanks, Carlo Il mar, 2003-05-06 alle 14:37, Benoit Minisini ha scritto: > Le Mardi 6 Mai 2003 14:30, Benoit Minisini a ?crit : > > Could you edit the 'configure.in' file, and modify the line 378 this way: > > > > 3\.* ) CXX_LIB=-lgcc_s -lstdc++ > > > > Argh ! You must type this line instead: > > 3\.* ) CXX_LIB="-lgcc_s -lstdc++" From jochen.georges at ...22... Wed May 7 07:25:24 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Wed, 7 May 2003 07:25:24 +0200 Subject: [Gambas-user] making a gui without form editor In-Reply-To: <200305061153.33650.gambas@...2...> References: <200305052120.22832@...24...> <200305061153.33650.gambas@...2...> Message-ID: <200305070719.24369@...24...> hi benoit, gambanauts, On Tuesday 06 May 2003 13:53, Benoit Minisini wrote: > > Your _new() function is the constructor of your class, not of the > Form class. So when you do hForm = new Form, this constructor is > never called. all right > You should do hForm = new MyClass (if the file you sent is > MyClass.class) and put the form in a non-static variable of > MyClass, and the code of Main() in _new(). ????? if i use hForm in the constructor too, it must be global. to be global it must be static ??? can you give me a code example? sorry, i have to learn a lot. thanks a lot beste gruesse jochen From jochen.georges at ...22... Wed May 7 08:10:51 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Wed, 7 May 2003 08:10:51 +0200 Subject: [Gambas-user] gambas 0.55 In-Reply-To: <200305061126.57009.gambas@...2...> References: <200305051622.34917.gambas@...2...> <3EB6DD03.1060901@...9...> <200305061126.57009.gambas@...2...> Message-ID: <200305070806.29990@...24...> On Tuesday 06 May 2003 13:26, Benoit Minisini wrote: > Le Lundi 5 Mai 2003 21:52, Charlie a ?crit : > > Benoit Minisini schrieb: > > >Le Lundi 5 Mai 2003 20:29, Jochen Georges a ?crit : > > >>On Monday 05 May 2003 18:22, Benoit Minisini wrote: > > >>>Hi everybody, > > >>> > > >>>Gambas 0.55 is out ! > > >> > > >>hi benoit > > >> > > >>gambas 0.55 does not compile on debian woody :( > > >> > > >>... > > >>Making all in mysql > > >>make[5]: Entering directory > > >> `/opt/gambas-0.55/src/lib/db/mysql' /bin/sh > > >> ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. > > >> -I. -I../../../.. -I../../../../src/share > > >> -I/usr/include/mysql/ -I/usr/include/mysql// -pipe -Wall > > >> -g -O0 -c main.c gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. > > >> -I../../../../src/share -I/usr/include/mysql/ > > >> -I/usr/include/mysql// -pipe -Wall -g -O0 -c main.c -fPIC > > >> -DPIC -o main.lo > > >>main.c: In function `open_database': > > >>main.c:298: parse error before `char' > > >>main.c:303: `name' undeclared (first use in this function) > > >>main.c:303: (Each undeclared identifier is reported only once > > >>main.c:303: for each function it appears in.) > > It is (alas) exactly the same problem. > > Replace: > > char *name = GB.ToZeroString(ARG(name)); > > if (DB_CheckName(name, "table")) > return; > > CTABLE *table = get_table(THIS, name, FALSE); > > by: > > CTABLE *table; > char *name = GB.ToZeroString(ARG(name)); > > if (DB_CheckName(name, "table")) > return; > > table = get_table(THIS, name, FALSE); hi benoit, in /opt/gambas-0.55/src/lib/db/mysql/main.c i did not find the lines. archie:/opt/gambas-0.55/src# grep -nrA 3 ToZeroString * | grep DB_CheckName lib/db/CTable.c-346- if (DB_CheckName(index, "index")) lib/db/CDatabase.c-79- if (DB_CheckName(name, "database")) lib/db/CDatabase.c-469- if (DB_CheckName(name, "table")) so i changed the file opt/gambas-0.55/src/ib/db/CTable.c starting at line nb.469 make throws the folowing error: In file included from /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iterator:32, from /usr/include/qt/qmap.h:49, from /usr/include/qt/qmime.h:43, from /usr/include/qt/qevent.h:45, from /usr/include/qt/qobject.h:45, from /usr/include/qt/qwidget.h:43, from /usr/include/qt/qdesktopwidget.h:42, from /usr/include/qt/qapplication.h:42, from CWindow.cpp:30: /usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h:337: warning: `offsetof' redefined ../../../src/share/common.h:95: warning: this is the location of the previous definition CWindow.cpp: In method `int MyMainWindow::getState()': CWindow.cpp:788: implicit declaration of function `int isFullScreen(...)' make[5]: *** [CWindow.lo] Error 1 make[5]: Leaving directory `/opt/gambas-0.55/src/lib/qt' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/opt/gambas-0.55/src/lib/qt' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/opt/gambas-0.55/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/gambas-0.55/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/gambas-0.55' make: *** [all-recursive-am] Error 2 beste gruesse jochen From lighth7015 at ...125... Wed May 7 09:10:58 2003 From: lighth7015 at ...125... (Robert Butler) Date: Wed, 07 May 2003 03:10:58 -0400 Subject: [Gambas-user] Gambas memory leak... Message-ID: I dunno if anybody's noticed this or not.... but GAMBAS seems to be leaking memory(or lagging) when you embed a form-in-a-form.... I dunno if this is normal or not, but I'd like some people to assist me in fixing this... - Robert Butler _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From vbasic2 at ...67... Wed May 7 09:35:25 2003 From: vbasic2 at ...67... (visual basic) Date: Wed, 07 May 2003 14:35:25 +0700 Subject: [Gambas-user] 0.55 upgrade Message-ID: Hello everybody, I?m really new in linux and of course gambas too. So I have a stupid question here and hope someone will answer it. How do I upgrade my gambas 0.54 ? Just install gambas 0.55 to replace 0.54 or I have to uninstall the old one first. If have to uninstall, how do I do it ? regard's Sam _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From gambas at ...2... Wed May 7 11:00:56 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 7 May 2003 11:00:56 +0200 Subject: [Gambas-user] Gambas memory leak... In-Reply-To: References: Message-ID: <200305071100.56449.gambas@...2...> Le Mercredi 7 Mai 2003 09:10, Robert Butler a ?crit : > I dunno if anybody's noticed this or not.... > but GAMBAS seems to be leaking memory(or lagging) > when you embed a form-in-a-form.... > > I dunno if this is normal or not, but I'd like some people > to assist me in fixing this... > > - Robert Butler > Could you send me the project that causes the memory leak ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 7 11:05:51 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 7 May 2003 11:05:51 +0200 Subject: [Gambas-user] gambas 0.55 In-Reply-To: <200305070806.29990@...24...> References: <200305051622.34917.gambas@...2...> <200305061126.57009.gambas@...2...> <200305070806.29990@...24...> Message-ID: <200305071105.51038.gambas@...2...> Le Mercredi 7 Mai 2003 08:10, Jochen Georges a ?crit : > > hi benoit, > in /opt/gambas-0.55/src/lib/db/mysql/main.c i did not find the > lines. > archie:/opt/gambas-0.55/src# grep -nrA 3 ToZeroString * | grep > DB_CheckName > lib/db/CTable.c-346- if (DB_CheckName(index, "index")) > lib/db/CDatabase.c-79- if (DB_CheckName(name, "database")) > lib/db/CDatabase.c-469- if (DB_CheckName(name, "table")) > > so i changed the file > opt/gambas-0.55/src/ib/db/CTable.c > starting at line nb.469 > > make throws the folowing error: > In file included from > /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iterator:32, > from /usr/include/qt/qmap.h:49, > from /usr/include/qt/qmime.h:43, > from /usr/include/qt/qevent.h:45, > from /usr/include/qt/qobject.h:45, > from /usr/include/qt/qwidget.h:43, > from /usr/include/qt/qdesktopwidget.h:42, > from /usr/include/qt/qapplication.h:42, > from CWindow.cpp:30: > /usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h:337: warning: > `offsetof' redefined > ../../../src/share/common.h:95: warning: this is the location of > the previous definition > CWindow.cpp: In method `int MyMainWindow::getState()': > CWindow.cpp:788: implicit declaration of function `int > isFullScreen(...)' > make[5]: *** [CWindow.lo] Error 1 > make[5]: Leaving directory `/opt/gambas-0.55/src/lib/qt' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/opt/gambas-0.55/src/lib/qt' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/opt/gambas-0.55/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/opt/gambas-0.55/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/opt/gambas-0.55' > make: *** [all-recursive-am] Error 2 > > > > beste gruesse > jochen > > Hi Jochen, It is not necessary to send your mails both to the mailing-list and to me, because I -am- on the mailing-list ! Remove the line with isFullScreen() and the previous one. This is code that works only with qt 3.1. (There was many posts about that here, didn't you see them ?) Anyway, the Window.State property does not work on my Mandrake box (qt 3.1), on my SuSE box (qt 3.0), with KDE window manager or ICE window-manager. It seems to be a bug in qt not yet corrected. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 7 11:09:33 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 7 May 2003 11:09:33 +0200 Subject: [Gambas-user] 0.55 upgrade In-Reply-To: References: Message-ID: <200305071109.33798.gambas@...2...> Le Mercredi 7 Mai 2003 09:35, visual basic a ?crit : > Hello everybody, > > I?m really new in linux and of course gambas too. > So I have a stupid question here and hope someone will answer it. > > How do I upgrade my gambas 0.54 ? > Just install gambas 0.55 to replace 0.54 or I have to uninstall the old one > first. > If have to uninstall, how do I do it ? > > regard's > Sam > You can uninstall a software from source package by doing "make uninstall", but it is not necessary, nor advisable (GNU guys dixit). Just compile the new package, and the "make install" command will reinstall the software on top of the other. This is not a problem because all gambas files are stored on one sole directory (/opt/gambas by default), and because there is no registry on Unix like who you know. If you prefer, you can "rm -rf /opt/gambas" before reinstalling. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 7 11:10:49 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 7 May 2003 11:10:49 +0200 Subject: [Gambas-user] Compile Gambas 0.55 on Mandrake 9.1 In-Reply-To: <200305061319.17701.dimitribellini@...69...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305061319.17701.dimitribellini@...69...> Message-ID: <200305071110.49760.gambas@...2...> Le Mardi 6 Mai 2003 15:19, Dimitri Bellini a ?crit : > Thanks great tool for DB and i have not problem to compile with mdk 9.1 > Best greating > Dimitri > > P.S.: Benoit if you want add new italian translation a do it. > What does it mean "a do it" ? I didn't understand ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 7 11:26:04 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 7 May 2003 11:26:04 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <1052257945.3602.3.camel@...121...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305061437.38994.gambas@...2...> <1052257945.3602.3.camel@...121...> Message-ID: <200305071126.04782.gambas@...2...> Le Mardi 6 Mai 2003 23:52, Carlo Malfatti a ?crit : > Hi, have tried as per your message but the problem is still there: > > Creating the library info files... > /opt/gambas/lib/info/gb.info > /opt/gambas/lib/info/gb.eval.info > /opt/gambas/lib/info/gb.example.info > /opt/gambas/lib/info/gb.db.info > /opt/gambas/lib/lib.gb.qt.editor.la: /usr/lib/qt-3.1/lib/libqt-mt.so.3: > undefined symbol: _ZNSs4_Rep11_S_terminalE > make[2]: *** [install-exec-local] Error 1 > make[2]: Leaving directory `/home/carlo/downloads/gambas-0.55' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/home/carlo/downloads/gambas-0.55' > make: *** [install-recursive] Error 1 > > Anything else I can try to succesfully install Gambas? > Thanks, > Carlo > Try to add the following libraries (one by one to find which contains the missing symbol). CXX_LIB="-lgcc_s -lresolv" CXX_LIB="-lgcc_s -lpthread" I find them by compiling a void project with KDevelop, as I think that KDevelop projects should compile on RedHat. If you want, you can do the same thing, i.e. creating a new KDE project on KDevelop and compile it, to get the list of libraries passed to the linker. Maybe this list will be different on RedHat than on Mandrake, as autoconf tools analyze the underlying system. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 7 11:18:49 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 7 May 2003 11:18:49 +0200 Subject: [Gambas-user] 0.55 upgrade In-Reply-To: References: Message-ID: <200305071118.49335.gambas@...2...> Le Mercredi 7 Mai 2003 09:35, visual basic a ?crit : > Hello everybody, > > I?m really new in linux and of course gambas too. > So I have a stupid question here and hope someone will answer it. > > How do I upgrade my gambas 0.54 ? > Just install gambas 0.55 to replace 0.54 or I have to uninstall the old one > first. > If have to uninstall, how do I do it ? > > regard's > Sam > Just install the new package to replace the old one. As all gambas files are installed under one directory (/opt/gambas) by default, and as there is no registry on Linux :-), this is not a problem. If you are parano?d, you can "rm -rf /opt/gambas" before reinstalling. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 7 11:32:39 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 7 May 2003 11:32:39 +0200 Subject: [Gambas-user] 0.55 upgrade In-Reply-To: References: Message-ID: <200305071132.39481.gambas@...2...> Le Mercredi 7 Mai 2003 09:35, visual basic a ?crit : > Hello everybody, > > I?m really new in linux and of course gambas too. > So I have a stupid question here and hope someone will answer it. > > How do I upgrade my gambas 0.54 ? > Just install gambas 0.55 to replace 0.54 or I have to uninstall the old one > first. > If have to uninstall, how do I do it ? > > regard's > Sam > Hey ! I forgot that I have already answered to you :-) I need holidays ! -- Benoit Minisini mailto:gambas at ...1... From dimitribellini at ...69... Wed May 7 16:24:21 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 7 May 2003 14:24:21 +0000 Subject: [Gambas-user] Compile Gambas 0.55 on Mandrake 9.1 In-Reply-To: <200305071110.49760.gambas@...2...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305061319.17701.dimitribellini@...69...> <200305071110.49760.gambas@...2...> Message-ID: <200305071424.22175.dimitribellini@...69...> On Wednesday 07 May 2003 09:10, Benoit Minisini wrote: > Le Mardi 6 Mai 2003 15:19, Dimitri Bellini a ?crit : > > Thanks great tool for DB and i have not problem to compile with mdk 9.1 > > Best greating > > Dimitri > > > > P.S.: Benoit if you want add new italian translation a do it. > > What does it mean "a do it" ? I didn't understand ! If is possible i do the translation of the last untranslated word in gambas i see in 0.55 there are new word. Thanks Dimitri From carlo.m at ...122... Wed May 7 22:36:55 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: 07 May 2003 22:36:55 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <200305071126.04782.gambas@...2...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305061437.38994.gambas@...2...> <1052257945.3602.3.camel@...121...> <200305071126.04782.gambas@...2...> Message-ID: <1052339815.3480.14.camel@...121...> Hi, I'm here again. First of all, I'm not sure I've well understood what to do with your suggestion. What I've done is to edit the configure.in file changing the line: 3\.* ) CXX_LIB="-lgcc_s -lstdc++" (already amended as per previous message) with one proposed in your message, so to have: 3\.* ) CXX_LIB="-lgcc_s -lresolv" or 3\.* ) CXX_LIB="-lgcc_s -lpthread" If this was correct thing to do, well both changes produced the same error as before during installation. If I've to try something else, please advise. Thanks for now, Carlo Il mer, 2003-05-07 alle 11:26, Benoit Minisini ha scritto: > Try to add the following libraries (one by one to find which contains the > missing symbol). > > CXX_LIB="-lgcc_s -lresolv" > > CXX_LIB="-lgcc_s -lpthread" > > I find them by compiling a void project with KDevelop, as I think that > KDevelop projects should compile on RedHat. > > If you want, you can do the same thing, i.e. creating a new KDE project on > KDevelop and compile it, to get the list of libraries passed to the linker. > Maybe this list will be different on RedHat than on Mandrake, as autoconf > tools analyze the underlying system. > > Regards, From clindahl at ...127... Wed May 7 22:55:17 2003 From: clindahl at ...127... (Charles Lindahl) Date: Wed, 7 May 2003 15:55:17 -0500 Subject: [Gambas-user] Problems compiling under RH9 (still) Message-ID: <270C142DA02CD211B99C00104B8FDBC401B5B523@...128...> I still have a problem. I replaced the "CXX_LIB" directive in the Makefile to include the indicated libraries CXX_LIB = -lgcc_s -lresolv -lpthread -lstdc++ And *still* get the following (excertp from the "make install"): Creating the library info files... /opt/gambas/lib/info/gb.info /opt/gambas/lib/info/gb.eval.info /opt/gambas/lib/info/gb.example.info /opt/gambas/lib/info/gb.db.info /opt/gambas/lib/lib.gb.qt.editor.la: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/clindahl/downloaded/gambas/gambas-0.55' make: *** [install-recursive] Error 1 sh-2.05b# gambas ERROR: #27: Cannot load library '/opt/gambas/lib/lib.gb.qt.la': /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE sh-2.05b# Any other ideas? I'm on Redhat 9, BTW. Thanks, Charlie Lindahl Texas A&M University System Health Science Center > -----Original Message----- > From: Carlo Malfatti [mailto:carlo.m at ...122...] > Sent: Wednesday, May 07, 2003 3:37 PM > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Problems compiling under RH9 (still) > > > Hi, > I'm here again. First of all, I'm not sure I've well > understood what to > do with your suggestion. > What I've done is to edit the configure.in file changing the line: > 3\.* ) CXX_LIB="-lgcc_s -lstdc++" (already amended as per previous > message) with one proposed in your message, so to have: > 3\.* ) CXX_LIB="-lgcc_s -lresolv" or > 3\.* ) CXX_LIB="-lgcc_s -lpthread" > > If this was correct thing to do, well both changes produced the same > error as before during installation. > If I've to try something else, please advise. > > Thanks for now, > Carlo From pchapman at ...129... Wed May 7 22:56:23 2003 From: pchapman at ...129... (Philip A. Chapman) Date: 07 May 2003 15:56:23 -0500 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <1052339815.3480.14.camel@...121...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305061437.38994.gambas@...2...> <1052257945.3602.3.camel@...121...> <200305071126.04782.gambas@...2...> <1052339815.3480.14.camel@...121...> Message-ID: <1052340983.13314.33.camel@...130...> I tried the fix as well and got the same results. In Benoit's previous email, he mentioned something about compiling a void project in kdevelop in order to get the correct settings. If I could get more info as to what I am looking for, I will be glad to do so; or I could compile a void project and email the files to you if that is what you wish. On Wed, 2003-05-07 at 15:36, Carlo Malfatti wrote: > Hi, > I'm here again. First of all, I'm not sure I've well understood what to > do with your suggestion. > What I've done is to edit the configure.in file changing the line: > 3\.* ) CXX_LIB="-lgcc_s -lstdc++" (already amended as per previous > message) with one proposed in your message, so to have: > 3\.* ) CXX_LIB="-lgcc_s -lresolv" or > 3\.* ) CXX_LIB="-lgcc_s -lpthread" > > If this was correct thing to do, well both changes produced the same > error as before during installation. > If I've to try something else, please advise. > > Thanks for now, > Carlo > > Il mer, 2003-05-07 alle 11:26, Benoit Minisini ha scritto: > > > Try to add the following libraries (one by one to find which contains the > > missing symbol). > > > > CXX_LIB="-lgcc_s -lresolv" > > > > CXX_LIB="-lgcc_s -lpthread" > > > > I find them by compiling a void project with KDevelop, as I think that > > KDevelop projects should compile on RedHat. > > > > If you want, you can do the same thing, i.e. creating a new KDE project on > > KDevelop and compile it, to get the list of libraries passed to the linker. > > Maybe this list will be different on RedHat than on Mandrake, as autoconf > > tools analyze the underlying system. > > > > Regards, > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), VB for Applications, PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From gambas at ...2... Wed May 7 23:13:44 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 7 May 2003 23:13:44 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <1052340983.13314.33.camel@...130...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <1052339815.3480.14.camel@...121...> <1052340983.13314.33.camel@...130...> Message-ID: <200305072313.44227.gambas@...2...> Le Mercredi 7 Mai 2003 22:56, Philip A. Chapman a ?crit : > I tried the fix as well and got the same results. In Benoit's previous > email, he mentioned something about compiling a void project in kdevelop > in order to get the correct settings. If I could get more info as to > what I am looking for, I will be glad to do so; or I could compile a > void project and email the files to you if that is what you wish. > Thanks. I need only the list of libraries passed to the linker on a RedHat. If you don't know where getting that, you see it at the end of the text in the "messages" window after having build the project completely in kdevelop. Regards, -- Benoit Minisini mailto:gambas at ...1... From dimitribellini at ...69... Thu May 8 01:49:26 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 7 May 2003 23:49:26 +0000 Subject: [Gambas-user] Automanic Line Separator for Subroutine in writing code Message-ID: <200305072349.26953.dimitribellini@...69...> Hi Benoit is possible to have a automatic line separator for every subroutine (like visual basic while writing a Subroutine) like this: ####################################### PRIVATE $hConn AS NEW Connection PRIVATE $rData AS NEW Result --------------------------------------------------------------- STATIC PUBLIC SUB Main() DIM hForm AS Form hForm = NEW FMain hForm.Show END ---------------------------------------------------------------- PUBLIC SUB btnConnetti_Click() DIM sName AS String TRY $hConn.Close WITH $hConn .Type = "mysql" .Host = "localhost" .Login = "root" .Password = "dimitri76" END WITH END --------------------------------------------------------------- ###################################### I know that is only for newbie but if is possible... Thanks in advance Dimitri From ajm at ...126... Thu May 8 03:34:10 2003 From: ajm at ...126... (Andrew Morrison) Date: 07 May 2003 21:34:10 -0400 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <270C142DA02CD211B99C00104B8FDBC401B5B523@...128...> References: <270C142DA02CD211B99C00104B8FDBC401B5B523@...128...> Message-ID: <1052357682.2311.6.camel@...37...> Charlie, Is there anyway in gambas to program password characters so that instead of using the "*" i would like to use the ? i need it for my Chat program i don't wanna use the stupid "*" if you can tell it would be much appreciated. bye Andrew From ajm at ...126... Thu May 8 03:47:00 2003 From: ajm at ...126... (Andrew Morrison) Date: 07 May 2003 21:47:00 -0400 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <200305072313.44227.gambas@...2...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <1052339815.3480.14.camel@...121...> <1052340983.13314.33.camel@...130...> <200305072313.44227.gambas@...2...> Message-ID: <1052358452.2311.15.camel@...37...> Benoit, I've realized that list boxes don't have word wrap and i would like to know if you have anyway i could program word wrap for a list box it would be real helpful if you could give me an idea how to cause I'm working on a Chat Program and a list box just seems to run on and doesn't go to the next line so if you have any suggestions i would appreciate it Andrew From gambas at ...2... Thu May 8 17:37:28 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 8 May 2003 17:37:28 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <1052358452.2311.15.camel@...37...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305072313.44227.gambas@...2...> <1052358452.2311.15.camel@...37...> Message-ID: <200305081737.28424.gambas@...2...> Le Jeudi 8 Mai 2003 03:47, Andrew Morrison a ?crit : > Benoit, > I've realized that list boxes don't have word wrap and i would like to > know if you have anyway i could program word wrap for a list box it > would be real helpful if you could give me an idea how to cause I'm > working on a Chat Program and a list box just seems to run on and > doesn't go to the next line so if you have any suggestions i would > appreciate it > > Andrew > Why do you use ListBox ? Don't ! :-) You can program your own widget with a ScrollView and a lot of elbow grease. -- Benoit Minisini mailto:gambas at ...1... From dimitribellini at ...69... Thu May 8 19:44:39 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 8 May 2003 17:44:39 +0000 Subject: [Gambas-user] Query Retrive single value ? Message-ID: <200305081744.39947.dimitribellini@...69...> How can i select only one record from SQL call like this: - Select ID from Book where Title = "Pinocchio" and put into a TextBox or variable? Thanks in advance Dimitri From sourceforge-raindog2 at ...94... Thu May 8 18:19:33 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 8 May 2003 12:19:33 -0400 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <200305081737.28424.gambas@...2...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <1052358452.2311.15.camel@...37...> <200305081737.28424.gambas@...2...> Message-ID: <200305081219.33798.sourceforge-raindog2@...94...> On Thursday 08 May 2003 11:37, Benoit Minisini wrote: > Why do you use ListBox ? Don't ! :-) > You can program your own widget with a ScrollView and a lot of elbow > grease. Yeah, I ended up using a Qt HtmlView widget when I wrote a chat program using PerlQt. It has a few peculiarities but is pretty cool, and looks as you would expect a chat program to look nowadays. Haven't tried to do anything rich text like under Gambas but I guess it's inevitable sooner or later ;) Rob From gambas at ...2... Thu May 8 19:29:34 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 8 May 2003 19:29:34 +0200 Subject: [Gambas-user] Query Retrive single value ? In-Reply-To: <200305081744.39947.dimitribellini@...69...> References: <200305081744.39947.dimitribellini@...69...> Message-ID: <200305081929.34603.gambas@...2...> Le Jeudi 8 Mai 2003 19:44, Dimitri Bellini a ?crit : > How can i select only one record from SQL call like this: > - Select ID from Book where Title = "Pinocchio" > and put into a TextBox or variable? > Thanks in advance > Dimitri > Let's suppose you have an opened connection on a database named hConn. DIM hConn AS Connection DIM sId AS STRING DIM hResult AS Result sId = "Pinocchio" hResult = hConn.Find("Book", "Title = &1", sId) ' Or you can do: ' hResult = hConn.Exec("Select ID from Book where Title = &1", sId) IF hResult.Available THEN MyTextBox.Text = hResult!ID ENDIF -- Benoit Minisini mailto:gambas at ...1... From nikosdion at ...131... Thu May 8 20:06:53 2003 From: nikosdion at ...131... (Nikolaos Dionysopoulos) Date: Thu, 08 May 2003 21:06:53 +0300 Subject: [Gambas-user] Iconify under KDE Message-ID: <3EBA9CBD.4060109@...131...> Hello everybudy! I was wondering if there is a way to make a Gambas program to iconify in the notification area of KDE when it is minimized, just like many KDE programs (i.e. KMix). Can anybody provide some code, please? Also, is it possible to access raw devices (like /dev/ttyS0) just by OPENing them, in the style of good old QBasic? I assume I would have to be root for such an operation to succed, right? Thank you in advance, -- *Nikolaos Dionysopoulos* *Student of Mechanical Engineering @ AUTh, Greece* /E-Mail : nikosdion at ...131... - Web : http://www.sledge81.cjb.net/ From ajm at ...126... Fri May 9 01:27:45 2003 From: ajm at ...126... (Andrew Morrison) Date: 08 May 2003 19:27:45 -0400 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <200305081737.28424.gambas@...2...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305072313.44227.gambas@...2...> <1052358452.2311.15.camel@...37...> <200305081737.28424.gambas@...2...> Message-ID: <1052436497.9656.5.camel@...37...> Benoit, So, what your telling me is that a listbox is something i shouldn't use well I'm a newbie at programming and just out of curiosity what exactly is a widget. Do you have anything on the site that could explain this to me maybe? I figured a listbox would work cause it seems simple but now you got me thinking with this scroll view I'll try to modify my chat program a little bit so I don't need a listbox but do you have any web-sites that i could possibly learn about these widgets it would be much appreciated. Andrew From Gambasfr at ...11... Thu May 8 23:37:24 2003 From: Gambasfr at ...11... (Fabien) Date: Thu, 8 May 2003 23:37:24 +0200 Subject: [Gambas-user] New french site in devell Message-ID: <200305082337.24142.Gambasfr@...11...> Hi all I've started my french site . I've choiced the name of 'gambas-familly' for it Actually there is only one page on it. But i'm going to work better on it. Fabien http://abidoo.free.fr From fabricemous at ...113... Thu May 8 21:31:55 2003 From: fabricemous at ...113... (Fabrice Mous) Date: Thu, 8 May 2003 21:31:55 +0200 Subject: [Gambas-user] Iconify under KDE In-Reply-To: <3EBA9CBD.4060109@...131...> References: <3EBA9CBD.4060109@...131...> Message-ID: <200305082131.55407.fabricemous@...113...> On Thursday 08 May 2003 20:06, Nikolaos Dionysopoulos wrote: | Hello everybudy! | | I was wondering if there is a way to make a Gambas program to iconify in | the notification area of KDE when it is minimized, just like many KDE | programs (i.e. KMix). Can anybody provide some code, please? you could use "ksystraycmd" .. but my guess is that you don't want that :o) (try in it console) grtz' Fab -- Fabrice Mous fabricemous at ...113... fabrice at ...114... ~~ http://www.kde.nl vosberg at ...132... ~~ http://www.vosberg.be From ajm at ...126... Fri May 9 02:48:08 2003 From: ajm at ...126... (Andrew Morrison) Date: 08 May 2003 20:48:08 -0400 Subject: [Gambas-user] Query Retrive single value ? In-Reply-To: <200305081744.39947.dimitribellini@...69...> References: <200305081744.39947.dimitribellini@...69...> Message-ID: <1052441320.9656.13.camel@...37...> All: Can anyone tell me if you can program keyboard keys into gambas. For instance on my chat program i want to be able to hit the return key instead of clicking the send button if anyone can help me this it would be much appreciated. Andrew From carlo.m at ...122... Thu May 8 22:07:40 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: 08 May 2003 22:07:40 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <200305072313.44227.gambas@...2...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <1052339815.3480.14.camel@...121...> <1052340983.13314.33.camel@...130...> <200305072313.44227.gambas@...2...> Message-ID: <1052424460.3621.3.camel@...121...> This is what i got at the end compiling a KDE mini project with Kdevelop: /bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -o test -L/usr/X11R6/lib -L/usr/lib/qt-3.1/lib -L/usr/lib -R /usr/lib -R /usr/lib/qt-3.1/lib -R /usr/X11R6/lib test.o main.o test.moc.o -lqt-mt -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore -lkdeui If it's worth something, I've tried to add the library starting from -lgt-mt to the configure.in file but the unknown symbol is still there. Thanks for your help, Carlo Il mer, 2003-05-07 alle 23:13, Benoit Minisini ha scritto: > Thanks. > > I need only the list of libraries passed to the linker on a RedHat. > > If you don't know where getting that, you see it at the end of the text in the > "messages" window after having build the project completely in kdevelop. > > Regards, From gambas at ...2... Thu May 8 22:30:16 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 8 May 2003 22:30:16 +0200 Subject: [Gambas-user] Iconify under KDE In-Reply-To: <3EBA9CBD.4060109@...131...> References: <3EBA9CBD.4060109@...131...> Message-ID: <200305082230.16994.gambas@...2...> Le Jeudi 8 Mai 2003 20:06, Nikolaos Dionysopoulos a ?crit : > Hello everybudy! > > I was wondering if there is a way to make a Gambas program to iconify in > the notification area of KDE when it is minimized, just like many KDE > programs (i.e. KMix). Can anybody provide some code, please? No way to do that, as I don't know how to do thath in KDE. > > Also, is it possible to access raw devices (like /dev/ttyS0) just by > OPENing them, in the style of good old QBasic? I assume I would have to > be root for such an operation to succed, right? OPEN "/dev/ttyS0" FOR WRITE DIRECT AS #hFile The DIRECT flag is used for unbuffered I/O => open() is used instead of fopen() > > Thank you in advance, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Thu May 8 22:55:50 2003 From: karl.reinl at ...9... (Charlie) Date: Thu, 08 May 2003 22:55:50 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) References: <270C142DA02CD211B99C00104B8FDBC401B5B523@...128...> <1052357682.2311.6.camel@...37...> Message-ID: <3EBAC456.7070204@...9...> Andrew Morrison schrieb: >Charlie, > Is there anyway in gambas to program password characters so that >instead of using the "*" i would like to use the ? i need it for my Chat >program i don't wanna use the stupid "*" if you can tell it would be >much appreciated. bye > >Andrew > > Salut Andrew, sorry actually I'm out of the box, I shoot my SuSE 7.2 while tring to install the 0.55 and no time to set here up. The only way, if you don't want to add it to the C-Code, is to catch the given char in the Textbox.change event, store it in a string and give back as what you want a '?' for example. But try it in a own project, because it will be not as trivial. Think of all the chars < 32 . Charlie From gambas at ...2... Fri May 9 11:48:32 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 9 May 2003 11:48:32 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <1052436497.9656.5.camel@...37...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <200305081737.28424.gambas@...2...> <1052436497.9656.5.camel@...37...> Message-ID: <200305091148.33044.gambas@...2...> Le Vendredi 9 Mai 2003 01:27, Andrew Morrison a ?crit : > Benoit, > So, what your telling me is that a listbox is something i shouldn't use > well I'm a newbie at programming and just out of curiosity what exactly > is a widget. Do you have anything on the site that could explain this to > me maybe? I figured a listbox would work cause it seems simple but now > you got me thinking with this scroll view I'll try to modify my chat > program a little bit so I don't need a listbox but do you have any > web-sites that i could possibly learn about these widgets it would be > much appreciated. > > Andrew > You have two ways of doing that in Gambas: 1) You can create what you do in a form, and use the form as any control in your code. Let's suppose your form is named FMyListBox. In your FMyChat main form, you do: PRIVATE $hMyListBox AS FMyListBox PUBLIC SUB _new() $hMyListBox = NEW FMyListBox(ME) $hMyListBox.Move(10, 10, 100, 100) END You have an example of that in the IDE source code: the FSelector form is used as a control in many other forms, like FOpenProject 2) You can create a class that manage your list box. Let's suppose this class is named CMyListBox. Its code is: PRIVATE $hScrollView AS ScrollView PUBLIC SUB _new(hParent AS Container) $hScrollView = NEW ScrollView(hParent) ... END You have an example of that in the IDE source code: there is a class named CCoolButton that implements the buttons of the welcome dialog, those who become blue when the mouse is over them. I can't help you more, except by writing the code for you :-) Maybe anyone more advance than you could write an example of that ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Fri May 9 11:49:41 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 9 May 2003 11:49:41 +0200 Subject: [Gambas-user] Automanic Line Separator for Subroutine in writing code In-Reply-To: <200305072349.26953.dimitribellini@...69...> References: <200305072349.26953.dimitribellini@...69...> Message-ID: <200305091149.41976.gambas@...2...> Le Jeudi 8 Mai 2003 01:49, Dimitri Bellini a ?crit : > Hi Benoit > is possible to have a automatic line separator for every subroutine (like > visual basic while writing a Subroutine) like this: > ####################################### > > PRIVATE $hConn AS NEW Connection > PRIVATE $rData AS NEW Result > > --------------------------------------------------------------- > STATIC PUBLIC SUB Main() > > DIM hForm AS Form > > hForm = NEW FMain > hForm.Show > > END > ---------------------------------------------------------------- > PUBLIC SUB btnConnetti_Click() > DIM sName AS String > > TRY $hConn.Close > > WITH $hConn > .Type = "mysql" > .Host = "localhost" > .Login = "root" > .Password = "dimitri76" > END WITH > END > --------------------------------------------------------------- > > ###################################### > I know that is only for newbie but if is possible... > Thanks in advance > > Dimitri > > You like THAT ? Bleeeh... ;-) If I have time I will do it. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Fri May 9 11:53:36 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 9 May 2003 11:53:36 +0200 Subject: [Gambas-user] Query Retrive single value ? In-Reply-To: <1052441320.9656.13.camel@...37...> References: <200305081744.39947.dimitribellini@...69...> <1052441320.9656.13.camel@...37...> Message-ID: <200305091153.36745.gambas@...2...> Le Vendredi 9 Mai 2003 02:48, Andrew Morrison a ?crit : > All: > Can anyone tell me if you can program keyboard keys into gambas. For > instance on my chat program i want to be able to hit the return key > instead of clicking the send button if anyone can help me this it would > be much appreciated. > > Andrew > > The KeyPress event is for that. FUNCTION xxxx_KeyPress(Ascii AS String, Code AS Integer, State AS Integer) AS Boolean Ascii -> Bad term. It is in fact the UTF-8 text associated with the key. It can contains many characters. Code -> The key code. Compare its value this way: IF Code = Key["Space"] THEN ... ' Test the space key State -> Mouse.Control + Mouse.Shift + Mouse.Alt RETURN TRUE -> To cancel the key event END -- Benoit Minisini mailto:gambas at ...1... From nikosdion at ...131... Fri May 9 13:23:58 2003 From: nikosdion at ...131... (Nikolaos Dionysopoulos) Date: Fri, 09 May 2003 14:23:58 +0300 Subject: [Gambas-user] Iconify under KDE [SOLVED] In-Reply-To: <200305082131.55407.fabricemous@...113...> References: <3EBA9CBD.4060109@...131...> <200305082131.55407.fabricemous@...113...> Message-ID: <3EBB8FCE.4060908@...131...> Fabrice Mous wrote: >On Thursday 08 May 2003 20:06, Nikolaos Dionysopoulos wrote: >| Hello everybudy! >| >| I was wondering if there is a way to make a Gambas program to iconify in >| the notification area of KDE when it is minimized, just like many KDE >| programs (i.e. KMix). Can anybody provide some code, please? > > >you could use "ksystraycmd" .. but my guess is that you don't want that :o) > >(try in it console) > >grtz' > >Fab > > > > Thank you both Benoit and Fabrice! You have well satisfied :) I was planning on extending a Caller ID program i wrote a while ago as a console app in free pascal. My idea is to keep it running on the system tray and have a new form popup whenever a call was made. By the way, congratulations Benoit for this excelent RAD tool! I think it is something that GNU/Linux was missing. Cheers, -- *Nikolaos Dionysopoulos* *Student of Mechanical Engineering @ AUTh, Greece* /E-Mail : nikosdion at ...131... - Web : http://www.sledge81.cjb.net/ From dimitribellini at ...69... Fri May 9 18:54:35 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 9 May 2003 16:54:35 +0000 Subject: [Gambas-user] Automanic Line Separator for Subroutine in writing code In-Reply-To: <200305091149.41976.gambas@...2...> References: <200305072349.26953.dimitribellini@...69...> <200305091149.41976.gambas@...2...> Message-ID: <200305091654.36127.dimitribellini@...69...> On Friday 09 May 2003 09:49, Benoit Minisini wrote: > Le Jeudi 8 Mai 2003 01:49, Dimitri Bellini a ?crit : > > Hi Benoit > > is possible to have a automatic line separator for every subroutine > > (like visual basic while writing a Subroutine) like this: > > ####################################### > > > > PRIVATE $hConn AS NEW Connection > > PRIVATE $rData AS NEW Result > > > > --------------------------------------------------------------- > > STATIC PUBLIC SUB Main() > > > > DIM hForm AS Form > > > > hForm = NEW FMain > > hForm.Show > > > > END > > ---------------------------------------------------------------- > > PUBLIC SUB btnConnetti_Click() > > DIM sName AS String > > > > TRY $hConn.Close > > > > WITH $hConn > > .Type = "mysql" > > .Host = "localhost" > > .Login = "root" > > .Password = "dimitri76" > > END WITH > > END > > --------------------------------------------------------------- > > > > ###################################### > > I know that is only for newbie but if is possible... > > Thanks in advance > > > > Dimitri > > You like THAT ? Bleeeh... ;-) > > If I have time I will do it. Thanks :-) Is only for visual feel.. Dimitri From dimitribellini at ...69... Fri May 9 18:55:24 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 9 May 2003 16:55:24 +0000 Subject: [Gambas-user] Query Retrive single value ? In-Reply-To: <200305081929.34603.gambas@...2...> References: <200305081744.39947.dimitribellini@...69...> <200305081929.34603.gambas@...2...> Message-ID: <200305091655.24331.dimitribellini@...69...> On Thursday 08 May 2003 17:29, Benoit Minisini wrote: > Le Jeudi 8 Mai 2003 19:44, Dimitri Bellini a ?crit : > > How can i select only one record from SQL call like this: > > - Select ID from Book where Title = "Pinocchio" > > and put into a TextBox or variable? > > Thanks in advance > > Dimitri > > Let's suppose you have an opened connection on a database named hConn. > > DIM hConn AS Connection > DIM sId AS STRING > DIM hResult AS Result > > sId = "Pinocchio" > > hResult = hConn.Find("Book", "Title = &1", sId) > ' Or you can do: > ' hResult = hConn.Exec("Select ID from Book where Title = &1", sId) > > IF hResult.Available THEN > MyTextBox.Text = hResult!ID > ENDIF Thanks work fine!!! Dimitri From gambas at ...2... Fri May 9 21:47:56 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 9 May 2003 21:47:56 +0200 Subject: [Gambas-user] Gambas Press release Message-ID: <200305092147.56137.gambas@...2...> Hello everybody, There is an article about Gambas in the last issue if the japanese magazine "Linux magazine". http://www.ascii.co.jp/linux/linuxmag/ They sent me the magazine, but I can't read japanese. So, I have no idea of what they wrote. I hope they don't flame it ! ;-) I think I will make a press release page on the site ! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Fri May 9 21:56:53 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 9 May 2003 21:56:53 +0200 Subject: [Gambas-user] New french site in devell In-Reply-To: <200305082337.24142.Gambasfr@...11...> References: <200305082337.24142.Gambasfr@...11...> Message-ID: <200305092156.53581.gambas@...2...> Le Jeudi 8 Mai 2003 23:37, Fabien a ?crit : > Hi all > > I've started my french site . > > I've choiced the name of 'gambas-familly' for it > > Actually there is only one page on it. > > But i'm going to work better on it. > > Fabien > > http://abidoo.free.fr > > Hem... Family with only one 'L' ? :-) -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Fri May 9 23:07:52 2003 From: karl.reinl at ...9... (Charlie) Date: Fri, 09 May 2003 23:07:52 +0200 Subject: [Gambas-user] New french site in devell References: <200305082337.24142.Gambasfr@...11...> <200305092156.53581.gambas@...2...> Message-ID: <3EBC18A8.6050006@...9...> Benoit Minisini schrieb: >Le Jeudi 8 Mai 2003 23:37, Fabien a ?crit : > > >>Hi all >> >>I've started my french site . >> >>I've choiced the name of 'gambas-familly' for it >> >>Actually there is only one page on it. >> >>But i'm going to work better on it. >> >>Fabien >> >>http://abidoo.free.fr >> >> >> >> > >Hem... Family with only one 'L' ? :-) > > > He got 2 but have a look, we had this before, your special letters are not shown correctly Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: fg.png Type: image/png Size: 60361 bytes Desc: not available URL: From karl.reinl at ...9... Fri May 9 23:30:23 2003 From: karl.reinl at ...9... (Charlie) Date: Fri, 09 May 2003 23:30:23 +0200 Subject: [Gambas-user] back Message-ID: <3EBC1DEF.2040705@...9...> Salut, after some day troubles, not only with gambas-0.55, I stript off the brand new installation of qt-3.1.2 correctet the 3 faultes in the code, And gambas-0.55 ran on my old SuSE 7.2 full updated, qt-3.0.5, KDE 2.2.2 , mysql 3.23.37 disabled KDE and pgsql. Yes for qt-3.1.2 on this box I have troubles. But I will see later for that. I'm back now. Now finally I have a running Database Manager, (powerfull you liked to say some times ago ,Beno?t). The first thing I remarked, is the on my box the Debug Window stays allways on top, and the application behind him. I had a look to the project I wrote for the http://www.theeasygambasdoku.de/ WithDB and could free all workarounds, but not the edit/update. But I didn't searched far, nor read the last changes. amicalement Charlie PS will see if I can have a feetback for these japanese article . From carlo.m at ...122... Sat May 10 00:32:41 2003 From: carlo.m at ...122... (Carlo Malfatti) Date: 10 May 2003 00:32:41 +0200 Subject: [Gambas-user] Problems compiling under RH9 (still) In-Reply-To: <1052424460.3621.3.camel@...121...> References: <270C142DA02CD211B99C00104B8FDBC401B5B4EF@...128...> <1052339815.3480.14.camel@...121...> <1052340983.13314.33.camel@...130...> <200305072313.44227.gambas@...2...> <1052424460.3621.3.camel@...121...> Message-ID: <1052519561.3496.12.camel@...121...> Well, I've found a solution for this problem: Redhat 9 ships with qt library version 3.1.1. After digging on the net with google I've found some hints that qt libraries may cause this "unknown symbol" problem if they are built with different compiler version than the program you try to build. So I was going to compile the qt libraries myself but have found version 3.1.2 on redhat rawhide and after upgrading to this version gambas finally completed its installation. I don't know how safe is to use rawhide versions, but I can afford this risk on my box. Thanks for your time and best regards, Carlo From dimitribellini at ...69... Fri May 9 19:00:59 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Fri, 9 May 2003 17:00:59 +0000 Subject: [Gambas-user] How can I create REPORT Message-ID: <200305091700.59757.dimitribellini@...69...> Hi all i think is early to speak about a Report Generetor but now is possible Print something thrugh CUPS server. Thanks in advance Dimitri From Gambasfr at ...11... Sat May 10 19:28:01 2003 From: Gambasfr at ...11... (Fabien) Date: Sat, 10 May 2003 19:28:01 +0200 Subject: [Gambas-user] Re: Gambas Press release In-Reply-To: <200305092147.56137.gambas@...2...> References: <200305092147.56137.gambas@...2...> Message-ID: <200305101927.29959.Gambasfr@...11...> Le Vendredi 9 Mai 2003 21:47, Benoit Minisini a ?crit : > Hello everybody, > > There is an article about Gambas in the last issue if the japanese magazine > "Linux magazine". > > http://www.ascii.co.jp/linux/linuxmag/ > > They sent me the magazine, but I can't read japanese. So, I have no idea of > what they wrote. I hope they don't flame it ! ;-) > > I think I will make a press release page on the site ! > > Regards, good spirit in fact ;-) Fabien From Gambasfr at ...11... Sat May 10 19:38:06 2003 From: Gambasfr at ...11... (Fabien) Date: Sat, 10 May 2003 19:38:06 +0200 Subject: [Gambas-user] New french site in devell In-Reply-To: <200305082337.24142.Gambasfr@...11...> References: <200305082337.24142.Gambasfr@...11...> Message-ID: <200305101938.06881.Gambasfr@...11...> Le Jeudi 8 Mai 2003 23:37, Fabien a ?crit : > Hi all > > I've started my french site . > > I've choiced the name of 'gambas-familly' for it > > Actually there is only one page on it. > > But i'm going to work better on it. > > Fabien > > http://abidoo.free.fr > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Gambasfr at ...11... Sat May 10 19:39:52 2003 From: Gambasfr at ...11... (Fabien) Date: Sat, 10 May 2003 19:39:52 +0200 Subject: [Gambas-user] New french site in devell In-Reply-To: <3EBC18A8.6050006@...9...> References: <200305082337.24142.Gambasfr@...11...> <200305092156.53581.gambas@...2...> <3EBC18A8.6050006@...9...> Message-ID: <200305101939.52458.Gambasfr@...11...> Le Vendredi 9 Mai 2003 23:07, Charlie a ?crit : > Benoit Minisini schrieb: > >Le Jeudi 8 Mai 2003 23:37, Fabien a ?crit : > >>Hi all > >> > >>I've started my french site . > >> > >>I've choiced the name of 'gambas-familly' for it > >> > >>Actually there is only one page on it. > >> > >>But i'm going to work better on it. > >> > >>Fabien > >> > >>http://abidoo.free.fr > > > >Hem... Family with only one 'L' ? :-) > > He got 2 > > but have a look, we had this before, your special letters are not shown > correctly > > Charlie hem it's actually a french site with french letter ! but i will make an effort just for you... And i've corrected my family ! huhu Fabien From clavanya17 at ...103... Thu May 8 20:07:12 2003 From: clavanya17 at ...103... (christ) Date: Fri, 9 May 2003 01:07:12 +0700 Subject: [Gambas-user] redhat 9 error Message-ID: <000001c31739$637802d0$3c685e3d@...123...> by the way i have same problem with you because i use redhat 9 too, ERROR: #27: Cannot load library '/opt/gambas/lib/lib.gb.qt.la': /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE i think it is the redhat fault for compiling qt libraries with error :) so i download the qt 3.12 from trooltech and compiled by my self and..... abrakadabra i can compile gambas 0.55 with out error and now i doing my project with out probelm :) christ -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...2... Sun May 11 13:01:08 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 11 May 2003 13:01:08 +0200 Subject: [Gambas-user] redhat 9 error In-Reply-To: <000001c31739$637802d0$3c685e3d@...123...> References: <000001c31739$637802d0$3c685e3d@...123...> Message-ID: <200305111301.08610.gambas@...2...> Le Jeudi 8 Mai 2003 20:07, christ a ?crit : > by the way i have same problem with you because i use redhat 9 too, > > > ERROR: #27: Cannot load library '/opt/gambas/lib/lib.gb.qt.la': > /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: > _ZNSs4_Rep11_S_terminalE > > > i think it is the redhat fault for compiling qt libraries with error :) so > i download the qt 3.12 from trooltech and compiled by my self and..... > abrakadabra i can compile gambas 0.55 with out error and now i doing my > project with out probelm > > :) > > christ Thanks for your hint, christ, you are my saviour ;-). I really didn't understand why this symbol were not defined. If it is really RedHat fault, I wonder WHO really uses RedHat to develop QT or KDE applications ? ;-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sun May 11 19:52:10 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 11 May 2003 19:52:10 +0200 Subject: [Gambas-user] gambas 0.56 Message-ID: <200305111952.10219.gambas@...2...> Hi ! Here is gambas 0.56 : There are a lot of fixes in the database driver and the interpreter. The debugging interface of the IDE has been redesigned : there is a new console window, where you can evaluate any expression at any time. Did you notice that Gambas package does not fit on a floppy disk anymore ? :-) I noticed that the console window works strangely with QT 3.0, but I couldn't fix it. Enjoy it, and good sunday ! Regards, -- Benoit Minisini mailto:gambas at ...1... From jochen.georges at ...22... Sun May 11 21:46:20 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Sun, 11 May 2003 21:46:20 +0200 Subject: [Gambas-user] gambas 0.56 and Database example Message-ID: <200305112130.05238@...24...> hello gambas 0.56 compiles fine under debian woody :-) i've tried to run the Database exampe i set the values like this: Type: mysql Host : localhost Database: test User: jochen (and later: root) Password: YES while trying to connect i got the message: cannot open database: Access denied for user root at ...40... (Using password: YES) ???? mysql is ok: jochen at ...23...:~$ mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 to server version: 3.23.56-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> SELECT USER(); +------------------+ | USER() | +------------------+ | jochen at ...40... | +------------------+ 1 row in set (0.05 sec) thanks for any hint beste gruesse jochen From karl.reinl at ...9... Sun May 11 23:25:34 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 11 May 2003 23:25:34 +0200 Subject: [Gambas-user] gambas 0.56 and Database example References: <200305112130.05238@...24...> Message-ID: <3EBEBFCE.9010002@...9...> Jochen Georges schrieb: >hello > >gambas 0.56 compiles fine under debian woody :-) > >i've tried to run the Database exampe > >i set the values like this: >Type: mysql >Host : localhost >Database: test >User: jochen (and later: root) >Password: YES > >while trying to connect i got the message: >cannot open database: Access denied for user root at ...40... (Using >password: YES) > >???? >mysql is ok: >jochen at ...23...:~$ mysql >Welcome to the MySQL monitor. Commands end with ; or \g. >Your MySQL connection id is 8 to server version: 3.23.56-log > >Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > >mysql> SELECT USER(); >+------------------+ >| USER() | >+------------------+ >| jochen at ...40... | >+------------------+ >1 row in set (0.05 sec) > >thanks for any hint > >beste gruesse >jochen > > Salut Jochen, the output (Using password: YES) doesn't mean, the password is 'YES' , it means you have to use a password, ( in your case the password of root) In your shell command you log in as user jochen without password so if you have passed a password to the gambas DB the login failed, isn't it. Charlie From karl.reinl at ...9... Sun May 11 23:41:59 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 11 May 2003 23:41:59 +0200 Subject: [Gambas-user] gambas 0.56 and Database example References: <200305112130.05238@...24...> Message-ID: <3EBEC3A7.2060701@...9...> Jochen Georges schrieb: >hello > >gambas 0.56 compiles fine under debian woody :-) > >i've tried to run the Database exampe > >i set the values like this: >Type: mysql >Host : localhost >Database: test >User: jochen (and later: root) >Password: YES > >while trying to connect i got the message: >cannot open database: Access denied for user root at ...40... (Using >password: YES) > >???? >mysql is ok: >jochen at ...23...:~$ mysql >Welcome to the MySQL monitor. Commands end with ; or \g. >Your MySQL connection id is 8 to server version: 3.23.56-log > >Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > >mysql> SELECT USER(); >+------------------+ >| USER() | >+------------------+ >| jochen at ...40... | >+------------------+ >1 row in set (0.05 sec) > >thanks for any hint > >beste gruesse >jochen > > Sorry Jochen, give me a 2nd. chance. I mixed all up, and after a last tourn I trow it out, but it was wrong. If you get (Using password YES) it means you used a password but there is no password to give. And if you get (Using password NO) it means you used no password, but there is a password to give. Sorry again Charlie Using (Using password: YES) > > From karl.reinl at ...9... Sun May 11 23:52:51 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 11 May 2003 23:52:51 +0200 Subject: [Gambas-user] gambas 0.56 and Database example References: <200305112130.05238@...24...> Message-ID: <3EBEC633.8090308@...9...> Jochen Georges schrieb: >hello > >gambas 0.56 compiles fine under debian woody :-) > >i've tried to run the Database exampe > >i set the values like this: >Type: mysql >Host : localhost >Database: test >User: jochen (and later: root) >Password: YES > >while trying to connect i got the message: >cannot open database: Access denied for user root at ...40... (Using >password: YES) > >???? >mysql is ok: >jochen at ...23...:~$ mysql >Welcome to the MySQL monitor. Commands end with ; or \g. >Your MySQL connection id is 8 to server version: 3.23.56-log > >Type 'help;' or '\h' for help. Type '\c' to clear the buffer. > >mysql> SELECT USER(); >+------------------+ >| USER() | >+------------------+ >| jochen at ...40... | >+------------------+ >1 row in set (0.05 sec) > >thanks for any hint > >beste gruesse >jochen > > Making the fool, I got into a short test and saw. (Using password: YES/NO) only will help you to find you mistake. And shows you if a password was given or not. amicalement Charlie From karl.reinl at ...9... Mon May 12 00:09:18 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 12 May 2003 00:09:18 +0200 Subject: [Gambas-user] gambas 0.56 References: <200305111952.10219.gambas@...2...> Message-ID: <3EBECA0E.7020208@...9...> Benoit Minisini schrieb: >Hi ! > >Here is gambas 0.56 : > >There are a lot of fixes in the database driver and the interpreter. The >debugging interface of the IDE has been redesigned : there is a new console >window, where you can evaluate any expression at any time. > >Did you notice that Gambas package does not fit on a floppy disk anymore ? :-) > >I noticed that the console window works strangely with QT 3.0, but I couldn't >fix it. > >Enjoy it, and good sunday ! > >Regards, > > > Salut Beno?t, on my SuSE 7.2 full updated, qt-3.0.5, KDE 2.2.2 , mysql 3.23.37 disabled KDE and pgsql. gambas-0.56 run . The only thing is that we lost the variable list in the debug Watch-Window. And the db.edit("Table","myKey = &1", sKey) don't work. amicalement Charlie From samans at ...133... Mon May 12 10:56:13 2003 From: samans at ...133... (Saman Sjukur) Date: Mon, 12 May 2003 15:56:13 +0700 Subject: [Gambas-user] gambas 0.56 and Database example Message-ID: <5D975F8D8CDED5119E140008C733B12A3C5A@...134...> It's happen to me too. For information, I'm using mandrake 9.1 And this problem didn't happen in gambas 0.55 Regard's Sam -----Original Message----- From: Jochen Georges [mailto:jochen.georges at ...22...] Sent: Monday, May 12, 2003 2:46 AM To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] gambas 0.56 and Database example hello gambas 0.56 compiles fine under debian woody :-) i've tried to run the Database exampe i set the values like this: Type: mysql Host : localhost Database: test User: jochen (and later: root) Password: YES while trying to connect i got the message: cannot open database: Access denied for user root at ...40... (Using password: YES) ???? mysql is ok: jochen at ...23...:~$ mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 to server version: 3.23.56-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> SELECT USER(); +------------------+ | USER() | +------------------+ | jochen at ...40... | +------------------+ 1 row in set (0.05 sec) thanks for any hint beste gruesse jochen ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From stibs at ...6... Mon May 12 15:54:50 2003 From: stibs at ...6... (stibs at ...6...) Date: Mon, 12 May 2003 14:54:50 +0100 Subject: [Gambas-user] gambas 0.56 and Database example Message-ID: <200305121354.OAA20930@...7...> From dimitribellini at ...69... Mon May 12 17:41:30 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 12 May 2003 15:41:30 +0000 Subject: [Gambas-user] Read a Serial data ttySx Message-ID: <200305121541.30817.dimitribellini@...69...> Hi List i have to read a serial data from a ttySx and i use stty command to set the 9600bps 8N1 no hardware control on Serial Port but nothing to do i write this very simple Project but nothing... There is a End Of Line Type? Thanks in advace. ---------------------------------------------------------------------------- STATIC PUBLIC SUB Main() hForm AS Fmain hForm = NEW Fmain hForm.show END PUBLIC SUB Button1_Click() myLine AS String myFile AS File OPEN "/dev/ttyS0" FOR READ AS myFile WHILE NOT Eof (myFile) 'Eof = end of file LINE INPUT #myFile, myLine '# is a kind of pointer 'which is incremented by LINE INPUT TextArea1.Text= TextArea1.Text & "
" & myLine WEND CLOSE myFile 'do not forget to close the door ;-) END ------------------------------------------------------------------------------------- Dimitri Ps. Sorry ... I'am not a very expert. :-) From ajm at ...126... Mon May 12 22:34:11 2003 From: ajm at ...126... (Andrew Morrison) Date: 12 May 2003 16:34:11 -0400 Subject: [Gambas-user] gambas 0.56 and Database example In-Reply-To: <200305121354.OAA20930@...7...> References: <200305121354.OAA20930@...7...> Message-ID: <1052771688.2272.1.camel@...37...> All, Can anyone tell me if Gambas is now able to make chat programs connect to the net??? From ajm at ...126... Mon May 12 22:51:05 2003 From: ajm at ...126... (Andrew Morrison) Date: 12 May 2003 16:51:05 -0400 Subject: [Gambas-user] gambas 0.56 and Database example In-Reply-To: <5D975F8D8CDED5119E140008C733B12A3C5A@...134...> References: <5D975F8D8CDED5119E140008C733B12A3C5A@...134...> Message-ID: <1052772697.2272.6.camel@...37...> All, I get this problem with the Gambas Database Manager when i try to connect using mysql "Cannot Connect to database. Cannot open database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" anyone else have any of these problems??? From sourceforge-raindog2 at ...94... Mon May 12 23:11:13 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 12 May 2003 17:11:13 -0400 Subject: [Gambas-user] Re: [Gambas-devel] Passing things In-Reply-To: <200305120825.37771.dan@...138...> References: <3EBDA8F0.6090102@...137...> <3EBF13C5.9000207@...137...> <200305120825.37771.dan@...138...> Message-ID: <200305121711.13554.sourceforge-raindog2@...94...> (copied to gambas-user in hopes of moving this thread over) As it is right now, I don't actually think a program to convert VB projects to Gambas (at least the forms themselves) will be that hard, and for that matter the Gambas IDE itself is written in Gambas. So if no one else writes some mechanism to fake auto-instantiation and project-wide scope, I probably will eventually, right around the time I try to convert my first bunch of client-written code over to Gambas. I mean, yeah, so you can't write a Gambas program with zero lines of user-written code presently like you can in other languages, but does the term "alpha" mean anything to you? I'll start worrying if this sort of feature isn't around in Gambas 1.1 or thereabouts ;) Rob On Monday 12 May 2003 12:25, Dan Phillips wrote: > Wow, my thoughts zactly. You can call VB developers "bad" but the truth > is, there is nothing more clean than a single line of code to modify say a > text field on a form not where the code is written. > > VB does this, > Kylix does this, > Delphi does this, > ScreenIO for Cobol does this. > > VB has sold a lot of copies and if this compiler has any hopes to adopt VB > developers, they need to make this small option available. > > As is, I was excited when I found this language but cannot use it for my > purposes because I have several forms that need a major amount of > modification based on code from elsewhere. Sorry guys, I guess I'm just a > "bad developer". > > On Sunday 11 May 2003 19:23, Ken Schrock wrote: > > Sorry about posting to the wrong list > > And thanks for answering my question anyway : -) > > Particularly since it doesn't look like I will be using it anyway > > Anal retentive, overbearing, "modular", "tightly scoped", "object > > oriented" Languages just keep me going back to C > > > > Since this is the developers form... > > Come on guys, seriously, I mean really... > > > > Form1.Listbox1.Insert(Textbox1.Text) > > (or its equivalent in C) > > > > Is simple, clean, elegant, intuitive, logical > > Your two examples are none of those things > > Think about it, think about the hoops you make people jump through > > Just to pass a single simple string from a client window to a parent > > window > > > > This may get you an award from an egghead language designer's group > > But nobody will use it. That is fine if that is what you really want to > > do However, if you want anybody to use it, you have to rethink this I'm > > not going to go through all that and nobody else will either > > > > It is a shame, as it is an excellent idea, and well executed > > But it appears crippled by dictatorial design philosophy > > And really, we don't need any more of that kind > > The landscape is littered with plenty already > > > > Benoit Minisini wrote: > > >Le Dimanche 11 Mai 2003 03:35, Ken Schrock a ?crit : > > >>I am having trouble passing data between objects, classes, forms, etc. > > >> > > >>To add an element to a listbox > > >>Pop up a new form for entry, ok so far > > >> > > >>But in Form2 if one tries to pass data to Form1 with > > >>Form1.Listbox1.Add(whatever) it says it can't find ListBox1 > > >>It appears the controls, if created by the IDE, aren't made public > > >>And there seems to be no option in the properties box to do so > > >> > > >>Call a public function - Says it isn't static - Make it static > > >>It says you can't use dynamic things in a static function > > >> > > >>Ok guys, give me a hint here > > > > > >Hi Ken, > > > > > >You should have posted this mail on the user mailing-list. This is list > > > is for people who are developing Gambas, not developing WITH Gambas ! > > > > > >Controls are not public, they are private. This way, the bad old VB > > > developer must adopt a cleaner way of writing its program :-) > > > > > >Forms are not self-instanciable. I.e. if you have a form Form1, then > > > Form1 is the name of the class, not the name of an instance ! > > > > > >Here is a bad example of how to solve your problem, but easy to > > > understand: > > > > > >MyForm1 = NEW Form1 > > >MyForm1.Show > > > > > >*** In MyForm1: > > > > > >MyForm2 = NEW Form2(MyForm1) > > >MyForm2.ShowModal() > > > > > >... > > > > > >PUBLIC SUB AddToListBox(sElt AS String) > > > > > > ListBox1.Add(sElt) > > > > > >END > > > > > >*** In MyForm2: > > > > > >PRIVATE MyForm1 AS Form1 > > > > > >PUBLIC SUB _new(hForm AS Form1) > > > > > > MyForm1 = hForm > > > > > >END > > > > > >... > > > > > >MyForm1.AddToListBox(TextBox1.Text) > > > > > > > > >Here is a better way to do that: > > > > > >*** In Form1: > > > > > >sElt = Form2.Run() > > >IF sElt THEN ListBox1.Add(sElt) > > > > > >*** In Form2 > > > > > >STATIC sResult AS STRING > > > > > >STATIC PUBLIC FUNCTION Run() AS STRING > > > > > > DIM hForm AS Form2 > > > > > > hForm = NEW Form2 > > > IF NOT hForm.ShowModal() THEN RETURN > > > RETURN sResult > > > > > >END > > > > > >... > > > > > >PUBLIC SUB btnCancel_Click() > > > > > > ME.Close() > > > > > >END > > > > > >PUBLIC SUB btnOK_Click() > > > > > > sResult = TextBox1.Text > > > Me.Close(TRUE) > > > > > >END > > > > > >Regards, From clindahl at ...127... Tue May 13 01:54:28 2003 From: clindahl at ...127... (Charles Lindahl) Date: Mon, 12 May 2003 18:54:28 -0500 Subject: [Gambas-user] redhat 9 error Message-ID: <270C142DA02CD211B99C00104B8FDBC401B5B55C@...128...> Benoit: > Thanks for your hint, christ, you are my saviour ;-). I really didn't > understand why this symbol were not defined. If it is really > RedHat fault, I > wonder WHO really uses RedHat to develop QT or KDE applications ? ;-) Well, the question is: WHO really uses RedHat 9 (!!!! emphasis here !!!!) to develop QT or KDE applications> Since RH9 is only about 3 weeks old, the answer (apparently) is not many :-) (yet). Charlie Lindahl From bsnipes at ...21... Tue May 13 04:25:53 2003 From: bsnipes at ...21... (Brian Snipes) Date: 12 May 2003 21:25:53 -0500 Subject: [Gambas-user] Make install error Message-ID: <1052792753.4262.17.camel@...73...> On Gentoo with KDE 3.1, QT 3.1.0 I receive an error regarding the 'info' files during a make install. Compiling and installing the development environment... Compiling gambas... OK Compiling gambas-database-manager... OK Creating the library info files... /opt/gambas/lib/info/gb.info /opt/gambas/lib/info/gb.eval.info /opt/gambas/lib/info/gb.example.info /opt/gambas/lib/info/gb.db.info /opt/gambas/lib/info/gb.qt.editor.info /opt/gambas/lib/info/gb.qt.ext.info make[2]: *** [install-exec-local] Segmentation fault make[2]: Leaving directory `/home/bsnipes/downloads/linux/programming/gambas-0.5 6' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/bsnipes/downloads/linux/programming/gambas-0.5 6' make: *** [install-recursive] Error 1 If I comment out the info installation section it finishes the install and runs ok (with the NVidia workaround and a segfault everytime I exit). Do I need the 'info' files? What do they do? Brian From na2492 at ...9... Tue May 13 10:31:40 2003 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 13 May 2003 10:31:40 00200 Subject: [Gambas-user] gambas 0.56 and Database example Message-ID: <3ec0ad6c.2815.0@...9...> >All, > I get this problem with the Gambas Database Manager when i try to >connect using mysql "Cannot Connect to database. Cannot open database: >Can't connect to local MySQL server through socket >'/var/lib/mysql/mysql.sock' (2)" anyone else have any of these >problems??? > Salut, try to login on prompt#mysql if you get the same message you have to start the mysql-Server (mysqld) as root Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From haychis at ...118... Tue May 13 13:01:10 2003 From: haychis at ...118... (=?iso-8859-1?q?henry=20i?=) Date: Tue, 13 May 2003 21:01:10 +1000 (EST) Subject: [Gambas-user] Edit records in Database Message-ID: <20030513110110.81373.qmail@...139...> Hi, I need help with a little program i'm writing with 0.56. I use MySQL, but what i can't work out is how to edit an individual record. i tried like hConn.Edit but was getting an error expecting void but got null ... need more documentation, for us novices! regards, Henry. http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. From karl.reinl at ...9... Tue May 13 20:03:15 2003 From: karl.reinl at ...9... (Charlie) Date: Tue, 13 May 2003 20:03:15 +0200 Subject: [Gambas-user] Edit records in Database References: <20030513110110.81373.qmail@...139...> Message-ID: <3EC13363.60903@...9...> henry i schrieb: >Hi, I need help with a little program i'm writing with >0.56. I use MySQL, but what i can't work out is how to >edit an individual record. > >i tried like hConn.Edit but was getting an error >expecting void but got null ... > >need more documentation, for us novices! > >regards, > >Henry. > >http://mobile.yahoo.com.au - Yahoo! Mobile >- Check & compose your email via SMS on your Telstra or Vodafone mobile. > > >------------------------------------------------------- > > Salut, try this and say me if you could use it. It is writen in 0.55 . The .edit don't even work for mysql in 0.56 Charlie > > -------------- next part -------------- A non-text attachment was scrubbed... Name: WithDB_ALL.tar.gz Type: application/x-tar Size: 16986 bytes Desc: not available URL: From karl.reinl at ...9... Tue May 13 22:51:59 2003 From: karl.reinl at ...9... (Charlie) Date: Tue, 13 May 2003 22:51:59 +0200 Subject: [Gambas-user] Problems on the gambas-lists Message-ID: <3EC15AEF.7020100@...9...> Salut Beno?t, had a look to the lits archives and remaked that both archives are end at 2003/05/08 ??????? Charlie From sourceforge-raindog2 at ...94... Tue May 13 23:20:59 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 13 May 2003 17:20:59 -0400 Subject: [Gambas-user] mandrake 9.0 + 9.1 packages for 0.56 In-Reply-To: <3EC15AEF.7020100@...9...> References: <3EC15AEF.7020100@...9...> Message-ID: <200305131720.59130.sourceforge-raindog2@...94...> I built RPM's for both Mandrake 9.0 and 9.1 and put them in my repository. Details may be found at http://www.kudla.org/index.php?wl_mode=more&wl_eid=11 (note: I haven't had a chance to test the database functionality to make sure it doesn't exhibit the problems others have reported. Hope to do that tonight or tomorrow.) Rob From dimitribellini at ...69... Wed May 14 04:37:08 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 14 May 2003 02:37:08 +0000 Subject: [Gambas-user] mandrake 9.0 + 9.1 packages for 0.56 In-Reply-To: <200305131720.59130.sourceforge-raindog2@...94...> References: <3EC15AEF.7020100@...9...> <200305131720.59130.sourceforge-raindog2@...94...> Message-ID: <200305140237.09629.dimitribellini@...69...> hello rob i try to install your Gambas RPM for mdk9.1 but i have strange depency problem : error: failed dependencies: libpq.so.2 is needed by gambas-0.56-1mdk i use gambas with mysql and pg compile on my mdk9.1 and works well with only "libpq.so". thanks in advance. Dimitri On Tuesday 13 May 2003 21:20, Rob wrote: > I built RPM's for both Mandrake 9.0 and 9.1 and put them in my repository. > Details may be found at > http://www.kudla.org/index.php?wl_mode=more&wl_eid=11 (note: I haven't had > a chance to test the database functionality to make sure it doesn't exhibit > the problems others have reported. Hope to do that tonight or tomorrow.) > >Rob From dimitribellini at ...69... Wed May 14 04:50:54 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 14 May 2003 02:50:54 +0000 Subject: [Gambas-user] gbdmgr In-Reply-To: <200304262245.05777.gambas@...2...> References: <3EA9A2C5.4020504@...9...> <3EAACF88.80405@...9...> <200304262245.05777.gambas@...2...> Message-ID: <200305140250.54819.dimitribellini@...69...> Thanks sorry for late replay... I understand the project goal. Bye Dimitri On Saturday 26 April 2003 22:45, Benoit Minisini wrote: > Le Samedi 26 Avril 2003 18:27, Charlie a ?crit : > > Dimitri Bellini schrieb: > > >On Saturday 26 April 2003 13:33, Nigel Gerrard wrote: > > >>On Saturday 26 Apr 2003 12:34 am, Benoit Minisini wrote: > > >>>Le Vendredi 25 Avril 2003 21:04, Charlie a ?crit : > > >>>>Salut, > > >>>> > > >>>>has anybody runnig the gbdmgr with mysql ? > > >>>> > > >>>>need some hint(s)/ first step! > > >>>> > > >>>>Charlie > > >>> > > >>>You must wait for the mysql driver to be done ! > > >> > > >>Charlie, > > >> > > >>I am working on updating the mysql driver. Hopefully it will be > > >>done by the end of the week. > > >> > > >>Nigel > > > > > >Why not merge some other project (Hbasic,kexi) i use it at seems works > > > fine... Thanks > > I know the HBasic project, but not kexi. What is it ? > > And merging projects is not as simple as cooking ! The main "problem" with > Gambas is that I don't want him to be tied to any toolkit. From sourceforge-raindog2 at ...94... Wed May 14 05:17:54 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 13 May 2003 23:17:54 -0400 Subject: [Gambas-user] mandrake 9.0 + 9.1 packages for 0.56 In-Reply-To: <200305140237.09629.dimitribellini@...69...> References: <3EC15AEF.7020100@...9...> <200305131720.59130.sourceforge-raindog2@...94...> <200305140237.09629.dimitribellini@...69...> Message-ID: <200305132317.54552.sourceforge-raindog2@...94...> On Tuesday 13 May 2003 22:37, Dimitri Bellini wrote: > i try to install your Gambas RPM for mdk9.1 but i have strange depency > problem : > error: failed dependencies: > libpq.so.2 is needed by gambas-0.56-1mdk > i use gambas with mysql and pg compile on my mdk9.1 and works well with > only "libpq.so". libpgsql2-7.2.2-1.2mdk is the package that provides libpq.so.2 under 9.0; I don't have the 9.1 machine I built that RPM on handy to find out what package provides it there but it's probably libpgsql2-something. But if you download the gambas RPMs and type "urpmi gambas*.rpm" it should automatically install whatever packages it needs. Rob From jochen.georges at ...22... Wed May 14 06:35:35 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Wed, 14 May 2003 06:35:35 +0200 Subject: [Gambas-user] database help online Message-ID: <200305140632.24449@...24...> hello gambasties, thanks to charlie, who wrote a detailled chapter "how to work with databases". it is online : http://www.theeasygambasdoku.de beste gruesse jochen p.s.: if you want to write a chapter .... come on. you can find a html-template for your side in the rootdirectory of the sidee: http://www.theeasygambasdoku.de/tduf_0.0.1.html From haychis at ...118... Wed May 14 06:37:34 2003 From: haychis at ...118... (=?iso-8859-1?q?henry=20i?=) Date: Wed, 14 May 2003 14:37:34 +1000 (EST) Subject: [Gambas-user] Edit records in Database In-Reply-To: <3EC13363.60903@...9...> Message-ID: <20030514043734.80324.qmail@...140...> thanks charlie, it worked first time.... fantastic! Charlie wrote: henry i schrieb: >Hi, I need help with a little program i'm writing with >0.56. I use MySQL, but what i can't work out is how to >edit an individual record. > >i tried like hConn.Edit but was getting an error >expecting void but got null ... > >need more documentation, for us novices! > >regards, > >Henry. > >http://mobile.yahoo.com.au - Yahoo! Mobile >- Check & compose your email via SMS on your Telstra or Vodafone mobile. > > >------------------------------------------------------- > > Salut, try this and say me if you could use it. It is writen in 0.55 . The .edit don't even work for mysql in 0.56 Charlie > > > ATTACHMENT part 2 application/x-tar name=WithDB_ALL.tar.gz --------------------------------- Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clavanya17 at ...103... Wed May 14 17:48:04 2003 From: clavanya17 at ...103... (christ) Date: Wed, 14 May 2003 22:48:04 +0700 Subject: [Gambas-user] gambas data manajer Message-ID: <002001c31a30$41c8fff0$b4685e3d@...141...> hi every body I look into the app directory in gambas 0-5.6 and copy the gb data manager folder.and then I translate the the source code into my language with out changing the real code of it. i subtitute the real gb data manager in app folder with the one that i have changed. i recompiled it again and it's succes but when i running the gb data manager from the gambas IDE and doing a database creation it crash wit out any error messages.. any idea why it happen ?? ^_^? -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...2... Wed May 14 19:01:23 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 14 May 2003 19:01:23 +0200 Subject: [Gambas-user] gambas 0.56 In-Reply-To: <3EBECA0E.7020208@...9...> References: <200305111952.10219.gambas@...2...> <3EBECA0E.7020208@...9...> Message-ID: <200305141901.23940.gambas@...2...> Le Lundi 12 Mai 2003 00:09, Charlie a ?crit : > Benoit Minisini schrieb: > >Hi ! > > > >Here is gambas 0.56 : > > > >There are a lot of fixes in the database driver and the interpreter. The > >debugging interface of the IDE has been redesigned : there is a new > > console window, where you can evaluate any expression at any time. > > > >Did you notice that Gambas package does not fit on a floppy disk anymore ? > > :-) > > > >I noticed that the console window works strangely with QT 3.0, but I > > couldn't fix it. > > > >Enjoy it, and good sunday ! > > > >Regards, > > Salut Beno?t, > > on my > > SuSE 7.2 full updated, qt-3.0.5, KDE 2.2.2 , mysql 3.23.37 > > disabled KDE and pgsql. > > gambas-0.56 run . > > The only thing is that we lost the variable list in the debug Watch-Window. > > And the db.edit("Table","myKey = &1", sKey) don't work. > > amicalement Charlie > Hi Charlie, If some code don't works on your Linxu box, do not hesitate ! Send me your project (or better just a short example that shows the problem) so that I can see if it is a bug that depends on me, or on the distribution / the library, etc. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 14 19:02:36 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 14 May 2003 19:02:36 +0200 Subject: [Gambas-user] Read a Serial data ttySx In-Reply-To: <200305121541.30817.dimitribellini@...69...> References: <200305121541.30817.dimitribellini@...69...> Message-ID: <200305141902.36739.gambas@...2...> Le Lundi 12 Mai 2003 17:41, Dimitri Bellini a ?crit : > Hi List > i have to read a serial data from a ttySx and i use stty command to set > the 9600bps 8N1 no hardware control on Serial Port but nothing to do i > write this very simple Project but nothing... There is a End Of Line Type? > Thanks in advace. > > --------------------------------------------------------------------------- >- STATIC PUBLIC SUB Main() > hForm AS Fmain > hForm = NEW Fmain > hForm.show > END > > PUBLIC SUB Button1_Click() > myLine AS String > myFile AS File > > OPEN "/dev/ttyS0" FOR READ AS myFile Try to add the DIRECT keyword, to prevent i/o buffering. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 14 19:07:21 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 14 May 2003 19:07:21 +0200 Subject: [Gambas-user] Make install error In-Reply-To: <1052792753.4262.17.camel@...73...> References: <1052792753.4262.17.camel@...73...> Message-ID: <200305141907.21859.gambas@...2...> Le Mardi 13 Mai 2003 04:25, Brian Snipes a ?crit : > On Gentoo with KDE 3.1, QT 3.1.0 I receive an error regarding the 'info' > files during a make install. > > Compiling and installing the development environment... > Compiling gambas... > OK > Compiling gambas-database-manager... > OK > > Creating the library info files... > /opt/gambas/lib/info/gb.info > /opt/gambas/lib/info/gb.eval.info > /opt/gambas/lib/info/gb.example.info > /opt/gambas/lib/info/gb.db.info > /opt/gambas/lib/info/gb.qt.editor.info > /opt/gambas/lib/info/gb.qt.ext.info > make[2]: *** [install-exec-local] Segmentation fault > make[2]: Leaving directory > `/home/bsnipes/downloads/linux/programming/gambas-0.5 > 6' make[1]: *** [install-am] Error 2 > make[1]: Leaving directory > `/home/bsnipes/downloads/linux/programming/gambas-0.5 > 6' make: *** [install-recursive] Error 1 > > If I comment out the info installation section it finishes the install > and runs ok (with the NVidia workaround and a segfault everytime I > exit). > > Do I need the 'info' files? What do they do? > > Brian > The info files contain the description of each class, method, property and event contained in a component. To help me to solve this problem, do the following: $ gdb gbi ... (gdb) set args -a (gdb) run ... segfault (gdb) bt ... And send me the result of the 'bt' command. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 14 19:22:29 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 14 May 2003 19:22:29 +0200 Subject: [Gambas-user] database help online In-Reply-To: <200305140632.24449@...24...> References: <200305140632.24449@...24...> Message-ID: <200305141922.29905.gambas@...2...> Le Mercredi 14 Mai 2003 06:35, Jochen Georges a ?crit : > hello gambasties, > > thanks to charlie, who wrote a detailled chapter "how to work with > databases". > it is online : http://www.theeasygambasdoku.de > > beste gruesse > jochen > > p.s.: > if you want to write a chapter .... come on. > you can find a html-template for your side in the rootdirectory of > the sidee: > http://www.theeasygambasdoku.de/tduf_0.0.1.html > Charlie ha sdone a good job. I have just the following remark : The database component tries to hide all the database internal to create databases, tables, indexes, and (a little bit) users. You can use the SAME syntax whatever you use PostgreSQL or MySQL. This way, you CAN write with gambas a really database-independent application. The Gambas Database Manager is such an application. There is only one function that depends on the type of the database, because it uses a SELECT syntax that only works on PostgreSQL. Apparently, there are some problems between MySQL and these database-independant syntax, but it will solved...soon :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From cmcpero at ...142... Thu May 15 00:00:24 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Wed, 14 May 2003 18:00:24 -0400 Subject: [Gambas-user] Error with Gambas on Gentoo-sparc In-Reply-To: <002001c31a30$41c8fff0$b4685e3d@...141...> References: <002001c31a30$41c8fff0$b4685e3d@...141...> Message-ID: <3EC2BC78.6010102@...142...> Hi, I compiled gambas with --disable-pgsql-driver --disable-mysql-driver and I specified the kde include and libs (they are in /usr/kde/3.1/ on my system (gentoo standard)) then make then make install everything went fine no errors now I start gambas and I get ERROR: #2 Cannot load class 'Project': Bad format in constant section is this error sparc related because of the system's "endianess" ? -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From karl.reinl at ...9... Wed May 14 22:03:48 2003 From: karl.reinl at ...9... (Charlie) Date: Wed, 14 May 2003 22:03:48 +0200 Subject: [Gambas-user] gambas 0.56 References: <200305111952.10219.gambas@...2...> <3EBECA0E.7020208@...9...> <200305141901.23940.gambas@...2...> Message-ID: <3EC2A124.20300@...9...> > > >>Salut Beno?t, >> >>on my >> >>SuSE 7.2 full updated, qt-3.0.5, KDE 2.2.2 , mysql 3.23.37 >> >>disabled KDE and pgsql. >> >>gambas-0.56 run . >> >>The only thing is that we lost the variable list in the debug Watch-Window. >> >>And the db.edit("Table","myKey = &1", sKey) don't work. >> >>amicalement Charlie >> >> >> > >Hi Charlie, > >If some code don't works on your Linxu box, do not hesitate ! Send me your >project (or better just a short example that shows the problem) so that I can >see if it is a bug that depends on me, or on the distribution / the library, >etc. > >Regards, > > Salut Beno?t, I know that my 'old' SuSE 7.2 has no more all the possibilies a new Distri. one have. So when I send you my problems, I just send them to let you know about the problems who can be found, I know that some are based on my 'old' system. But I test gambas also on a SuSE 8.0 and some other newer Linux maschines, if time permits. For the .edit on mysql have a look at http://www.theeasygambasdoku.de 9. Edit Records amicalement Charlie PS I think I have to change to a newer System . From karl.reinl at ...9... Wed May 14 22:59:08 2003 From: karl.reinl at ...9... (Charlie) Date: Wed, 14 May 2003 22:59:08 +0200 Subject: [Gambas-user] database help online References: <200305140632.24449@...24...> <200305141922.29905.gambas@...2...> Message-ID: <3EC2AE1C.5080503@...9...> Benoit Minisini schrieb: >Le Mercredi 14 Mai 2003 06:35, Jochen Georges a ?crit : > > >>hello gambasties, >> >>thanks to charlie, who wrote a detailled chapter "how to work with >>databases". >>it is online : http://www.theeasygambasdoku.de >> >>beste gruesse >>jochen >> >>p.s.: >>if you want to write a chapter .... come on. >>you can find a html-template for your side in the rootdirectory of >>the sidee: >>http://www.theeasygambasdoku.de/tduf_0.0.1.html >> >> >> > >Charlie ha sdone a good job. I have just the following remark : > >The database component tries to hide all the database internal to create >databases, tables, indexes, and (a little bit) users. You can use the SAME >syntax whatever you use PostgreSQL or MySQL. This way, you CAN write with >gambas a really database-independent application. The Gambas Database Manager >is such an application. There is only one function that depends on the type >of the database, because it uses a SELECT syntax that only works on >PostgreSQL. > >Apparently, there are some problems between MySQL and these >database-independant syntax, but it will solved...soon :-) > >Regards, > > > Salut, I started that project with the first usable gb.db for mysql I think it was 0.50 and I wanted to set all User in the same state, to create a base to work with, but without any danger to work on a System - Database or table. When the project was ready to publish, we had 0.53, but for mysql, not all tounted round and changes has to be made. After, around easter, we (me and Jochen) had no time to finish it, and there were no signe on the liste to be interest. So we sait we can wait for newer / better gb.db versions. Finaly, yesterday I took it to the 0.56 version , because there were a raise off mails about gb.db. Jochen intigrated it into his pages. About the project: Today we have more posssibilities to do that, and it will be great to set it, basing on that, to rewrite it, with that new , better gb.db. And if anybody who use pgsql, can write the code for. Charlie From dimitribellini at ...69... Thu May 15 12:47:58 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 15 May 2003 10:47:58 +0000 Subject: [Gambas-user] mandrake 9.0 + 9.1 packages for 0.56 In-Reply-To: <200305132317.54552.sourceforge-raindog2@...94...> References: <3EC15AEF.7020100@...9...> <200305140237.09629.dimitribellini@...69...> <200305132317.54552.sourceforge-raindog2@...94...> Message-ID: <200305151047.59406.dimitribellini@...69...> > libpgsql2-7.2.2-1.2mdk is the package that provides libpq.so.2 under 9.0; I Hi Rob i rebuild your Source RPM with My MDK 9.1 and work fine, try it. If is possible i want to send this files to MandrakeClub for testing( and to you), do you agree with me? Thanks in advance Dimitri From sourceforge-raindog2 at ...94... Thu May 15 15:43:47 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 15 May 2003 09:43:47 -0400 Subject: [Gambas-user] mandrake 9.0 + 9.1 packages for 0.56 In-Reply-To: <200305151047.59406.dimitribellini@...69...> References: <3EC15AEF.7020100@...9...> <200305132317.54552.sourceforge-raindog2@...94...> <200305151047.59406.dimitribellini@...69...> Message-ID: <200305150943.47362.sourceforge-raindog2@...94...> On Thursday 15 May 2003 06:47, Dimitri Bellini wrote: > i rebuild your Source RPM with My MDK 9.1 and work fine, try it. > If is possible i want to send this files to MandrakeClub for testing( and > to you), do you agree with me? Yes, absolutely. I'd love to see Gambas in Mandrakeclub. Rob From cmcpero at ...142... Thu May 15 18:34:39 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Thu, 15 May 2003 12:34:39 -0400 Subject: [Gambas-user] Error installing gambas on 3x gentoo-x86 stations In-Reply-To: <3EC2BC78.6010102@...142...> References: <002001c31a30$41c8fff0$b4685e3d@...141...> <3EC2BC78.6010102@...142...> Message-ID: <3EC3C19F.4010200@...142...> Hi, After I tried installing gambas on my Ultra10 I tried on a more conventionnal platform but all three systems I tried give me the same error during the make install phase (I tried with --with-kde-libraries=/usr/kde/3.1/lib --with-kde-includes=/usr/kde/3.1/include --disable-pgsgl-driver --disable-mysql-driver and without --disable-mysql-driver) I always get this Making symbolic links in /usr/bin... Compiling and installing the development environment... Compiling gambas... OK Compiling gambas-database-manager... OK Creating the library info files... /opt/gambas/lib/info/gb.info /opt/gambas/lib/info/gb.eval.info /opt/gambas/lib/info/gb.example.info /opt/gambas/lib/info/gb.db.info /opt/gambas/lib/info/gb.qt.editor.info /opt/gambas/lib/info/gb.qt.ext.info make[2]: *** [install-exec-local] Segmentation fault make[2]: Leaving directory /root/gambas-0.56' make[1]: *** [install-am] Error 2 make[1]: Leaving directory /root/gambas-0.56' make: *** [install-recursive] Error 1 my uninformed guess is that's it's a problem with texinfo .info files or something related to the documentation maybe ? anyone can shed a light on this , I'd really like to give gambas a try ! -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From gambas at ...2... Thu May 15 21:18:40 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 15 May 2003 21:18:40 +0200 Subject: [Gambas-user] Error installing gambas on 3x gentoo-x86 stations In-Reply-To: <3EC3C19F.4010200@...142...> References: <002001c31a30$41c8fff0$b4685e3d@...141...> <3EC2BC78.6010102@...142...> <3EC3C19F.4010200@...142...> Message-ID: <200305152118.40200.gambas@...2...> Le Jeudi 15 Mai 2003 18:34, Jean-Francois Perreault a ?crit : > Hi, > > After I tried installing gambas on my Ultra10 I tried on a more > conventionnal platform > but all three systems I tried give me the same error during the make > install phase > (I tried with --with-kde-libraries=/usr/kde/3.1/lib > --with-kde-includes=/usr/kde/3.1/include --disable-pgsgl-driver > --disable-mysql-driver and without --disable-mysql-driver) > > I always get this > > > Making symbolic links in /usr/bin... > > > Compiling and installing the development environment... > > Compiling gambas... > > OK > > Compiling gambas-database-manager... > > OK > > > Creating the library info files... > > /opt/gambas/lib/info/gb.info > > /opt/gambas/lib/info/gb.eval.info > > /opt/gambas/lib/info/gb.example.info > > /opt/gambas/lib/info/gb.db.info > > /opt/gambas/lib/info/gb.qt.editor.info > > /opt/gambas/lib/info/gb.qt.ext.info > > make[2]: *** [install-exec-local] Segmentation fault > > make[2]: Leaving directory /root/gambas-0.56' > > make[1]: *** [install-am] Error 2 > > make[1]: Leaving directory /root/gambas-0.56' > > make: *** [install-recursive] Error 1 > > > my uninformed guess is that's it's a problem with texinfo .info files or > something related to the documentation maybe ? > anyone can shed a light on this , I'd really like to give gambas a try ! Hi Jean-Fran?ois, Some works were made to make Gambas compiling on Solaris, but the work to manage CPU endianness is not terminated, so the crash on Sparc is absolutely normal. As for this crash with .info file, I think it is the sea serpent of incompatibility between KDE malloc and GLibc malloc. I'm going to see if I can do something. Note: info is nothing to do woth texinfo, it is only files containing the description of a component. You can open it with a text editor to see what it contains. Regards, -- Benoit Minisini mailto:gambas at ...1... From cmcpero at ...142... Thu May 15 21:55:46 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Thu, 15 May 2003 15:55:46 -0400 Subject: [Gambas-user] Error installing gambas on 3x gentoo-x86 stations In-Reply-To: <200305152118.40200.gambas@...2...> References: <002001c31a30$41c8fff0$b4685e3d@...141...> <3EC2BC78.6010102@...142...> <3EC3C19F.4010200@...142...> <200305152118.40200.gambas@...2...> Message-ID: <3EC3F0C2.1070400@...142...> Hi, not sure if this is helpful here are the different versions of the softwares I have installed tell me if you need the version of a software that's not there glib 2.2.1 glibc 2.3.1-r4 gcc 3.2.2 gcc-config 1.3.1-r1 kdelibs 3.1.1a (most of kde is 3.1.1 but core packages are 3.1.1a) I'm using compiler options (CFLAGS & CXXFLAGS) = "-mcpu=athlon-xp -03 -pipe" I have attached the contents of my /opt/gambas/lib/info folder if that's useful thanks, Benoit Minisini wrote: >Le Jeudi 15 Mai 2003 18:34, Jean-Francois Perreault a ?crit : > > >>Hi, >> >>After I tried installing gambas on my Ultra10 I tried on a more >>conventionnal platform >>but all three systems I tried give me the same error during the make >>install phase >>(I tried with --with-kde-libraries=/usr/kde/3.1/lib >>--with-kde-includes=/usr/kde/3.1/include --disable-pgsgl-driver >>--disable-mysql-driver and without --disable-mysql-driver) >> >>I always get this >> >> >>Making symbolic links in /usr/bin... >> >> >>Compiling and installing the development environment... >> >>Compiling gambas... >> >>OK >> >>Compiling gambas-database-manager... >> >>OK >> >> >>Creating the library info files... >> >>/opt/gambas/lib/info/gb.info >> >>/opt/gambas/lib/info/gb.eval.info >> >>/opt/gambas/lib/info/gb.example.info >> >>/opt/gambas/lib/info/gb.db.info >> >>/opt/gambas/lib/info/gb.qt.editor.info >> >>/opt/gambas/lib/info/gb.qt.ext.info >> >>make[2]: *** [install-exec-local] Segmentation fault >> >>make[2]: Leaving directory /root/gambas-0.56' >> >>make[1]: *** [install-am] Error 2 >> >>make[1]: Leaving directory /root/gambas-0.56' >> >>make: *** [install-recursive] Error 1 >> >> >>my uninformed guess is that's it's a problem with texinfo .info files or >>something related to the documentation maybe ? >>anyone can shed a light on this , I'd really like to give gambas a try ! >> >> > >Hi Jean-Fran?ois, > >Some works were made to make Gambas compiling on Solaris, but the work to >manage CPU endianness is not terminated, so the crash on Sparc is absolutely >normal. > >As for this crash with .info file, I think it is the sea serpent of >incompatibility between KDE malloc and GLibc malloc. I'm going to see if I >can do something. > >Note: info is nothing to do woth texinfo, it is only files containing the >description of a component. You can open it with a text editor to see what it >contains. > >Regards, > > > -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... -------------- next part -------------- A non-text attachment was scrubbed... Name: info.tar.gz Type: application/x-gzip Size: 4756 bytes Desc: not available URL: From karl.reinl at ...9... Thu May 15 22:28:05 2003 From: karl.reinl at ...9... (Charlie) Date: Thu, 15 May 2003 22:28:05 +0200 Subject: [Gambas-user] TomySql Message-ID: <3EC3F855.8040409@...9...> To whom it my concern. I remarked it only today. The TomySql don't work anymore in the IDE since gambas-0.55. EXEC needs an array now. see ChangeLog at gambas-0.55. INTERPRETER * The EXEC instruction has been replaced by two instructions: EXEC and SHELL. SHELL works like the old EXEC, by calling "/bin/sh" in the background. EXEC runs the specified process directly, and takes all its arguments in a string array. Example: EXEC [ "/usr/bin/ls", "-la" ] WAIT To make it working again replace all EXEC (do Ctrl+F / Project/ Word only / Replace all in the IDE) with SHELL. As soon, as possible I will post a working TomySql to amicalement Charlie From edw at ...143... Fri May 16 04:10:03 2003 From: edw at ...143... (Ed Weinberg) Date: Thu, 15 May 2003 22:10:03 -0400 Subject: [Gambas-user] only starts as root Message-ID: <1053051003.1278.4.camel@...145...> I am running RH 8.0. I compiled Gambas. Gambas starts fine as root, but as a user I get this error. ------------ [ed at ...144... ed]$ gambas & [3] 31633 [ed at ...144... ed]$ Project.InitVersion.149: #43: Access forbidden [3]+ Exit 1 gambas [ed at ...144... ed]$ ------------ I checked "troubleshooting", and it mentions that "You must define a startup class in the project properties dialog", but does not tell you how to do that or where to find out how to do that. Is this the problem, and if so where can I find the answer? -- Ed Weinberg -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From samans at ...133... Fri May 16 09:34:18 2003 From: samans at ...133... (Saman Sjukur) Date: Fri, 16 May 2003 14:34:18 +0700 Subject: [Gambas-user] only starts as root Message-ID: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> Are you compiled your gambas as root ? If that so, try to compile it as user. Regard's Saman Sjukur -----Original Message----- From: Ed Weinberg [mailto:edw at ...143...] Sent: Friday, May 16, 2003 9:10 AM To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] only starts as root I am running RH 8.0. I compiled Gambas. Gambas starts fine as root, but as a user I get this error. ------------ [ed at ...144... ed]$ gambas & [3] 31633 [ed at ...144... ed]$ Project.InitVersion.149: #43: Access forbidden [3]+ Exit 1 gambas [ed at ...144... ed]$ ------------ I checked "troubleshooting", and it mentions that "You must define a startup class in the project properties dialog", but does not tell you how to do that or where to find out how to do that. Is this the problem, and if so where can I find the answer? -- Ed Weinberg From samans at ...133... Fri May 16 09:54:26 2003 From: samans at ...133... (Saman Sjukur) Date: Fri, 16 May 2003 14:54:26 +0700 Subject: [Gambas-user] show record with mysql (withDB.08) Message-ID: <5D975F8D8CDED5119E140008C733B12A3C60@...134...> Hi Charlie, I run WithDB.08, it's about show records with mysql. It's work just fine, but the program exit when I press any button except CANCEL after the message "Result is not available" appears when the pointer reach the last record. Also the title in the message window is not "WithDB.08" but "WithDB.05" What should I do to fix the problem ? And where I can find documentation about all the syntax in database programming with gambas ? Best regard's Saman Sjukur From karl.reinl at ...9... Fri May 16 21:56:22 2003 From: karl.reinl at ...9... (Charlie) Date: Fri, 16 May 2003 21:56:22 +0200 Subject: [Gambas-user] only starts as root References: <1053051003.1278.4.camel@...145...> Message-ID: <3EC54266.5090509@...9...> Ed Weinberg schrieb: >I am running RH 8.0. >I compiled Gambas. > >Gambas starts fine as root, but as a user I get this error. >------------ >[ed at ...144... ed]$ gambas & >[3] 31633 >[ed at ...144... ed]$ Project.InitVersion.149: #43: Access forbidden > >[3]+ Exit 1 gambas >[ed at ...144... ed]$ >------------ > >I checked "troubleshooting", and it mentions that "You must define a >startup class in the project properties dialog", but does not tell you >how to do that or where to find out how to do that. > >Is this the problem, and if so where can I find the answer? > Salut, it seams to be something with /tmp , I had this also on a RH 8.0 and could not find the reason (Without to much searching) Charlie From karl.reinl at ...9... Fri May 16 22:21:54 2003 From: karl.reinl at ...9... (Charlie) Date: Fri, 16 May 2003 22:21:54 +0200 Subject: [Gambas-user] show record with mysql (withDB.08) References: <5D975F8D8CDED5119E140008C733B12A3C60@...134...> Message-ID: <3EC54862.9020704@...9...> Saman Sjukur schrieb: >Hi Charlie, >I run WithDB.08, it's about show records with mysql. >It's work just fine, but the program exit when I press any button except >CANCEL after the message "Result is not available" appears when the pointer >reach the last record. > The message is Ok, that also happend if you go down behind the first record, but there it don't crash, but it do work 'strange' and like it is often not regulary. But this is new in gambas-0.56 , I don't have reported to Beno?t yet, because I don't take the time for do to. Now it's done. But always that also can be a question of philosophy. Some DB-engines do it, in other you have to do it by code. Try it with if rResult.Available then rResult.MoveNext. If you do that on MovePrevious the messagebox don't raise, that told me that in the Software both cases are not equal. In all cases it is better to do it. In my case it's a bug in my project. >Also the title in the message window is not "WithDB.08" but "WithDB.05" > This is , because tho write all this parts , I copied always one to the next. And in the .project file you will find Project=WithDB_05 >What should I do to fix the problem ? >And where I can find documentation about all the syntax in database >programming with gambas ? > > I attachet you an older email on that subject from Beno?t. >Best regard's >Saman Sjukur > > -------------- next part -------------- Betreff: [Gambas-devel] Database component syntax Von: Beno??? Minisini Datum: Sun, 16 Feb 2003 11:42:18 +0100 An: gambas-devel at lists.sourceforge.net, gambas-user at lists.sourceforge.net Here is a quick explanation of how to use the database component. **** Opening a database: DIM hDB AS NEW Database hDB.Type = "postgresql" hDB.Name = "mydabatabase" 'Optional parameters 'hDB.User = "benoit" 'hDB.Password = "" 'hDB.Port = 0 'hDB.Host = "AAA.BBB.CCC.DDD" hDB.Open **** Closing a database: HDB.Close **** Executing a query and getting the result DIM iId AS Integer DIM sName AS String DIM rResult AS Result DIM sField AS String iID = 1 sName = "Gambas" rResult = hDB.Exec("SELECT * INTO MyTable WHERE id = &1 AND name = &2", iId, sName) ' The iId and sName are substituted into the query, with automatic quoting ' => The executed query is "SELECT * INTO MyTable WHERE id = 1 AND ' name = 'Gambas'" ' Printing a result WHILE rResult.Available FOR EACH sField IN rResult.Fields PRINT sField; " = "; rResult[sField] NEXT PRINT rResult.MoveNext WEND **** Creating a record in a table rResult = hDB.Create("MyTable") rResult!id = 2 rResult!Name = "Python" rResult.Update ' => Generates an INSERT query **** Editing records in a table rResult = hDB.Edit("MyTable", "Name = &1", "Perl") ' => send the query "SELECT * INTO MyTable WHERE Name = 'Perl'" WHILE rResult.Available rResult!Name = "PHP" rResult.Update ' => Generates an UPDATE query rResult.MoveNext WEND BE CAREFUL ! You cannot edit records this way if the component cannot find a primary index in your table (in postgresql, a primary index on the table "MyTable" is an index named "MyTable_pkey"). If you have no primary index on your table, you must use Exec() with your own UPDATE query. **** Transactions hDB.Begin ... hDB.Commit ... hDB.Rollback BE CAREFUL ! The interface of the database component is not terminated, so it is subject to any change ! This is an EXPERIMENTAL component. From jm.vestier at ...11... Fri May 16 22:41:06 2003 From: jm.vestier at ...11... (jean-marie vestier) Date: Fri, 16 May 2003 22:41:06 +0200 Subject: [Gambas-user] make: /usr/lib/libfam.la no such file References: <5D975F8D8CDED5119E140008C733B12A3C60@...134...> <3EC54862.9020704@...9...> Message-ID: <3EC54CE2.3030406@...11...> Hi, when i try to make gambas with the last version on a mandrake 9.1 i get the message: grep: /usr/lib/libfam.la no such file or directory in the directory i find : libfam.so.0 libfam.so.0.0.0 any idea to solve the problem? thank you for your answers jm vestiet From karl.reinl at ...9... Fri May 16 22:46:13 2003 From: karl.reinl at ...9... (Charlie) Date: Fri, 16 May 2003 22:46:13 +0200 Subject: [Gambas-user] gentoo and gambas Message-ID: <3EC54E15.3020505@...9...> Salut, as known I work on a old SuSE 7.2, now I think time is comming to upgrand. Unlucky with the SuSEs new Yast2, I look out for other, better Linux-distributions. I tried MDK , RH and Debian and I also tried a freeBSD (this was my favorit, but vmware don't run on) I rediscoverd an article wrote some times ago about 'gentoo' . Dit anybody use it, or heart about it from one who use it succsesful with gambas ? amicalement Charlie From cmcpero at ...142... Fri May 16 23:03:02 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Fri, 16 May 2003 17:03:02 -0400 Subject: [Gambas-user] gentoo and gambas In-Reply-To: <3EC54E15.3020505@...9...> References: <3EC54E15.3020505@...9...> Message-ID: <3EC55206.2040106@...142...> hi, I'm using gentoo , it's really for power user , every single piece of software is compiled locally during install (which can take up to 3 days on a fast computer if you install everything like every WM in the database and all the related application) it's dead easy to install stuff and repair anything , the system is self updating and self-maintaining but don't expect ANY configuration GUI , most of the configuration either has good default or is manually setup one thing is that it doesn't apparently work with gambas for now the main reason for this is that there is not a .ebuild file made for gambas , one should be made soon with all the press about gambas on slashdot Charlie wrote: > Salut, > > as known I work on a old SuSE 7.2, now I think time is comming to > upgrand. > Unlucky with the SuSEs new Yast2, I look out for other, better > Linux-distributions. > I tried MDK , RH and Debian and I also tried a freeBSD (this was my > favorit, but vmware don't run on) > I rediscoverd an article wrote some times ago about 'gentoo' . > Dit anybody use it, or heart about it from one who use it succsesful > with gambas ? > > amicalement > Charlie > > > > ------------------------------------------------------- > This SF.net email is sponsored by: If flattening out C++ or Java > code to make your application fit in a relational database is painful, > don't do it! Check out ObjectStore. Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From sourceforge-raindog2 at ...94... Sat May 17 00:47:31 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 16 May 2003 18:47:31 -0400 Subject: [Gambas-user] make: /usr/lib/libfam.la no such file In-Reply-To: <3EC54CE2.3030406@...11...> References: <5D975F8D8CDED5119E140008C733B12A3C60@...134...> <3EC54862.9020704@...9...> <3EC54CE2.3030406@...11...> Message-ID: <200305161847.31318.sourceforge-raindog2@...94...> On Friday 16 May 2003 16:41, jean-marie vestier wrote: > when i try to make gambas with the last version on a mandrake 9.1 i get > the message: > grep: /usr/lib/libfam.la no such file or directory Typing "urpmf libfam.la" under Mandrake 9.0 returns libfam0-devel:/usr/lib/libfam.la indicating you need libfam0-devel installed (which you should be able to do through Software Manager or by typing "urpmi libfam0-devel"). I bet it's the same under 9.1 and I probably included that as a BuildRequires: in my SRPM's for both Mandrake 9.0 and 9.1. (If I didn't, apparently I should have.) Rob From jm.vestier at ...11... Sat May 17 15:29:28 2003 From: jm.vestier at ...11... (jean-marie vestier) Date: Sat, 17 May 2003 15:29:28 +0200 Subject: [Gambas-user] make: /usr/lib/libfam.la no such file References: <5D975F8D8CDED5119E140008C733B12A3C60@...134...> <3EC54862.9020704@...9...> <3EC54CE2.3030406@...11...> <200305161847.31318.sourceforge-raindog2@...94...> Message-ID: <3EC63938.1030302@...11...> Hi, Thank you very much for your answer, you solved the problem Gambas runs on my pc now! jean-marie From gambas at ...2... Sun May 18 11:26:38 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 18 May 2003 11:26:38 +0200 Subject: [Gambas-user] gentoo and gambas In-Reply-To: <3EC55206.2040106@...142...> References: <3EC54E15.3020505@...9...> <3EC55206.2040106@...142...> Message-ID: <200305181126.38868.gambas@...2...> Le Vendredi 16 Mai 2003 23:03, Jean-Francois Perreault a ?crit : > hi, > I'm using gentoo , it's really for power user , every single piece of > software is compiled locally during install (which can take up to 3 days > on a fast computer if you install everything like every WM in the > database and all the related application) > it's dead easy to install stuff and repair anything , the system is self > updating and self-maintaining but don't expect ANY configuration GUI , > most of the configuration either has good default or is manually setup > one thing is that it doesn't apparently work with gambas for now > the main reason for this is that there is not a .ebuild file made for > gambas , one should be made soon with all the press about gambas on > slashdot Hi Jean-Fran?ois, Could you tell me where I can find something about gambas on slashdot ? -- Benoit Minisini mailto:gambas at ...1... From cmcpero at ...142... Sun May 18 17:57:17 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Sun, 18 May 2003 11:57:17 -0400 Subject: [Gambas-user] gentoo and gambas In-Reply-To: <200305181126.38868.gambas@...2...> References: <3EC54E15.3020505@...9...> <3EC55206.2040106@...142...> <200305181126.38868.gambas@...2...> Message-ID: <3EC7AD5D.5030100@...142...> search for a lindows question and answer article the guy mention gambas as the visual basic replacement for linux there's some other discussion in some article's comments but that's about it anyway that's how I found out about this project Benoit Minisini wrote: >Le Vendredi 16 Mai 2003 23:03, Jean-Francois Perreault a ?crit : > > >>hi, >>I'm using gentoo , it's really for power user , every single piece of >>software is compiled locally during install (which can take up to 3 days >>on a fast computer if you install everything like every WM in the >>database and all the related application) >>it's dead easy to install stuff and repair anything , the system is self >>updating and self-maintaining but don't expect ANY configuration GUI , >>most of the configuration either has good default or is manually setup >>one thing is that it doesn't apparently work with gambas for now >>the main reason for this is that there is not a .ebuild file made for >>gambas , one should be made soon with all the press about gambas on >>slashdot >> >> > >Hi Jean-Fran?ois, > >Could you tell me where I can find something about gambas on slashdot ? > > > -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Sun May 18 19:23:35 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 18 May 2003 13:23:35 -0400 Subject: [Gambas-user] gentoo and gambas In-Reply-To: <3EC7AD5D.5030100@...142...> References: <3EC54E15.3020505@...9...> <200305181126.38868.gambas@...2...> <3EC7AD5D.5030100@...142...> Message-ID: <200305181323.36020.sourceforge-raindog2@...94...> On Sunday 18 May 2003 11:57, Jean-Francois Perreault wrote: > search for a lindows question and answer article the guy mention gambas > as the visual basic replacement for linux For some reason it doesn't show up in slashdot's search engine, but here it is: http://slashdot.org/article.pl?sid=03/05/05/1225249 He mentions Gambas in his response to question #2. The only discussion of it after that was in an anonymous comment modded down to -1 suggesting HBasic instead of Gambas and trashing Lindows in general. I would expect Gambas will get a slashdot story to itself (and a lot of controversy from l33t-ass armchair programmers) whenever it gets to 1.0 though. The same would be true of HBasic. Anything that lets normal people be productive is going to polarize us nerds. Rob From edw at ...143... Mon May 19 05:47:52 2003 From: edw at ...143... (Ed Weinberg) Date: Sun, 18 May 2003 23:47:52 -0400 Subject: [Gambas-user] only starts as root In-Reply-To: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> Message-ID: <1053316072.22539.18.camel@...145...> On Fri, 2003-05-16 at 03:34, Saman Sjukur wrote: > Are you compiled your gambas as root ? > If that so, try to compile it as user. I compiled Gambas as a user, then installed it as root. > I am running RH 8.0. > I compiled Gambas. > > Gambas starts fine as root, but as a user I get this error. > ------------ > [ed at ...144... ed]$ gambas & > [3] 31633 > [ed at ...144... ed]$ Project.InitVersion.149: #43: Access forbidden > > [3]+ Exit 1 gambas > [ed at ...144... ed]$ > ------------ > > I checked "troubleshooting", and it mentions that "You must define a > startup class in the project properties dialog", but does not tell you > how to do that or where to find out how to do that. > > Is this the problem, and if so where can I find the answer? -- Ed Weinberg -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From edw at ...143... Mon May 19 05:53:22 2003 From: edw at ...143... (Ed Weinberg) Date: Sun, 18 May 2003 23:53:22 -0400 Subject: [Gambas-user] define a startup class? In-Reply-To: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> Message-ID: <1053316402.22527.21.camel@...145...> I am a Gambas nubee. How do I "define a startup class in the project properties dialog" called Main or something like that? Troubleshooting says that I need to do that to get it to run, but does not tell me how. On Fri, 2003-05-16 at 03:34, Saman Sjukur wrote: > Are you compiled your gambas as root ? > If that so, try to compile it as user. > > Regard's > Saman Sjukur > > -----Original Message----- > From: Ed Weinberg [mailto:edw at ...143...] > Sent: Friday, May 16, 2003 9:10 AM > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] only starts as root > > I am running RH 8.0. > I compiled Gambas. > > Gambas starts fine as root, but as a user I get this error. > ------------ > [ed at ...144... ed]$ gambas & > [3] 31633 > [ed at ...144... ed]$ Project.InitVersion.149: #43: Access forbidden > > [3]+ Exit 1 gambas > [ed at ...144... ed]$ > ------------ > > I checked "troubleshooting", and it mentions that "You must define a > startup class in the project properties dialog", but does not tell you > how to do that or where to find out how to do that. > > Is this the problem, and if so where can I find the answer? -- Ed Weinberg -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From sourceforge-raindog2 at ...94... Mon May 19 06:16:51 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 19 May 2003 00:16:51 -0400 Subject: [Gambas-user] define a startup class? In-Reply-To: <1053316402.22527.21.camel@...145...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <1053316402.22527.21.camel@...145...> Message-ID: <200305190016.51867.sourceforge-raindog2@...94...> On Sunday 18 May 2003 23:53, Ed Weinberg wrote: > I am a Gambas nubee. > How do I > "define a startup class in the project properties dialog" called Main or > something like that? Troubleshooting says that I need to do that to get > it to run, but does not tell me how. You can go into the Project menu, then Properties, then on the General tab scroll down a bit and you'll find the startup class option. Set it to the class for your startup form. That's not all you have to do though. In VB, if you select a startup form, it's automatically loaded and shown at runtime. In Gambas, the only special thing about the startup class is that it contains a public sub called Main() which gets executed first. Into that sub you need to put something like the following (a Gambas idiom, basically): DIM testform AS NEW testform testform.show or if you want to be object-orientedly-correct and less VB-like: DIM myTestForm as new testform myTestForm.show The first line loads the form (which would automatically happen in VB the first time you referred to it as an object) and the second shows it (which only automatically happens in VB if the form is the startup form.) There is a "load components immediately at startup" option in project properties but that doesn't seem to make the above code unnecessary yet. This may be because VB forms have a class built into them whereas Gambas keeps the class separate from the form layout, but I haven't looked too closely yet. I'm hoping to hack the IDE to hide some of this and make some of it automatic, maybe even provide an option to emulate the VB startup form behavior and hide Sub Main in that case. I know this is contrary to what Benoit wants to do (make a VB like language that Linux people won't sneer at too badly) but I'll probably submit the patches anyway when things are working just in case. Rob From samans at ...133... Mon May 19 06:52:54 2003 From: samans at ...133... (Saman Sjukur) Date: 19 May 2003 11:52:54 +0700 Subject: [Gambas-user] define a startup class? In-Reply-To: <1053316402.22527.21.camel@...145...> References: <1053316402.22527.21.camel@...145...> Message-ID: <1053319974.2291.9.camel@...40...> Ed, I think this 2 picture that i capture from the gambas main window will answer your question regard's Sam On Mon, 2003-05-19 at 10:53, Ed Weinberg wrote: > I am a Gambas nubee. > How do I > "define a startup class in the project properties dialog" called Main or > something like that? Troubleshooting says that I need to do that to get > it to run, but does not tell me how. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot2.png Type: image/png Size: 18507 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot1.png Type: image/png Size: 16395 bytes Desc: not available URL: From gambas at ...2... Mon May 19 10:48:58 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 19 May 2003 10:48:58 +0200 Subject: [Gambas-user] define a startup class? In-Reply-To: <200305190016.51867.sourceforge-raindog2@...94...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <1053316402.22527.21.camel@...145...> <200305190016.51867.sourceforge-raindog2@...94...> Message-ID: <200305191048.58465.gambas@...2...> Le Lundi 19 Mai 2003 06:16, Rob a ?crit : > On Sunday 18 May 2003 23:53, Ed Weinberg wrote: > > I am a Gambas nubee. > > How do I > > "define a startup class in the project properties dialog" called Main or > > something like that? Troubleshooting says that I need to do that to get > > it to run, but does not tell me how. > > You can go into the Project menu, then Properties, then on the General tab > scroll down a bit and you'll find the startup class option. Set it to the > class for your startup form. > > That's not all you have to do though. In VB, if you select a startup form, > it's automatically loaded and shown at runtime. In Gambas, the only > special thing about the startup class is that it contains a public sub > called Main() which gets executed first. Into that sub you need to put > something like the following (a Gambas idiom, basically): > > DIM testform AS NEW testform > testform.show > > or if you want to be object-orientedly-correct and less VB-like: > > DIM myTestForm as new testform > myTestForm.show > > The first line loads the form (which would automatically happen in VB the > first time you referred to it as an object) and the second shows it (which > only automatically happens in VB if the form is the startup form.) There > is a "load components immediately at startup" option in project properties > but that doesn't seem to make the above code unnecessary yet. This may be > because VB forms have a class built into them whereas Gambas keeps the > class separate from the form layout, but I haven't looked too closely yet. > When you have a form named Form1 in VB, and you type Form1.Show, what happens in the background ? Exactly what you must do by hand in Gambas: the form is instanciated, and the instance is given the same name as the form. This leads to problems: 1) The newbie is confused, because class and instance of this class have the same name. So the newbie don't really understand what he does exactly. 2) The form is instanciated when you try to use the form class as a form instance. You save two lines of code and one variable at first, but when you want to exit the program, you must be very careful not to make a reference to a closed form, elsewhere this form is recreated, and your program does not exit ! (I had this problem many times in my VB programs) Maybe I could have the same behavior with forms on Gambas. But I think that the disadventages are greater than the advantages. > I'm hoping to hack the IDE to hide some of this and make some of it > automatic, maybe even provide an option to emulate the VB startup form > behavior and hide Sub Main in that case. I know this is contrary to what > Benoit wants to do (make a VB like language that Linux people won't sneer > at too badly) but I'll probably submit the patches anyway when things are > working just in case. > > Rob > Modifying the IDE will not help you... It is a functionnality that must be add to the interpreter: something like auto-instanciating class. But I don't even know if it is technically possible at the moment ! Maybe I could add a method to the Form class: Form.ShowDialog, that will automatically create an instance, and open it modal. But it need support into the interpreter too... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Mon May 19 15:27:31 2003 From: gambas at ...2... (Benoit Minisini) Date: Mon, 19 May 2003 15:27:31 +0200 Subject: [Gambas-user] define a startup class? In-Reply-To: <200305191048.58465.gambas@...2...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <200305190016.51867.sourceforge-raindog2@...94...> <200305191048.58465.gambas@...2...> Message-ID: <200305191527.31360.gambas@...2...> Le Lundi 19 Mai 2003 10:48, Benoit Minisini a ?crit : > > When you have a form named Form1 in VB, and you type Form1.Show, what > happens in the background ? Exactly what you must do by hand in Gambas: the > form is instanciated, and the instance is given the same name as the form. > > This leads to problems: > > 1) The newbie is confused, because class and instance of this class have > the same name. So the newbie don't really understand what he does exactly. > > 2) The form is instanciated when you try to use the form class as a form > instance. You save two lines of code and one variable at first, but when > you want to exit the program, you must be very careful not to make a > reference to a closed form, elsewhere this form is recreated, and your > program does not exit ! (I had this problem many times in my VB programs) > > Maybe I could have the same behavior with forms on Gambas. But I think that > the disadventages are greater than the advantages. > > > I'm hoping to hack the IDE to hide some of this and make some of it > > automatic, maybe even provide an option to emulate the VB startup form > > behavior and hide Sub Main in that case. I know this is contrary to what > > Benoit wants to do (make a VB like language that Linux people won't sneer > > at too badly) but I'll probably submit the patches anyway when things are > > working just in case. > > > > Rob > > Modifying the IDE will not help you... It is a functionnality that must be > add to the interpreter: something like auto-instanciating class. But I > don't even know if it is technically possible at the moment ! > > Maybe I could add a method to the Form class: Form.ShowDialog, that will > automatically create an instance, and open it modal. But it need support > into the interpreter too... > > Regards, And sorry for all the english mistakes. I should check my posts more carefully before sending them ! -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon May 19 15:23:36 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 19 May 2003 09:23:36 -0400 Subject: [Gambas-user] define a startup class? In-Reply-To: <200305191048.58465.gambas@...2...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <200305190016.51867.sourceforge-raindog2@...94...> <200305191048.58465.gambas@...2...> Message-ID: <200305190923.36553.sourceforge-raindog2@...94...> On Monday 19 May 2003 04:48, Benoit Minisini wrote: > When you have a form named Form1 in VB, and you type Form1.Show, what > happens in the background ? Exactly what you must do by hand in Gambas: the > form is instanciated, and the instance is given the same name as the form. Indeed, and that's why I hope to automate and hide the process in Gambas. There's no need for the user to see it if it's the same in every project. > 1) The newbie is confused, because class and instance of this class have > the same name. So the newbie don't really understand what he does exactly. True, and it's kinda hard to reuse forms in VB. Nonetheless, there are a lot of VB programmers who are going to be interested in Gambas and I see no reason to hinder them with good programming style ;) The truth is, even in your examples to date you don't have any examples of form reuse, and I expect most VB programmers are used to the idea that forms only ever get loaded once. So I think that making it optionally easy for the user (since this is BASIC after all) is more important than Java-like reuse of everything. > 2) The form is instanciated when you try to use the form class as a form > instance. You save two lines of code and one variable at first, but when Far more importantly, you save a learning curve. People expect to be able to just create a form, hit F5 and have it come up. That's the beauty of VB, the ability to make it do something visible without writing a single line of code. VB's appeal has never been clean design or good programming style or any of that stuff, it's been the fact that it's easy to learn and use. And Linux programmers who value "technically correct" solutions are already using C/C++/Java, whereas VB programmers currently have nowhere to go. > you want to exit the program, you must be very careful not to make a > reference to a closed form, elsewhere this form is recreated, and your > program does not exit ! (I had this problem many times in my VB programs) Having never actually unloaded a form in VB except to force an exit (by unloading the main form), I never ran into this problem. > Maybe I could have the same behavior with forms on Gambas. But I think that > the disadventages are greater than the advantages. We have different goals. You're looking to make something that's like VB, only good. I'm looking for something that will make VB programmers as comfortable under Linux as Openoffice makes Word users. > Modifying the IDE will not help you... It is a functionnality that must be > add to the interpreter: something like auto-instanciating class. But I > don't even know if it is technically possible at the moment ! Sure I can. As far as the "press F5 without having written any code" issue goes, I can add something to the properties dialog that says "Make VB style project with this startup form:", create a file called "vbproj.class" which is hidden from view in the IDE and contains a sub main that instantiates and shows the desired form. vbproj.class becomes the startup class as far as Gambas the language is concerned, just as myfilename.vbp is the "startup class" of a VB project, but the user never sees or edits it. That part's pretty trivial. Since you don't seem to have implemented project-wide global variables or include files yet, I haven't figured out a way to instantiate all the forms in the project at startup yet (which would take care of the "form being instantiated the first time you refer to it" problem), nor how to refer to those forms outside the startup class if you do, so I may be stuck there for now. It seems to me the easiest way to take care of that without bothering non-VB-familiar Gambas users would be to make a compiler directive like "USE GLOBALS" or something that extends the scope of public variables to the entire project. But even without any of that, just having VB programmers or novice Gambas programmers make a form, run it and have it show up automatically will be a breakthrough in making Gambas seem easier than it is, I think. I know it's ugly, but so is VB and I'm trying to recreate the VB experience using Gambas. ;) I am utterly uninterested in teaching VB programmers how to be better programmers of other languages, I just want them to be able to say, "Hey, there's an equivalent tool for Linux that's just as easy." I never tried to teach Word users LyX or LaTeX and I'm not going to try to teach VB users about encapsulation and strongly typed variables. I'm hoping to at least get a tool together that recreates their .frm files as Gambas forms, even if I can't convert the code automatically. And I know that's not your goal, and so I'll try to avoid stepping on your toes (I can't imagine that I'll touch the interpreter, for one thing.) I mean no disrespect by any of this; I just want to make life easier for my users. I suppose this really belonged on gambas-devel, sorry about that. Rob From schrockk at ...137... Mon May 19 06:52:40 2003 From: schrockk at ...137... (Ken Schrock) Date: Mon, 19 May 2003 00:52:40 -0400 Subject: [Gambas-user] Printing Message-ID: <200305190052.40576.schrockk@...137...> I see reading properties, doing new page, showing setup dialog But I don't see a way to get a handle or printer object How does one actually print (printer-graphically)? -- Using Lindows From dimitribellini at ...69... Mon May 19 23:51:26 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 19 May 2003 21:51:26 +0000 Subject: [Gambas-user] define a startup class? In-Reply-To: <200305190923.36553.sourceforge-raindog2@...94...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <200305191048.58465.gambas@...2...> <200305190923.36553.sourceforge-raindog2@...94...> Message-ID: <200305192151.27061.dimitribellini@...69...> On Monday 19 May 2003 13:23, Rob wrote: > People expect to be able to just create a form, hit F5 and have it come up. > That's the beauty of VB, the ability to make it do something visible >without writing a single line of code. > VB's appeal has never been clean design or good programming > style or any of that stuff, it's been the fact that it's easy to learn and > use. > Rob Hi Benoit & Rob i'm "F5" user and i think is great idea to "SIMPLIFIED" the life of programmers... At work I must use VisualBasic for my project... Is more simple and RAPID language that i have found in My life... I have made a Big project with DB interaction in few days... Another feature/future list find in Gambas: - AutoComplete Intellisense Code completion expresses (Like VB) Is very simple and rapid to understand what can i do.. - Automatic puts in capitals and spaces where appropriate(variable, function etc..) Thanks Both in advance "F5" User Dimitri :-) From dimitribellini at ...69... Mon May 19 23:52:41 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 19 May 2003 21:52:41 +0000 Subject: [Gambas-user] Printing In-Reply-To: <200305190052.40576.schrockk@...137...> References: <200305190052.40576.schrockk@...137...> Message-ID: <200305192152.41437.dimitribellini@...69...> On Monday 19 May 2003 04:52, Ken Schrock wrote: > I see reading properties, doing new page, showing setup dialog > But I don't see a way to get a handle or printer object > How does one actually print (printer-graphically)? I have the same problem in printing report from sql... Dimitri From cmcpero at ...142... Mon May 19 22:03:40 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Mon, 19 May 2003 16:03:40 -0400 Subject: [Gambas-user] define a startup class? In-Reply-To: <200305191527.31360.gambas@...2...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <200305190016.51867.sourceforge-raindog2@...94...> <200305191048.58465.gambas@...2...> <200305191527.31360.gambas@...2...> Message-ID: <3EC9389C.9030802@...142...> I've done a lot of amateur VB work before and I never realised that form created in the IDE were in fact classes I though there were unique objects while I never use classes and never reuse code , but I'd rather know about this than have the IDE hide this from me the IDE could insert the form instanciation and .show lines on the form selected as startup form and that would be fine for "F5 users" and that would be fine for users who want control one more thing , I understand that a gambas program running in a interpreter is going to be slow , but how fast is it going to be when compiled compared to a gcc 3.2 C program ? is that going to be about the same thing or way slower ? the first thing I'm going to do when I get gambas working is I'm going to make a CallerID reader deamon , with a client interface that run on many computers -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From karl.reinl at ...9... Mon May 19 21:59:38 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 19 May 2003 21:59:38 +0200 Subject: [Gambas-user] Gambas Press release References: <200305092147.56137.gambas@...2...> Message-ID: <3EC937AA.7070307@...9...> Benoit Minisini schrieb: >Hello everybody, > >There is an article about Gambas in the last issue if the japanese magazine >"Linux magazine". > >http://www.ascii.co.jp/linux/linuxmag/ > >They sent me the magazine, but I can't read japanese. So, I have no idea of >what they wrote. I hope they don't flame it ! ;-) > >I think I will make a press release page on the site ! > >Regards, > > Hallo Charlie, der japanische Kollege hat heute erst reingeschaut ... und leider kann unter diesem Links nichts mehr von "Gambas" gelesen werden, da anscheinend sich diese Seite regelm??ig ?ndert. Hast Du einen Link der auf Deinen gew?nschten Artikel verweist ? Gru? J?rg Salut Beno?t, my friend who works for a japanese company, wrote me back today, to let my know, his college have had a look today on the page, but couldn't find anything about , gambas . He ask me if we have a direct link to the article ? Charlie > > From gambas at ...2... Tue May 20 09:15:26 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 20 May 2003 09:15:26 +0200 Subject: [Gambas-user] Printing In-Reply-To: <200305190052.40576.schrockk@...137...> References: <200305190052.40576.schrockk@...137...> Message-ID: <200305200915.26039.gambas@...2...> Le Lundi 19 Mai 2003 06:52, Ken Schrock a ?crit : > I see reading properties, doing new page, showing setup dialog > But I don't see a way to get a handle or printer object > How does one actually print (printer-graphically)? Draw.Begin(Printer) Draw.Rect(...) Draw.Text(...) ... Printer.NewPage Draw... Draw.End(Printer) I tested it once a long time ago. So tell me if you have problems, bugs, strange behaviour with the Printer class. Regards, -- Benoit Minisini (using Mandrake !!) mailto:gambas at ...1... From gambas at ...2... Tue May 20 09:09:30 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 20 May 2003 09:09:30 +0200 Subject: [Gambas-user] define a startup class? In-Reply-To: <200305192151.27061.dimitribellini@...69...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <200305190923.36553.sourceforge-raindog2@...94...> <200305192151.27061.dimitribellini@...69...> Message-ID: <200305200909.30159.gambas@...2...> Le Lundi 19 Mai 2003 23:51, Dimitri Bellini a ?crit : > On Monday 19 May 2003 13:23, Rob wrote: > > People expect to be able to just create a form, hit F5 and have it come > > up. That's the beauty of VB, the ability to make it do something visible > > without writing a single line of code. > > VB's appeal has never been clean design or good programming > > style or any of that stuff, it's been the fact that it's easy to learn > > and use. > > Rob > > Hi Benoit & Rob > i'm "F5" user and i think is great idea to "SIMPLIFIED" the life of > programmers... My god, people are so lazy ! :-) Rob and I will find a solution for the "hit F5 and run" functionnality... > At work I must use VisualBasic for my project... Is more simple and RAPID > language that i have found in My life... I have made a Big project with DB > interaction in few days... > Another feature/future list find in Gambas: > - AutoComplete Intellisense Code completion expresses (Like VB) Is very > simple and rapid to understand what can i do.. It needs syntax analysis on keystroke, so I think gambas is not enough fast to do that. I must insert that in the editor component: it takes time to program that. So I will do that in the future... > - Automatic puts in capitals and spaces where appropriate(variable, > function etc..) For capitals: it could be possible. It is the same programming problem than auto-completion. For spaces, it will be more difficult, and it is not very important. > > Thanks Both in advance > "F5" User > > Dimitri :-) > > -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 20 09:02:39 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 20 May 2003 09:02:39 +0200 Subject: [Gambas-user] Gambas Press release In-Reply-To: <3EC937AA.7070307@...9...> References: <200305092147.56137.gambas@...2...> <3EC937AA.7070307@...9...> Message-ID: <200305200902.39544.gambas@...2...> Le Lundi 19 Mai 2003 21:59, Charlie a ?crit : > Benoit Minisini schrieb: > >Hello everybody, > > > >There is an article about Gambas in the last issue if the japanese > > magazine "Linux magazine". > > > >http://www.ascii.co.jp/linux/linuxmag/ > > > >They sent me the magazine, but I can't read japanese. So, I have no idea > > of what they wrote. I hope they don't flame it ! ;-) > > > >I think I will make a press release page on the site ! > > > >Regards, > > Hallo Charlie, > > der japanische Kollege hat heute erst reingeschaut ... und leider kann > unter diesem Links nichts mehr von "Gambas" gelesen werden, da anscheinend > sich diese Seite regelm??ig ?ndert. > > Hast Du einen Link der auf Deinen gew?nschten Artikel verweist ? > > Gru? J?rg > > > > Salut Beno?t, > > my friend who works for a japanese company, wrote me back today, to let > my know, his college have had a look today on the page, but couldn't > find anything about , gambas . > He ask me if we have a direct link to the article ? > > Charlie > I think you won't find it on the net. I will scan the article as soon as possible (maybe next week) and I can send it to you if your friend can read it. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 20 09:10:16 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 20 May 2003 09:10:16 +0200 Subject: [Gambas-user] define a startup class? In-Reply-To: <200305190923.36553.sourceforge-raindog2@...94...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <200305191048.58465.gambas@...2...> <200305190923.36553.sourceforge-raindog2@...94...> Message-ID: <200305200910.16818.gambas@...2...> Le Lundi 19 Mai 2003 15:23, Rob a ?crit : > On Monday 19 May 2003 04:48, Benoit Minisini wrote: > > When you have a form named Form1 in VB, and you type Form1.Show, what > > happens in the background ? Exactly what you must do by hand in Gambas: > > the form is instanciated, and the instance is given the same name as the > > form. > > Indeed, and that's why I hope to automate and hide the process in Gambas. > There's no need for the user to see it if it's the same in every project. > > > 1) The newbie is confused, because class and instance of this class have > > the same name. So the newbie don't really understand what he does > > exactly. > > True, and it's kinda hard to reuse forms in VB. Nonetheless, there are a > lot of VB programmers who are going to be interested in Gambas and I see no > reason to hinder them with good programming style ;) The truth is, even in > your examples to date you don't have any examples of form reuse, and I > expect most VB programmers are used to the idea that forms only ever get > loaded once. So I think that making it optionally easy for the user (since > this is BASIC after all) is more important than Java-like reuse of > everything. > > > 2) The form is instanciated when you try to use the form class as a form > > instance. You save two lines of code and one variable at first, but when > > Far more importantly, you save a learning curve. People expect to be able > to just create a form, hit F5 and have it come up. That's the beauty of > VB, the ability to make it do something visible without writing a single > line of code. VB's appeal has never been clean design or good programming > style or any of that stuff, it's been the fact that it's easy to learn and > use. And Linux programmers who value "technically correct" solutions are > already using C/C++/Java, whereas VB programmers currently have nowhere to > go. > > > you want to exit the program, you must be very careful not to make a > > reference to a closed form, elsewhere this form is recreated, and your > > program does not exit ! (I had this problem many times in my VB programs) > > Having never actually unloaded a form in VB except to force an exit (by > unloading the main form), I never ran into this problem. > > > Maybe I could have the same behavior with forms on Gambas. But I think > > that the disadventages are greater than the advantages. > > We have different goals. You're looking to make something that's like VB, > only good. I'm looking for something that will make VB programmers as > comfortable under Linux as Openoffice makes Word users. > > > Modifying the IDE will not help you... It is a functionnality that must > > be add to the interpreter: something like auto-instanciating class. But I > > don't even know if it is technically possible at the moment ! > > Sure I can. As far as the "press F5 without having written any code" issue > goes, I can add something to the properties dialog that says "Make VB style > project with this startup form:", create a file called "vbproj.class" which > is hidden from view in the IDE and contains a sub main that instantiates > and shows the desired form. vbproj.class becomes the startup class as far > as Gambas the language is concerned, just as myfilename.vbp is the "startup > class" of a VB project, but the user never sees or edits it. That part's > pretty trivial. > > Since you don't seem to have implemented project-wide global variables or > include files yet, I haven't figured out a way to instantiate all the forms > in the project at startup yet (which would take care of the "form being > instantiated the first time you refer to it" problem), nor how to refer to > those forms outside the startup class if you do, so I may be stuck there > for now. It seems to me the easiest way to take care of that without > bothering non-VB-familiar Gambas users would be to make a compiler > directive like "USE GLOBALS" or something that extends the scope of public > variables to the entire project. But even without any of that, just having > VB programmers or novice Gambas programmers make a form, run it and have it > show up > automatically will be a breakthrough in making Gambas seem easier than it > is, I think. > > I know it's ugly, but so is VB and I'm trying to recreate the VB experience > using Gambas. ;) I am utterly uninterested in teaching VB programmers how > to be better programmers of other languages, I just want them to be able to > say, "Hey, there's an equivalent tool for Linux that's just as easy." I > never tried to teach Word users LyX or LaTeX and I'm not going to try to > teach VB users about encapsulation and strongly typed variables. I'm > hoping to at least get a tool together that recreates their .frm files as > Gambas forms, even if I can't convert the code automatically. And I know > that's not your goal, and so I'll try to avoid stepping on your toes (I > can't imagine that I'll touch the interpreter, for one thing.) I mean no > disrespect by any of this; I just want to make life easier for my users. > > I suppose this really belonged on gambas-devel, sorry about that. > > Rob No problem, let's go to gambas-devel ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 20 09:21:07 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 20 May 2003 09:21:07 +0200 Subject: [Gambas-user] define a startup class? In-Reply-To: <3EC9389C.9030802@...142...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <200305191527.31360.gambas@...2...> <3EC9389C.9030802@...142...> Message-ID: <200305200921.07121.gambas@...2...> Le Lundi 19 Mai 2003 22:03, Jean-Francois Perreault a ?crit : > I've done a lot of amateur VB work before and I never realised that form > created in the IDE > were in fact classes I though there were unique objects He He ! (it is the same thing in VB, but is badly hidden) > > while I never use classes and never reuse code , but I'd rather know > about this than have the IDE hide this from me > the IDE could insert the form instanciation and .show lines on the form > selected as startup form and that would be fine for "F5 users" > and that would be fine for users who want control You are right, it could be a solution. > > one more thing , I understand that a gambas program running in a > interpreter is going to be slow , but how fast is it going to be when > compiled > compared to a gcc 3.2 C program ? is that going to be about the same > thing or way slower ? It depends. It is far slower than a C program to make loops and computing. It is slower for making string handling, or file reading. It is a bit slower to make GUI. But all gambas is enough fast to make an useful IDE. And if you need speed, you can write a component in C. > > the first thing I'm going to do when I get gambas working is I'm going > to make a CallerID reader deamon , with a client interface that run on > many computers Hmmm... Maybe you need the network component that will be done one day. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 20 09:22:37 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 20 May 2003 09:22:37 +0200 Subject: [Gambas-user] About "Hit F5 and run" Message-ID: <200305200922.37672.gambas@...2...> The thread on "hit F5 and run" is to be continued in the devel mailing-list. I invite those who are interested to follow me there. -- Benoit Minisini mailto:gambas at ...1... From dimitribellini at ...69... Tue May 20 16:38:02 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 20 May 2003 14:38:02 +0000 Subject: [Gambas-user] define a startup class? In-Reply-To: <200305200909.30159.gambas@...2...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <200305192151.27061.dimitribellini@...69...> <200305200909.30159.gambas@...2...> Message-ID: <200305201441.11708.dimitribellini@...69...> On Tuesday 20 May 2003 07:09, Benoit Minisini wrote: > > > Hi Benoit & Rob > > i'm "F5" user and i think is great idea to "SIMPLIFIED" the life of > > programmers... > > My god, people are so lazy ! :-) > Rob and I will find a solution for the "hit F5 and run" functionnality... > I will do that in the future... > > > - Automatic puts in capitals and spaces where appropriate(variable, > > function etc..) > > For capitals: it could be possible. It is the same programming problem than > auto-completion. > > For spaces, it will be more difficult, and it is not very important. > Thanks Benoit!!! I'm not a good programmer but if you want some help in documentation or something else i'm here and i want to help in growing this project. From nikosdion at ...146... Tue May 20 17:45:58 2003 From: nikosdion at ...146... (Nikolaos Dionysopoulos) Date: 20 May 2003 18:45:58 +0300 Subject: [Gambas-user] define a startup class? In-Reply-To: <3EC9389C.9030802@...142...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <200305190016.51867.sourceforge-raindog2@...94...> <200305191048.58465.gambas@...2...> <200305191527.31360.gambas@...2...> <3EC9389C.9030802@...142...> Message-ID: <1053388336.9492.12.camel@...37...> ???? 19/???/2003, ????? ??????? ??? ??? 23:03, ?/? Jean-Francois Perreault ??????: [snip] > the first thing I'm going to do when I get gambas working is I'm going > to make a CallerID reader deamon , with a client interface that run on > many computers Tough luck. That's exactly what I tried to build a couple of weeks ago, but there isn't an - obvious - way for opening the modem device for read/write. I thought about opening for write, send command, closing, opening for read and reading response, but the response was never captured by my program. Opening two devices didn't help me either :( You could always interface an external modem chat program (such as chat) to send your initial commands to the modem, but I don't consider this good practice. Any ideas, somebody? From dimitribellini at ...69... Wed May 21 13:20:10 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 21 May 2003 11:20:10 +0000 Subject: [Gambas-user] define a startup class? In-Reply-To: <1053388336.9492.12.camel@...37...> References: <5D975F8D8CDED5119E140008C733B12A3C5F@...134...> <3EC9389C.9030802@...142...> <1053388336.9492.12.camel@...37...> Message-ID: <200305211120.10815.dimitribellini@...69...> On Tuesday 20 May 2003 15:45, Nikolaos Dionysopoulos wrote: > Tough luck. That's exactly what I tried to build a couple of weeks ago, > but there isn't an - obvious - way for opening the modem device for > read/write. I thought about opening for write, send command, closing, > opening for read and reading response, but the response was never > captured by my program. Opening two devices didn't help me either :( Hi all some week ago i have post this simple serial read example. But is not simple for send a command to COM (ttySx) and receive the data if is possible i thinks is great idea to create a Object (like MSComm) with some events - On Receive - Data Out - Data int thanks in advance ------------------------------------------------------------------------------------------- i have to read a serial data from a ttySx and i use stty command to set the 9600bps 8N1 no hardware control on Serial Port but nothing to do i write this very simple Project but nothing... There is a End Of Line Type? Thanks in advace. ---------------------------------------------------------------------------- STATIC PUBLIC SUB Main() hForm AS Fmain hForm = NEW Fmain hForm.show END PUBLIC SUB Button1_Click() myLine AS String myFile AS File OPEN "/dev/ttyS0" FOR READ DIRECT AS myFile WHILE NOT Eof (myFile) 'Eof = end of file LINE INPUT #myFile, myLine '# is a kind of pointer 'which is incremented by LINE INPUT TextArea1.Text= TextArea1.Text & "
" & myLine WEND CLOSE myFile 'do not forget to close the door ;-) END ------------------------------------------------------------------------------------- Dimitri Bellini From schrockk at ...137... Wed May 21 16:11:09 2003 From: schrockk at ...137... (Ken Schrock) Date: Wed, 21 May 2003 10:11:09 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200305200915.26039.gambas@...2...> References: <200305190052.40576.schrockk@...137...> <200305200915.26039.gambas@...2...> Message-ID: <200305211011.09880.schrockk@...137...> On Tuesday 20 May 2003 3:15 am, Benoit Minisini wrote: > Le Lundi 19 Mai 2003 06:52, Ken Schrock a ?crit : > > I see reading properties, doing new page, showing setup dialog > > But I don't see a way to get a handle or printer object > > How does one actually print (printer-graphically)? > > Draw.Begin(Printer) > > Draw.Rect(...) > Draw.Text(...) > ... > > Printer.NewPage > > Draw... > > Draw.End(Printer) > > I tested it once a long time ago. So tell me if you have problems, bugs, > strange behaviour with the Printer class. Well, it is a little strange... I started with a test on a form DIM mypic AS Picture mypic = NEW Picture mypic.load("/root/Projects/testdraw/gambas.gif") Draw.begin(ME) Draw.rect(100, 100, 200, 200) Draw.line(120,120,280,280) Draw.picture(mypic) Draw.end() And that works fine If I then simply do Draw.Begin(Printer) It says "Unknown identifier: Printer..." during syntax check If I then try DIM foobar AS Printer Draw.Begin(foobar) It says "Null Object" at runtime However, if I do DIM foobar AS Printer Draw.Begin(Printer) It then works ??? However, it cuts about 35 pixels off the top Also, is there a way to grab the entire Form client area (Or the entire window for that matter) and print it? > Regards, -- Using Lindows From dimitribellini at ...69... Wed May 21 21:17:05 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 21 May 2003 19:17:05 +0000 Subject: [Gambas-user] Single Windows feature Message-ID: <200305211917.05889.dimitribellini@...69...> Hi Benoit i have another wish feature... Is possible to have an option in preference dialog to Unified Gambas toolbar and windows like Visual Basic i think in more simple to manage with laptop or little monitor. Thanks in advance Dimitri Bellini From pchapman at ...147... Wed May 21 21:20:12 2003 From: pchapman at ...147... (Philip A. Chapman) Date: Wed, 21 May 2003 14:20:12 -0500 (CDT) Subject: [Gambas-user] Single Windows feature In-Reply-To: <200305211917.05889.dimitribellini@...69...> Message-ID: On Wed, 21 May 2003, Dimitri Bellini wrote: > Hi Benoit > i have another wish feature... Is possible to have an option in preference > dialog to Unified Gambas toolbar and windows like Visual Basic i think in > more simple to manage with laptop or little monitor. Everyone, I would like to say that an MDI form option would be very nice. For me, a lot of floating windows adds clutter and tend to get lost behind each other, even on a nice big 17" monitor with 1280x1024 resolution. Thanks, From gambas at ...2... Wed May 21 23:44:29 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 21 May 2003 23:44:29 +0200 Subject: [Gambas-user] Printing In-Reply-To: <200305211011.09880.schrockk@...137...> References: <200305190052.40576.schrockk@...137...> <200305200915.26039.gambas@...2...> <200305211011.09880.schrockk@...137...> Message-ID: <200305212344.29900.gambas@...2...> Le Mercredi 21 Mai 2003 16:11, Ken Schrock a ?crit : > On Tuesday 20 May 2003 3:15 am, Benoit Minisini wrote: > > Le Lundi 19 Mai 2003 06:52, Ken Schrock a ?crit : > > > I see reading properties, doing new page, showing setup dialog > > > But I don't see a way to get a handle or printer object > > > How does one actually print (printer-graphically)? > > > > Draw.Begin(Printer) > > > > Draw.Rect(...) > > Draw.Text(...) > > ... > > > > Printer.NewPage > > > > Draw... > > > > Draw.End(Printer) > > > > I tested it once a long time ago. So tell me if you have problems, bugs, > > strange behaviour with the Printer class. > > Well, it is a little strange... > I started with a test on a form > > DIM mypic AS Picture > mypic = NEW Picture > mypic.load("/root/Projects/testdraw/gambas.gif") > Draw.begin(ME) > Draw.rect(100, 100, 200, 200) > Draw.line(120,120,280,280) > Draw.picture(mypic) > Draw.end() > > And that works fine > If I then simply do > > Draw.Begin(Printer) > > It says "Unknown identifier: Printer..." during syntax check > If I then try > > DIM foobar AS Printer > Draw.Begin(foobar) > > It says "Null Object" at runtime > However, if I do > > DIM foobar AS Printer > Draw.Begin(Printer) > > It then works ??? In fact, it is not a bug, it is a compiler feature :-) The compiler assumes that the identifier MyClass is a class only if it finds: something AS MyClass Or CLASS MyClass Before the real use of the class. So you must add CLASS Printer at the beginning of your code. This behaviour may hopefully change in the future :-) > However, it cuts about 35 pixels off the top Could you send me your project so that I see what you mean ? > > Also, is there a way to grab the entire Form client area > (Or the entire window for that matter) and print it? No way at the moment. > > > Regards, Regards, -- Benoit Minisini mailto:gambas at ...1... From schrockk at ...137... Thu May 22 02:17:50 2003 From: schrockk at ...137... (Ken Schrock) Date: Wed, 21 May 2003 20:17:50 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200305212344.29900.gambas@...2...> References: <200305190052.40576.schrockk@...137...> <200305211011.09880.schrockk@...137...> <200305212344.29900.gambas@...2...> Message-ID: <200305212017.50477.schrockk@...137...> On Wednesday 21 May 2003 5:44 pm, Benoit Minisini wrote: > > Well, it is a little strange... > > I started with a test on a form > > > > DIM mypic AS Picture > > mypic = NEW Picture > > mypic.load("/root/Projects/testdraw/gambas.gif") > > Draw.begin(ME) > > Draw.rect(100, 100, 200, 200) > > Draw.line(120,120,280,280) > > Draw.picture(mypic) > > Draw.end() [snip] > > However, it cuts about 35 pixels off the top > > Could you send me your project so that I see what you mean ? No real project, just playing, the test code at the top With the ME replaced with Printer after the addition of DIM foobar AS Printer, i.e. DIM foobar AS Printer DIM mypic AS Picture mypic = NEW Picture mypic.load("/root/Projects/testdraw/gambas.gif") Draw.begin(Printer) Draw.rect(100, 100, 200, 200) Draw.line(120,120,280,280) Draw.picture(mypic) Draw.end() When done on the form all is ok The pic is in the upper left corner of the form When done to the printer, the top half of the pic is cut off (The pic is your mascot in a 128x70 gif, so about 35 pixels) The left margin is fine, about 6mm, the "unprintable" area -- Using Lindows From schrockk at ...137... Thu May 22 02:26:48 2003 From: schrockk at ...137... (Ken Schrock) Date: Wed, 21 May 2003 20:26:48 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200305212344.29900.gambas@...2...> References: <200305190052.40576.schrockk@...137...> <200305211011.09880.schrockk@...137...> <200305212344.29900.gambas@...2...> Message-ID: <200305212026.48377.schrockk@...137...> On Wednesday 21 May 2003 5:44 pm, Benoit Minisini wrote: > > However, it cuts about 35 pixels off the top > > Could you send me your project so that I see what you mean ? I've found the problem The paper size defaults to A4 (which I guess makes sense : -) When I set it to US letter it works fine Why this would cause the TOP to be cut off Instead of the bottom which is the normal result Is a little strange, but wouldn't happen on a "normal" app Since this is a small test drawing I didn'y think it would be a factor -- Using Lindows From schrockk at ...137... Thu May 22 03:11:55 2003 From: schrockk at ...137... (Ken Schrock) Date: Wed, 21 May 2003 21:11:55 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200305212344.29900.gambas@...2...> References: <200305190052.40576.schrockk@...137...> <200305211011.09880.schrockk@...137...> <200305212344.29900.gambas@...2...> Message-ID: <200305212111.55332.schrockk@...137...> On Wednesday 21 May 2003 5:44 pm, Benoit Minisini wrote: > > Also, is there a way to grab the entire Form client area > > (Or the entire window for that matter) and print it? > > No way at the moment. Someone or something must have access to the form graphic context How do you redraw the window after hide, minimize, etc? Do you just rely on X to do this for you? If you hold a copy of the bitmap image, how do I access it? If you let X do it, can I get a copy of the image from it? If you redraw from scratch, where is the object list? -- Using Lindows From sourceforge-raindog2 at ...94... Thu May 22 04:58:43 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 21 May 2003 22:58:43 -0400 Subject: [Gambas-user] Single Windows feature In-Reply-To: References: Message-ID: <200305212258.43139.sourceforge-raindog2@...94...> On Wednesday 21 May 2003 15:20, Philip A. Chapman wrote: > > i have another wish feature... Is possible to have an option in > > preference dialog to Unified Gambas toolbar and windows like Visual Basic > > i think in more simple to manage with laptop or little monitor. > I would like to say that an MDI form option would be very nice. For me, a I agree. One of my pet peeves about Linux tools is that they tend towards the "lots of little windows" design (e.g. gimp, glade, many java tools, Visual Tcl which I was desperate enough to try a couple years ago) and it gets unmanageable pretty quickly and even though it's the same amount of information being conveyed, I have yet to run into a Windows or Mac user who doesn't fire up one of those tools for the first time and go "Ack! Why does it open so many windows?" Visual BASIC 3.0 and earlier did the "bunch of little windows" thing, and eventually they moved towards the MDI thing. I know that just because VB is one way doesn't mean it's the right way, but at this point even Linux IDE's like kdevelop and qtdesigner are moving towards that style. I don't even know if Gambas' Qt bindings support MDI forms yet though, and I'm concerned it could be a pretty serious rewrite for a fairly cosmetic feature so early in Gambas' development. Still, assuming MDI support is in there now, the IDE is written in Gambas and we're all at least BASIC programmers here.... Rob From sourceforge-raindog2 at ...94... Thu May 22 05:12:57 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 21 May 2003 23:12:57 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200305212344.29900.gambas@...2...> References: <200305190052.40576.schrockk@...137...> <200305211011.09880.schrockk@...137...> <200305212344.29900.gambas@...2...> Message-ID: <200305212312.57054.sourceforge-raindog2@...94...> On Wednesday 21 May 2003 17:44, Benoit Minisini wrote: > > Also, is there a way to grab the entire Form client area > > (Or the entire window for that matter) and print it? > No way at the moment. Well, there's actually no way to do that in VB either except as a very low resolution screenshot type of thing. The solution I came up with was to write a set of functions that wrapped the various graphics primitives I needed (as well as some extra text formatting functions since I was writing a report generator) and wrote them to the screen, printer or both devices depending on your settings. I think that's a more reasonable approach than making Gambas track everything you've done to the Form client area. Though if someone with too much time on their hands wanted to write a Display Postscript canvas I'd give that a try too ;) Then again if all you want is a printscreen type of thing, all you need is to call an external screen grabbing program. Maybe the Gambas KDE automation stuff could be extended to control KSnapshot for example, or maybe there's a way to get the X11 handle of the window you're controlling and use some more traditional X capture utility. Rob From gambas at ...2... Thu May 22 12:45:31 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 22 May 2003 12:45:31 +0200 Subject: [Gambas-user] Printing In-Reply-To: <200305212111.55332.schrockk@...137...> References: <200305190052.40576.schrockk@...137...> <200305212344.29900.gambas@...2...> <200305212111.55332.schrockk@...137...> Message-ID: <200305221245.31564.gambas@...2...> Le Jeudi 22 Mai 2003 03:11, Ken Schrock a ?crit : > On Wednesday 21 May 2003 5:44 pm, Benoit Minisini wrote: > > > Also, is there a way to grab the entire Form client area > > > (Or the entire window for that matter) and print it? > > > > No way at the moment. > > Someone or something must have access to the form graphic context > How do you redraw the window after hide, minimize, etc? > Do you just rely on X to do this for you? > > If you hold a copy of the bitmap image, how do I access it? > If you let X do it, can I get a copy of the image from it? > If you redraw from scratch, where is the object list? Hey ! Are you a policeman ? :-) QT manages all that. I think there is a QT method to get a pixmap from window contents. Maybe should I give an access to it ? :-) -- Benoit Minisini mailto:gambas at ...1... From schrockk at ...137... Thu May 22 15:19:07 2003 From: schrockk at ...137... (Ken Schrock) Date: Thu, 22 May 2003 09:19:07 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200305221245.31564.gambas@...2...> References: <200305190052.40576.schrockk@...137...> <200305212111.55332.schrockk@...137...> <200305221245.31564.gambas@...2...> Message-ID: <200305220919.07300.schrockk@...137...> On Thursday 22 May 2003 6:45 am, Benoit Minisini wrote: > Le Jeudi 22 Mai 2003 03:11, Ken Schrock a ?crit : > > On Wednesday 21 May 2003 5:44 pm, Benoit Minisini wrote: > > > > Also, is there a way to grab the entire Form client area > > > > (Or the entire window for that matter) and print it? > > > > > > No way at the moment. > > > > Someone or something must have access to the form graphic context > > How do you redraw the window after hide, minimize, etc? > > Do you just rely on X to do this for you? > > > > If you hold a copy of the bitmap image, how do I access it? > > If you let X do it, can I get a copy of the image from it? > > If you redraw from scratch, where is the object list? > > Hey ! Are you a policeman ? :-) No, but I have to be Sherlock Holmes sometimes : -) > QT manages all that. I think there is a QT method to get a pixmap from > window contents. Maybe should I give an access to it ? :-) I think it would be a nice addition BTW, since everyone seems to be airing their wish lists : -0 Are there plans for a Win version of Gambas? -- Using Lindows From schrockk at ...137... Thu May 22 21:14:46 2003 From: schrockk at ...137... (Ken Schrock) Date: Thu, 22 May 2003 12:14:46 -0700 Subject: [Gambas-user] Printing Forms Message-ID: <3ECD21A6.5020607@...137...> Here is a workaround for what I wanted to do (only drawback is that ImageMagick must be present) I have set the title of the Form to MyForm1 PUBLIC SUB PrintButton_Click() DIM foobar AS printer DIM mypic AS picture printer.size = 2 mypic = NEW picture EXEC "import -window MyForm1 /tmp/grab.jpg" WAIT mypic.load("/tmp/grab.jpg") Draw.begin(printer) Draw.picture(mypic) Draw.end END If you want the window decorations also, you just add -frame -- Using Lindows From gambas at ...2... Fri May 23 00:32:24 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 23 May 2003 00:32:24 +0200 Subject: [Gambas-user] Printing Forms In-Reply-To: <3ECD21A6.5020607@...137...> References: <3ECD21A6.5020607@...137...> Message-ID: <200305230032.24500.gambas@...2...> Le Jeudi 22 Mai 2003 21:14, Ken Schrock a ?crit : > Here is a workaround for what I wanted to do > (only drawback is that ImageMagick must be present) > I have set the title of the Form to MyForm1 > > PUBLIC SUB PrintButton_Click() > > DIM foobar AS printer > DIM mypic AS picture > > printer.size = 2 > mypic = NEW picture > EXEC "import -window MyForm1 /tmp/grab.jpg" WAIT > mypic.load("/tmp/grab.jpg") > Draw.begin(printer) > Draw.picture(mypic) > Draw.end > > END > > If you want the window decorations also, you just add -frame I like GNU/Linux and Unix for THAT. How can one want a Windows version of Gambas ? :-) -- Benoit Minisini mailto:gambas at ...1... From setyawankim at ...103... Fri May 23 08:08:04 2003 From: setyawankim at ...103... (setyawan_kim) Date: Fri, 23 May 2003 06:08:04 +0000 Subject: [Gambas-user] (no subject) Message-ID: <200305230608.04481.setyawankim@...103...> From Gambasfr at ...11... Fri May 23 20:54:41 2003 From: Gambasfr at ...11... (Fabien) Date: Fri, 23 May 2003 20:54:41 +0200 Subject: [Gambas-user] I've Found a bug ...I think In-Reply-To: <200305230032.24500.gambas@...2...> References: <3ECD21A6.5020607@...137...> <200305230032.24500.gambas@...2...> Message-ID: <200305232054.41039.Gambasfr@...11...> Hello to all For Benoit... I think there is a bug in the ide... For the exemple : in a form put a panel in this panel put a textbox or a comboBrox... Change the pane foreground value... after that all the control put in the panel take the same foreground value, and if you add a new one , it's the same.... Fabien From karl.reinl at ...9... Sat May 24 00:33:49 2003 From: karl.reinl at ...9... (Charlie) Date: Sat, 24 May 2003 00:33:49 +0200 Subject: [Gambas-user] Array Message-ID: <3ECEA1CD.9010001@...9...> Salut, I want to create an array which stores arrays . If I use String[] , doesn't work, get an error. If I use Object or Variant I can push it in, but dont get it back. Array[0]. ??? Any Idea ? Charlie From setyawankim at ...103... Fri May 23 13:59:44 2003 From: setyawankim at ...103... (setyawan_kim) Date: Fri, 23 May 2003 11:59:44 +0000 Subject: [Gambas-user] test Message-ID: <200305231159.44298.setyawankim@...103...> Sory... From pchapman at ...129... Sat May 24 05:43:20 2003 From: pchapman at ...129... (Philip A. Chapman) Date: 23 May 2003 22:43:20 -0500 Subject: [Gambas-user] Array In-Reply-To: <3ECEA1CD.9010001@...9...> References: <3ECEA1CD.9010001@...9...> Message-ID: <1053747800.13882.1.camel@...148...> What you want is a mult-dimensional array, such as Dim myArray[3, 4] As String On Fri, 2003-05-23 at 17:33, Charlie wrote: > Salut, > > I want to create an array which stores arrays . > If I use String[] , doesn't work, get an error. > If I use Object or Variant I can push it in, but dont get it back. > Array[0]. ??? > > Any Idea ? > > Charlie > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Philip A. Chapman Application Development: Java, Visual Basic, PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From kschrock at ...149... Sat May 24 02:23:31 2003 From: kschrock at ...149... (Ken Schrock) Date: Fri, 23 May 2003 17:23:31 -0700 Subject: [Gambas-user] Printing Message-ID: <3ECEBB83.6090909@...149...> Benoit Minisini wrote: [snip] >I like GNU/Linux and Unix for THAT. > >How can one want a Windows version of Gambas ? :-) > Reality. There are a billion Windows users in the world They need tools, we often have to make things for them There is a real need for simple graphical development tools (which explains the success of Visual Basic in the first place) There is a massive need for cross platform development tools The market for a simple, effective, cross platform tool is obvious (I have Kylix, Delphi, VB, Glade, Forte, perl, tcl, none of them do it) This could be it, as in Matrix, the ONE, VB 1.0 for the free world The very thing that brings things like PrintShop to Linux With the people who love things like PrintShop Don't let me put any pressure on you : -) The small stuff... The printer defaults to greyscale But there is no property for color in the printer class (I can pop up the setup dialog and change it to color, but a pita) Could you either change the default to color or make the property available? I had on my wish list a socket control It occurs to me now that it probably already exists Is this not the connection mechanism used for the database stuff? Couldn't a generic socket control be created from this? Along that same line Where are the docs on building for Gambas controls\extensions\plugins\classes\whatever you want to call them? -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl.reinl at ...9... Sat May 24 15:56:25 2003 From: karl.reinl at ...9... (Charlie) Date: Sat, 24 May 2003 15:56:25 +0200 Subject: [Gambas-user] Array References: <3ECEA1CD.9010001@...9...> <1053747800.13882.1.camel@...148...> Message-ID: <3ECF7A09.2040302@...9...> Philip A. Chapman schrieb: >What you want is a mult-dimensional array, such as > >Dim myArray[3, 4] As String > Nearly, but I don't know which lenght the Array will have. And it will have mostly 2 , but sometimes more then 2 Arrays included. > >On Fri, 2003-05-23 at 17:33, Charlie wrote: > > >>Salut, >> >>I want to create an array which stores arrays . >>If I use String[] , doesn't work, get an error. >>If I use Object or Variant I can push it in, but dont get it back. >>Array[0]. ??? >> >>Any Idea ? >> >>Charlie >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: ObjectStore. >>If flattening out C++ or Java code to make your application fit in a >>relational database is painful, don't do it! Check out ObjectStore. >>Now part of Progress Software. http://www.objectstore.net/sourceforge >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> From cmcpero at ...142... Sat May 24 21:58:26 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Sat, 24 May 2003 15:58:26 -0400 Subject: [Gambas-user] Gambas ebuild request filled in Gentoo's bugzilla Message-ID: <3ECFCEE2.2080702@...142...> Hi, I just filled a ebuild request to have gambas as an ebuild in gentoo if anyone has something to add you can follow the bug at http://bugs.gentoo.org/show_bug.cgi?id=21633 bye, -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From gambas at ...2... Sun May 25 17:38:08 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 25 May 2003 17:38:08 +0200 Subject: [Gambas-user] gambas 0.57 Message-ID: <200305251738.08521.gambas@...2...> Hi everyone, Here is the 0.57 version of Gambas ! This version compiles correctly on Mandrake 9.1 now. On other distributions, the last XFree font system fontconfig 2 and QT 3.1 are highly recommended. Well, what's new ? - You get a Workspace control to make MDI applications. - Form controls can be public like Visual Basic does. - Forms are self-executable now. I think old VB users should be happy with that :-) How to make a MDI application ? Just add a Workspace control into your main form, and creates all your MDI child windows by using this workspace as a parent. Example: FMain is my main form, and it has a wrkMain workspace control inside. To add a MDI window, just do: MyMDIChild = NEW Form(wrkMain) The Workspace control has a Children property that returns each of its MDI child windows. You must use it to create a dynamic menu that lists all the MDI child windows. The gambas database manager is now a full MDI application. You can browse its source code to see more details about that. I added a table on the "important notes" page on the web site, to try to get all gambas problems related to a specific distribution. I need your help to fill it ! Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sun May 25 18:28:27 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 25 May 2003 12:28:27 -0400 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305251738.08521.gambas@...2...> References: <200305251738.08521.gambas@...2...> Message-ID: <200305251228.27117.sourceforge-raindog2@...94...> On Sunday 25 May 2003 11:38, Benoit Minisini wrote: > Here is the 0.57 version of Gambas ! > - You get a Workspace control to make MDI applications. > - Form controls can be public like Visual Basic does. > - Forms are self-executable now. Man, you've been busy! Thanks for doing all this work! Rob From karl.reinl at ...9... Sun May 25 20:02:01 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 25 May 2003 20:02:01 +0200 Subject: [Gambas-user] Pretty Printer Message-ID: <3ED10519.7090307@...9...> Salut, writing actually a little tool to help you to make your sourcecode easier to read, I call it Pretty Printer. This tool is going on the raw file and makes the changes you set (but don't yet save them). I tried it on gambas Project.class (0.56) and didn't see no more case which is not handled ( this class is attached to the project as Project.test.) In Main.module you can set it for testing or take any other file. Actually only clean Syntax is supported, I mean If you have more then one blank in Keywords I don't find it. If you find Keywords in you code whos not handled, please let me know or add it to the array ( and let me know). The project like it is does NOT make changes to the file, it is only for testing. In FIndenter.class you find the SUB Indenter, which is comment out. Before using read the changes to make. ( I had a look to the 0.57 FEditor.class , it's still right) And you know you do it on your own risc. Oh yes, the setting are not saved .:-( Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Indenter.tar.gz Type: application/x-tar Size: 17055 bytes Desc: not available URL: From karl.reinl at ...9... Sun May 25 20:10:49 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 25 May 2003 20:10:49 +0200 Subject: [Gambas-user] 0.57 and new encyclopadia Message-ID: <3ED10729.5000705@...9...> Salut , will have a try with SuSE 7.2 Even in the new encyclopaedia I can't find STOP. Charlie From karl.reinl at ...9... Sun May 25 20:41:56 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 25 May 2003 20:41:56 +0200 Subject: [Gambas-user] gambas-0.57 Message-ID: <3ED10E74.6060001@...9...> Salut, gambas-0.57 runs also on my SuSE 7.2 allways without KDE .... I have MDI on DB-manager . I'm happy that the IDE is not MDI. :-( Uncomment in Editor works only if the ' is the first char at line. :-C DB-manager hangs if open conneted to mysql the test DB (test-suite from mysql) ;-) at first view, all my projects run. amicalement Charlie From karl.reinl at ...9... Sun May 25 20:50:37 2003 From: karl.reinl at ...9... (Charlie) Date: Sun, 25 May 2003 20:50:37 +0200 Subject: [Gambas-user] DB-manager in 0.57 Message-ID: <3ED1107D.3070902@...9...> Salut, DB-manager don't hangs if open conneted to mysql the test DB (test-suite from mysql) but takes (too ) long time to show the tables. Charlie From sourceforge-raindog2 at ...94... Sun May 25 22:08:52 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 25 May 2003 16:08:52 -0400 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305251738.08521.gambas@...2...> References: <200305251738.08521.gambas@...2...> Message-ID: <200305251608.52978.sourceforge-raindog2@...94...> On Sunday 25 May 2003 11:38, Benoit Minisini wrote: > FMain is my main form, and it has a wrkMain workspace control inside. > To add a MDI window, just do: > MyMDIChild = NEW Form(wrkMain) OK, so is there any way to do that in apps that instantiate forms from a separate class, like the gambas gui? I first set form controls to public in the compile time options (thanks :) ), added a workspace to FMain as Workspace1, and changed the following in the Project module: ToolForm = NEW FTool to ToolForm = NEW FTool(ProjectForm.Workspace1) and it errors out on that line with "Unknown symbol 'Workspace1' in class 'FMain'. I tried some intermediate steps like PUBLIC ws as Object (outside of sub main) ws = ProjectForm.Workspace1 ToolForm = NEW FTool(ws) but it errors out on Workspace1 the same way. Finally I tried to copy what you did with the database manager (make a static public member of FMain called Workspace and set it to the workspace object in _new) but then when I tried ToolForm = NEW FTool(ProjectForm.ws) I got "FMain.ws is static". Did I get the syntax wrong? Rob From gambas at ...2... Sun May 25 23:49:18 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 25 May 2003 23:49:18 +0200 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305251608.52978.sourceforge-raindog2@...94...> References: <200305251738.08521.gambas@...2...> <200305251608.52978.sourceforge-raindog2@...94...> Message-ID: <200305252349.18156.gambas@...2...> Le Dimanche 25 Mai 2003 22:08, Rob a ?crit : > On Sunday 25 May 2003 11:38, Benoit Minisini wrote: > > FMain is my main form, and it has a wrkMain workspace control inside. > > To add a MDI window, just do: > > MyMDIChild = NEW Form(wrkMain) > > OK, so is there any way to do that in apps that instantiate forms from a > separate class, like the gambas gui? I first set form controls to public > in the compile time options (thanks :) ), added a workspace to FMain as > Workspace1, and changed the following in the Project module: > > ToolForm = NEW FTool > > to > > ToolForm = NEW FTool(ProjectForm.Workspace1) > > and it errors out on that line with "Unknown symbol 'Workspace1' in class > 'FMain'. It should work. Did you recompile everything ? > I tried some intermediate steps like > > PUBLIC ws as Object (outside of sub main) > ws = ProjectForm.Workspace1 > ToolForm = NEW FTool(ws) > > but it errors out on Workspace1 the same way. Finally I tried to copy what > you did with the database manager (make a static public member of FMain > called Workspace and set it to the workspace object in _new) but then when > I tried > > ToolForm = NEW FTool(ProjectForm.ws) > > I got "FMain.ws is static". Did I get the syntax wrong? > > Rob > No idea what is wrong ! Send me your project. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sun May 25 23:49:55 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 25 May 2003 23:49:55 +0200 Subject: [Gambas-user] 0.57 and new encyclopadia In-Reply-To: <3ED10729.5000705@...9...> References: <3ED10729.5000705@...9...> Message-ID: <200305252349.55121.gambas@...2...> Le Dimanche 25 Mai 2003 20:10, Charlie a ?crit : > Salut , > > will have a try with SuSE 7.2 > > Even in the new encyclopaedia I can't find STOP. > > Charlie > I forgot it ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Sun May 25 23:51:57 2003 From: gambas at ...2... (Benoit Minisini) Date: Sun, 25 May 2003 23:51:57 +0200 Subject: [Gambas-user] DB-manager in 0.57 In-Reply-To: <3ED1107D.3070902@...9...> References: <3ED1107D.3070902@...9...> Message-ID: <200305252351.57647.gambas@...2...> Le Dimanche 25 Mai 2003 20:50, Charlie a ?crit : > Salut, > > DB-manager don't hangs if open conneted to mysql the test DB > (test-suite from mysql) but takes (too ) long time to show the tables. > > Charlie > What do you mean exactly by that ("show the tables") ? It is showing ONE table definition, ONE table contents, or the list of tables in the treeview ? If so, how many records do you have in your table, or how many tables do you have in your database ? Have you a slow machine ? Could you try the same database, but with postgresql ? Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Mon May 26 00:00:23 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 26 May 2003 00:00:23 +0200 Subject: [Gambas-user] DB-manager in 0.57 References: <3ED1107D.3070902@...9...> <200305252351.57647.gambas@...2...> Message-ID: <3ED13CF7.5090806@...9...> Benoit Minisini schrieb: >Le Dimanche 25 Mai 2003 20:50, Charlie a ?crit : > > >>Salut, >> >> DB-manager don't hangs if open conneted to mysql the test DB >>(test-suite from mysql) but takes (too ) long time to show the tables. >> >>Charlie >> >> >> > >What do you mean exactly by that ("show the tables") ? It is showing ONE table >definition, ONE table contents, or the list of tables in the treeview ? >If so, how many records do you have in your table, or how many tables do you >have in your database ? Have you a slow machine ? Could you try the same >database, but with postgresql ? > >Regards, > > > Meaning the treeview who is listing the tables (3047 tables in this case) the number of field and records in these tables ? I never count them. From cmcpero at ...142... Mon May 26 00:41:08 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Sun, 25 May 2003 18:41:08 -0400 Subject: [Gambas-user] Re:More problem installing gambas (was Re: [Gambas-devel] More problem installing gambas) In-Reply-To: <200305252359.43525.gambas@...2...> References: <3ED1160B.4010602@...142...> <200305252359.43525.gambas@...2...> Message-ID: <3ED14684.3020406@...142...> Benoit Minisini wrote: >Le Dimanche 25 Mai 2003 21:14, Jean-Francois Perreault a ?crit : > > >>Hi, >> >> > > >Hi, > > > >>(I moved this to devel since this is an issue with gambas itself) >> >> > >Game over ! The gambas-devel is used for gambas development topics. You should >have sent this mail to the user mailing-list. > emm , well sorry then , from now on I'll keep this on the user mailing list > > > >>I'm still trying to install gambas (now 0.57) but it just won't work :\ >> >> > >Always on a gentoo ? > > yes same systems as before , that is probably a big part of the problem > > >>so far I tried with --disable-qt-component and --disable-kde-component >>and that gave me >> >>ERROR: #27: Cannot load library '/opt/gambas/lib/lib.gb.qt.la': file not >>found >> >> > >Logical, the IDE needs the qt component ! How could the IDE display a GUI >without it ? > > I though maybe it would fall back on more basic X11 widget , or maybe that the IDE was sort of self contained and would work with on qt run time libs and that maybe the qt component was only needed when a program was running inside the interpreter , anyway I was just reporting the error and testing all possibilities even though I am not familiar with the inner working of gambas and can only guess of how to fix my problem btw , does this mean that to run a program built with gambas , gambas must be installed ? is there a way to statically link gambas application with gambas libs so that they will run on another system without installing gambas ? > > >>I included a strace when trying with these options >> >>I also tried with the qt component and without the kde component but >>that just segfault >> >> > >Where ? > > sorry , my bad , forgot to attach them , they are attached to this message this time > > >>I also included an strace >> >>I also tried with both kde and qt components but that as before crash >>during make install at the "Creating the library info files..." step >> >>is there any way to fix this ? why does this work on other distributions >>? is it because they use earlier version or glibc or kde ? >>could I fix this by downgrading glibc/kde ? >> >> > >No idea, you should give complete information on your system. Even with that, >it will be difficult to help you, but without it is absolutely impossible. I >can't read mind :-) > > I test on multiple systems and alway ended up with the same result so I'll only tell you about what has not changed between the systems if I left anything out tell me they are all x86 they all use these components versions glib 2.2.1 glibc 2.3.1-r4 gcc 3.2.2 gcc-config 1.3.1-r1 kdelibs 3.1.1a (most of kde is 3.1.1 but core packages are 3.1.1a) I can go more in details than that but I don't know exactly what information is relevant to the problem beside this could you be more specific ? or I can also send you every bit I can find about these system if you want >>also I noticed configure script re-execute itself with >>--enable-ltdl-convenience at the end , could that have anything to do >>with my problem ? >> >> > >It does not rexecute itself, it configure the libtool package that is a tool >provided by GNU that has its own configure script in its own directory. > > > >>thanks , >> >> > >Not at all, > > > what does -that- mean ? -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-0.57.noqt.nokde.nopgsql.nomysql.strace.gz Type: application/x-gzip Size: 1689 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-0.57.withqt.nokde.nopgsql.nomysql.strace.gz Type: application/x-gzip Size: 3998 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-0.57.withqt.withkde.nopgsql.nomysql.strace.gz Type: application/x-gzip Size: 4000 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Mon May 26 00:47:53 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 25 May 2003 18:47:53 -0400 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305252349.18156.gambas@...2...> References: <200305251738.08521.gambas@...2...> <200305251608.52978.sourceforge-raindog2@...94...> <200305252349.18156.gambas@...2...> Message-ID: <200305251847.53696.sourceforge-raindog2@...94...> On Sunday 25 May 2003 17:49, Benoit Minisini wrote: > > I got "FMain.ws is static". Did I get the syntax wrong? > No idea what is wrong ! Send me your project. Thanks! You can grab it at http://www.kudla.org/gambas-mdi-project.tar.gz I'll be happy to email you if you have any difficulty getting it. Rob From samans at ...133... Mon May 26 08:57:52 2003 From: samans at ...133... (Saman Sjukur) Date: Mon, 26 May 2003 13:57:52 +0700 Subject: [Gambas-user] DB-manager 0.57 exit unexpectedly Message-ID: <5D975F8D8CDED5119E140008C733B12A3C66@...134...> Hallo there, The DB Manager exit unexpectedly every time after I reach the last field in table when I adding a new record. Any suggest ? Saman Sjukur From radoslav.dejanovic at ...116... Mon May 26 09:35:28 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Mon, 26 May 2003 09:35:28 +0200 Subject: [Gambas-user] Printing In-Reply-To: <3ECEBB83.6090909@...149...> References: <3ECEBB83.6090909@...149...> Message-ID: <200305260935.28168.radoslav.dejanovic@...116...> On Saturday 24 May 2003 02:23 am, Ken Schrock wrote: > There is a massive need for cross platform development tools > The market for a simple, effective, cross platform tool is obvious > (I have Kylix, Delphi, VB, Glade, Forte, perl, tcl, none of them do it) And to add some salt to the injury, my company is focused on Linux/Unix solutions, yet it is the Windows people who do not complain much about the support price. :) Being in need to develop some lite marketing software for both Linux and Windows, I've run across Runtime Revolution (www.runrev.com), which offer quite nice RAD that can compile for Windows, Mac OS X (and less), Linux and many other flavours of Unix. I would really like if some easy tool like Gambas could produce binaries for Linux, Mac OS X and Windows. But perhaps we should wait for Gambas to get some maturity on Linux platform first, before migrating to other platforms? -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From radoslav.dejanovic at ...116... Mon May 26 09:45:46 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Mon, 26 May 2003 09:45:46 +0200 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305251738.08521.gambas@...2...> References: <200305251738.08521.gambas@...2...> Message-ID: <200305260945.46229.radoslav.dejanovic@...116...> On Sunday 25 May 2003 05:38 pm, Benoit Minisini wrote: > Hi everyone, > > Here is the 0.57 version of Gambas ! SuSE 8.2 has still the same problem: make install ... /opt/gambas/lib/info/gb.db.info make[2]: *** [install-exec-local] Segmentacijska gre?ka make[2]: Leaving directory `/home/rado/temp/gambas-0.57' make[1]: *** [install-am] Gre?ka 2 make[1]: Leaving directory `/home/rado/temp/gambas-0.57' make: *** [install-recursive] Gre?ka 1 I'm not sure if the workaround hasn't been posted on the list though... -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From dimitribellini at ...69... Mon May 26 14:12:07 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 26 May 2003 12:12:07 +0000 Subject: [Gambas-user] Problem on forms self-executable.. Message-ID: <200305261212.08259.dimitribellini@...69...> Hi All i have made very simple example with two textbox and one button but when i run application exit immediatly it seems is problem of Self-Executable Form i cant understand why i have thi s problem. I use Gambas 0.57 compiled with MDK 9.1 without error. Thanks in advance Dimitri Bellini PS: Rob is possible to have Unified Gambas GUI (MDI). From Gambasfr at ...11... Mon May 26 15:05:03 2003 From: Gambasfr at ...11... (Fabien) Date: Mon, 26 May 2003 15:05:03 +0200 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305251847.53696.sourceforge-raindog2@...94...> References: <200305251738.08521.gambas@...2...> <200305252349.18156.gambas@...2...> <200305251847.53696.sourceforge-raindog2@...94...> Message-ID: <200305261505.03955.Gambasfr@...11...> Le Lundi 26 Mai 2003 00:47, Rob a ?crit : > On Sunday 25 May 2003 17:49, Benoit Minisini wrote: > > > I got "FMain.ws is static". Did I get the syntax wrong? > > > > No idea what is wrong ! Send me your project. > > Thanks! You can grab it at http://www.kudla.org/gambas-mdi-project.tar.gz > > I'll be happy to email you if you have any difficulty getting it. > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi it's an official issue for gambas or just a personnal test ? In the past i prefer, the vb4 interface as the vb 6 one ! It 's more practicle to elaborate the windows desing. Nevertheless, it's not right for all... like the database tool. Fabien Thank for your Mandrake rpms ! From Gambasfr at ...11... Mon May 26 15:21:35 2003 From: Gambasfr at ...11... (Fabien) Date: Mon, 26 May 2003 15:21:35 +0200 Subject: [Gambas-user] Printing In-Reply-To: <200305260935.28168.radoslav.dejanovic@...116...> References: <3ECEBB83.6090909@...149...> <200305260935.28168.radoslav.dejanovic@...116...> Message-ID: <200305261521.35855.Gambasfr@...11...> Le Lundi 26 Mai 2003 09:35, Radoslav Dejanovic a ?crit : > On Saturday 24 May 2003 02:23 am, Ken Schrock wrote: > > There is a massive need for cross platform development tools > > The market for a simple, effective, cross platform tool is obvious > > (I have Kylix, Delphi, VB, Glade, Forte, perl, tcl, none of them do it) > > And to add some salt to the injury, my company is focused on Linux/Unix > solutions, yet it is the Windows people who do not complain much about the > support price. :) Being in need to develop some lite marketing software for > both Linux and Windows, I've run across Runtime Revolution > (www.runrev.com), which offer quite nice RAD that can compile for Windows, > Mac OS X (and less), Linux and many other flavours of Unix. I would really > like if some easy tool like Gambas could produce binaries for Linux, Mac OS > X and Windows. But perhaps we should wait for Gambas to get some maturity > on Linux platform first, before migrating to other platforms? Hi I'm really agree with you. Befor all Gambas is a tool for Unix... After, we can easily make a cross to MacOSX because it's an unix clone. For windows... hem ... it's not really the same but we will see. For the first time, we really need your help, and a professionnal help, if we want to make gambas as a usefull tool. We need, help for the lib making, qt, and socket and gtk+. So we need c++ and c Develloper who want to have a simple and speedy tool. (hem and french traducer.... To help me in the help traduction !) Because Gambas is, before all a console tool. I think the first idea of the gambas parents is make a free linguage, independent off all integration system. Actually we can use gambas with qt, but we cant use gambas sole That's the power of gambas and thats the power of unix too ! hem ... have you understand me ? Fabien Bodard From radoslav.dejanovic at ...116... Mon May 26 16:28:08 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Mon, 26 May 2003 16:28:08 +0200 Subject: [Gambas-user] Crossplatform In-Reply-To: <200305261521.35855.Gambasfr@...11...> References: <3ECEBB83.6090909@...149...> <200305260935.28168.radoslav.dejanovic@...116...> <200305261521.35855.Gambasfr@...11...> Message-ID: <200305261628.08716.radoslav.dejanovic@...116...> On Monday 26 May 2003 03:21 pm, Fabien wrote: > For windows... hem ... it's not really the same but we will see. Yup, making port to NT isn't trivial, however, if the language is clean, easy and has some power, we'll find someone to port to Windows. > For the first time, we really need your help, and a professionnal help, if > we want to make gambas as a usefull tool. We need, help for the lib making, > qt, and socket and gtk+. So we need c++ and c Develloper who want to have a > simple and speedy tool. I myself am not really a programmer (although I did develop some C and Perl software, and I'm acquainted to VB), but I'd be glad to help in any way I can. But for the first thing, I have to get this thing working on my SuSE 8.2 box.. :)) > (hem and french traducer.... To help me in the help traduction !) dictionary: to traduce - 1 : to expose to shame or blame by means of falsehood and misrepresentation 2 : VIOLATE, BETRAY synonym see MALIGN Oh yes, I do think that help system should be traduced, as long as Benoit or someone else make it much better and easier to read. :))))) > Because Gambas is, before all a console tool. > I think the first idea of the gambas parents is make a free linguage, > independent off all integration system. > Actually we can use gambas with qt, but we cant use gambas sole > That's the power of gambas and thats the power of unix too ! That's just fine, but why not try to go one step further? Many people are afraid of learning Java, but they find the cross-platform operability quite appealing. If we're talking console, we can talk Linux and Mac OS X (but bear in mind that for Mac user, OS X *is* it's GUI, and only gurus will tamper with the CLI), and we surely aren't talking Windows. Then, think about the future: regardless of what we think of console, it is the fact that future software will be GUI-ed and that many people, among them professionals, will demand GUI over CLI. GUI is not the future, it is present. Now, take all this into consideration, make cross platform tool and enjoy your share of makin the world better place for everyone. ;) Just for example, Runtime Revolution I've mentioned allow me to use Macintosh originated script language in RAD enviroment that produces binary for Mac, Linux and Windows, and I can take Windows binary and run it under wine if I want to, and I can send this to my friend who's using Windows, and I can do all this seated at my SuSE box, no need to go to my Titanium or reboot to Windows, and I can even use some debugging trough wine. :-) I'd like to be able to do that with Gambas, too. > > hem ... have you understand me ? I suppose so. :) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From sourceforge-raindog2 at ...94... Mon May 26 17:05:35 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 26 May 2003 11:05:35 -0400 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305261505.03955.Gambasfr@...11...> References: <200305251738.08521.gambas@...2...> <200305251847.53696.sourceforge-raindog2@...94...> <200305261505.03955.Gambasfr@...11...> Message-ID: <200305261105.35868.sourceforge-raindog2@...94...> On Monday 26 May 2003 09:05, Fabien wrote: > > http://www.kudla.org/gambas-mdi-project.tar.gz > it's an official issue for gambas or just a personnal test ? Just a personal test, though if I get it working I'll certainly make it available to VB5/VB6 fans. > In the past i prefer, the vb4 interface as the vb 6 one ! > It 's more practicle to elaborate the windows desing. > Nevertheless, it's not right for all... like the database tool. I think a case can be made for either. However, the changes (once they work) appear to be simple enough that it could be a checkbox in some preferences dialog (followed by a restart of course.) > Thank for your Mandrake rpms ! Anything to get more people using/testing gambas ;) Rob From sourceforge-raindog2 at ...94... Mon May 26 17:09:48 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 26 May 2003 11:09:48 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200305260935.28168.radoslav.dejanovic@...116...> References: <3ECEBB83.6090909@...149...> <200305260935.28168.radoslav.dejanovic@...116...> Message-ID: <200305261109.48914.sourceforge-raindog2@...94...> On Monday 26 May 2003 03:35, Radoslav Dejanovic wrote: > support price. :) Being in need to develop some lite marketing software for > both Linux and Windows, I've run across Runtime Revolution > (www.runrev.com), which offer quite nice RAD that can compile for Windows, > Mac OS X (and less), Linux and many other flavours of Unix. I would really I've played with Runtime Revolution (an eval comes with some commercial packages of Mandrake) but it strikes me as being a somewhat more programmer oriented Hypercard than a VB replacement. There's a place for it in commercial development, but I think something like RealBASIC (if they ever port to OSX and Linux, last I knew they were MacOS <=9 and Windows) or an eventually ported Gambas might be better for most corporate shops with a lot of existing VB skill. Rob From schumacher-k at ...20... Mon May 26 19:25:02 2003 From: schumacher-k at ...20... (Klaus Schumacher) Date: Mon, 26 May 2003 19:25:02 +0200 Subject: [Gambas-user] character code ?? In-Reply-To: <200305212017.50477.schrockk@...137...> References: <200305190052.40576.schrockk@...137...> <200305211011.09880.schrockk@...137...> <200305212344.29900.gambas@...2...> <200305212017.50477.schrockk@...137...> Message-ID: <3ED24DEE.4090504@...20...> Hello everybody, I've done a small program in gambas 0.44 which reads a file with data form my palm, converted with the tool pdb2csv. Now I've updated gambas and the german characters (?,?, ?) in the file are not longer readable. I suppose it's because of the UTF-8 charset changing since 0.50 ?! But what can I do ? Klaus From nikosdion at ...146... Mon May 26 21:41:58 2003 From: nikosdion at ...146... (Nikolaos Dionysopoulos) Date: 26 May 2003 22:41:58 +0300 Subject: [Gambas-user] Problems compiling gambas Message-ID: <1053978118.13514.6.camel@...150...> Hello all! I tried to compile gambas 0.57 but it segfaults when the installation tries to generate the info files. I also tried installing the RPM's but it still segfaults when I run gambas IDE or any gambas program from the command line. Then I tried to compile versions 0.56 and 0.55 (I had kept the tarballs) but the effect is still the same : it segfaults. I have a Mandrake 9.1 RC1 system, which was reinstalled recently. The only thing I have done to alter it was to install the nvidia drivers. I think I read a post a while ago about nvidia drivers wrecking havoc to gambas? But then again, before formatting my system gambas compiled just fine. What's wrong? Is there anything I can do? I'll be happy to provide more information if needed. Thank you in advance, -- Nick Dionysopoulos Student of Mechanical Engineering nikosdion-AT-in.gr -- http://www.sledge81.cjb.net From Gambasfr at ...11... Mon May 26 23:18:29 2003 From: Gambasfr at ...11... (Fabien) Date: Mon, 26 May 2003 23:18:29 +0200 Subject: [Gambas-user] My web site Message-ID: <200305262318.29828.Gambasfr@...11...> Hello all I've made my first tutorial page (in french)... not really the better off but... Tell me your means about it http://abidoo.too.free.fr Fabien From jochen.georges at ...22... Mon May 26 23:22:27 2003 From: jochen.georges at ...22... (Jochen Georges) Date: Mon, 26 May 2003 23:22:27 +0200 Subject: [Gambas-user] My web site In-Reply-To: <200305262318.29828.Gambasfr@...11...> References: <200305262318.29828.Gambasfr@...11...> Message-ID: <200305262322.27235.jochen.georges@...22...> On Monday 26 May 2003 23:18, Fabien wrote: > Hello all > > I've made my first tutorial page (in french)... not really the better off > but... > > Tell me your means about it > http://abidoo.too.free.fr > > Fabien > hi fabien, why don't you write for the "easy gambas doku"? unfortunately i'm very busy at work, i have to do extra-hours, so actual there's no time for me to do some gambas stuff :-( but gambas develops fast and there is a big need of new chapters. (i hope that i will have time in the near future) i think it is great if you make your side, but i am afraid, that we do some work twice. beste gruesse jochen From karl.reinl at ...9... Mon May 26 22:33:24 2003 From: karl.reinl at ...9... (Charlie) Date: Mon, 26 May 2003 22:33:24 +0200 Subject: [Gambas-user] gambas 0.57 References: <200305251738.08521.gambas@...2...> <200305251847.53696.sourceforge-raindog2@...94...> <200305261505.03955.Gambasfr@...11...> <200305261105.35868.sourceforge-raindog2@...94...> Message-ID: <3ED27A14.4090003@...9...> Rob schrieb: > On Monday 26 May 2003 09:05, Fabien wrote: > > >>> http://www.kudla.org/gambas-mdi-project.tar.gz >>> >> Salut Rob, I don't like MDI on IDE's , had a go, but stoped at Project.module Line 97 ' Main.ws' is static ? To remember SuSE 7.2 full updated, qt-3.0.5, KDE 2.2.2 amicalement Charlie From dimitribellini at ...69... Tue May 27 01:46:31 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Mon, 26 May 2003 23:46:31 +0000 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305251847.53696.sourceforge-raindog2@...94...> References: <200305251738.08521.gambas@...2...> <200305252349.18156.gambas@...2...> <200305251847.53696.sourceforge-raindog2@...94...> Message-ID: <200305262346.31650.dimitribellini@...69...> On Sunday 25 May 2003 22:47, Rob wrote: > On Sunday 25 May 2003 17:49, Benoit Minisini wrote: > > > I got "FMain.ws is static". Did I get the syntax wrong? > > > > No idea what is wrong ! Send me your project. > > Thanks! You can grab it at http://www.kudla.org/gambas-mdi-project.tar.gz > > I'll be happy to email you if you have any difficulty getting it. > > Rob > Thanks Rob for your Gambas MDI version i usualy use Visual Basic and i think is more simple to manage one single window at time. But... i have the same error ... Thanks Dimitri Bellini From sourceforge-raindog2 at ...94... Tue May 27 00:49:11 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 26 May 2003 18:49:11 -0400 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <3ED27A14.4090003@...9...> References: <200305251738.08521.gambas@...2...> <200305261105.35868.sourceforge-raindog2@...94...> <3ED27A14.4090003@...9...> Message-ID: <200305261849.11932.sourceforge-raindog2@...94...> On Monday 26 May 2003 16:33, Charlie wrote: > had a go, but stoped at Project.module Line 97 ' Main.ws' is static ? On Monday 26 May 2003 19:46, Dimitri Bellini wrote: > But... i have the same error ... Yes, if you read the rest of the post that was from, I was asking Benoit for some help with that problem and he asked me to post the code. At least this proves it's not just me ;) Rob From kschrock at ...149... Tue May 27 04:35:06 2003 From: kschrock at ...149... (Ken Schrock) Date: Mon, 26 May 2003 19:35:06 -0700 Subject: [Gambas-user] Printing References: <3ECEBB83.6090909@...149...> <200305260935.28168.radoslav.dejanovic@...116...> Message-ID: <3ED2CEDA.6030702@...149...> Radoslav Dejanovic wrote: >On Saturday 24 May 2003 02:23 am, Ken Schrock wrote: > >>There is a massive need for cross platform development tools >>The market for a simple, effective, cross platform tool is obvious >>(I have Kylix, Delphi, VB, Glade, Forte, perl, tcl, none of them do it) >> >> >And to add some salt to the injury, my company is focused on Linux/Unix >solutions, yet it is the Windows people who do not complain much about the >support price. :) Being in need to develop some lite marketing software for >both Linux and Windows, I've run across Runtime Revolution (www.runrev.com), >which offer quite nice RAD that can compile for Windows, Mac OS X (and less), >Linux and many other flavours of Unix. I would really like if some easy tool >like Gambas could produce binaries for Linux, Mac OS X and Windows. > Well, the problem of most Linux users wanting all things free is a separate issue And thanks for the tip on Runtime Revolution, but it doesn't really fit my needs I interact with mostly newbies and low an medium level users in various ways I find interpreted language tools to be best suited to the things I do most of the time I can build a basic app for them that does what they want to do (or think they do) And then later, when they want to add\change something for some reason Tell them to go to line 126 and insert the following blah, blah, blah Or do it myself and send them one simple file At some point, if this kind of system continues Most get to the point where they can carry the ball themselves They become self sufficient and the world has another programmer For this kind of work VB 1.0 was almost a perfect tool It was small, simple, cheap, easy to obtain, stable for years And since at most it was one small library and some text files It was a breeze to distribute an application in many different ways I use Linux and love Linux, but I often still need to do this, for Win users too I would love to have a simple, small, free or cheap development tool to use Gambas seems to be that, as it is right now (I can work around the edges) If it were cross platform it would only make it 100 times better to use Gambas could become what Java promised but never delivered And yes, Gambas for the Mac would be way cool >But perhaps we should wait for Gambas to get some maturity on Linux platform >first, before migrating to other platforms? > You mean wait until Gambas is big and ugly like VB 4.0 before it is ported? No, that would be a really bad thing. It should happen now while it is still small As to help it stay that way, so it doesn't become the mess VB or Java or perl has Less is more. Do one thing (or a small group of things) and do it well. Etc. Basic. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From radoslav.dejanovic at ...116... Tue May 27 08:58:30 2003 From: radoslav.dejanovic at ...116... (Radoslav Dejanovic) Date: Tue, 27 May 2003 08:58:30 +0200 Subject: [Gambas-user] Printing In-Reply-To: <3ED2CEDA.6030702@...149...> References: <3ECEBB83.6090909@...149...> <200305260935.28168.radoslav.dejanovic@...116...> <3ED2CEDA.6030702@...149...> Message-ID: <200305270858.30938.radoslav.dejanovic@...116...> On Tuesday 27 May 2003 04:35 am, Ken Schrock wrote: > >But perhaps we should wait for Gambas to get some maturity on Linux > > platform first, before migrating to other platforms? > You mean wait until Gambas is big and ugly like VB 4.0 before it is ported? No, I'd be happy if it could compile out of the box on my SuSE :)) This is the first thing why we should consider Gambas immature at this point. While the language and underlying algorythms might be perfect, the fact that it doesn't compile out of the box is really bad thing. It prevents language from being included with distributions (SuSE has only some old release, perhaps because of building troubles?), and the rapid development stage (as is happening now) will prevent everyone but experienced programmer from giving it a try. So what we have here, as I see it, are two things: disability to compile out of the box, which is a bad, bad thing, and fast development, which is just great. But these two do make Gambas immature. The first step should be to try to solve building showstoppers. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From dimitribellini at ...69... Tue May 27 12:59:58 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 27 May 2003 10:59:58 +0000 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305261849.11932.sourceforge-raindog2@...94...> References: <200305251738.08521.gambas@...2...> <3ED27A14.4090003@...9...> <200305261849.11932.sourceforge-raindog2@...94...> Message-ID: <200305271059.58916.dimitribellini@...69...> On Monday 26 May 2003 22:49, Rob wrote: > On Monday 26 May 2003 16:33, Charlie wrote: > > had a go, but stoped at Project.module Line 97 ' Main.ws' is static ? > > On Monday 26 May 2003 19:46, Dimitri Bellini wrote: > > But... i have the same error ... > > Yes, if you read the rest of the post that was from, I was asking Benoit > for some help with that problem and he asked me to post the code. At least > this proves it's not just me ;) > Yes i know... I refer to this mail :-) Thanks Dimitri From sourceforge-raindog2 at ...94... Tue May 27 15:09:47 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 27 May 2003 09:09:47 -0400 Subject: [Gambas-user] Printing In-Reply-To: <200305270858.30938.radoslav.dejanovic@...116...> References: <3ECEBB83.6090909@...149...> <3ED2CEDA.6030702@...149...> <200305270858.30938.radoslav.dejanovic@...116...> Message-ID: <200305270909.47554.sourceforge-raindog2@...94...> On Tuesday 27 May 2003 02:58, Radoslav Dejanovic wrote: > No, I'd be happy if it could compile out of the box on my SuSE :)) > This is the first thing why we should consider Gambas immature at this > point. While the language and underlying algorythms might be perfect, the > fact that it doesn't compile out of the box is really bad thing. It I mean no disrespect, but I had no more trouble building Gambas 0.57 under Mandrake (to make the RPM's) than I have with any previous version. There are SuSE RPM's out there which must mean someone wrote a spec file for some version of Gambas under SuSE; maybe you should give that a try for some hints. Or even try rebuilding my source RPM, adjusting the package names in Requires and BuildRequires as necessary. Rob From sourceforge-raindog2 at ...94... Tue May 27 15:10:56 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 27 May 2003 09:10:56 -0400 Subject: [Gambas-user] 0.57 RPM's for Mandrake In-Reply-To: <200305270858.30938.radoslav.dejanovic@...116...> References: <3ECEBB83.6090909@...149...> <3ED2CEDA.6030702@...149...> <200305270858.30938.radoslav.dejanovic@...116...> Message-ID: <200305270910.56014.sourceforge-raindog2@...94...> Speaking of RPM's, I put RPM's of 0.57 in my download repository at http://www.kudla.org/rpm/ . I haven't updated my webpage yet to reflect this and don't have time at the moment, but they're out there ;) Rob From stibs at ...6... Tue May 27 21:22:48 2003 From: stibs at ...6... (stibs at ...6...) Date: Tue, 27 May 2003 20:22:48 +0100 Subject: [Gambas-user] 0.57 RPM's for Mandrake Message-ID: <200305271922.UAA22181@...7...> Rob, I hope you don't mind, I post your work each time to pclinuxonline.com which is very MAndrake (and SuSE... well desktop-)centered. STIBS Rob wrote .. > Speaking of RPM's, I put RPM's of 0.57 in my download repository at > http://www.kudla.org/rpm/ . I haven't updated my webpage yet to reflect > this > and don't have time at the moment, but they're out there ;) > > Rob > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user --Kindest Regards/ Freundliche Gr??e-- STIBS (aka Michael Stibane) "Man is free at the moment he wishes to be." --Voltaire ... seems this guy already knew about Linux :o) ... ________________________________________________________ Training, Administration, Consulting, Development http://www.stibs.cc, stibs at ...6... -- Mandrakesoft Linux Campus Trainer http://mandrakesoft.com/training -- Escapade Server Sided Scripting Language Dev Team Pensacola, Dallas, Dresden, London http://escapade.org, stibs at ...135... -- Yoper OS German Maintainer http://yoper.com, stibs at ...136... ________________________________________________________ From g_liporace at ...69... Tue May 27 18:54:34 2003 From: g_liporace at ...69... (Gianfranco Liporace) Date: Tue, 27 May 2003 18:54:34 +0200 Subject: [Gambas-user] Problem installing Gambas 0.57 Message-ID: <200305271854.34423.g_liporace@...69...> Hi everyone, after compiling Gambas, when I do a 'make install' I get this message: -- cut -- Making symbolic links in /usr/bin... Compiling and installing the development environment... Compiling gambas... OK Compiling gambas-database-manager... OK Creating the library info files... /opt/gambas/lib/info/gb.info /opt/gambas/lib/info/gb.eval.info /opt/gambas/lib/info/gb.example.info /opt/gambas/lib/info/gb.db.info /opt/gambas/lib/lib.gb.qt.editor.la: libqt-mt.so.3: cannot open shared object file: No such file or directory make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/usr/src/gambas-0.57' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/usr/src/gambas-0.57' make: *** [install-recursive] Error 1 but I have qt 3.1 installed: [root at ...40... gambas-0.57]# locate libqt-mt.so.3 /usr/local/qt-x11-free-3.1.0/lib/libqt-mt.so.3.1.0 /usr/local/qt-x11-free-3.1.0/lib/libqt-mt.so.3 /usr/local/qt-x11-free-3.1.0/lib/libqt-mt.so.3.1 My gcc version: [root at ...40... gambas-0.57]# gcc -v Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98) (actually is a Redhat 7.2 HEAVY modified!) KDE version is 3.1.2 Thank you! Gianfranco. -- -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.2.0 (GNU/Linux) mQGiBD3j5M8RBADOGH/dj6z63ZggCPpv2uBBnIPVFIaaSl+Co6S1TUdVbYJdYCZa pnIhrFpNvEuX7T7XRlatKMDiximBOEjjOFMHWKtIo86OTqHs4wI+6mkek9C1jgtb 5ENl1zuCXCg5UpF/Vpl/eMPQZZQ/i9Ra1ZtAcjf61CNTs4cM9wAF8AyzvwCgn87t ow05FyJQYl9wsevsyOp3Gd8D/0fyL1Lx0715wpu4nvfPIPf0UuG6Gx1FdAijgW+l 4QG39kJ4z1QGKdGZldYo7i8y7LaqNp3nbRCs5U2jnzjWDQJNOKUe46SWVBzJ0RRJ ccMri0AzIE28rKX9jMbq+dRgn/jBBC4n2e+R5qhOV6p7CBbzCCmqhbGzc0+eqQCD rz7DBACWCdtI9iiyvaExwbpmAPbBi6CD1jDgR3QBwnZMyZXT34kZG8BNPIyVgzHu +L52MoZH404reiX/wNG9okyRuo1xZ+bUZvOgo4RmHsknHnezWXHe244Pd0uVmdtg SCQzaUg6PWpKqJ9WU5zQG85eNXFJwaYKXrxHI039zz5HjF7AG7QqR2lhbmZyYW5j byBMaXBvcmFjZSA8Z19saXBvcmFjZUBsaWJlcm8uaXQ+iFkEExECABkFAj3j5M8E CwcDAgMVAgMDFgIBAh4BAheAAAoJEM9XTnsy0XWZyL4An1O4NCpEWWvH3zTPMwZX raVlq93NAJ4qLKYTsFqAk8SP8MZG0BpgrCkjdbkBDQQ94+TREAQA7YokdtUpZJO4 bgnZF4Dkd3dV4Y+cnVA2MmoDePbAg7EoJhpX6/Y8WfyW9Zs3AqHQcHMNK/3/ls5u jeeHK0XtwnOaxuXXzoc3lg1ID29un8bZiCYmAhOCtjfo1IT1Rw5ge2y1g8pgC5nB kXj5V0sJfAym+Lx6q0DyiJX6/F9YG3sAAwUEAK9EH7DhsZYU+zkDQapqLRLXtgvA p7UGqCc58RLsxKGrs+aFPrr38YnRThj0kSEpCx6MCcxUciLI8kzbEWgwmXQdPb8F YLJN+7bNxTp/txL9EzaXEEaKwYUHMpmCAw/Xx0nWuaqMqCQF9Ckg33XdMn+/wwjS hh5TEoKHDCzs2tkWiEYEGBECAAYFAj3j5NEACgkQz1dOezLRdZmqvACdEJPBWQW4 uaFndkU725yQHcjHzyoAoI1MLi5VOcpOO6OZHr7GvMJNmn/J =yNzY -----END PGP PUBLIC KEY BLOCK----- From sourceforge-raindog2 at ...94... Tue May 27 19:57:55 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 27 May 2003 13:57:55 -0400 Subject: [Gambas-user] 0.57 RPM's for Mandrake In-Reply-To: <200305271922.UAA22181@...7...> References: <200305271922.UAA22181@...7...> Message-ID: <200305271357.55394.sourceforge-raindog2@...94...> On Tuesday 27 May 2003 15:22, stibs at ...6... wrote: > I hope you don't mind, I post your work each time to pclinuxonline.com > which is very MAndrake (and SuSE... well desktop-)centered. I don't mind at all - the bandwidth usage hasn't been bad so far, and if it does get bad, I have a couple options with regard to alternative hosting situations. Thanks Rob From jm.vestier at ...11... Tue May 27 20:27:58 2003 From: jm.vestier at ...11... (jean-marie vestier) Date: Tue, 27 May 2003 20:27:58 +0200 Subject: [Gambas-user] DB and ./configure Message-ID: <3ED3AE2E.7050904@...11...> Hi , On a Mandrake 9.1 (new install) in the ./configure step, the files needed for mysql and postgresql are not found. Mysql and Postgresql are installed. I want to know which files are needed and which packages must be installed to be able to check my computer. Thank you very much for your help. jm.vestier ps: without database drivers gambas runs perfectly. From Gambasfr at ...11... Tue May 27 21:09:21 2003 From: Gambasfr at ...11... (Fabien) Date: Tue, 27 May 2003 21:09:21 +0200 Subject: [Gambas-user] My web site In-Reply-To: <200305262322.27235.jochen.georges@...22...> References: <200305262318.29828.Gambasfr@...11...> <200305262322.27235.jochen.georges@...22...> Message-ID: <200305272109.21439.Gambasfr@...11...> Le Lundi 26 Mai 2003 23:22, Jochen Georges a ?crit : > On Monday 26 May 2003 23:18, Fabien wrote: > > Hello all > > > > I've made my first tutorial page (in french)... not really the better off > > but... > > > > Tell me your means about it > > http://abidoo.too.free.fr > > > > Fabien > > hi fabien, > why don't you write for the "easy gambas doku"? > unfortunately i'm very busy at work, i have to do extra-hours, so actual > there's no time for me to do some gambas stuff :-( > but gambas develops fast and there is a big need of new chapters. > (i hope that i will have time in the near future) > > i think it is great if you make your side, but i am afraid, that we do some > work twice. > > beste gruesse > jochen > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Me too but... I've thinkabout a new structure for help. I promish you to make my tutorial based on your doku ! But ... I want to find a more simple way than you, with less work for the same thing. Don't be affraid, your work is not lost, when, i find the good structure, i think we can merge our idea to made a multi linguage, help. Fabien From Gambasfr at ...11... Tue May 27 21:14:56 2003 From: Gambasfr at ...11... (Fabien) Date: Tue, 27 May 2003 21:14:56 +0200 Subject: [Gambas-user] DB and ./configure In-Reply-To: <3ED3AE2E.7050904@...11...> References: <3ED3AE2E.7050904@...11...> Message-ID: <200305272114.56714.Gambasfr@...11...> Le Mardi 27 Mai 2003 20:27, jean-marie vestier a ?crit : > Hi , > On a Mandrake 9.1 (new install) in the ./configure step, the files > needed for mysql and postgresql are not found. > Mysql and Postgresql are installed. > I want to know which files are needed and which packages must be > installed to be able to check my computer. > Thank you very much for your help. > jm.vestier > ps: without database drivers gambas runs perfectly. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user You must to install the devel file of mysql, and PostgreSQL ! It work fine with the gambas-0.57 Fabien From sourceforge-raindog2 at ...94... Tue May 27 21:30:01 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 27 May 2003 15:30:01 -0400 Subject: [Gambas-user] DB and ./configure In-Reply-To: <3ED3AE2E.7050904@...11...> References: <3ED3AE2E.7050904@...11...> Message-ID: <200305271530.01144.sourceforge-raindog2@...94...> On Tuesday 27 May 2003 14:27, jean-marie vestier wrote: > On a Mandrake 9.1 (new install) in the ./configure step, the files > needed for mysql and postgresql are not found. > Mysql and Postgresql are installed. I haven't built RPM"s for 9.1 yet, but I remember at some point having to add some flag to the %configure line like --with-pgsql-libs=/usr/lib (probably not the actual line.) I'll see if I can build it this afternoon under 9.1 and let you know what I did. Rob From gambas at ...2... Tue May 27 21:47:49 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 27 May 2003 21:47:49 +0200 Subject: [Gambas-user] Printing In-Reply-To: <200305270858.30938.radoslav.dejanovic@...116...> References: <3ECEBB83.6090909@...149...> <3ED2CEDA.6030702@...149...> <200305270858.30938.radoslav.dejanovic@...116...> Message-ID: <200305272147.49563.gambas@...2...> Le Mardi 27 Mai 2003 08:58, Radoslav Dejanovic a ?crit : > On Tuesday 27 May 2003 04:35 am, Ken Schrock wrote: > > >But perhaps we should wait for Gambas to get some maturity on Linux > > > platform first, before migrating to other platforms? > > > > You mean wait until Gambas is big and ugly like VB 4.0 before it is > > ported? > > No, I'd be happy if it could compile out of the box on my SuSE :)) > This is the first thing why we should consider Gambas immature at this > point. While the language and underlying algorythms might be perfect, the > fact that it doesn't compile out of the box is really bad thing. It > prevents language from being included with distributions (SuSE has only > some old release, perhaps because of building troubles?), and the rapid > development stage (as is happening now) will prevent everyone but > experienced programmer from giving it a try. > > So what we have here, as I see it, are two things: disability to compile > out of the box, which is a bad, bad thing, and fast development, which is > just great. But these two do make Gambas immature. The first step should be > to try to solve building showstoppers. I agree with you. I develop on Mandrake 9.1, so it is easy for me to make gambas working on it. For the other systems, SuSE sent me a SuSE 8.1 for free, so I could check gambas on it, and I try to get RedHat when I can. I can't test on SuSE > 8.1. The big problem is that Linux evolves quickly, and that the different distributions do not hesitate to change many things between versions that breaks gambas compilation process. There is another problem in the dynamic library loader of Linux that seems to have problems with the way some libraries replaces symbols of other libraries. For example, KDE as its own malloc() implementation. As gambas loads QT and/or KDE by components, and not by using the linker, these bugs arise ! And there are very fews applications like gambas that deals with qt and/or kde this way. Another problem is Trolltech that easily changes the internal of Qt at each version without claiming it, and this breaks the gambas qt component. The last problem is the NVIDIA Open-GL driver that is buggy, because it cannot be loaded as a shared library without crashing. But don't worry, I think all these libraries and distributions will stabilize in the future. Free software is an adventure. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 27 21:56:49 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 27 May 2003 21:56:49 +0200 Subject: [Gambas-user] Problem on forms self-executable.. In-Reply-To: <200305261212.08259.dimitribellini@...69...> References: <200305261212.08259.dimitribellini@...69...> Message-ID: <200305272156.49291.gambas@...2...> Le Lundi 26 Mai 2003 14:12, Dimitri Bellini a ?crit : > Hi All > i have made very simple example with two textbox and one button but when i > run application exit immediatly it seems is problem of Self-Executable Form > i cant understand why i have thi s problem. > I use Gambas 0.57 compiled with MDK 9.1 without error. > Thanks in advance > > Dimitri Bellini > > PS: Rob is possible to have Unified Gambas GUI (MDI). > Hi Dimitri, Send me your project if you want me to find the problem. No italian translation anymore ? :-) -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Tue May 27 21:48:53 2003 From: girardhenri at ...67... (Henri Girard) Date: Tue, 27 May 2003 21:48:53 +0200 Subject: [Gambas-user] Printing References: <3ECEBB83.6090909@...149...> <3ED2CEDA.6030702@...149...> <200305270858.30938.radoslav.dejanovic@...116...> <200305272147.49563.gambas@...2...> Message-ID: Doesn't compile with redhat 9... Though configure works... did someone succeed ? Qxxx _PTR error in the gambas 057 ----- Original Message ----- From: "Benoit Minisini" To: Sent: Tuesday, May 27, 2003 9:47 PM Subject: Re: [Gambas-user] Printing Le Mardi 27 Mai 2003 08:58, Radoslav Dejanovic a ?crit : > On Tuesday 27 May 2003 04:35 am, Ken Schrock wrote: > > >But perhaps we should wait for Gambas to get some maturity on Linux > > > platform first, before migrating to other platforms? > > > > You mean wait until Gambas is big and ugly like VB 4.0 before it is > > ported? > > No, I'd be happy if it could compile out of the box on my SuSE :)) > This is the first thing why we should consider Gambas immature at this > point. While the language and underlying algorythms might be perfect, the > fact that it doesn't compile out of the box is really bad thing. It > prevents language from being included with distributions (SuSE has only > some old release, perhaps because of building troubles?), and the rapid > development stage (as is happening now) will prevent everyone but > experienced programmer from giving it a try. > > So what we have here, as I see it, are two things: disability to compile > out of the box, which is a bad, bad thing, and fast development, which is > just great. But these two do make Gambas immature. The first step should be > to try to solve building showstoppers. I agree with you. I develop on Mandrake 9.1, so it is easy for me to make gambas working on it. For the other systems, SuSE sent me a SuSE 8.1 for free, so I could check gambas on it, and I try to get RedHat when I can. I can't test on SuSE > 8.1. The big problem is that Linux evolves quickly, and that the different distributions do not hesitate to change many things between versions that breaks gambas compilation process. There is another problem in the dynamic library loader of Linux that seems to have problems with the way some libraries replaces symbols of other libraries. For example, KDE as its own malloc() implementation. As gambas loads QT and/or KDE by components, and not by using the linker, these bugs arise ! And there are very fews applications like gambas that deals with qt and/or kde this way. Another problem is Trolltech that easily changes the internal of Qt at each version without claiming it, and this breaks the gambas qt component. The last problem is the NVIDIA Open-GL driver that is buggy, because it cannot be loaded as a shared library without crashing. But don't worry, I think all these libraries and distributions will stabilize in the future. Free software is an adventure. -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2... Tue May 27 21:58:44 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 27 May 2003 21:58:44 +0200 Subject: [Gambas-user] DB and ./configure In-Reply-To: <3ED3AE2E.7050904@...11...> References: <3ED3AE2E.7050904@...11...> Message-ID: <200305272158.44900.gambas@...2...> Le Mardi 27 Mai 2003 20:27, jean-marie vestier a ?crit : > Hi , > On a Mandrake 9.1 (new install) in the ./configure step, the files > needed for mysql and postgresql are not found. > Mysql and Postgresql are installed. > I want to know which files are needed and which packages must be > installed to be able to check my computer. > Thank you very much for your help. > jm.vestier > ps: without database drivers gambas runs perfectly. > > Hi, You may have forgotten the development packages ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Tue May 27 22:02:06 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 27 May 2003 22:02:06 +0200 Subject: [Gambas-user] character code ?? In-Reply-To: <3ED24DEE.4090504@...20...> References: <200305190052.40576.schrockk@...137...> <200305212017.50477.schrockk@...137...> <3ED24DEE.4090504@...20...> Message-ID: <200305272202.06335.gambas@...2...> Le Lundi 26 Mai 2003 19:25, Klaus Schumacher a ?crit : > Hello everybody, > I've done a small program in gambas 0.44 which reads a file with data > form my palm, converted with the tool pdb2csv. Now I've updated gambas > and the german characters (?,?, ?) in the file are not longer readable. > I suppose it's because of the UTF-8 charset changing since 0.50 ?! > But what can I do ? > > Klaus > Hi Klaus, You canuse the Conv$() function that can convert from any charset to any other charset. Now in Gambas, all qt controls use UTF-8. Every string coming from and sent to the interface are in UTF-8. Every string sent to a terminal, or into a database are sent as is, so you must be careful with the charset of the data destination. For example, for putting a file downloaded from a palm into a textbox, you may have to do the following : MyTextBox.Text = Conv$(MyPalmData, "ISO-8859-1", "UTF-8") Tell me if it works, Regards, -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Tue May 27 21:59:34 2003 From: girardhenri at ...67... (Henri Girard) Date: Tue, 27 May 2003 21:59:34 +0200 Subject: [Gambas-user] make error while compiling... References: <3ECEBB83.6090909@...149...> <3ED2CEDA.6030702@...149...> <200305270858.30938.radoslav.dejanovic@...116...> <200305272147.49563.gambas@...2...> Message-ID: on redhat 9 : gambas 057 ./configure (no problem) make error 2 i haven't seen the exact text (sorry) something like ..Qxxx _PTR error in the gambas 057 but I think those who tried might have had same troubles ? HG ----- Original Message ----- From: "Henri Girard" To: Sent: Tuesday, May 27, 2003 9:48 PM Subject: Re: [Gambas-user] Printing > Doesn't compile with redhat 9... Though configure works... > did someone succeed ? > Qxxx _PTR error in the gambas 057 > > ----- Original Message ----- > From: "Benoit Minisini" > To: > Sent: Tuesday, May 27, 2003 9:47 PM > Subject: Re: [Gambas-user] Printing > > > Le Mardi 27 Mai 2003 08:58, Radoslav Dejanovic a ?crit : > > On Tuesday 27 May 2003 04:35 am, Ken Schrock wrote: > > > >But perhaps we should wait for Gambas to get some maturity on Linux > > > > platform first, before migrating to other platforms? > > > > > > You mean wait until Gambas is big and ugly like VB 4.0 before it is > > > ported? > > > > No, I'd be happy if it could compile out of the box on my SuSE :)) > > This is the first thing why we should consider Gambas immature at this > > point. While the language and underlying algorythms might be perfect, the > > fact that it doesn't compile out of the box is really bad thing. It > > prevents language from being included with distributions (SuSE has only > > some old release, perhaps because of building troubles?), and the rapid > > development stage (as is happening now) will prevent everyone but > > experienced programmer from giving it a try. > > > > So what we have here, as I see it, are two things: disability to compile > > out of the box, which is a bad, bad thing, and fast development, which is > > just great. But these two do make Gambas immature. The first step should > be > > to try to solve building showstoppers. > > I agree with you. > > I develop on Mandrake 9.1, so it is easy for me to make gambas working on > it. > > For the other systems, SuSE sent me a SuSE 8.1 for free, so I could check > gambas on it, and I try to get RedHat when I can. I can't test on SuSE > > 8.1. > > The big problem is that Linux evolves quickly, and that the different > distributions do not hesitate to change many things between versions that > breaks gambas compilation process. > > There is another problem in the dynamic library loader of Linux that seems > to > have problems with the way some libraries replaces symbols of other > libraries. For example, KDE as its own malloc() implementation. As gambas > loads QT and/or KDE by components, and not by using the linker, these bugs > arise ! And there are very fews applications like gambas that deals with qt > and/or kde this way. > > Another problem is Trolltech that easily changes the internal of Qt at each > version without claiming it, and this breaks the gambas qt component. > > The last problem is the NVIDIA Open-GL driver that is buggy, because it > cannot > be loaded as a shared library without crashing. > > But don't worry, I think all these libraries and distributions will > stabilize > in the future. > > Free software is an adventure. > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your application fit in a > relational database is painful, don't do it! Check out ObjectStore. > Now part of Progress Software. http://www.objectstore.net/sourceforge > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From d.dibuduo at ...151... Tue May 27 22:03:39 2003 From: d.dibuduo at ...151... (Davide Di Buduo) Date: Tue, 27 May 2003 22:03:39 +0200 Subject: [Gambas-user] DB and ./configure In-Reply-To: <200305272158.44900.gambas@...2...> References: <3ED3AE2E.7050904@...11...> <200305272158.44900.gambas@...2...> Message-ID: <200305272203.39734.d.dibuduo@...151...> I've always configured and compiled gambas without any problem on Mandrake 9.1 With all the correct development packages installed for mysql and pgsql i've found that the best way to configure is with a command like this ./configure --with-pgsql-libraries=/usr/lib/pgsql/ and all is ok. Hope this helps and a GREEEAAAATTT thanks to all folks aout there for a so good job !!! Alle 21:58, marted? 27 maggio 2003, Benoit Minisini ha scritto: > Le Mardi 27 Mai 2003 20:27, jean-marie vestier a ?crit : > > Hi , > > On a Mandrake 9.1 (new install) in the ./configure step, the files > > needed for mysql and postgresql are not found. > > Mysql and Postgresql are installed. > > I want to know which files are needed and which packages must be > > installed to be able to check my computer. > > Thank you very much for your help. > > jm.vestier > > ps: without database drivers gambas runs perfectly. > > Hi, > > You may have forgotten the development packages ? From dimitribellini at ...69... Wed May 28 00:37:15 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Tue, 27 May 2003 22:37:15 +0000 Subject: [Gambas-user] Problem on forms self-executable.. In-Reply-To: <200305272156.49291.gambas@...2...> References: <200305261212.08259.dimitribellini@...69...> <200305272156.49291.gambas@...2...> Message-ID: <200305272237.15958.dimitribellini@...69...> Hi Benoit > Send me your project if you want me to find the problem. My "project" is a simple 3 line of code: '---------------------------------------------- ' Gambas class file STATIC PUBLIC SUB Main() END PUBLIC SUB Button1_Click() textbox1.text=textbox2.text*textbox1.text END '---------------------------------------------- Is not correct with the new Gambas Self-Executable feature? > > No italian translation anymore ? :-) I send you the new version in few days...im in trouble with my Visual Basic work... :-( I want use Gambas ...eheheh Thanks in advance Dimitri Bellini From gambas at ...2... Tue May 27 22:56:25 2003 From: gambas at ...2... (Benoit Minisini) Date: Tue, 27 May 2003 22:56:25 +0200 Subject: [Gambas-user] Problem on forms self-executable.. In-Reply-To: <200305272237.15958.dimitribellini@...69...> References: <200305261212.08259.dimitribellini@...69...> <200305272156.49291.gambas@...2...> <200305272237.15958.dimitribellini@...69...> Message-ID: <200305272256.25194.gambas@...2...> Le Mercredi 28 Mai 2003 00:37, Dimitri Bellini a ?crit : > Hi Benoit > > > Send me your project if you want me to find the problem. > > My "project" is a simple 3 line of code: > '---------------------------------------------- > ' Gambas class file > STATIC PUBLIC SUB Main() > > END > Remove your own Main() function, because it overloads the internal Main() function of the class Form, and so nothing happens ! -- Benoit Minisini mailto:gambas at ...1... From jm.vestier at ...11... Tue May 27 23:48:24 2003 From: jm.vestier at ...11... (jean-marie vestier) Date: Tue, 27 May 2003 23:48:24 +0200 Subject: [Gambas-user] DB and ./configure References: <3ED3AE2E.7050904@...11...> <200305272158.44900.gambas@...2...> <200305272203.39734.d.dibuduo@...151...> Message-ID: <3ED3DD28.3070405@...11...> Davide Di Buduo a ?crit: >I've always configured and compiled gambas without any problem on Mandrake 9.1 >With all the correct development packages installed for mysql and pgsql i've >found that the best way to configure is with a command like this >./configure --with-pgsql-libraries=/usr/lib/pgsql/ >and all is ok. > >Hope this helps >and a GREEEAAAATTT thanks to all folks aout there for a so good job !!! > > > i had installed the development package of postgresql (i have met this point earlyer with another program) i have checked the command you wrote and now, the missing files are the include files. i have used the rpm of mandrake 9.1 power pack could you please tell me if you used also the same rpm, or did you install the devel package from another source? thanks a lot for all the answers jm.vestier From dimitribellini at ...69... Wed May 28 02:48:56 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Wed, 28 May 2003 00:48:56 +0000 Subject: [Gambas-user] Problem on forms self-executable.. In-Reply-To: <200305272256.25194.gambas@...2...> References: <200305261212.08259.dimitribellini@...69...> <200305272237.15958.dimitribellini@...69...> <200305272256.25194.gambas@...2...> Message-ID: <200305280048.56079.dimitribellini@...69...> > > My "project" is a simple 3 line of code: > > '---------------------------------------------- > > ' Gambas class file > > STATIC PUBLIC SUB Main() > > > > END > > Remove your own Main() function, because it overloads the internal Main() > function of the class Form, and so nothing happens ! Hi Benoit thanks now works great but i notice this strange event ... When i Create new Form and I set "Startup class" in Fgo.class i have automaticaly : > > '---------------------------------------------- > > ' Gambas class file > > STATIC PUBLIC SUB Main() > > > > END > if i remove this "Main" press "F5" and work ... but if i create a new Form without a "startup Class" flag in Fgo.class i not have auto "Sub MAin". Is correct syntax? Thanks Dimitri Bellini From karl.reinl at ...9... Wed May 28 20:29:55 2003 From: karl.reinl at ...9... (Charlie) Date: Wed, 28 May 2003 20:29:55 +0200 Subject: [Gambas-user] for statistics Message-ID: <3ED50023.5070404@...9...> Salut, had a succesfull installation ( 0.57) on a SuSE 8.0 without any problems. But the DBM crash clicking to a table for opening. Had just a short go on it. Charlie From xingotiger at ...67... Wed May 28 21:01:29 2003 From: xingotiger at ...67... (Joseph Montanez) Date: Wed, 28 May 2003 19:01:29 +0000 Subject: [Gambas-user] OpenGL? Message-ID: I was wondering if anyone knows if opengl in gambas is possible and if so if anyone got any examples... _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From d.dibuduo at ...151... Wed May 28 21:53:15 2003 From: d.dibuduo at ...151... (Davide Di Buduo) Date: Wed, 28 May 2003 21:53:15 +0200 Subject: [Gambas-user] DB and ./configure In-Reply-To: <3ED3DD28.3070405@...11...> References: <3ED3AE2E.7050904@...11...> <200305272203.39734.d.dibuduo@...151...> <3ED3DD28.3070405@...11...> Message-ID: <200305282153.15284.d.dibuduo@...151...> In the attached file you'll find the list of my installed packages regarding "sql". I'm using a basic mandrake 9.1 Hope this helps Alle 23:48, marted? 27 maggio 2003, jean-marie vestier ha scritto: > > i had installed the development package of postgresql (i have met this > point earlyer with another program) > i have checked the command you wrote and now, the missing files are the > include files. > i have used the rpm of mandrake 9.1 power pack > could you please tell me if you used also the same rpm, or did you > install the devel package from another source? > thanks a lot for all the answers > jm.vestier -------------- next part -------------- A non-text attachment was scrubbed... Name: InstalledPackages.png Type: image/png Size: 34480 bytes Desc: not available URL: From gambas at ...2... Thu May 29 11:47:24 2003 From: gambas at ...2... (Benoit Minisini) Date: Thu, 29 May 2003 11:47:24 +0200 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305251847.53696.sourceforge-raindog2@...94...> References: <200305251738.08521.gambas@...2...> <200305252349.18156.gambas@...2...> <200305251847.53696.sourceforge-raindog2@...94...> Message-ID: <200305291147.24319.gambas@...2...> Le Lundi 26 Mai 2003 00:47, Rob a ?crit : > On Sunday 25 May 2003 17:49, Benoit Minisini wrote: > > > I got "FMain.ws is static". Did I get the syntax wrong? > > > > No idea what is wrong ! Send me your project. > > Thanks! You can grab it at http://www.kudla.org/gambas-mdi-project.tar.gz > > I'll be happy to email you if you have any difficulty getting it. > > Rob > I have strange ideas sometimes :-) In gambas, you cannot access a static member from an object reference. You must use the class name. Instead of using 'ProjectForm.ws', you must use 'FMain.ws'. Or you can make 'ws' non static. This behaviour may change in the future, because it is not usual ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Wed May 28 22:07:44 2003 From: gambas at ...2... (Benoit Minisini) Date: Wed, 28 May 2003 22:07:44 +0200 Subject: [Gambas-user] DB and ./configure In-Reply-To: <3ED3DD28.3070405@...11...> References: <3ED3AE2E.7050904@...11...> <200305272203.39734.d.dibuduo@...151...> <3ED3DD28.3070405@...11...> Message-ID: <200305282207.44911.gambas@...2...> Le Mardi 27 Mai 2003 23:48, jean-marie vestier a ?crit : > i had installed the development package of postgresql (i have met this > point earlyer with another program) > i have checked the command you wrote and now, the missing files are the > include files. > i have used the rpm of mandrake 9.1 power pack > could you please tell me if you used also the same rpm, or did you > install the devel package from another source? > thanks a lot for all the answers > jm.vestier > I have install the original packages. Here is the postgresql packages I have installed : postgresql-7.3.2-5mdk postgresql-devel-7.3.2-5mdk postgresql-server-7.3.2-5mdk (for testing with a server) -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Thu May 29 17:47:05 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 29 May 2003 11:47:05 -0400 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305291147.24319.gambas@...2...> References: <200305251738.08521.gambas@...2...> <200305251847.53696.sourceforge-raindog2@...94...> <200305291147.24319.gambas@...2...> Message-ID: <200305291147.05571.sourceforge-raindog2@...94...> On Thursday 29 May 2003 05:47, Benoit Minisini wrote: > Instead of using 'ProjectForm.ws', you must use 'FMain.ws'. > Or you can make 'ws' non static. Thanks, that was all it took! http://www.kudla.org/gambas-mdi.png It's not entirely stable yet (like if you maximize it and then exit, about 66% of the time the next time you try to run it it exits without error, and I haven't gotten round to figuring out how to save the MDI subforms' positions each time) but VB5/6 lovers should dig this. I would want to add a preference thing to control MDI/non-MDI since there were only like 10 changed lines of code plus dropping a splitter on the form to do this. Anyone who wants it in the meantime, with no support and with the understanding that this is in no way meant to be the real gambas IDE, let me know and I'll put it up on my site. I can't even fathom how you managed to write this so cleanly, Benoit. Thanks again. Rob From Gambasfr at ...11... Thu May 29 19:42:28 2003 From: Gambasfr at ...11... (Fabien) Date: Thu, 29 May 2003 19:42:28 +0200 Subject: [Gambas-user] OpenGL? In-Reply-To: References: Message-ID: <200305291942.28472.Gambasfr@...11...> Le Mercredi 28 Mai 2003 21:01, Joseph Montanez a ?crit : > I was wondering if anyone knows if opengl in gambas is possible and if so > if anyone got any examples... No it's not possible, today... but if you want to make a sp?cific lib... you are welcome ! Fabien From dimitribellini at ...69... Thu May 29 22:13:44 2003 From: dimitribellini at ...69... (Dimitri Bellini) Date: Thu, 29 May 2003 20:13:44 +0000 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305291147.05571.sourceforge-raindog2@...94...> References: <200305251738.08521.gambas@...2...> <200305291147.24319.gambas@...2...> <200305291147.05571.sourceforge-raindog2@...94...> Message-ID: <200305292013.44614.dimitribellini@...69...> On Thursday 29 May 2003 15:47, Rob wrote: > On Thursday 29 May 2003 05:47, Benoit Minisini wrote: > > Instead of using 'ProjectForm.ws', you must use 'FMain.ws'. > > Or you can make 'ws' non static. > > Thanks, that was all it took! > > http://www.kudla.org/gambas-mdi.png > Great!!!!! thanks for your work ... Please add a link to download this when is possible. Bye Dimitri From sourceforge-raindog2 at ...94... Thu May 29 21:01:40 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 29 May 2003 15:01:40 -0400 Subject: [Gambas-user] gambas 0.57 In-Reply-To: <200305292013.44614.dimitribellini@...69...> References: <200305251738.08521.gambas@...2...> <200305291147.05571.sourceforge-raindog2@...94...> <200305292013.44614.dimitribellini@...69...> Message-ID: <200305291501.40943.sourceforge-raindog2@...94...> On Thursday 29 May 2003 16:13, Dimitri Bellini wrote: > > http://www.kudla.org/gambas-mdi.png > Great!!!!! thanks for your work ... Please add a link to download this when > is possible. I put it on my front page, http://www.kudla.org (currently the first article.) Good luck.... Rob From nigel at ...38... Thu May 29 22:15:40 2003 From: nigel at ...38... (Nigel GERRARD) Date: Thu, 29 May 2003 21:15:40 +0100 Subject: [Gambas-user] Gambas 0.57 Compilation on Mandrake 9.1 Message-ID: <001401c3261f$61fcb960$020a0a0a@...55...> Thought I'd post this information...although I don't believe anyone has encountered this problem. I updated Mandrake from 9.0 to 9.1 prior to installing Gambas 0.57 and had a problem with the compiler not being able to find libfam.la. I needed to ensure that the libfam0-devel-2.6.9-5mdk package was installed. I don't believe that this is listed in the README as a dependency. Nigel -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gambasfr at ...11... Fri May 30 00:30:09 2003 From: Gambasfr at ...11... (Fabien) Date: Fri, 30 May 2003 00:30:09 +0200 Subject: [Gambas-user] Gambas 0.57 Compilation on Mandrake 9.1 In-Reply-To: <001401c3261f$61fcb960$020a0a0a@...55...> References: <001401c3261f$61fcb960$020a0a0a@...55...> Message-ID: <200305300030.09770.Gambasfr@...11...> Le Jeudi 29 Mai 2003 22:15, Nigel GERRARD a ?crit : > Thought I'd post this information...although I don't believe anyone has > encountered this problem. > > I updated Mandrake from 9.0 to 9.1 prior to installing Gambas 0.57 and had > a problem with the compiler not being able to find libfam.la. I needed to > ensure that the libfam0-devel-2.6.9-5mdk package was installed. I don't > believe that this is listed in the README as a dependency. > > Nigel I've find the same problem too, kde need this package to compile. It's a demon for the file change notification. Fabien From gambas at ...2... Fri May 30 01:28:06 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 30 May 2003 01:28:06 +0200 Subject: [Gambas-user] I've Found a bug ...I think In-Reply-To: <200305232054.41039.Gambasfr@...11...> References: <3ECD21A6.5020607@...137...> <200305230032.24500.gambas@...2...> <200305232054.41039.Gambasfr@...11...> Message-ID: <200305300128.06784.gambas@...2...> Le Vendredi 23 Mai 2003 20:54, Fabien a ?crit : > Hello to all > > For Benoit... > > I think there is a bug in the ide... > > For the exemple : > > in a form put a panel > > in this panel put a textbox or a comboBrox... > > Change the pane foreground value... > after that all the control put in the panel take the same foreground value, > and if you add a new one , it's the same.... > > Fabien > > There is a bug, but in the property panel. By default, each control has the background and foreground of its parent. Instead of displaying nothing in the background and foreground field in this case, the property panel displays the real color value. So users are confused when they change the parent color and when they see the color of the children change in the same way ! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Fri May 30 01:31:15 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 30 May 2003 01:31:15 +0200 Subject: [Gambas-user] DB-manager 0.57 exit unexpectedly In-Reply-To: <5D975F8D8CDED5119E140008C733B12A3C66@...134...> References: <5D975F8D8CDED5119E140008C733B12A3C66@...134...> Message-ID: <200305300131.15065.gambas@...2...> Le Lundi 26 Mai 2003 08:57, Saman Sjukur a ?crit : > Hallo there, > > The DB Manager exit unexpectedly every time after I reach the last field in > table when I adding a new record. > Any suggest ? > > Saman Sjukur > > Hi Saman, I've finally understood what the bug you have found is. This (stupid) bug appears only with mysql, not with postgresql - For Nigel: the bug is in the component, not in the driver :-) The fix will be in the next version. -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Fri May 30 14:58:32 2003 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 30 May 2003 08:58:32 -0400 Subject: [Gambas-user] Re: [Gambas-devel] how to create an mdi form? In-Reply-To: <3ED6FCC8.3010403@...152...> References: <3ED6FCC8.3010403@...152...> Message-ID: <200305300858.32675.sourceforge-raindog2@...94...> On Friday 30 May 2003 02:40, andrea wrote: > Please tell me how to create an mdi form, i'm a beginner..but i know VB > and i want to create a database environment like access In the tool palette of gambas 0.57 at the bottom you'll find a "Workspace" component. Drop it on your form, size it appropriately, and then put other controls inside it. Voila, instant MDI app. Better yet, if you already have controls on a form, you can cut and paste them into the Workspace control and it will all Just Work(tm), at least as far as I can tell. However, if you're trying to build an Access lookalike you should take a look at the gambas database manager app, whose source comes with gambas. It's already an MDI app written in Gambas and is about a third of the way towards where you want to get. (Actually, to really duplicate Access' functionality you'd have to integrate most of the Gambas IDE's features as well as design a reporting component. Not that I think it's impossible at all; I was just posting about such a possibility on another mailing list where someone was looking for long term Access alternatives.) By the way, if you're not on the gambas-user list, please join. Gambas-devel is meant for discussion of changes to Gambas itself, not programming in Gambas. Gambas-user is for discussion of programming in Gambas and if we talk about this any more we should probably do it there. Rob From xingotiger at ...67... Fri May 30 21:36:54 2003 From: xingotiger at ...67... (Joseph Montanez) Date: Fri, 30 May 2003 19:36:54 +0000 Subject: [Gambas-user] OpenGL? Message-ID: How would I make a specific lib or least get started in the right direction to get opengl to work in it? _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From gambas at ...2... Fri May 30 23:39:19 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 30 May 2003 23:39:19 +0200 Subject: [Gambas-user] problems with gambas-0.57 Message-ID: <200305302339.19989.gambas@...2...> Hi everybody, I have uploaded a pre-version of gambas 0.58 there: http://gambas.sourceforge.net/gambas-0.58pre1.tar.gz Could SuSE users, gentoo users, and others that can't compile gambas because of a crash during the generation of *.info file download it, test it, and tell me the result ? I have changed the way dynamic libraries are loaded. I hope it will change something somewhere ! Thanks in advance, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...2... Fri May 30 23:31:42 2003 From: gambas at ...2... (Benoit Minisini) Date: Fri, 30 May 2003 23:31:42 +0200 Subject: [Gambas-user] OpenGL? In-Reply-To: References: Message-ID: <200305302331.42442.gambas@...2...> Le Vendredi 30 Mai 2003 21:36, Joseph Montanez a ?crit : > How would I make a specific lib or least get started in the right direction > to get opengl to work in it? > Can you program in C ? -- Benoit Minisini mailto:gambas at ...1... From cmcpero at ...142... Sat May 31 04:46:09 2003 From: cmcpero at ...142... (Jean-Francois Perreault) Date: Fri, 30 May 2003 22:46:09 -0400 Subject: [Gambas-user] problems with gambas-0.57 In-Reply-To: <200305302339.19989.gambas@...2...> References: <200305302339.19989.gambas@...2...> Message-ID: <3ED81771.1080805@...142...> Hi, sorry , it fails the same way , I can give you a ssh access on a dev box I'm trying to get gambas working on if you want to fiddle with it to find out what is wrong with our systems Benoit Minisini wrote: >Hi everybody, > >I have uploaded a pre-version of gambas 0.58 there: > >http://gambas.sourceforge.net/gambas-0.58pre1.tar.gz > >Could SuSE users, gentoo users, and others that can't compile gambas because >of a crash during the generation of *.info file download it, test it, and >tell me the result ? > >I have changed the way dynamic libraries are loaded. I hope it will change >something somewhere ! > >Thanks in advance, > > > -- -------------------- Jean-Francois Perreault NanoTech Informatique UIN 783056 cmcpero at ...142... From gambas at ...2... Sat May 31 10:41:06 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 31 May 2003 10:41:06 +0200 Subject: [Gambas-user] problems with gambas-0.57 In-Reply-To: <3ED81771.1080805@...142...> References: <200305302339.19989.gambas@...2...> <3ED81771.1080805@...142...> Message-ID: <200305311041.06620.gambas@...2...> Le Samedi 31 Mai 2003 04:46, Jean-Francois Perreault a ?crit : > Hi, > sorry , it fails the same way , I can give you a ssh access on a dev box > I'm trying to get gambas working on if you want to fiddle with it to > find out what is wrong with our systems > This is a good idea Jean-Fran?ois, send me address and password at gambas at ...52... I think this is aproblem with the way SuSE and gentoo compile the KDE library. Could you tell me, on gentoo, how you choose the compilation parameters of the KDE libraries ? Regards, -- Benoit Minisini mailto:gambas at ...1... From xingotiger at ...67... Sat May 31 20:15:29 2003 From: xingotiger at ...67... (Joseph Montanez) Date: Sat, 31 May 2003 18:15:29 +0000 Subject: [Gambas-user] OpenGL? Message-ID: I haven't used C in a while but I am sure it not hard to catch up again.... _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From clschmid at ...17... Sat May 31 21:31:37 2003 From: clschmid at ...17... (Claus) Date: Sat, 31 May 2003 21:31:37 +0200 Subject: [Gambas-user] GAMBAS 0.57 Type mismatch... Message-ID: <200305312131.37547.clschmid@...17...> Hi, I have a problem with the EXEC Command in the GAMBAS-Version 0.57. I' ve tried to execute a programm via the shell, but GAMBAS always shows the following error: Type mismatch: wanted Sting[], got String instead What is going wrong there ?? Claus Here is the example Code with the Error-Line marked. STATIC PUBLIC SUB Main() myform AS Form myform = NEW Ftest1 myform.show() END PRIVATE myProcess AS Process '------------------------------------------------ PUBLIC SUB _new() ME.Title = "Working with EXEC" ComboBox1.add("gambas") ComboBox1.add("ls") ComboBox1.add("kwrite") END '------------------------------------------------ ' start it PUBLIC SUB btnFire_Click() IF Trim(ComboBox1.Text) <> "" THEN 'Trim strips the whitespaces from a string TextArea1.Text = "" TextArea2.Text = "" ' call it ' ************ Here comes the error ******************* EXEC ComboBox1.Text FOR READ WRITE AS myProcess ELSE TextArea1.Text = "please choose or enter a program to execute" ENDIF END '------------------------------------------------------------- PUBLIC SUB btnClose_Click() ME.Close() END '------------------------------------------------ ' if something is coming back ' the event 'Process.Write' of the class process calls this function PUBLIC SUB Process_Write(sData AS String) TextArea2.Text = " Process '" & myProcess.command & "' " & sData END '------------------------------------------------ ' if an error occurrs ' the event 'Process.Error' of the class process calls this function PUBLIC SUB Process_Error(sData AS String) TextArea1.Text = " Process '" & myProcess.command & "' " & sData END '------------------------------------------------ ' if the process is killed ' the event 'Process.Kill' of the class process calls this function PUBLIC SUB Process_Kill() myProcess = NULL END From gambas at ...2... Sat May 31 22:32:16 2003 From: gambas at ...2... (Benoit Minisini) Date: Sat, 31 May 2003 22:32:16 +0200 Subject: [Gambas-user] GAMBAS 0.57 Type mismatch... In-Reply-To: <200305312131.37547.clschmid@...17...> References: <200305312131.37547.clschmid@...17...> Message-ID: <200305312232.16801.gambas@...2...> Le Samedi 31 Mai 2003 21:31, Claus a ?crit : > Hi, > > I have a problem with the EXEC Command in the GAMBAS-Version 0.57. > I' ve tried to execute a programm via the shell, but GAMBAS always shows > the following error: > > Type mismatch: wanted Sting[], got String instead > > What is going wrong there ?? > > Claus > Hi Claus, EXEC needs a string array as its first argument, not only a string like SHELL. Instead of doing: EXEC ComboBox1.Text FOR READ WRITE AS myProcess do that: EXEC [ ComboBox1.Text ] FOR READ WRITE AS myProcess [ & ] can be used for creating arrays: see the Array entry in the gambas encyclopaedia. Regards, -- Benoit Minisini mailto:gambas at ...1...