From leo.barnhoorn at ...246... Sun Aug 1 00:36:37 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 1 Aug 2004 00:36:37 +0200 Subject: [Gambas-user] Help with graphics. Message-ID: <200408010036.37457.leo.barnhoorn@...246...> Hello All, I have a problem with graphics and like a little help. I'm drawing a font on a drawingarea and want for each character a different backgrond color. I do not know or this is possible. I include the example i'm working on. Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: Test-0.0.1.tar.gz Type: application/x-tgz Size: 4364 bytes Desc: not available URL: From budi at ...415... Sun Aug 1 06:06:08 2004 From: budi at ...415... (budi at ...415...) Date: Sun, 1 Aug 2004 11:06:08 +0700 Subject: [Gambas-user] SPEED NEEDED !!! In-Reply-To: <200408010036.37457.leo.barnhoorn@...246...> References: <200408010036.37457.leo.barnhoorn@...246...> Message-ID: <1091333168.410c6c305e4e5@...416...> Hi Benoit, Can gambas run on previous version of mandrake (Version 7.x) ? I'm now figuring out to create multi user app. so, if i can use that version (not 10), the speed of Linux OS operation will be faster using P4 Processor. It's actually about booting time taken for OS to be ready to use untill the desktop is fully loaded. Thanks, Budi From sourceforge-raindog2 at ...94... Sun Aug 1 07:16:37 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 1 Aug 2004 01:16:37 -0400 Subject: [Gambas-user] SPEED NEEDED !!! In-Reply-To: <1091333168.410c6c305e4e5@...416...> References: <200408010036.37457.leo.barnhoorn@...246...> <1091333168.410c6c305e4e5@...416...> Message-ID: <200408010116.37804.sourceforge-raindog2@...94...> On Sunday 01 August 2004 00:06, budi at ...415... wrote: > Can gambas run on previous version of mandrake (Version 7.x) ? > I'm now figuring out to create multi user app. so, if i can > use that version (not 10), the speed of Linux OS operation > will be faster using P4 Processor. It's actually about booting > time taken for OS to be ready to use untill the desktop is > fully loaded. Mandrake 7.x didn't even have Qt 2.x, let alone 3.x which is what Gambas needs. If you did all the stuff you needed to do in order to get Qt 3 working in Mandrake 7.2, I think the speed advantages would be negated anyway (and you'd probably be running sort of a frankenstein 7.2/9.x version of Mandrake.) Better to take a Mandrake 9.2 or 10.0 installation and strip it down as much as possible. It's actually easier to strip down 9.0 and above than it was to strip down 8.2 and earlier. Rob From sdnpaolo at ...69... Sun Aug 1 19:08:01 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Sun, 01 Aug 2004 19:08:01 +0200 Subject: [Gambas-user] Drawing area problems Message-ID: <410D2371.5020304@...69...> Hi everybody, the attached example raise an error when I zoom (at least trhee times) on a chart created using a drawing area. The MouseMove() routine draws lots of rectangles in Inverted mode. Here the errors I get: Message box : "The program has stopped unexpectedly by raising signal #11" Console : QWidget (unnamed): deleted while being painted QPaintDevice: Cannot destroy paint device that is being painted Thanks, Paolo -------------- next part -------------- A non-text attachment was scrubbed... Name: draw-0.0.2.tar.gz Type: application/x-gzip Size: 3882 bytes Desc: not available URL: From gambas at ...1... Sun Aug 1 19:24:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 1 Aug 2004 19:24:14 +0200 Subject: [Gambas-user] Drawing area problems In-Reply-To: <410D2371.5020304@...69...> References: <410D2371.5020304@...69...> Message-ID: <200408011924.14837.gambas@...1...> On Sunday 01 August 2004 19:08, Paolo Saudin wrote: > Hi everybody, > > the attached example raise an error when I zoom (at least trhee times) on a > chart created using a drawing area. The MouseMove() routine draws lots of > rectangles in Inverted mode. Here the errors I get: > Message box : "The program has stopped unexpectedly by raising signal #11" > Console : QWidget (unnamed): deleted while being painted > QPaintDevice: Cannot destroy paint device that is being painted > > Thanks, > Paolo I get a "Divison by zero" error - I think the zoom is too important for your calculations. But no gambas crash. Which version of Gambas do you use ? -- Benoit Minisini mailto:gambas at ...1... From sdnpaolo at ...69... Sun Aug 1 19:47:21 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Sun, 01 Aug 2004 19:47:21 +0200 Subject: [Gambas-user] Drawing area problems In-Reply-To: <200408011924.14837.gambas@...1...> References: <410D2371.5020304@...69...> <200408011924.14837.gambas@...1...> Message-ID: <410D2CA9.90505@...69...> I use Gambas 0.95 on Knoppix 3.4, It happens you can get a "division by zero" error if you zoom more than once, I still have to fix it. To reproduce the error zoom back and forward (draw a rectangle from left to right[zoom+] and then from right to left[zoom-]) for about seven times. Thanks Benoit Minisini wrote: >On Sunday 01 August 2004 19:08, Paolo Saudin wrote: > > >>Hi everybody, >> >>the attached example raise an error when I zoom (at least trhee times) on a >>chart created using a drawing area. The MouseMove() routine draws lots of >>rectangles in Inverted mode. Here the errors I get: >>Message box : "The program has stopped unexpectedly by raising signal #11" >>Console : QWidget (unnamed): deleted while being painted >> QPaintDevice: Cannot destroy paint device that is being painted >> >>Thanks, >>Paolo >> >> > >I get a "Divison by zero" error - I think the zoom is too important for your >calculations. But no gambas crash. > >Which version of Gambas do you use ? > > > From gambas at ...1... Sun Aug 1 21:45:39 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 1 Aug 2004 21:45:39 +0200 Subject: [Gambas-user] Drawing area problems In-Reply-To: <410D2CA9.90505@...69...> References: <410D2371.5020304@...69...> <200408011924.14837.gambas@...1...> <410D2CA9.90505@...69...> Message-ID: <200408012145.39483.gambas@...1...> On Sunday 01 August 2004 19:47, Paolo Saudin wrote: > I use Gambas 0.95 on Knoppix 3.4, > It happens you can get a "division by zero" error if you zoom more than > once, I still have to fix it. > To reproduce the error zoom back and forward (draw a rectangle from left > to right[zoom+] and then from right to left[zoom-]) for about seven times. > Thanks > OK. Gambas crashes instead of displaying the error message "Too many imbricated drawings". I will fix that in the next version. Acutally, there is a bug in your program: you forgot to call Draw.End after a Draw.Begin. The game is to find where :-) Anymway, it is unnecessary to call Draw.Begin/Draw.End so often as you did. For example, you could remove the calls in DrawPoint(), because each function that called it already did the Draw.Begin/Draw.End calls. Regards, -- Benoit Minisini mailto:gambas at ...1... From daydreamer at ...508... Sun Aug 1 22:45:52 2004 From: daydreamer at ...508... (daydreamer) Date: Sun, 01 Aug 2004 22:45:52 +0200 Subject: [Gambas-user] play mp3s Message-ID: <410D5680.1040606@...508...> Hi ! I'm wondering, if I can play mp3s with gambas - is there any component, which supports this feature ? Fabian From gambasfr at ...11... Sun Aug 1 23:55:09 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 1 Aug 2004 23:55:09 +0200 Subject: [Gambas-user] play mp3s In-Reply-To: <410D5680.1040606@...508...> References: <410D5680.1040606@...508...> Message-ID: <200408012355.09182.gambasfr@...11...> Le dimanche 1 Ao?t 2004 22:45, daydreamer a ?crit?: > Hi ! > I'm wondering, if I can play mp3s with > gambas - is there any component, > which supports this feature ? > > Fabian > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user You're really lucky ;) Gambas can play mp3 This is an example, as you can see mp3 is easy to use on gambas but you need the sdl component. Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gbmp3-0.0.2.tar.gz Type: application/x-tgz Size: 852 bytes Desc: not available URL: From gambasfr at ...11... Mon Aug 2 00:16:35 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 2 Aug 2004 00:16:35 +0200 Subject: [Gambas-user] play mp3s In-Reply-To: <410D5680.1040606@...508...> References: <410D5680.1040606@...508...> Message-ID: <200408020016.35730.gambasfr@...11...> Le dimanche 1 Ao?t 2004 22:45, daydreamer a ?crit?: > Hi ! > I'm wondering, if I can play mp3s with > gambas - is there any component, > which supports this feature ? > > Fabian > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Another more complete version Fabien Bodard From gambasfr at ...11... Mon Aug 2 00:17:32 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 2 Aug 2004 00:17:32 +0200 Subject: [Gambas-user] play mp3s In-Reply-To: <410D5680.1040606@...508...> References: <410D5680.1040606@...508...> Message-ID: <200408020017.32077.gambasfr@...11...> Le dimanche 1 Ao?t 2004 22:45, daydreamer a ?crit?: oups... the attachement... Fabien -------------- next part -------------- A non-text attachment was scrubbed... Name: gbmp3-0.0.3.tar.gz Type: application/x-tgz Size: 1056 bytes Desc: not available URL: From daydreamer at ...508... Mon Aug 2 00:28:37 2004 From: daydreamer at ...508... (daydreamer) Date: Mon, 02 Aug 2004 00:28:37 +0200 Subject: [Gambas-user] play mp3s In-Reply-To: <200408020016.35730.gambasfr@...11...> References: <410D5680.1040606@...508...> <200408020016.35730.gambasfr@...11...> Message-ID: <410D6E95.8060709@...508...> thanks for your code, but it looks like i need the lib-file "gb.sdl". I searched with google, but didn't find any working rpm.. can you give me a link please ? Bodard Fabien wrote: >Le dimanche 1 Ao?t 2004 22:45, daydreamer a ?crit : > > >>Hi ! >>I'm wondering, if I can play mp3s with >>gambas - is there any component, >>which supports this feature ? >> >>Fabian >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by OSTG. Have you noticed the changes on >>Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >>one more big change to announce. We are now OSTG- Open Source Technology >>Group. Come see the changes on the new OSTG site. www.ostg.com >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > >Another more complete version > >Fabien Bodard > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.com >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From sdnpaolo at ...69... Mon Aug 2 08:00:15 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Mon, 02 Aug 2004 08:00:15 +0200 Subject: [Gambas-user] Drawing area problems In-Reply-To: <200408012145.39483.gambas@...1...> References: <410D2371.5020304@...69...> <200408011924.14837.gambas@...1...> <410D2CA9.90505@...69...> <200408012145.39483.gambas@...1...> Message-ID: <410DD86F.8040506@...69...> Benoit Minisini wrote: >On Sunday 01 August 2004 19:47, Paolo Saudin wrote: > > >>I use Gambas 0.95 on Knoppix 3.4, >>It happens you can get a "division by zero" error if you zoom more than >>once, I still have to fix it. >>To reproduce the error zoom back and forward (draw a rectangle from left >>to right[zoom+] and then from right to left[zoom-]) for about seven times. >>Thanks >> >> >> > >OK. Gambas crashes instead of displaying the error message "Too many >imbricated drawings". I will fix that in the next version. > >Acutally, there is a bug in your program: you forgot to call Draw.End after a >Draw.Begin. The game is to find where :-) > >Anymway, it is unnecessary to call Draw.Begin/Draw.End so often as you did. >For example, you could remove the calls in DrawPoint(), because each function >that called it already did the Draw.Begin/Draw.End calls. > >Regards, > > > Thank you very much, for the advices as well ! :-) Regards From budi at ...415... Mon Aug 2 10:11:22 2004 From: budi at ...415... (budi at ...415...) Date: Mon, 2 Aug 2004 15:11:22 +0700 Subject: [Gambas-user] SPEED NEEDED !!! In-Reply-To: <200408010116.37804.sourceforge-raindog2@...94...> References: <200408010036.37457.leo.barnhoorn@...246...> <1091333168.410c6c305e4e5@...416...> <200408010116.37804.sourceforge-raindog2@...94...> Message-ID: <1091434282.410df72ab8946@...416...> Rob, can you help me about that, some guide about stripping down the M.10 version. Where can i get it ? Btw what do you mean by 'Frankestein' ? Thanks Budi Quoting Rob : > On Sunday 01 August 2004 00:06, budi at ...415... wrote: > > Can gambas run on previous version of mandrake (Version 7.x) ? > > I'm now figuring out to create multi user app. so, if i can > > use that version (not 10), the speed of Linux OS operation > > will be faster using P4 Processor. It's actually about booting > > time taken for OS to be ready to use untill the desktop is > > fully loaded. > > Mandrake 7.x didn't even have Qt 2.x, let alone 3.x which is what > Gambas needs. If you did all the stuff you needed to do in > order to get Qt 3 working in Mandrake 7.2, I think the speed > advantages would be negated anyway (and you'd probably be > running sort of a frankenstein 7.2/9.x version of Mandrake.) > > Better to take a Mandrake 9.2 or 10.0 installation and strip it > down as much as possible. It's actually easier to strip down > 9.0 and above than it was to strip down 8.2 and earlier. > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Mon Aug 2 15:20:38 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 2 Aug 2004 09:20:38 -0400 Subject: [Gambas-user] play mp3s In-Reply-To: <410D6E95.8060709@...508...> References: <410D5680.1040606@...508...> <200408020016.35730.gambasfr@...11...> <410D6E95.8060709@...508...> Message-ID: <200408020920.38515.sourceforge-raindog2@...94...> On Sunday 01 August 2004 18:28, daydreamer wrote: > thanks for your code, but it looks like i need > the lib-file "gb.sdl". I searched with google, > but didn't find any working rpm.. > can you give me a link please ? Benoit has Mandrake RPM's of all the separate components on gambas.sf.net now.... have you looked there? Rob From sourceforge-raindog2 at ...94... Mon Aug 2 15:28:51 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 2 Aug 2004 09:28:51 -0400 Subject: [Gambas-user] SPEED NEEDED !!! In-Reply-To: <1091434282.410df72ab8946@...416...> References: <200408010036.37457.leo.barnhoorn@...246...> <200408010116.37804.sourceforge-raindog2@...94...> <1091434282.410df72ab8946@...416...> Message-ID: <200408020928.51034.sourceforge-raindog2@...94...> On Monday 02 August 2004 04:11, budi at ...415... wrote: > Rob, can you help me about that, some guide about stripping > down the M.10 version. Where can i get it ? I think it's an option during install now if you do it in Advanced (or is it Expert?) mode. Uncheck everything on the package categories page ("server", "KDE workstation", etc.) and it will ask you if you want to install a bare bones X server and stripped down version of icewm. (I have also done it with sawfish, which has no start menu or task bar of its own, when I want the gambas app to be the only thing the user can run.) Also, if you check "Individual package selection" you will have the opportunity to remove more packages on the following page (don't worry, it shouldn't let you remove packages that the base install needs.) > Btw what do you mean by 'Frankestein' ? Sorry, that must be an English or American idiom. It is a reference to the story "Frankenstein", by Mary Shelley, and refers to something assembled from parts that are not really supposed to go together, nonetheless works to some extent, but may (figuratively speaking) cause your house to be set on fire :) Rob From gambas at ...1... Mon Aug 2 17:28:33 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 2 Aug 2004 17:28:33 +0200 Subject: [Gambas-user] gambas 0.96 Message-ID: <200408021728.33804.gambas@...1...> And now gambas 0.96... The database component has been redesigned to replace the pseudo-collections by true collections: Databases, Users, Fields. In other words, it is incompatible with the old one, except if you just open/close databases and do SQL requests. Which is the most common case. There are many little enhancements and bug fixes in the IDE. Now imbricated braces are automatically highlighted. The Mandrake RPM packages has been fixed. I think they work good now (the icon is put in the GUI menus, the dependencies are correct). Rob: could you tell me how to put the packages in cooker so that we see them in the next Mandrake ? Or doing that yourself, as you like. You have more experience than me :-) Maybe the problem is that they don't compile with gcc 3.4, so I should fix that. The RPM directory on the web site can act as a urpmi source. Just add http://gambas.sf.net/RPM/MandrakeLinux/i586/ to it. The source RPM package is at http://gambas.sf.net/RPM/MandrakeLinux/ The package generated by the IDE now has dependencies on gambas packages whose version is between 0.95 and 1.0 I think now distributing Gambas applications on Mandrake is as easier as possible. Two things miss: - Having the gambas packages directly in the Mandrake distributions. - Making the same gambas packages for the other distributions. And now, of course, there is a need for a big documentation update. To Rob yet: could you send me a packed archive of the wiki so that I update the pages and their contents directly on my machine - it is faster. Good tests, and good luck with the changes in the database component :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From cpassow at ...221... Mon Aug 2 22:34:19 2004 From: cpassow at ...221... (Christoph Passow) Date: Mon, 02 Aug 2004 20:34:19 +0000 Subject: [Gambas-user] DO LOOP loop interrupt with Key press? Message-ID: <1091478859.4687.11.camel@...547...> Hello all together, how can I interrupt a DO ... LOOP loop with a Key press, that I have started with a Button1_DblClick() ? In the DO ... LOOP I read some datas from the SerialPort, but I would like to interrupt some times the reading. Thanks and Regards Christoph From daydreamer at ...508... Mon Aug 2 21:43:23 2004 From: daydreamer at ...508... (daydreamer) Date: Mon, 02 Aug 2004 21:43:23 +0200 Subject: [Gambas-user] play mp3s In-Reply-To: <200408020920.38515.sourceforge-raindog2@...94...> References: <410D5680.1040606@...508...> <200408020016.35730.gambasfr@...11...> <410D6E95.8060709@...508...> <200408020920.38515.sourceforge-raindog2@...94...> Message-ID: <410E995B.30606@...508...> yes - i looked there. But the problem is - I compiled the source, so the rpm didn't find the runtime-package When I tried to install the runtime-package, I get an error of a missing package, which I couldn't find. Rob wrote: >On Sunday 01 August 2004 18:28, daydreamer wrote: > > >>thanks for your code, but it looks like i need >>the lib-file "gb.sdl". I searched with google, >>but didn't find any working rpm.. >>can you give me a link please ? >> >> > >Benoit has Mandrake RPM's of all the separate components on >gambas.sf.net now.... have you looked there? > >Rob > > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.com >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From gambasfr at ...11... Mon Aug 2 22:03:06 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 2 Aug 2004 22:03:06 +0200 Subject: [Gambas-user] play mp3s In-Reply-To: <410E995B.30606@...508...> References: <410D5680.1040606@...508...> <200408020920.38515.sourceforge-raindog2@...94...> <410E995B.30606@...508...> Message-ID: <200408022203.06447.gambasfr@...11...> Le lundi 2 Ao?t 2004 21:43, daydreamer a ?crit?: > yes - i looked there. But the problem is - I compiled > the source, so the rpm didn't find the runtime-package > When I tried to install the runtime-package, I get an error > of a missing package, which I couldn't find. > install the sdl-devel package and next in the gambas directory : make uninstall ./reconf ./configure make make install That's all And all does work correct Fabien From pastrano at ...431... Mon Aug 2 22:40:23 2004 From: pastrano at ...431... (Gianni Piccini) Date: Mon, 2 Aug 2004 22:40:23 +0200 Subject: [Gambas-user] Menus Message-ID: <1091479223.3026902.410ea6b7@...432...> Anybody knows if there is a method to check if enable or disable menus when clicking top level menu? I mean that, if I've a menu like this File Open Close Exit for example I would like to have Close enabled only if something is open... there are some others situations where I can disable menus, but certainly the top level menu is the last and most secure (and surely the most professional). Obviously, inserting a condition in MenuFile_Click() doesn't work. From bundeshund at ...467... Tue Aug 3 16:46:42 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 3 Aug 2004 16:46:42 +0200 Subject: [Gambas-user] Menus In-Reply-To: <1091479223.3026902.410ea6b7@...432...> References: <1091479223.3026902.410ea6b7@...432...> Message-ID: <200408031646.42992.bundeshund@...467...> Hi! Am Montag, 2. August 2004 22:40 schrieb Gianni Piccini: > Anybody knows if there is a method to check if enable or disable menus when > clicking top level menu? I mean that, if I've a menu like this > > File > Open > Close > Exit OK, I named them in ther menu-editor like File, Open, Close and Exit, just for the right understanding. > > for example I would like to have Close enabled only if something is open... > there are some others situations where I can disable menus, but certainly > the top level menu is the last and most secure (and surely the most > professional). Obviously, inserting a condition in MenuFile_Click() doesn't > work. You can simply control them by using File.Enabled = TRUE 'Or FALSE Open.Visible = FALSE 'Or TRUE Every entry has his properties. In the IDE you can type 'File.' and the possible properties are poping up. So you can set Close.Visible/Enabled = False by default (in the menu-editor) and set it on 'True' in the subroutine where the open-file-dialoge appears (Or where ever you know that there is a file to close), after a valid file was choosen... HTH HM From bundeshund at ...467... Tue Aug 3 20:08:41 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 3 Aug 2004 20:08:41 +0200 Subject: [Gambas-user] gambas 0.96 In-Reply-To: <200408021728.33804.gambas@...1...> References: <200408021728.33804.gambas@...1...> Message-ID: <200408032008.41720.bundeshund@...467...> Am Montag, 2. August 2004 17:28 schrieb Benoit Minisini: > And now gambas 0.96... > > The database component has been redesigned to replace the > pseudo-collections by true collections: Databases, Users, Fields. > > In other words, it is incompatible with the old one, except if you just > open/close databases and do SQL requests. Which is the most common case. Yes, I only had to change one line. Well done. > > There are many little enhancements and bug fixes in the IDE. Now imbricated > braces are automatically highlighted. > > And now, of course, there is a need for a big documentation update. To Rob > yet: could you send me a packed archive of the wiki so that I update the > pages and their contents directly on my machine - it is faster. > > Good tests, and good luck with the changes in the database component :-) I tested my few, little apps and all are working fine. Again Benoit, great job! Must say again that working under/with gambas is a real plesure. And it's still getting better and better... I wonder a little bit about the less response so far... > > Regards, HM From gambas at ...1... Tue Aug 3 20:11:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 3 Aug 2004 20:11:45 +0200 Subject: [Gambas-user] Problems with my Mandrake package Message-ID: <200408032011.46015.gambas@...1...> There is a problem with my 0.96 Mandrake packages: they have an unneeded dependency on libstdc++6 because I made the packages on a Mandrake 10.0 with some packages from cooker (Mandrake 10.1). Everything works fine if you add cooker in the urpmi medias. I don't know how to tell the C++ linker to use libstdc++5 ad not libstdc++6. If someone can tell me, I will be happy :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 3 20:20:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 3 Aug 2004 20:20:22 +0200 Subject: [Gambas-user] Re: Traditional chinese translation for Gambas In-Reply-To: <20040803083851.15568.qmail@...549...> References: <20040803083851.15568.qmail@...549...> Message-ID: <200408032020.22569.gambas@...1...> On Tuesday 03 August 2004 10:38, you wrote: > Dear Benoit > There are two files for Gambas. > > ----------------------------------------------------------------- > Yahoo!??Messenger6.0 > ???????, ??????! > http://tw.messenger.yahoo.com/ Thanks for your translation! Note: I post this e-mail on the mailing-list because each time I answer to chuenchilin at ...506... directly I get an error. So if someone could send this mail in my place... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Mon Aug 2 22:09:14 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 2 Aug 2004 22:09:14 +0200 Subject: [Gambas-user] DO LOOP loop interrupt with Key press? In-Reply-To: <1091478859.4687.11.camel@...547...> References: <1091478859.4687.11.camel@...547...> Message-ID: <200408022209.14877.gambasfr@...11...> Le lundi 2 Ao?t 2004 22:34, Christoph Passow a ?crit?: > Hello all together, > > how can I interrupt a DO ... LOOP loop with a Key press, that I have > started with a Button1_DblClick() ? > In the DO ... LOOP I read some datas from the SerialPort, but I would > like to interrupt some times the reading. > > Thanks and Regards > Christoph > > Hi, hem... in the gambas help look at 'DO' keyword and see 'BREAK' Regards, Fabien DO if ... THEN BREAK LOOP > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Tue Aug 3 21:55:57 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 3 Aug 2004 21:55:57 +0200 Subject: [Gambas-user] Menus In-Reply-To: <1091479223.3026902.410ea6b7@...432...> References: <1091479223.3026902.410ea6b7@...432...> Message-ID: <200408032155.57307.gambasfr@...11...> Le lundi 2 Ao?t 2004 22:40, Gianni Piccini a ?crit?: > Anybody knows if there is a method to check if enable or disable menus when > clicking top level menu? I mean that, if I've a menu like this > > File > Open > Close > Exit > > for example I would like to have Close enabled only if something is open... > there are some others situations where I can disable menus, but certainly > the top level menu is the last and most secure (and surely the most > professional). Obviously, inserting a condition in MenuFile_Click() doesn't > work. There is a soluce, if i understand what you mean... Public sub MenuFile_Show() IF SomethingOpened THEN MenuClose.Enabled = TRUE END The show event is call before the menu is chown Fabien > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mirkocoz at ...43... Tue Aug 3 22:30:04 2004 From: mirkocoz at ...43... (=?iso-8859-1?q?Mirko=20Coz?=) Date: Tue, 3 Aug 2004 15:30:04 -0500 (CDT) Subject: [Gambas-user] Datagrid Message-ID: <20040803203004.32676.qmail@...550...> Is thera a datagrid control in Gambas? Mirko Coz Peru _________________________________________________________ Do You Yahoo!? Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. Vis?tanos en http://noticias.espanol.yahoo.com From girardhenri at ...67... Tue Aug 3 22:32:17 2004 From: girardhenri at ...67... (Henri Girard) Date: Tue, 3 Aug 2004 22:32:17 +0200 Subject: [Gambas-user] Datagrid References: <20040803203004.32676.qmail@...550...> Message-ID: yes look the database example ----- Original Message ----- From: "Mirko Coz" To: Sent: Tuesday, August 03, 2004 10:30 PM Subject: [Gambas-user] Datagrid > Is thera a datagrid control in Gambas? > > Mirko Coz > Peru > > _________________________________________________________ > Do You Yahoo!? > Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. > Vis?tanos en http://noticias.espanol.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From k-p.richter at ...20... Tue Aug 3 23:55:50 2004 From: k-p.richter at ...20... (Peter) Date: Tue, 3 Aug 2004 23:55:50 +0200 Subject: [Gambas-user] BUG: Found several bugs In-Reply-To: <200403241653.57586.ronstk@...239...> References: <200403241653.57586.ronstk@...239...> Message-ID: <200408032355.50836.k-p.richter@...20...> Hallo all, Am Mittwoch, 24. M?rz 2004 16:53 schrieb ron: > In: FPropertyFile > Where:SUB Run > What: FPropertyFile.Dialog > Effect: Not existing if form > Solution: change to FPropertyFile.ShowDialog > > > In: FExplorer (HelpBrowser) > Where: SUB Form_KeyPress > What: CASE Key.BackSpace > Effect: do not work > Solution: create txvExplorer_KeyPress and copy content Form_KeyPress > > > In: FExplorer (HelpBrowser) > Where: several places > What: missing links > Effect: no info > Solution: Wait till Benoit (or others) has time to create docs > > And another: In: FExplorer Where: SUB GotoLink(...) What: Internal Link e.g. ..../VisualIntroductionToGambas.html#New_Project) Effect: Broken Link because of: Exist(sLink) = false (no filename) Solution: Bevor "IF Exist(sLink) Then" : sText = "" iPos = Instr(sLink, ".html#") IF iPos > 0 THEN sText = Mid(sLink, iPos + 5) sLink = Left(sLink, iPos + 4) ENDIF Line after IF .... change to: txvExplorer.Path = sLink & sText Regards Peter From jctovar at ...551... Wed Aug 4 00:33:09 2004 From: jctovar at ...551... (Juan C. Tovar) Date: Tue, 3 Aug 2004 17:33:09 -0500 Subject: [Gambas-user] error in a application with gambas 0.96 Message-ID: <200408031733.09072.jctovar@...551...> hi When my application begins this stop abrupt, I have a error, the message is "signal #11", that it means this? From gambas at ...1... Wed Aug 4 01:03:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 4 Aug 2004 01:03:25 +0200 Subject: [Gambas-user] error in a application with gambas 0.96 In-Reply-To: <200408031733.09072.jctovar@...551...> References: <200408031733.09072.jctovar@...551...> Message-ID: <200408040103.26035.gambas@...1...> On Wednesday 04 August 2004 00:33, Juan C. Tovar wrote: > hi > > When my application begins this stop abrupt, I have a error, the message is > "signal #11", that it means this? > This means that the interpreter crashes and so that there is a bug. You can send your project to me and explain exactly what to do to repeat the crash. Regards, -- Benoit Minisini mailto:gambas at ...1... From budi at ...415... Wed Aug 4 04:19:05 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 04 Aug 2004 09:19:05 +0700 Subject: [Gambas-user] Database Manager In-Reply-To: <200408032355.50836.k-p.richter@...20...> References: <200403241653.57586.ronstk@...239...> <200408032355.50836.k-p.richter@...20...> Message-ID: Dear All, I compiled gambas 096 last night. Evrything compiled well ;), only that the gambas shortcut doesn't appear in the KDE Start Menu (Application Development), just like the previous one. 1. In Gambas Manager, if i choose a mysql table, and goto to Data Tab, the Database Manager is immediately closed, no warning or error message. Dunno why..but It worx for SQlite. For ProgreSQL, i dont know... 2. To Rizky Tahara...You must update the Database Report Sample, it crashes when start running it. 3. The new feature of gambas manager is the ability to insert database code to module using Database Generator. Any can help how to do that ? seems it doesn't show anything in my module after clicking the feature. 4. BTW, it's 096 Man, it wont get long to go to version 1 ;). When is gambas's birthday ? Thanks, Budi From budi at ...415... Wed Aug 4 04:22:34 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 04 Aug 2004 09:22:34 +0700 Subject: [Gambas-user] Embedded Linux In-Reply-To: <20040722031100.068da4ca@...388...> References: <200406251747.53461.gambas@...1...> <20040701200843.1540156e@...388...> <200407031007.35168.gambas@...1...> <20040722031100.068da4ca@...388...> Message-ID: Dear Rob, Can gambas application running in embedded linux OS ? I need it for ticket collecting management. Thanks Budi From budi at ...415... Wed Aug 4 09:12:31 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 04 Aug 2004 14:12:31 +0700 Subject: [Gambas-user] TERMINAL Application + Serial Port Message-ID: Hi... I'm going to create Application for reading and writing to serial PORT run on console only (Terminal). 1. How can i activate COM Reading Event ? Is there any like WITH EVENT com declaration like in VB. fe. DIM WITHEVENT MyCOMM as New SerialPort. 2. How to make the application not quit after executing all the code in main module in console app. ? Thanks Budi From daydreamer at ...508... Wed Aug 4 13:35:46 2004 From: daydreamer at ...508... (daydreamer) Date: Wed, 04 Aug 2004 13:35:46 +0200 Subject: [Gambas-user] play mp3s In-Reply-To: <200408022203.06447.gambasfr@...11...> References: <410D5680.1040606@...508...> <200408020920.38515.sourceforge-raindog2@...94...> <410E995B.30606@...508...> <200408022203.06447.gambasfr@...11...> Message-ID: <4110CA12.7080603@...508...> strange.. my gambas doesn't work anymore after that operation.. i started it with the bash-command "gambas" before now the bash don't know this command. in the make-log there was a line, I think it was "Recursive Installation Error 1" can you help ? Bodard Fabien wrote: >Le lundi 2 Ao?t 2004 21:43, daydreamer a ?crit : > > >>yes - i looked there. But the problem is - I compiled >>the source, so the rpm didn't find the runtime-package >>When I tried to install the runtime-package, I get an error >>of a missing package, which I couldn't find. >> >> >> > >install the sdl-devel package > >and next in the gambas directory : > >make uninstall >./reconf >./configure >make >make install > >That's all > >And all does work correct > >Fabien > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.com >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From daniel.campos at ...338... Wed Aug 4 17:22:29 2004 From: daniel.campos at ...338... (Daniel) Date: Wed, 04 Aug 2004 17:22:29 +0200 Subject: [Gambas-user] TERMINAL Application + Serial Port In-Reply-To: References: Message-ID: <1091632945.3297.1.camel@...40...> El mi?, 04-08-2004 a las 09:12, Budi Arief Gusandi escribi?: > Hi... > > I'm going to create Application for reading and writing to serial PORT run > on console only (Terminal). > 1. How can i activate COM Reading Event ? Is there any like WITH EVENT com > declaration like in VB. fe. DIM WITHEVENT MyCOMM as New SerialPort. Dim MyCOMM As SerialPort MyCOMM = New SerialPort As "MyCOMM" ... Public Sub MyCOMM_Read() ... END > > 2. How to make the application not quit after executing all the code in > main module in console app. ? You have to create an infinite loop, like all common console applications that doesn't finish... > > Thanks > > Budi From CPassow at ...221... Wed Aug 4 18:05:29 2004 From: CPassow at ...221... (CPassow at ...221...) Date: Wed, 4 Aug 2004 18:05:29 +0200 Subject: [Gambas-user] DO LOOP loop interrupt with Key press? In-Reply-To: <200408022209.14877.gambasfr@...11...> References: <1091478859.4687.11.camel@...547...> <200408022209.14877.gambasfr@...11...> Message-ID: <1BsOGf-1XYDey0@...554...> Hi Bodard Fabien, thank you for your answer, I have try it with the follow sample code, PUBLIC SUB Button5_Click() DIM i AS Integer DO TextBox1.Text=i TextBox1.Text= i + TextBox1.Text TextBox1.Refresh() INC i WAIT 0.2 IF Key.Code=Key.Escape THEN BREAK LOOP but I get the error "No Keyboard event Data" when I start the Progr. any idea?? Thanks in Advance Christoph -----Original Message----- Date: Mon, 2 Aug 2004 22:09:14 +0200 Subject: Re: [Gambas-user] DO LOOP loop interrupt with Key press? From: Bodard Fabien To: gambas-user at lists.sourceforge.net Le lundi 2 Ao?t 2004 22:34, Christoph Passow a ?crit : > Hello all together, > > how can I interrupt a DO ... LOOP loop with a Key press, that I have > started with a Button1_DblClick() ? > In the DO ... LOOP I read some datas from the SerialPort, but I would > like to interrupt some times the reading. > > Thanks and Regards > Christoph > > Hi, hem... in the gambas help look at 'DO' keyword and see 'BREAK' Regards, Fabien DO if ... THEN BREAK LOOP > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > 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 OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From pastrano at ...431... Wed Aug 4 17:59:12 2004 From: pastrano at ...431... (Gianni Piccini) Date: Wed, 4 Aug 2004 17:59:12 +0200 Subject: [Gambas-user] Menus In-Reply-To: <200408032155.57307.gambasfr@...11...> References: <1091479223.3026902.410ea6b7@...432...> <200408032155.57307.gambasfr@...11...> Message-ID: <1091635152.9066767.411107d0@...432...> On Tue, 3 Aug 2004 21:55:57 +0200, you wrote: > MenuFile_Show Naah, too simple: I'm really a bad manual reader...thanks to all From paul at ...555... Wed Aug 4 18:57:17 2004 From: paul at ...555... (Paul) Date: Wed, 04 Aug 2004 17:57:17 +0100 Subject: [Gambas-user] Compilation problem with 0.96 Message-ID: <1091638637.3150.87.camel@...37...> Hi, I'm trying to get 0.96 on my FC3 (test1) box to compile, but I'm getting the following compilation errors CMenu.cpp: In function void delete_menu(CMENU *) CMenu.cpp:297: error: ISO C++ forbids cast to non-reference type used as lvalue CMenu.cpp: In function void CMENU_new(void *, void *): CMenu.cpp:345: error: ISO C++ forbids cast to non-reference type used as lvalue From gambas at ...1... Wed Aug 4 19:34:56 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 4 Aug 2004 19:34:56 +0200 Subject: [Gambas-user] Compilation problem with 0.96 In-Reply-To: <1091638637.3150.87.camel@...37...> References: <1091638637.3150.87.camel@...37...> Message-ID: <200408041934.56775.gambas@...1...> On Wednesday 04 August 2004 18:57, Paul wrote: > Hi, > > I'm trying to get 0.96 on my FC3 (test1) box to compile, but I'm getting > the following compilation errors > > CMenu.cpp: In function void delete_menu(CMENU *) > CMenu.cpp:297: error: ISO C++ forbids cast to non-reference type used as > lvalue > CMenu.cpp: In function void CMENU_new(void *, void *): > CMenu.cpp:345: error: ISO C++ forbids cast to non-reference type used as > lvalue > > From what it looks like, in the first one it's trying cast QPopupMenu to > the CMENU struct. The second one is trying to say an entire pointer > function = 0. > > TTFN > > Paul This is a problem with gcc 3.4 that I didn't fix yet. I think there is a flag in gcc 3.4 to get the old gcc 3.3 behaviour but I don't know it. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 4 19:39:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 4 Aug 2004 19:39:31 +0200 Subject: [Gambas-user] Database Manager In-Reply-To: References: <200403241653.57586.ronstk@...239...> <200408032355.50836.k-p.richter@...20...> Message-ID: <200408041939.31601.gambas@...1...> On Wednesday 04 August 2004 04:19, Budi Arief Gusandi wrote: > Dear All, > > I compiled gambas 096 last night. Evrything compiled well ;), only that > the gambas shortcut doesn't appear in the KDE Start Menu (Application > Development), just like the previous one. Shortcuts only appear when installing from RPMs. > 1. In Gambas Manager, if i choose a mysql table, and goto to Data Tab, the > Database Manager is immediately closed, no warning or error message. Dunno > why..but It worx for SQlite. For ProgreSQL, i dont know... I think this is the bug that Fabien Bodard found. I join the mysql driver patch to this mail. > 2. To Rizky Tahara...You must update the Database Report Sample, it > crashes when start running it. It works there. Maybe this is related to the previous bug. > 3. The new feature of gambas manager is the ability to insert database > code to module using Database Generator. Any can help how to do that ? > seems it doesn't show anything in my module after clicking the feature. You must start the database manager from the IDE to get a ne menu entry "make Gambas code" when you click on a database. > 4. BTW, it's 096 Man, it wont get long to go to version 1 ;). When is > gambas's birthday ? Who knows ? :-) > > > Thanks, > > Budi > Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: main.c Type: text/x-csrc Size: 59044 bytes Desc: not available URL: From gambasfr at ...11... Wed Aug 4 22:53:26 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 4 Aug 2004 22:53:26 +0200 Subject: [Gambas-user] play mp3s In-Reply-To: <4110CA12.7080603@...508...> References: <410D5680.1040606@...508...> <200408022203.06447.gambasfr@...11...> <4110CA12.7080603@...508...> Message-ID: <200408042253.26562.gambasfr@...11...> Le mercredi 4 Ao?t 2004 13:35, daydreamer a ?crit?: > strange.. my gambas doesn't work anymore after that operation.. > i started it with the bash-command "gambas" before > now the bash don't know this command. > > in the make-log there was a line, I think it was > "Recursive Installation Error 1" > > can you help ? > > Bodard Fabien wrote: > >Le lundi 2 Ao?t 2004 21:43, daydreamer a ?crit : > >>yes - i looked there. But the problem is - I compiled > >>the source, so the rpm didn't find the runtime-package > >>When I tried to install the runtime-package, I get an error > >>of a missing package, which I couldn't find. > > > >install the sdl-devel package > > > >and next in the gambas directory : > > make uninstall --->make clean ./reconf ./configure make make install Try this and tell us if it work ! Fabien From gambas at ...1... Wed Aug 4 23:07:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 4 Aug 2004 23:07:28 +0200 Subject: [Gambas-user] TERMINAL Application + Serial Port In-Reply-To: <1091632945.3297.1.camel@...40...> References: <1091632945.3297.1.camel@...40...> Message-ID: <200408042307.29407.gambas@...1...> On Wednesday 04 August 2004 17:22, Daniel wrote: > El mi?, 04-08-2004 a las 09:12, Budi Arief Gusandi escribi?: > > Hi... > > > > I'm going to create Application for reading and writing to serial PORT > > run on console only (Terminal). > > 1. How can i activate COM Reading Event ? Is there any like WITH EVENT > > com declaration like in VB. fe. DIM WITHEVENT MyCOMM as New SerialPort. > > Dim MyCOMM As SerialPort > > MyCOMM = New SerialPort As "MyCOMM" > > ... > > Public Sub MyCOMM_Read() > ... > END > > > 2. How to make the application not quit after executing all the code in > > main module in console app. ? > > You have to create an infinite loop, like all common console > applications that doesn't finish... > Actually this is unneeded. As soon as you have opened the serial port object, Gambas knows that there is some file descriptor to watch, and so it will start an event loop after Main() has terminated, and will stop the program only when this file descriptor is closed. But you must put your serial port object reference in a global variable so that it is not freed. Regards, -- Benoit Minisini mailto:gambas at ...1... From christian.faurebouvard at ...357... Thu Aug 5 22:10:43 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Thu, 5 Aug 2004 16:10:43 -0400 Subject: [Gambas-user] XML, expat In-Reply-To: <1091632945.3297.1.camel@...40...> References: <1091632945.3297.1.camel@...40...> Message-ID: <200408051610.43619.christian.faurebouvard@...357...> Hi... Exists some functions for reading XML files in Gambas? Thanks From budi at ...415... Thu Aug 5 04:41:51 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Thu, 05 Aug 2004 09:41:51 +0700 Subject: [Gambas-user] TERMINAL Application + Serial Port In-Reply-To: <1091632945.3297.1.camel@...40...> References: <1091632945.3297.1.camel@...40...> Message-ID: Hehehe Cool...thanks ;) On Wed, 04 Aug 2004 17:22:29 +0200, Daniel wrote: > El mi?, 04-08-2004 a las 09:12, Budi Arief Gusandi escribi?: >> Hi... >> >> I'm going to create Application for reading and writing to serial PORT >> run >> on console only (Terminal). >> 1. How can i activate COM Reading Event ? Is there any like WITH EVENT >> com >> declaration like in VB. fe. DIM WITHEVENT MyCOMM as New SerialPort. > > Dim MyCOMM As SerialPort > > MyCOMM = New SerialPort As "MyCOMM" > > ... > > Public Sub MyCOMM_Read() > ... > END > >> >> 2. How to make the application not quit after executing all the code in >> main module in console app. ? > > You have to create an infinite loop, like all common console > applications that doesn't finish... > > >> >> Thanks >> >> Budi > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Best Regards, Budi Arief Gusandi IT Manager PT. Suar Reka Informatika Bandung - West Java Indonesia From cpassow at ...221... Thu Aug 5 18:37:39 2004 From: cpassow at ...221... (Christoph Passow) Date: Thu, 05 Aug 2004 16:37:39 +0000 Subject: [Gambas-user] DO LOOP loop interrupt with Key press? In-Reply-To: <200408042259.23014.gambasfr@...11...> References: <1091478859.4687.11.camel@...547...> <200408022209.14877.gambasfr@...11...> <1BsOGf-1XYDey0@...554...> <200408042259.23014.gambasfr@...11...> Message-ID: <1091723859.1778.6.camel@...547...> Hi Fabien, I had try it but I get the same error. I insert the TextBox1.SetFocus() above the DO and an empty TextBox1_KeyPress() and get directly the "No Keyboard Event Data". Regards Christoph Am Mi, den 04.08.2004 schrieb Bodard Fabien um 20:59: > Le mercredi 4 Ao?t 2004 18:05, vous avez ?crit : > > Hi Bodard Fabien, > > > > thank you for your answer, I have try it with the follow sample code, > > > > PUBLIC SUB Button5_Click() > > DIM i AS Integer > textbox1.setfocus > > DO > > TextBox1.Text=i > > TextBox1.Text= i + TextBox1.Text > > TextBox1.Refresh() > > INC i > > WAIT 0.2 > > IF Key.Code=Key.Escape THEN BREAK > > > > LOOP > > > > but I get the error "No Keyboard event Data" when I start the Progr. > > any idea?? > > > > Thanks in Advance > > Christoph > > > > > > You need to add an empty event > > PUBLIC SUB TextBox1_KeyPress() > END > > > > Regards, > Fabien Bodard > From paul at ...555... Thu Aug 5 17:11:23 2004 From: paul at ...555... (Paul) Date: Thu, 05 Aug 2004 16:11:23 +0100 Subject: [Gambas-user] Compilation problem with 0.96 In-Reply-To: <200408041934.56775.gambas@...1...> References: <1091638637.3150.87.camel@...37...> <200408041934.56775.gambas@...1...> Message-ID: <1091718683.3471.12.camel@...37...> Hi, > This is a problem with gcc 3.4 that I didn't fix yet. I think there is a flag > in gcc 3.4 to get the old gcc 3.3 behaviour but I don't know it. -fabi-version=x looks possible (needs to be set to either 0 or 1) Looks possible TTFN Paul -- "Look. If you had one shot, one opportunity, to seize everything you ever wanted. One moment to capture or would you just let it slip?" - Marshall Mathers III (Lose Yourself) -------------- 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 paul at ...555... Thu Aug 5 17:25:50 2004 From: paul at ...555... (Paul) Date: Thu, 05 Aug 2004 16:25:50 +0100 Subject: [Gambas-user] Compilation problem with 0.96 In-Reply-To: <1091718683.3471.12.camel@...37...> References: <1091638637.3150.87.camel@...37...> <200408041934.56775.gambas@...1...> <1091718683.3471.12.camel@...37...> Message-ID: <1091719550.3471.14.camel@...37...> Hi, > > This is a problem with gcc 3.4 that I didn't fix yet. I think there is a flag > > in gcc 3.4 to get the old gcc 3.3 behaviour but I don't know it. > > -fabi-version=x looks possible (needs to be set to either 0 or 1) Nope. It actually looks like a bug in the code as the compiler is reporting an ISO C++ error rather than anything else. TTFN Paul -- "Look. If you had one shot, one opportunity, to seize everything you ever wanted. One moment to capture or would you just let it slip?" - Marshall Mathers III (Lose Yourself) -------------- 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 na2492 at ...9... Thu Aug 5 20:36:21 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Thu, 5 Aug 2004 20:36:21 00200 Subject: [Gambas-user] DO LOOP loop interrupt with Key press? Message-ID: <41127e25.1d09.0@...9...> >Hi Fabien, > >I had try it but I get the same error. >I insert the TextBox1.SetFocus() above the DO and an empty >TextBox1_KeyPress() and get directly the "No Keyboard Event Data". > >Regards >Christoph > >Am Mi, den 04.08.2004 schrieb Bodard Fabien um 20:59: >> Le mercredi 4 Ao?t 2004 18:05, vous avez ?crit : >> > Hi Bodard Fabien, >> > >> > thank you for your answer, I have try it with the follow sample code, >> > >> > PUBLIC SUB Button5_Click() >> > DIM i AS Integer >> textbox1.setfocus >> > DO >> > TextBox1.Text=i >> > TextBox1.Text= i + TextBox1.Text >> > TextBox1.Refresh() >> > INC i >> > WAIT 0.2 >> > IF Key.Code=Key.Escape THEN BREAK >> > >> > LOOP >> > >> > but I get the error "No Keyboard event Data" when I start the Progr. >> > any idea?? >> > >> > Thanks in Advance >> > Christoph >> > >> > >> >> You need to add an empty event >> >> PUBLIC SUB TextBox1_KeyPress() >> END >> >> >> >> Regards, >> Fabien Bodard >> Salut, set on the top of the Class somethink like : Dim bStop as Boolean ' is FALSE at this time then PUBLIC SUB TextBox1_KeyPress() IF Key.Code=Key.Escape THEN bStop = True END before your Do ... Loop bStop = False and in your Do ... Loop IF bStop THEN BREAK Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From sourceforge-raindog2 at ...94... Thu Aug 5 20:53:40 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 5 Aug 2004 14:53:40 -0400 Subject: [Gambas-user] how to submit packages to mandrake contrib Message-ID: <200408051452.47127.sourceforge-raindog2@...94...> Here is the procedure for submitting packages to Mandrake contrib. It's the same for C/C++ programs like gambas and for gambas applications for which you have made RPM's. 1. Track down all the BuildRequires for your spec file (so that the cooker guys can rebuild your RPMs on a clean Mandrake install by just installing the build requires first) and make sure they're listed. If any packages you require are not part of either cooker or contrib, you must submit packages for them as well! 2. Run rpmlint on all the binary RPM's produced by your spec file. Fix any lines beginning with E: (the one about the package being unsigned is okay to leave.) Otherwise your package will probably be rejected. This is why I was making a separate "libgambas0" package - otherwise, it will fail rpmlint. 3. Upload your .src.rpm file (which should be created along with the binary rpm's after you rpm -ba your spec file) to ftp.mandrakesoft.com:/incoming. 4. Email a notice that you have uploaded the package (mentioning the version, and a summary of its purpose, and a list of all the binary packages it produces) to lenny at ...556..., and cc: your message to the cooker list at cooker at ...557... (I don't think you need to be a member, but I am.) 5. Wait some days or weeks for the cooker guys to rebuild your binary packages and announce their existence on the cooker list. (This is why I'm a member. ;) ) Rob From stillj7388 at ...159... Thu Aug 5 22:05:19 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Thu, 05 Aug 2004 13:05:19 -0700 Subject: [Gambas-user] Literal Characters Message-ID: <411292FF.1040702@...159...> This code makes the following error. Non Terminated string at line xx in Form1.class PRINT #hfile " " PRINT #hfile ""&Textbox1.Text&
" The goal of the output is to look like this: 12345678901234567890123
" or 12345678901234567890123
" Please oh master Benoit, tell me there is an easy way to get the " character into 300ish lines of code. I need to use html email. You know, windows X)tra P)roblmes again. :-) Why ask why. Snapshot reflects what the final report will look like. --j -------------- next part -------------- A non-text attachment was scrubbed... Name: bgm-test-report.jpg Type: image/jpeg Size: 135510 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Thu Aug 5 22:52:56 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 5 Aug 2004 16:52:56 -0400 Subject: [Gambas-user] Literal Characters In-Reply-To: <411292FF.1040702@...159...> References: <411292FF.1040702@...159...> Message-ID: <200408051652.56985.sourceforge-raindog2@...94...> On Thursday 05 August 2004 16:05, Jeff Stillinger wrote: > This code makes the following error. > Non Terminated string at line xx in Form1.class > > PRINT #hfile " PRINT #hfile " content="text/html; charset=ISO-8859-1"> " > PRINT #hfile ""&Textbox1.Text&
" should be: PRINT #hfile " " PRINT #hfile "" & Textbox1.Text & "
" Note the backslashes. But you were also missing a double quote before that last
. Rob From lordheavy at ...512... Thu Aug 5 22:53:18 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 5 Aug 2004 22:53:18 +0200 Subject: [Gambas-user] Literal Characters In-Reply-To: <411292FF.1040702@...159...> References: <411292FF.1040702@...159...> Message-ID: <200408052253.18965.lordheavy@...512...> Le jeudi 5 Ao?t 2004 22:05, Jeff Stillinger a ?crit?: > This code makes the following error. > Non Terminated string at line xx in Form1.class > > PRINT #hfile " PRINT #hfile " content="text/html; charset=ISO-8859-1"> " > PRINT #hfile ""&Textbox1.Text&
" > the better way is (not tested) PRINT #hfile," " PRINT #hfile,"" & Textbox1.Text & "
" note the \ caracter before " and , between #file and " Regards, -- Laurent Carlier From stillj7388 at ...159... Fri Aug 6 01:16:19 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Thu, 05 Aug 2004 16:16:19 -0700 Subject: [Gambas-user] Literal Characters In-Reply-To: <411292FF.1040702@...159...> References: <411292FF.1040702@...159...> Message-ID: <4112BFC3.6010305@...159...> Thanks a million guys!! --j PS - Noticed that missing quote as I was watching the email go out. Silly me. :-) From michael at ...558... Fri Aug 6 04:57:52 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 05 Aug 2004 21:57:52 -0500 Subject: [Gambas-user] Tutorial for newbies Message-ID: <1091761071.7871.4.camel@...559...> Hi. I just started using Gambas. I come from a Windows and Visual Basic background, but I've been using Linux for the past year and I really like it and wanted a Visual Basic alternative for Linux and I found out about Gambas the other day. I was wondering if there was a tutorial or a book or something available for Gambas. I already understand a lot from my VB experience, but some things still confuse me. When I was setting up my first project Gambas asked me if I wanted to include a constructor and destructor. Why is this? I didn't think it was possible to allocate space on the heap in a BASIC program. Could anyone enlighten me on this? Thank you. -Michael Sullivan From budi at ...415... Fri Aug 6 05:02:12 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Fri, 06 Aug 2004 10:02:12 +0700 Subject: [Gambas-user] Serial Port : Binary In-Reply-To: <20040722031100.068da4ca@...388...> References: <200406251747.53461.gambas@...1...> <20040701200843.1540156e@...388...> <200407031007.35168.gambas@...1...> <20040722031100.068da4ca@...388...> Message-ID: Dear, How can i send and receive data in binary mode ? I just bought a new smartcard reader and there're no ascii command protokol, There are only Binary Hexa commands. Can you help me how to send data like 0xBA, 0x2D etc ? Sending it using ASCII doesnt work. Thanks Budi From sourceforge-raindog2 at ...94... Fri Aug 6 06:53:47 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Aug 2004 00:53:47 -0400 Subject: [Gambas-user] Tutorial for newbies In-Reply-To: <1091761071.7871.4.camel@...559...> References: <1091761071.7871.4.camel@...559...> Message-ID: <200408060053.47489.sourceforge-raindog2@...94...> On Thursday 05 August 2004 22:57, Michael Sullivan wrote: > I was wondering if there was a tutorial or a book or > something available for Gambas. I have started working (in my copious free time) on a Gambas book which I would like to handle like they did "Grokking the Gimp", but don't hold your breath just yet. Theeasygambasdoku.de was originally a tutorial site, but I don't know if it's there anymore.... many of its "How do I..." topics got moved into the gambas wiki and thus the gambas manual, but that's not quite the same as a step by step tutorial. Rob From budi at ...415... Fri Aug 6 09:13:43 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Fri, 06 Aug 2004 14:13:43 +0700 Subject: [Gambas-user] Tutorial for newbies In-Reply-To: <200408060053.47489.sourceforge-raindog2@...94...> References: <1091761071.7871.4.camel@...559...> <200408060053.47489.sourceforge-raindog2@...94...> Message-ID: Eehh...rob, may you know if gambas can run on emmbedded linux ? Budi On Fri, 6 Aug 2004 00:53:47 -0400, Rob wrote: > On Thursday 05 August 2004 22:57, Michael Sullivan wrote: >> I was wondering if there was a tutorial or a book or >> something available for Gambas. > > I have started working (in my copious free time) on a Gambas book > which I would like to handle like they did "Grokking the Gimp", > but don't hold your breath just yet. > > Theeasygambasdoku.de was originally a tutorial site, but I don't > know if it's there anymore.... many of its "How do I..." topics > got moved into the gambas wiki and thus the gambas manual, but > that's not quite the same as a step by step tutorial. > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Aug 6 13:34:59 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 6 Aug 2004 13:34:59 +0200 Subject: [Gambas-user] Serial Port : Binary In-Reply-To: References: <200406251747.53461.gambas@...1...> <20040722031100.068da4ca@...388...> Message-ID: <200408061334.59288.gambas@...1...> On Friday 06 August 2004 05:02, Budi Arief Gusandi wrote: > Dear, > > How can i send and receive data in binary mode ? I just bought a new > smartcard reader and there're no ascii command protokol, There are only > Binary Hexa commands. Can you help me how to send data like 0xBA, 0x2D etc > ? Sending it using ASCII doesnt work. > It should... You have PRINT to send strings, and WRITE to send binary data. See the wiki for more information about WRITE. Regards, -- Benoit Minisini mailto:gambas at ...1... From mr_negers at ...67... Fri Aug 6 14:13:42 2004 From: mr_negers at ...67... (Nicolas Marzoni) Date: Fri, 06 Aug 2004 09:13:42 -0300 Subject: [Gambas-user] Gambas_0.96 VAL() Message-ID: I don't know if it's a change or an error; beacuse in my gambas_0.95 and older...I use VAL("1.1") and its return The Variant 1.1 But now when a I use that; VAL("1.1"), its return NULL. And I saw that I have to use VAL("1,1") What I want to know if that is a change on Gambas or it is an error on my Gambas. I test that on Fedora Core 1 and Fedora Core 2 and return the same results. One more Time Thanks a lot. Nicolas Marzoni Mar del Plata, Argentina. _________________________________________________________________ MSN Amor: busca tu ? naranja http://latam.msn.com/amor/ From gambas at ...1... Fri Aug 6 14:27:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 6 Aug 2004 14:27:28 +0200 Subject: [Gambas-user] Gambas_0.96 VAL() In-Reply-To: References: Message-ID: <200408061427.28990.gambas@...1...> On Friday 06 August 2004 14:13, Nicolas Marzoni wrote: > I don't know if it's a change or an error; beacuse in my gambas_0.95 and > older...I use VAL("1.1") and its return The Variant 1.1 > But now when a I use that; VAL("1.1"), its return NULL. And I saw that I > have to use VAL("1,1") > > What I want to know if that is a change on Gambas or it is an error on my > Gambas. > I test that on Fedora Core 1 and Fedora Core 2 and return the same > results. > > One more Time Thanks a lot. > > Nicolas Marzoni > Mar del Plata, Argentina. > Val() uses the current system localization, i.e. the value of LANG, and LC_* environment variables to know if decimal numbers use a point or a comma. So if you could check them to see if the result is correct... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 6 14:45:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 6 Aug 2004 14:45:48 +0200 Subject: [Gambas-user] Re: Traditional chinese translation for Gambas In-Reply-To: <20040805190836.35738.qmail@...560...> References: <20040805190836.35738.qmail@...560...> Message-ID: <200408061445.48682.gambas@...1...> On Thursday 05 August 2004 21:08, you wrote: > --- Benoit Minisini > ???? > > > On Tuesday 03 August 2004 10:38, you wrote: > > > Dear Benoit > > > There are two files for Gambas. Thanks! ------------------------------------------------------------------------------- Note: I post this e-mail on the mailing-list because each time I answer to chuenchilin at ...506... directly I get an error. This is the only one gambas related e-mail address that gets me an error! ------------------------------------------------------------------------------- -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Fri Aug 6 16:15:06 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Aug 2004 10:15:06 -0400 Subject: [Gambas-user] Tutorial for newbies In-Reply-To: References: <1091761071.7871.4.camel@...559...> <200408060053.47489.sourceforge-raindog2@...94...> Message-ID: <200408061015.06467.sourceforge-raindog2@...94...> On Friday 06 August 2004 03:13, Budi Arief Gusandi wrote: > Eehh...rob, may you know if gambas can run on emmbedded linux > ? I think it might be possible to get gambas running on Qt Embedded 3. I haven't tried it yet though because my Zaurus is still back on the Qt Embedded 2 that it shipped with. Rob From daniel.campos at ...338... Fri Aug 6 16:41:18 2004 From: daniel.campos at ...338... (Daniel) Date: Fri, 06 Aug 2004 16:41:18 +0200 Subject: [Gambas-user] Serial Port : Binary In-Reply-To: References: <200406251747.53461.gambas@...1...> <20040701200843.1540156e@...388...> <200407031007.35168.gambas@...1...> <20040722031100.068da4ca@...388...> Message-ID: <1091803278.3387.4.camel@...40...> El vie, 06-08-2004 a las 05:02, Budi Arief Gusandi escribi?: > Dear, > > How can i send and receive data in binary mode ? I just bought a new > smartcard reader and there're no ascii command protokol, There are only > Binary Hexa commands. Can you help me how to send data like 0xBA, 0x2D etc > ? Sending it using ASCII doesnt work. > You can do it easily: Dim Buffer As String Buffer= Chr(&HBA) & Chr(&2D) ... WRITE #MySerial,Buffer,Len(Buffer) Regards, Daniel Campos > Thanks > > Budi From mardus at ...298... Fri Aug 6 17:44:15 2004 From: mardus at ...298... (mardus at ...298...) Date: Fri, 6 Aug 2004 12:44:15 -0300 (ART) Subject: [Gambas-user] embedded Message-ID: <16154.200.89.182.60.1091807055.squirrel@...561...> El Vie 06 Ago 2004 04:13, Budi Arief Gusandi escribi?: |> Eehh...rob, may you know if gambas can run on emmbedded linux ? With or without GUI ? What is your need? Maybe I can test it in a UNC20 with uCLinux -- -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Lo mejor de Linux es que *pod?s* elegir, lo peor de Linux es que *ten?s* que elegir. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 5 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Fri Aug 6 18:02:08 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 6 Aug 2004 12:02:08 -0400 Subject: [Gambas-user] embedded In-Reply-To: <16154.200.89.182.60.1091807055.squirrel@...561...> References: <16154.200.89.182.60.1091807055.squirrel@...561...> Message-ID: <200408061202.08994.sourceforge-raindog2@...94...> On Friday 06 August 2004 11:44, mardus at ...298... wrote: > With or without GUI ? > What is your need? > Maybe I can test it in a UNC20 with uCLinux I think it would definitely run on most embedded linux systems without things like gb.qt, but personally speaking, I'd kinda rather use perl if I'm not writing gui apps ;) Rob From gambasfr at ...11... Fri Aug 6 22:25:05 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 6 Aug 2004 22:25:05 +0200 Subject: [Gambas-user] Gambas_0.96 VAL() In-Reply-To: <200408061427.28990.gambas@...1...> References: <200408061427.28990.gambas@...1...> Message-ID: <200408062225.05475.gambasfr@...11...> Le vendredi 6 Ao?t 2004 14:27, Benoit Minisini a ?crit?: > On Friday 06 August 2004 14:13, Nicolas Marzoni wrote: > > I don't know if it's a change or an error; beacuse in my gambas_0.95 and > > older...I use VAL("1.1") and its return The Variant 1.1 > > But now when a I use that; VAL("1.1"), its return NULL. And I saw that I > > have to use VAL("1,1") > > > > What I want to know if that is a change on Gambas or it is an error on my > > Gambas. > > I test that on Fedora Core 1 and Fedora Core 2 and return the same > > results. > > > > One more Time Thanks a lot. > > > > Nicolas Marzoni > > Mar del Plata, Argentina. > > Val() uses the current system localization, i.e. the value of LANG, and > LC_* environment variables to know if decimal numbers use a point or a > comma. > > So if you could check them to see if the result is correct... > > Regards, Do you think it can be a problem to share program ? , benoit If i work with Val("1,1") And other man work with Val("1.1") Fabien From gambasfr at ...11... Fri Aug 6 23:48:03 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 6 Aug 2004 23:48:03 +0200 Subject: [Gambas-user] Great bews Message-ID: <200408062348.03752.gambasfr@...11...> Just for the pleasure to say it : My first son was born this morning the 6 august 2004 at 1 h 30 min First name: Nathan size: 50 cm weigth: 3 kg 280 enjoy it ! :-) So now i'm an happy father ! Regards, Fabien Bodard From gambasfr at ...11... Fri Aug 6 23:51:15 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 6 Aug 2004 23:51:15 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <200408062351.15110.gambasfr@...11...> Le vendredi 6 Ao?t 2004 23:48, Bodard Fabien a ?crit?: > Just for the pleasure to say it : > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > First name: Nathan > size: 50 cm > weigth: 3 kg 280 > > > enjoy it ! > > :-) > > So now i'm an happy father ! > > > Regards, > Fabien Bodard > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user bad boy... the good subject need to be 'Gread News !' From leo.barnhoorn at ...246... Sat Aug 7 00:32:49 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sat, 7 Aug 2004 00:32:49 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <200408070032.49321.leo.barnhoorn@...246...> Hello Fabien, Congratulate with your son Fabien. I wish him a long and good live. Regards, Leo. On Friday 06 August 2004 23:48, Bodard Fabien wrote: > Just for the pleasure to say it : > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > First name: Nathan > size: 50 cm > weigth: 3 kg 280 > > > enjoy it ! > > :-) > > So now i'm an happy father ! > > > Regards, > Fabien Bodard > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From michael at ...558... Sat Aug 7 00:59:39 2004 From: michael at ...558... (Michael Sullivan) Date: Fri, 06 Aug 2004 17:59:39 -0500 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <1091833179.2657.0.camel@...559...> Congratulations! On Fri, 2004-08-06 at 16:48, Bodard Fabien wrote: > Just for the pleasure to say it : > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > First name: Nathan > size: 50 cm > weigth: 3 kg 280 > > > enjoy it ! > > :-) > > So now i'm an happy father ! > > > Regards, > Fabien Bodard > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bundeshund at ...467... Sat Aug 7 06:33:27 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sat, 7 Aug 2004 06:33:27 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <200408070633.28071.bundeshund@...467...> Congratulation! Am Freitag, 6. August 2004 23:48 schrieb Bodard Fabien: > Just for the pleasure to say it : > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > First name: Nathan > size: 50 cm > weigth: 3 kg 280 > > > enjoy it ! > > :-) > > So now i'm an happy father ! Is it your first one? My girl-friend is pregnant, too. But I must be patient till febuary... > > > Regards, > Fabien Bodard HM From bundeshund at ...467... Sat Aug 7 10:26:14 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sat, 7 Aug 2004 10:26:14 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408070633.28071.bundeshund@...467...> References: <200408062348.03752.gambasfr@...11...> <200408070633.28071.bundeshund@...467...> Message-ID: <200408071026.14805.bundeshund@...467...> Am Samstag, 7. August 2004 06:33 schrieb Hans-Martin Bundeshund: > Congratulation! > > Am Freitag, 6. August 2004 23:48 schrieb Bodard Fabien: > > Just for the pleasure to say it : > > > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > > > First name: Nathan > > size: 50 cm > > weigth: 3 kg 280 > > > > > > enjoy it ! > > > > :-) > > > > So now i'm an happy father ! > > Is it your first one? Yes, it is your first one. I just have to read... It was too early in the morning for me... > > My girl-friend is pregnant, too. But I must be patient till febuary... > This will be my first, too. I even don't know, if it will be a he or she. Don't know if I whant to know or not. Maybe it's a wonderful suprice if you don't know before... And I know that the time till the birth of the child is a had time for a becoming father IMHO (of course for the mother too). I don't know the time after the birth (next year I will), but as I remember my own youth, I maked my parents some grey hairs and I already have some particularize. ;) > > Regards, > > Fabien Bodard > > HM From paul at ...555... Sat Aug 7 10:27:46 2004 From: paul at ...555... (Paul) Date: Sat, 07 Aug 2004 09:27:46 +0100 Subject: [Gambas-user] Great bews In-Reply-To: <200408070633.28071.bundeshund@...467...> References: <200408062348.03752.gambasfr@...11...> <200408070633.28071.bundeshund@...467...> Message-ID: <1091867266.3235.24.camel@...37...> Hi, > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > > > First name: Nathan > > size: 50 cm > > weigth: 3 kg 280 Well done and welcome to the next three months of really poor sleep :-) TTFN Paul -- "Look. If you had one shot, one opportunity, to seize everything you ever wanted. One moment to capture or would you just let it slip?" - Marshall Mathers III (Lose Yourself) -------------- 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 budi at ...415... Sat Aug 7 11:49:39 2004 From: budi at ...415... (budi at ...415...) Date: Sat, 7 Aug 2004 16:49:39 +0700 Subject: [Gambas-user] embedded In-Reply-To: <16154.200.89.182.60.1091807055.squirrel@...561...> References: <16154.200.89.182.60.1091807055.squirrel@...561...> Message-ID: <1091872179.4114a5b351ba7@...416...> Well, i need it for processing ticket collecting for toll road using smartcard. With or Without GUI is not problem, but it will be more good if using GUI. Thanks Budi Quoting mardus at ...298...: > El Vie 06 Ago 2004 04:13, Budi Arief Gusandi escribi?: > |> Eehh...rob, may you know if gambas can run on emmbedded linux ? > > With or without GUI ? > What is your need? > Maybe I can test it in a UNC20 with uCLinux > > -- > -- Para el cierre: --- > El Maestro Pen Guin al azar citaba: > Lo mejor de Linux es que *pod?s* elegir, > lo peor de Linux es que *ten?s* que elegir. > - - - > Marcelo Duschkin - Buenos Aires - Argentina > mardus at ...298... > www.websdelsur.com.ar > www.lahueya.com.ar > > From gambas at ...1... Sat Aug 7 12:26:58 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Aug 2004 12:26:58 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <200408071226.58740.gambas@...1...> On Friday 06 August 2004 23:48, Bodard Fabien wrote: > Just for the pleasure to say it : > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > First name: Nathan > size: 50 cm > weigth: 3 kg 280 > > > enjoy it ! > > :-) > > So now i'm an happy father ! > > > Regards, > Fabien Bodard > Congratulations! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 7 12:28:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Aug 2004 12:28:29 +0200 Subject: [Gambas-user] Gambas_0.96 VAL() In-Reply-To: <200408062225.05475.gambasfr@...11...> References: <200408061427.28990.gambas@...1...> <200408062225.05475.gambasfr@...11...> Message-ID: <200408071228.29455.gambas@...1...> On Friday 06 August 2004 22:25, Bodard Fabien wrote: > Le vendredi 6 Ao?t 2004 14:27, Benoit Minisini a ?crit?: > > On Friday 06 August 2004 14:13, Nicolas Marzoni wrote: > > > I don't know if it's a change or an error; beacuse in my gambas_0.95 > > > and older...I use VAL("1.1") and its return The Variant 1.1 > > > But now when a I use that; VAL("1.1"), its return NULL. And I saw that > > > I have to use VAL("1,1") > > > > > > What I want to know if that is a change on Gambas or it is an error on > > > my Gambas. > > > I test that on Fedora Core 1 and Fedora Core 2 and return the same > > > results. > > > > > > One more Time Thanks a lot. > > > > > > Nicolas Marzoni > > > Mar del Plata, Argentina. > > > > Val() uses the current system localization, i.e. the value of LANG, and > > LC_* environment variables to know if decimal numbers use a point or a > > comma. > > > > So if you could check them to see if the result is correct... > > > > Regards, > > Do you think it can be a problem to share program ? , benoit > > If i work with Val("1,1") And other man work with Val("1.1") > Then it means that you are working with two different localizations. It is not a problem, it is a essential feature! -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Sat Aug 7 12:37:28 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 7 Aug 2004 12:37:28 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408070633.28071.bundeshund@...467...> References: <200408062348.03752.gambasfr@...11...> <200408070633.28071.bundeshund@...467...> Message-ID: <200408071237.28281.gambasfr@...11...> Le samedi 7 Ao?t 2004 06:33, Hans-Martin Bundeshund a ?crit?: > Congratulation! > > Am Freitag, 6. August 2004 23:48 schrieb Bodard Fabien: > > Just for the pleasure to say it : > > > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > > > First name: Nathan > > size: 50 cm > > weigth: 3 kg 280 > > > > > > enjoy it ! > > > > :-) > > > > So now i'm an happy father ! > > Is it your first one? > > My girl-friend is pregnant, too. But I must be patient till febuary... good luck, i hink the more dificult is for now... little night... But mabe more time to devel between too cry times... When i can't sleep i devel so... Regards, Fabien Bodard > > HM > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Sat Aug 7 12:40:10 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 7 Aug 2004 12:40:10 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408071226.58740.gambas@...1...> References: <200408062348.03752.gambasfr@...11...> <200408071226.58740.gambas@...1...> Message-ID: <200408071240.10956.gambasfr@...11...> Le samedi 7 Ao?t 2004 12:26, Benoit Minisini a ?crit?: > On Friday 06 August 2004 23:48, Bodard Fabien wrote: > > Just for the pleasure to say it : > > > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > > > First name: Nathan > > size: 50 cm > > weigth: 3 kg 280 > > > > > > enjoy it ! > > > > :-) > > > > So now i'm an happy father ! > > > > > > Regards, > > Fabien Bodard > > Congratulations! Thank to all Fabien c\:-) From gambas at ...1... Sat Aug 7 13:23:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 7 Aug 2004 13:23:27 +0200 Subject: [Gambas-user] Keyboard function skipped? In-Reply-To: <1086885592.3223.3.camel@...40...> References: <200406092113.35717.gambas@...1...> <1086885592.3223.3.camel@...40...> Message-ID: <200408071323.27440.gambas@...1...> On Thursday 10 June 2004 18:39, Daniel wrote: > El mi?, 09-06-2004 a las 21:13, Benoit Minisini escribi?: > > On Wednesday 09 June 2004 18:27, danielcampos at ...282... wrote: > > > VB has two functions : Lenb() is byte lenght, Len() is characters > > > lenght, may be Gambas needs something like this! > > > > > > Regards, > > > > > > Daniel Campos > > > > There is no assumption on the charset used by the system, contrary to > > Windows. So the function might be Len(String, Charset). > > Well, once you're using iconv, you can use: > > int iconv_strlen ( string str [, string charset]); > > To get that character length, and > > int iconv_strpos ( string haystack, string needle, int offset [, string > charset]) > > To get the position of a character > These are PHP functions man ! I must implement them by hand :-( -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Sat Aug 7 14:14:05 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 7 Aug 2004 14:14:05 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <200408071414.05437.lordheavy@...512...> Le vendredi 6 Ao?t 2004 23:48, Bodard Fabien a ?crit?: > Just for the pleasure to say it : > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > First name: Nathan > size: 50 cm > weigth: 3 kg 280 > > Congratulations ! -- Laurent Carlier From mardus at ...298... Sat Aug 7 16:13:17 2004 From: mardus at ...298... (mardus at ...298...) Date: Sat, 7 Aug 2004 11:13:17 -0300 (ART) Subject: [Gambas-user] Re: Great bews Message-ID: <57028.200.89.182.60.1091887997.squirrel@...561...> El Vie 06 Ago 2004 18:48, Bodard Fabien escribi?: |> Just for the pleasure to say it : |> |> My first son was born this morning the 6 august 2004 at 1 h 30 min F?licitations. Felicidades. Congratulations. -- -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Yo tambi?n soy multitarea. Leo en el ba?o. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 5 bytes Desc: not available URL: From na2492 at ...9... Sat Aug 7 18:09:14 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sat, 7 Aug 2004 18:09:14 00200 Subject: [Gambas-user] Great bews Message-ID: <4114feaa.3237.0@...9...> >Le vendredi 6 Ao?t 2004 23:48, Bodard Fabien a ?crit?: >> Just for the pleasure to say it : >> >> My first son was born this morning the 6 august 2004 at 1 h 30 min >> >> First name: Nathan >> size: 50 cm >> weigth: 3 kg 280 >> >> >> enjoy it ! >> >> :-) >> >> So now i'm an happy father ! >> >> >> Regards, >> Fabien Bodard >> Good luck I like this (b)news in that list Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From jscops at ...11... Sat Aug 7 18:30:12 2004 From: jscops at ...11... (Jack) Date: Sat, 7 Aug 2004 18:30:12 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <200408071830.12985.jscops@...11...> Le Vendredi 6 Ao?t 2004 23:48, Bodard Fabien a ?crit : > Just for the pleasure to say it : > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > First name: Nathan > size: 50 cm > weigth: 3 kg 280 > > > enjoy it ! > > :-) > > So now i'm an happy father ! > > > Regards, > Fabien Bodard Salut Fabien, All my congratulations for you and for the mother. And welcome to the little Gamberian. ?~Jack~? From jscops at ...11... Sat Aug 7 19:55:10 2004 From: jscops at ...11... (Jack) Date: Sat, 7 Aug 2004 19:55:10 +0200 Subject: [Gambas-user] Sort a table view Message-ID: <200408071955.10716.jscops@...11...> Bonjour a tous, Here is my probleme and i hope that you can understand me. Look at the first screen. When i click on the "Nom" column the "Tri" routine is running and datas are sorted by name. This is good because "Dbt" variable = 0 and sub-routine Deb() is running. Now when i type "r" letter it is always the sub-routine deb() whick work because "Dbt" is still = 0. Yet, when i type a letter i go to the N1_KeyPress() routine. It seem that the programme is reacting with two times delay ( see screen 2 and 3) Anybody can help me ? Thank you very much. Here the routines i use. PUBLIC SUB Tris() DIM rResult AS Result DBASE() WITH Utils IF .conn(DB.host, DB.login, DB.password)=TRUE then .DB.Close .DB.Name=DB.name .DB.Open END IF END WITH WITH colcli .Columns.count = 8 .Columns[0].Width = 60 .Columns[1].Width = 55 .Columns[2].Width = 120 .Columns[3].Width = 80 .Columns[4].Width = 120 .Columns[5].Width = 120 .Columns[6].Width = 50 .Columns[7].Width = 92 .Columns[0].Text = "Code" .Columns[1].Text = "Civilit?" .Columns[2].Text = "Nom" .Columns[3].Text = "Pr?nom" .Columns[4].Text = "Adresse 1" .Columns[5].Text = "Adresse 2" .Columns[6].Text = "CP" .Columns[7].Text = "Ville" END WITH IF Dbt = 0 THEN deb() ELSE Deb2() ENDIF DB.Close END PUBLIC SUB deb() Utils.colcli(colcli, "select * from "&Tab&" order by "&Tri&"") END PUBLIC SUB Deb2() Utils.colcli(colcli,"select * from "&Tab&" where "&Tri&" like \""&sel&"%\" order by "&Tri&"") END PUBLIC SUB N1_Click() DIM Cli_Nom AS String sel = "" C1.Text = "" A1.Text = "" CP1.Text = "" V1.Text = "" Tri = "Cli_Nom" Tris() END PUBLIC SUB N1_KeyPress() sel = N1.Text IF sel ="" THEN Dbt = 0 ELSE Dbt = 1 ENDIF Tris() END -------------- next part -------------- A non-text attachment was scrubbed... Name: Ecr1.jpg Type: image/jpeg Size: 62681 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Ecr2.jpg Type: image/jpeg Size: 48364 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Ecr3.jpg Type: image/jpeg Size: 42758 bytes Desc: not available URL: From girardhenri at ...67... Sat Aug 7 20:16:18 2004 From: girardhenri at ...67... (Henri Girard) Date: Sat, 7 Aug 2004 20:16:18 +0200 Subject: [Gambas-user] Great bews References: <200408062348.03752.gambasfr@...11...> <200408071830.12985.jscops@...11...> Message-ID: Hiroshima ... Heureusement des bonnes nouvelles.. Shang di ai bao you ni :) chinois ping yin pour : Godlove bless you ----- Original Message ----- From: "Jack" To: Sent: Saturday, August 07, 2004 6:30 PM Subject: Re: [Gambas-user] Great bews Le Vendredi 6 Ao?t 2004 23:48, Bodard Fabien a ?crit : > Just for the pleasure to say it : > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > First name: Nathan > size: 50 cm > weigth: 3 kg 280 > > > enjoy it ! > > :-) > > So now i'm an happy father ! > > > Regards, > Fabien Bodard Salut Fabien, All my congratulations for you and for the mother. And welcome to the little Gamberian. ?~Jack~? ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From daniel.campos at ...338... Sat Aug 7 21:37:59 2004 From: daniel.campos at ...338... (Daniel) Date: Sat, 07 Aug 2004 21:37:59 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <1091907479.3548.1.camel@...40...> Congratulations! But... he has born very young! :-))) El vie, 06-08-2004 a las 23:48, Bodard Fabien escribi?: > Just for the pleasure to say it : > > My first son was born this morning the 6 august 2004 at 1 h 30 min > > First name: Nathan > size: 50 cm > weigth: 3 kg 280 > > > enjoy it ! > > :-) > > So now i'm an happy father ! > > > Regards, > Fabien Bodard > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From petrok at ...18... Sat Aug 7 22:56:45 2004 From: petrok at ...18... (PeTRoK - Reinaldo =?ISO-8859-1?Q?Jos=E9?= M.) Date: Sat, 07 Aug 2004 17:56:45 -0300 Subject: [Gambas-user] Question array of objects In-Reply-To: References: Message-ID: <1091912204.2176.11.camel@...562...> Hello everybody.! I'm a new in Gambas, and really like to develop with Gambas, and now I'm developing a system to view another server in web. (Just Like Nagios), but using a RegionMap! Is FS! If SomeBody need.! Well! I Have a problem.! I need use one Array of Objects...And I Don't Make.! I Try with code of VB (sorry) but nothing... Ps.. PictureBox1.Picture.Load("green.png") I Need this. PictureBox[i].Picture.Load("green.png") Sorry about the dummy question! Thank's Reinaldo J. PeTRoK Seja Livre use Linux From stillj7388 at ...159... Sun Aug 8 05:03:18 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Sat, 07 Aug 2004 20:03:18 -0700 Subject: [Gambas-user] Display problem Message-ID: <411597F6.4070101@...159...> Ok...I am at a loss for words. Open to any ideas with this one. --j -- CONFIDENTIALITY AND DISCLAIMER NOTICE: This email contains veterinary medical records, or material that is confidential and/or privileged. It is for the sole use of the intended recipient as shown in the message "To:" header. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, delete all electronic copies, and shred all hard copies. Photographic images are the property of Jeff Stillinger. Sender assumes no responsibility or liability for any damages caused by messages sent without encryption. -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas-scrn.jpg Type: image/jpeg Size: 179832 bytes Desc: not available URL: From stillj7388 at ...159... Sun Aug 8 05:17:56 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Sat, 07 Aug 2004 20:17:56 -0700 Subject: [Gambas-user] Console Errors Message-ID: <41159B64.6030703@...159...> I get these errors when using the QUIT function. PUBLIC SUB Button1_Click() QUIT END WARNING: circular references detected Form1 (1) Mutex destroy failure: Device or resource busy WARNING: 51 allocation(s) non freed. If I simply close the window with the Close Window button, exits without these errors. I have this funny feeling this has something to do with my own linux configuration rather than gambas. I will research this to fill the void of my personal knowlage, in the mean time, if anyone has a quick fix. Thanks Jeff From gambasfr at ...11... Sun Aug 8 09:14:08 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 8 Aug 2004 09:14:08 +0200 Subject: [Gambas-user] Question array of objects In-Reply-To: <1091912204.2176.11.camel@...562...> References: <1091912204.2176.11.camel@...562...> Message-ID: <200408080914.09059.gambasfr@...11...> Le samedi 7 Ao?t 2004 22:56, PeTRoK - Reinaldo Jos? M. a ?crit?: > Hello everybody.! I'm a new in Gambas, and really like to develop with > Gambas, and now I'm developing a system to view another server in web. > (Just Like Nagios), but using a RegionMap! Is FS! If SomeBody need.! > > Well! I Have a problem.! I need use one Array of Objects...And I Don't > Make.! I Try with code of VB (sorry) but nothing... > > Ps.. > > PictureBox1.Picture.Load("green.png") > > I Need this. > > PictureBox[i].Picture.Load("green.png") > PRIVATE arPictures AS new Object[] PUBLIC SUB _New() DIM pic as PictureBox For i =0 to 9 pic = New PictureBox(ME) '(ME or other container) arPicture.Add(pic) Next END Fabien BODARD > > Sorry about the dummy question! > Thank's > > Reinaldo J. > PeTRoK > Seja Livre use Linux > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Aug 8 11:33:11 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 8 Aug 2004 11:33:11 +0200 Subject: [Gambas-user] Display problem In-Reply-To: <411597F6.4070101@...159...> References: <411597F6.4070101@...159...> Message-ID: <200408081133.11770.gambas@...1...> On Sunday 08 August 2004 05:03, Jeff Stillinger wrote: > Ok...I am at a loss for words. > > Open to any ideas with this one. > > --j Didn't you set the Arrangement property of the TabStrip control to Horizontal ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 8 11:34:44 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 8 Aug 2004 11:34:44 +0200 Subject: [Gambas-user] Console Errors In-Reply-To: <41159B64.6030703@...159...> References: <41159B64.6030703@...159...> Message-ID: <200408081134.44027.gambas@...1...> On Sunday 08 August 2004 05:17, Jeff Stillinger wrote: > I get these errors when using the QUIT function. > > PUBLIC SUB Button1_Click() > QUIT > END > > WARNING: circular references detected > Form1 (1) > Mutex destroy failure: Device or resource busy > WARNING: 51 allocation(s) non freed. > > If I simply close the window with the Close Window button, exits without > these errors. > > I have this funny feeling this has something to do with my own linux > configuration rather than gambas. I will research this to fill the void > of my personal knowlage, in the mean time, if anyone has a quick fix. > > Thanks > > Jeff > QUIT roughly interrupts the interpreter. You should never use this it, but instead cleanly close all your windows to quit the program. Regards, -- Benoit Minisini mailto:gambas at ...1... From christian.faurebouvard at ...357... Mon Aug 9 13:23:51 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Mon, 9 Aug 2004 07:23:51 -0400 Subject: [Gambas-user] example component Message-ID: <200408090723.51995.christian.faurebouvard@...357...> Hello I'm trying to write a XML expat component, but i start to compile the example component: I found it already compiled in source packages in version 0.95 and 0.96 CExample.lo exists before compilation :( I try to recompile it, but the makefile are not generated by the configure script :( then can't compile it ... Finally i can't found examples using this component :( Help me please! Thanks From stillj7388 at ...159... Sun Aug 8 20:13:09 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Sun, 08 Aug 2004 11:13:09 -0700 Subject: [Gambas-user] Display problem In-Reply-To: <200408081133.11770.gambas@...1...> References: <411597F6.4070101@...159...> <200408081133.11770.gambas@...1...> Message-ID: <41166D35.7040407@...159...> Yes it was set to Horizontal. As I sit here playing with it, I set the Arrangement to None and it's fixed. Horizontal looks like the default for the TabStrip. That is a most interesting property. Thanks Jeff Benoit Minisini wrote: > On Sunday 08 August 2004 05:03, Jeff Stillinger wrote: > >>Ok...I am at a loss for words. >> >>Open to any ideas with this one. >> >>--j > > > Didn't you set the Arrangement property of the TabStrip control to > Horizontal ? > From daniel.campos at ...338... Sun Aug 8 21:18:41 2004 From: daniel.campos at ...338... (Daniel) Date: Sun, 08 Aug 2004 21:18:41 +0200 Subject: [Gambas-user] example component In-Reply-To: <200408090723.51995.christian.faurebouvard@...357...> References: <200408090723.51995.christian.faurebouvard@...357...> Message-ID: <1091992721.4587.3.camel@...40...> May be this can help you: A time ago I was doing some experiments about an XML component, I send you two "snapshots", however I can not tell you very much about that component, as I don't remember very well what was my idea...Too much time since I wrote that... Regards, Daniel Campos El lun, 09-08-2004 a las 13:23, Christian Faure escribi?: > Hello > > I'm trying to write a XML expat component, > but i start to compile the example component: > I found it already compiled in source packages in version 0.95 and 0.96 > CExample.lo exists before compilation :( > I try to recompile it, > but the makefile are not generated by the configure script :( > then can't compile it ... > Finally i can't found examples using this component :( > > Help me please! > > Thanks > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: gbxml-1.tar.bz2 Type: application/x-bzip Size: 73960 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gbxml-2.tar.bz2 Type: application/x-bzip Size: 7520 bytes Desc: not available URL: From christian.faurebouvard at ...357... Mon Aug 9 14:03:30 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Mon, 9 Aug 2004 08:03:30 -0400 Subject: [Gambas-user] example component In-Reply-To: <1091992721.4587.3.camel@...40...> References: <200408090723.51995.christian.faurebouvard@...357...> <1091992721.4587.3.camel@...40...> Message-ID: <200408090803.30662.christian.faurebouvard@...357...> Muchas gracias! Ver? como utilizarlo. Hasta pronto El Domingo, 8 de Agosto de 2004 15:18, Daniel escribi?: > May be this can help you: > > A time ago I was doing some experiments about an XML component, I send > you two "snapshots", however I can not tell you very much about that > component, as I don't remember very well what was my idea...Too much > time since I wrote that... > > > Regards, > > Daniel Campos > > El lun, 09-08-2004 a las 13:23, Christian Faure escribi?: > > Hello > > > > I'm trying to write a XML expat component, > > but i start to compile the example component: > > I found it already compiled in source packages in version 0.95 and 0.96 > > CExample.lo exists before compilation :( > > I try to recompile it, > > but the makefile are not generated by the configure script :( > > then can't compile it ... > > Finally i can't found examples using this component :( > > > > Help me please! > > > > Thanks From bwells at ...475... Mon Aug 9 14:41:15 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 09 Aug 2004 08:41:15 -0400 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <411770EB.7000105@...475...> Hey Fabien: Congrats! I'll be keeping you in my Prayers! ~Brant Bodard Fabien wrote: >Just for the pleasure to say it : > >My first son was born this morning the 6 august 2004 at 1 h 30 min > >First name: Nathan >size: 50 cm >weigth: 3 kg 280 > > >enjoy it ! > >:-) > >So now i'm an happy father ! > > >Regards, >Fabien Bodard > > From sdnpaolo at ...69... Mon Aug 9 15:25:37 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Mon, 09 Aug 2004 15:25:37 +0200 Subject: [Gambas-user] Great bews In-Reply-To: <200408062348.03752.gambasfr@...11...> References: <200408062348.03752.gambasfr@...11...> Message-ID: <41177B51.1020800@...69...> Congratulazioni !!! :-) Paolo Bodard Fabien wrote: >Just for the pleasure to say it : > >My first son was born this morning the 6 august 2004 at 1 h 30 min > >First name: Nathan >size: 50 cm >weigth: 3 kg 280 > > >enjoy it ! > >:-) > >So now i'm an happy father ! > > >Regards, >Fabien Bodard > > >------------------------------------------------------- >This SF.Net email is sponsored by OSTG. Have you noticed the changes on >Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, >one more big change to announce. We are now OSTG- Open Source Technology >Group. Come see the changes on the new OSTG site. www.ostg.com >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From vbtricks at ...451... Mon Aug 9 19:21:23 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Mon, 09 Aug 2004 19:21:23 +0200 Subject: [Gambas-user] DateAdd function Message-ID: <4117B293.1040009@...451...> Hi again! found the DateAdd and DateDiff functions implemented in Gambas 0.96, great! Unfortunatelty the documentation for these function seems to be still missing. So I tried the VB way and it works, partly. Adding days ("d"), weeks ("ww") and years ("y") to a date works (used strings for period in brackets), but what about months. What string do I have to use for adding months? Stefan P.S.: Have been unsubscribed from July 18 to August 08, so I am not informed about the latest changes. What about a Forum for Gambas (as my mail folder contains 520 mails received in only two months). Would be nice as a FAQ. Don't you think so, too? From sourceforge-raindog2 at ...94... Mon Aug 9 20:46:06 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 9 Aug 2004 14:46:06 -0400 Subject: [Gambas-user] allocating a pty in gambas Message-ID: <200408091446.06574.sourceforge-raindog2@...94...> I'm trying to write an application, one of whose features is a terminal emulator window in which an ssh session on a remote host will be displayed. But (as with the Console example), there is no way to allocate a pty when you shell a process, so many programs (like less, emacs, etc.) won't run or run incorrectly. I'm not asking for terminal emulation support.... we have our own terminal type here and I'm implementing that myself. But unix programs work differently depending on whether they're run from a terminal or not, and whether or not they're running in a pty determines that behavior. Is there some way I can fake this using clever use of the open and shell commands, process objects, etc. or am I gonna have to write another perl helper app (which would call the Perl builtin IO::Pty class)? ;) Rob From andreas.wegerich at ...563... Mon Aug 9 20:50:29 2004 From: andreas.wegerich at ...563... (Andreas Wegerich) Date: Mon, 9 Aug 2004 20:50:29 +0200 Subject: [Gambas-user] Access to XML In-Reply-To: <200404242158.39667.Karl.Reinl@...9...> References: <200404242158.39667.Karl.Reinl@...9...> Message-ID: <200408092050.29902.andreas.wegerich@...563...> Hallo Ihr Urlauber, wann es mit der Geburt losgeht steht noch nicht fest. Nach M?glichkeit soll es aber noch etwas dauern. Angela ist jetzt aber wegen der Gefahr einer Schwangerschaftsvergiftung seit einer Woche in der Kinik. Evtl. darf sie aber diese Woche wieder nach Hause. Andreas Am Samstag, 24. April 2004 21:58 schrieb Charlie Reinl: > Salut, > > here is a xmllint shell to show how you can access xml-Files . > It is using the xmllint --shell command from the xmllint tool. > > I attached a demo.xml and Syntax . > You have to chosse a xml file with the [...] button and then you can > execute the text whos in the ComboBox by [Do IT] button . > Every 'good' Statement will be stored in the ComboBox . > The ComboBox is preconfigured by some xmllint --shell Options . > You can find all xmllint --shell Options by executing 'help'. > > Amicalement > Charlie From michael at ...558... Mon Aug 9 21:02:32 2004 From: michael at ...558... (Michael Sullivan) Date: Mon, 09 Aug 2004 14:02:32 -0500 Subject: [Gambas-user] Access to XML In-Reply-To: <200408092050.29902.andreas.wegerich@...563...> References: <200404242158.39667.Karl.Reinl@...9...> <200408092050.29902.andreas.wegerich@...563...> Message-ID: <1092078152.11692.25.camel@...559...> Can someone translate this into English please? On Mon, 2004-08-09 at 13:50, Andreas Wegerich wrote: > Hallo Ihr Urlauber, > > wann es mit der Geburt losgeht steht noch nicht fest. Nach M??glichkeit soll es > aber noch etwas dauern. Angela ist jetzt aber wegen der Gefahr einer > Schwangerschaftsvergiftung seit einer Woche in der Kinik. Evtl. darf sie aber > diese Woche wieder nach Hause. > > Andreas > > Am Samstag, 24. April 2004 21:58 schrieb Charlie Reinl: > > Salut, > > > > here is a xmllint shell to show how you can access xml-Files . > > It is using the xmllint --shell command from the xmllint tool. > > > > I attached a demo.xml and Syntax . > > You have to chosse a xml file with the [...] button and then you can > > execute the text whos in the ComboBox by [Do IT] button . > > Every 'good' Statement will be stored in the ComboBox . > > The ComboBox is preconfigured by some xmllint --shell Options . > > You can find all xmllint --shell Options by executing 'help'. > > > > Amicalement > > Charlie > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bundeshund at ...467... Mon Aug 9 21:05:49 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Mon, 9 Aug 2004 21:05:49 +0200 Subject: [Gambas-user] Access to XML In-Reply-To: <1092078152.11692.25.camel@...559...> References: <200404242158.39667.Karl.Reinl@...9...> <200408092050.29902.andreas.wegerich@...563...> <1092078152.11692.25.camel@...559...> Message-ID: <200408092105.49230.bundeshund@...467...> Am Montag, 9. August 2004 21:02 schrieb Michael Sullivan: > Can someone translate this into English please? Lol. I think you do not want this. It looks like Andreas aswerd to a personal/private mail from s.o. else. > > On Mon, 2004-08-09 at 13:50, Andreas Wegerich wrote: > > Hallo Ihr Urlauber, > > > > wann es mit der Geburt losgeht steht noch nicht fest. Nach M??glichkeit > > soll es aber noch etwas dauern. Angela ist jetzt aber wegen der Gefahr > > einer Schwangerschaftsvergiftung seit einer Woche in der Kinik. Evtl. > > darf sie aber diese Woche wieder nach Hause. Good luck to Angela. > > > > Andreas From michael at ...558... Mon Aug 9 21:20:34 2004 From: michael at ...558... (Michael Sullivan) Date: Mon, 09 Aug 2004 14:20:34 -0500 Subject: [Gambas-user] Access to XML In-Reply-To: <200408092105.49230.bundeshund@...467...> References: <200404242158.39667.Karl.Reinl@...9...> <200408092050.29902.andreas.wegerich@...563...> <1092078152.11692.25.camel@...559...> <200408092105.49230.bundeshund@...467...> Message-ID: <1092079234.11692.28.camel@...559...> I'm sorry. I don't read German, that is I don't understand it. I need to learn. So this wasn't an actual question. Okay. Never mind. Thank you. On Mon, 2004-08-09 at 14:05, Hans-Martin Bundeshund wrote: > Am Montag, 9. August 2004 21:02 schrieb Michael Sullivan: > > Can someone translate this into English please? > > Lol. I think you do not want this. It looks like Andreas aswerd to a > personal/private mail from s.o. else. > > > > > > On Mon, 2004-08-09 at 13:50, Andreas Wegerich wrote: > > > Hallo Ihr Urlauber, > > > > > > wann es mit der Geburt losgeht steht noch nicht fest. Nach M????glichkeit > > > soll es aber noch etwas dauern. Angela ist jetzt aber wegen der Gefahr > > > einer Schwangerschaftsvergiftung seit einer Woche in der Kinik. Evtl. > > > darf sie aber diese Woche wieder nach Hause. > > Good luck to Angela. > > > > > > > Andreas > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From lordheavy at ...512... Tue Aug 10 00:34:12 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 10 Aug 2004 00:34:12 +0200 Subject: [Gambas-user] allocating a pty in gambas In-Reply-To: <200408091446.06574.sourceforge-raindog2@...94...> References: <200408091446.06574.sourceforge-raindog2@...94...> Message-ID: <200408100034.13388.lordheavy@...512...> Le lundi 9 Ao?t 2004 20:46, Rob a ?crit?: > I'm trying to write an application, one of whose features is a > terminal emulator window in which an ssh session on a remote > host will be displayed. But (as with the Console example), > there is no way to allocate a pty when you shell a process, so > many programs (like less, emacs, etc.) won't run or run > incorrectly. > > I'm not asking for terminal emulation support.... we have our own > terminal type here and I'm implementing that myself. But unix > programs work differently depending on whether they're run from > a terminal or not, and whether or not they're running in a pty > determines that behavior. > > Is there some way I can fake this using clever use of the open > and shell commands, process objects, etc. or am I gonna have to > write another perl helper app (which would call the Perl builtin > IO::Pty class)? ;) > > Rob > > i've got the same prob while trying to run the su command. with shell or exec xommand the same error : su: must be run from a terminal -- Laurent Carlier From sourceforge-raindog2 at ...94... Tue Aug 10 00:49:33 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 9 Aug 2004 18:49:33 -0400 Subject: [Gambas-user] allocating a pty in gambas In-Reply-To: <200408100034.13388.lordheavy@...512...> References: <200408091446.06574.sourceforge-raindog2@...94...> <200408100034.13388.lordheavy@...512...> Message-ID: <200408091849.33767.sourceforge-raindog2@...94...> On Monday 09 August 2004 18:34, Laurent Carlier wrote: > > Is there some way I can fake this using clever use of the > > open and shell commands, process objects, etc. or am I gonna > > have to write another perl helper app (which would call the > > Perl builtin IO::Pty class)? ;) > i've got the same prob while trying to run the su command. > with shell or exec xommand the same error : > su: must be run from a terminal Here is the workaround I came up with this afternoon (yeah, it's a perl script ;) ) Put your su or whatever in place of my ssh and shell out to this perl script. I am about 80% of the way to an actual (though locked to 80x25) terminal emulator now ;) #!/usr/bin/perl use Expect; my $exp = new Expect; my $command = "ssh somehost -l someuser"; $exp->spawn($command, @parameters) or die "Cannot spawn $command: $!\n"; $exp->log_stdout(0); $exp->interact(); # end of script... Rob From leo.barnhoorn at ...246... Tue Aug 10 01:17:21 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 10 Aug 2004 01:17:21 +0200 Subject: [Gambas-user] Gambas Force. Message-ID: <200408100117.21127.leo.barnhoorn@...246...> Hello all, For the people who can not connect to Gambas Force site : gambas.magic-systems.net Is it possible for them to do a traceroute to gambas.magic-systems.net and send the log to leo.barnhoorn at ...246... Whit this logs i can go to my provider, so we can solve this problem. Regards, Leo. From iwan at ...519... Tue Aug 10 03:14:34 2004 From: iwan at ...519... (Iwan Prasetyo) Date: Tue, 10 Aug 2004 08:14:34 +0700 Subject: [Gambas-user] Database support In-Reply-To: Message-ID: <200408100106.i7A1677Q019436@...564...> Dear all, Does gambas support any other famous database like Sybase or Oracle, SQL Server, etc? So far I know gambas currently supports MySQL & PostgreSQL only and a little bit SQLite. Regards, Iwan Prasetyo From michael at ...558... Tue Aug 10 03:37:09 2004 From: michael at ...558... (Michael Sullivan) Date: Mon, 09 Aug 2004 20:37:09 -0500 Subject: [Gambas-user] File manipulation Message-ID: <1092101829.4036.20.camel@...559...> I have a problem. I'm trying to open a file from my program. I have a variable, myFilename, which I want to hold the name of the file. I try to assign it the filename: myFilename = "/home/michael/system/ibackup_list" but it keeps giving me this error: Dynamic symbols cannot be used in static function at line 4 in main.class I counted down to line 4 (I wish there were line and column numbers available on a status bar in the editor) and line 4 was my assignment statement. Is '/' a dynamic symbol in Gambas? If so, what's the correct syntax of my assignment? Please help! From budi at ...415... Tue Aug 10 04:08:51 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 10 Aug 2004 09:08:51 +0700 Subject: [Gambas-user] Database support In-Reply-To: <200408100106.i7A1677Q019436@...564...> References: <200408100106.i7A1677Q019436@...564...> Message-ID: Yes, there are only those database currently supported. You can see the detail in change log of every version of gambas. I thinks those are enough for the database. For High Scale database you can use Posgres, for standalone you can use SQLLite and for just insert or update data, no trigger etc, you can use the fastest one ? that's my sql. I ever requested for FireBird Database Driver, but hehehe....;) Regards Budi On Tue, 10 Aug 2004 08:14:34 +0700, Iwan Prasetyo wrote: > Dear all, > > Does gambas support any other famous database like Sybase or Oracle, SQL > Server, etc? > So far I know gambas currently supports MySQL & PostgreSQL only and a > little > bit SQLite. > > Regards, > Iwan Prasetyo > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ From michael at ...558... Tue Aug 10 04:19:25 2004 From: michael at ...558... (Michael Sullivan) Date: Mon, 09 Aug 2004 21:19:25 -0500 Subject: [Gambas-user] Re: File manipulation In-Reply-To: <1092101829.4036.20.camel@...559...> References: <1092101829.4036.20.camel@...559...> Message-ID: <1092104365.4035.24.camel@...559...> I figured it out. I was using a class instead of a module. On Mon, 2004-08-09 at 20:37, Michael Sullivan wrote: > I have a problem. I'm trying to open a file from my program. I have a > variable, myFilename, which I want to hold the name of the file. I try > to assign it the filename: > > myFilename = "/home/michael/system/ibackup_list" > > but it keeps giving me this error: > > Dynamic symbols cannot be used in static function at line 4 in > main.class > > I counted down to line 4 (I wish there were line and column numbers > available on a status bar in the editor) and line 4 was my assignment > statement. Is '/' a dynamic symbol in Gambas? If so, what's the > correct syntax of my assignment? Please help! From budi at ...415... Tue Aug 10 04:17:16 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 10 Aug 2004 09:17:16 +0700 Subject: [Gambas-user] SERIAL PORT : AGAIN ? In-Reply-To: <1092101829.4036.20.camel@...559...> References: <1092101829.4036.20.camel@...559...> Message-ID: Dear Sir, Madam. ..hehee LOL Is there any methode to read from serial port rather than from read event ? In VB simply we can use : Private Sub xxx() Dim sInput as String MsComm1.Output = "x" 'a command to reset, just a sample Wait 150 'a procedure to wait for 150 ms, until all the responese for the serial come sInput = MsComm1.Input 'Process result here... 'After that Send again another command MsComm1.Output = "s" 'a command to select, just a sample Wait 30 'a procedure to wait for 30 ms, until all the responese for the serial come sInput = MsComm1.Input ..processs End sub In that code, i dont want to use read() event. I have workaround to use a variabel in read() event, and use it in the sub, but i just want to use read() event for triggering only....if there's a char in the buffer, i'll go to the procedure, processing manually. Thank you Budi From budi at ...415... Tue Aug 10 05:03:43 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 10 Aug 2004 10:03:43 +0700 Subject: [Gambas-user] SDL In-Reply-To: <1092078152.11692.25.camel@...559...> References: <200404242158.39667.Karl.Reinl@...9...> <200408092050.29902.andreas.wegerich@...563...> <1092078152.11692.25.camel@...559...> Message-ID: Dear benoit, Will SDL be expanded to use rendering of OPEN GL ? Actually what's the best GLUT or SDL for multimedia library ? Thansk Budi From sdnpaolo at ...69... Tue Aug 10 08:12:32 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Tue, 10 Aug 2004 08:12:32 +0200 Subject: [Gambas-user] SERIAL PORT : AGAIN ? In-Reply-To: References: <1092101829.4036.20.camel@...559...> Message-ID: <41186750.2050804@...69...> Hi Budi, sure you can ! :-) Have a look at the attached code. You can search the mailing lists Gambas-user Archives at around june 2004 as well. Regards, Paolo Budi Arief Gusandi wrote: > Dear Sir, Madam. ..hehee LOL > > Is there any methode to read from serial port rather than from read > event ? > In VB simply we can use : > > Private Sub xxx() > Dim sInput as String > MsComm1.Output = "x" 'a command to reset, just a sample > Wait 150 'a procedure to wait for 150 ms, until all the responese for > the serial come > sInput = MsComm1.Input > 'Process result here... > 'After that Send again another command > MsComm1.Output = "s" 'a command to select, just a sample > Wait 30 'a procedure to wait for 30 ms, until all the responese for > the serial come > sInput = MsComm1.Input > ..processs > End sub > > In that code, i dont want to use read() event. I have workaround to > use a variabel in read() event, and use it in the sub, but i just > want to use read() event for triggering only....if there's a char in > the buffer, i'll go to the procedure, processing manually. > > Thank you > > > Budi > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: CAdam4000.class URL: From na2492 at ...9... Tue Aug 10 10:52:39 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 10 Aug 2004 10:52:39 00200 Subject: [Gambas-user] allocating a pty in gambas Message-ID: <41188cd7.1b26.0@...9...> >Le lundi 9 Ao?t 2004 20:46, Rob a ?crit : >> I'm trying to write an application, one of whose features is a >> terminal emulator window in which an ssh session on a remote >> host will be displayed. But (as with the Console example), >> there is no way to allocate a pty when you shell a process, so >> many programs (like less, emacs, etc.) won't run or run >> incorrectly. >> >> I'm not asking for terminal emulation support.... we have our own >> terminal type here and I'm implementing that myself. But unix >> programs work differently depending on whether they're run from >> a terminal or not, and whether or not they're running in a pty >> determines that behavior. >> >> Is there some way I can fake this using clever use of the open >> and shell commands, process objects, etc. or am I gonna have to >> write another perl helper app (which would call the Perl builtin >> IO::Pty class)? ;) >> >> Rob >> >> > >i've got the same prob while trying to run the su command. with shell or exec >xommand the same error : > >su: must be run from a terminal > > >-- > >Laurent Carlier Salut, try kdesu Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From lordheavy at ...512... Tue Aug 10 11:11:00 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 10 Aug 2004 11:11:00 +0200 Subject: [Gambas-user] allocating a pty in gambas In-Reply-To: <41188cd7.1b26.0@...9...> References: <41188cd7.1b26.0@...9...> Message-ID: <200408101111.01641.lordheavy@...512...> > Salut, > > try kdesu > And how can i do without kde ? that is the question .... :) -- Laurent Carlier From gambasfr at ...11... Tue Aug 10 14:04:03 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 10 Aug 2004 14:04:03 +0200 Subject: [Gambas-user] Gambas Force. In-Reply-To: <200408100117.21127.leo.barnhoorn@...246...> References: <200408100117.21127.leo.barnhoorn@...246...> Message-ID: <200408101404.03288.gambasfr@...11...> Le mardi 10 Ao?t 2004 01:17, Leo Barnhoorn a ?crit?: > Hello all, > > For the people who can not connect to Gambas Force site : > > gambas.magic-systems.net > > Is it possible for them to do a traceroute to gambas.magic-systems.net and > send the log to leo.barnhoorn at ...246... > > Whit this logs i can go to my provider, so we can solve this problem. > > Regards, > Leo. > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user waoo so many spelling fault... you won.. i'm not the better lol ;-) Gambas Forge ! http://gambas.magic-systems.net Please, help us it's a future communautary site, i want to provide a ressource place for tutorial, source, news... And dream to meet helpers who can translate each interessant thing in there language after. So with that i think have a site where every body every newbie can find help (by source exemple, class sharing, tutirial, forum) in there language or at less in english. I've many place to do that, and i think a good server... But, i'm a newbie in php, and web coding, so it take time. For the time i've just finish the registering part, and connecting system. Don't look at the spelling fault. The news part will become soon.(with a wiki format style) I need to work more time fore the source part because of the translation system. If you have idea for forum class base... These are the three first part of my project... After i think i'll add, a laboratory part for common project.. as the gbdm. Fabien Oups i forget, there is to other interesting feature ! users comments on the original source ! users comments on the original news ! but sorry in english ! From budi at ...415... Tue Aug 10 14:26:06 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 10 Aug 2004 19:26:06 +0700 Subject: [Gambas-user] Gambas Force. In-Reply-To: <200408101404.03288.gambasfr@...11...> References: <200408100117.21127.leo.barnhoorn@...246...> <200408101404.03288.gambasfr@...11...> Message-ID: I'll check it tomorrow fabian, it's late and i'm still at my office..go to go home..;) On Tue, 10 Aug 2004 14:04:03 +0200, Bodard Fabien wrote: > Le mardi 10 Ao?t 2004 01:17, Leo Barnhoorn a ?crit?: >> Hello all, >> >> For the people who can not connect to Gambas Force site : >> >> gambas.magic-systems.net >> >> Is it possible for them to do a traceroute to gambas.magic-systems.net >> and >> send the log to leo.barnhoorn at ...246... >> >> Whit this logs i can go to my provider, so we can solve this problem. >> >> Regards, >> Leo. >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > waoo so many spelling fault... you won.. i'm not the better lol ;-) > > > Gambas Forge ! > > http://gambas.magic-systems.net > > Please, help us it's a future communautary site, i want to provide a > ressource > place for tutorial, source, news... And dream to meet helpers who can > translate each interessant thing in there language after. > > So with that i think have a site where every body every newbie can find > help > (by source exemple, class sharing, tutirial, forum) in there language or > at > less in english. > > I've many place to do that, and i think a good server... But, i'm a > newbie in > php, and web coding, so it take time. > > For the time i've just finish the registering part, and connecting > system. > Don't look at the spelling fault. > > The news part will become soon.(with a wiki format style) > > I need to work more time fore the source part because of the translation > system. > > If you have idea for forum class base... > > These are the three first part of my project... > > After i think i'll add, a laboratory part for common project.. as the > gbdm. > > Fabien > > Oups i forget, there is to other interesting feature ! > > users comments on the original source ! > users comments on the original news ! > > but sorry in english ! > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Regards, Budi From sourceforge-raindog2 at ...94... Tue Aug 10 15:05:41 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 10 Aug 2004 09:05:41 -0400 Subject: [Gambas-user] allocating a pty in gambas In-Reply-To: <41188cd7.1b26.0@...9...> References: <41188cd7.1b26.0@...9...> Message-ID: <200408100905.41979.sourceforge-raindog2@...94...> On Tuesday 10 August 2004 06:52, na2492 at ...9... wrote: > >su: must be run from a terminal > try kdesu kdesu is no good when you want your program to do the typing. No SendKeys, remember? ;) That perl script I posted last night takes care of it. Rob From daniel.campos at ...338... Tue Aug 10 23:52:30 2004 From: daniel.campos at ...338... (Daniel) Date: Tue, 10 Aug 2004 23:52:30 +0200 Subject: [Gambas-user] Gambas Force. In-Reply-To: <200408100117.21127.leo.barnhoorn@...246...> References: <200408100117.21127.leo.barnhoorn@...246...> Message-ID: <1092174750.3278.9.camel@...40...> OK: 1 10.0.0.2 (10.0.0.2) 63.113 ms 61.611 ms 65.950 ms 2 10.34.252.137 (10.34.252.137) 60.059 ms 63.612 ms 66.085 ms 3 10.34.250.138 (10.34.250.138) 63.934 ms 65.552 ms 10.34.250.146 (10.34.250.146) 64.045 ms 4 ge-1-1-0-400.j02-mt.mad.tiscali.es (212.166.65.146) 65.623 ms 65.518 ms 66.056 ms 5 ge-1-1-0-39.mad40.ip.tiscali.net (213.200.71.141) 65.942 ms 63.614 ms 65.995 ms 6 so-3-0-0.ams10.ip.tiscali.net (213.200.81.106) 96.093 ms 95.684 ms 99.989 ms 7 ams-ix.tc2.xs4all.net (195.69.144.166) 98.068 ms 101.610 ms 100.062 ms 8 0.so-2-3-0.xr1.d12.xs4all.net (194.109.5.85) 99.974 ms 99.536 ms 101.986 ms 9 42.ge9-0-1.pe10.fia.xs4all.net (194.109.5.166) 98.052 ms 42.ge9-1-1.pe10.fia.xs4all.net (194.109.5.190) 100.510 ms 42.ge9-1-1.pe20.fia.xs4all.net (194.109.5.202) 103.618 ms 10 * * * 11 * * * 12 * * * Regards, Daniel Campos El mar, 10-08-2004 a las 01:17, Leo Barnhoorn escribi?: > Hello all, > > For the people who can not connect to Gambas Force site : > > gambas.magic-systems.net > > Is it possible for them to do a traceroute to gambas.magic-systems.net and > send the log to leo.barnhoorn at ...246... > > Whit this logs i can go to my provider, so we can solve this problem. > > Regards, > Leo. > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From c0de3 at ...43... Wed Aug 11 05:06:00 2004 From: c0de3 at ...43... (Craig Packard) Date: Tue, 10 Aug 2004 20:06:00 -0700 (PDT) Subject: [Gambas-user] .96 Dataset access Message-ID: <20040811030600.60810.qmail@...566...> I used to access my dataset with rData["FIELDNAME"] Now that crashes the program with a Signal 11. The example also crashes on my system. .95 worked .96 doesn't. I also tried rData.Fields["FieldName"] but that didn't work either. Do we now have to do everything by passing SQL right into the database? As in we can't update our recordset and then .update it to the database? rData[FieldNumber] (ie. rData[0]) works but I hate to use that as I might want to add a field one day. Then all my apps would break. Plus it is hard as heck to read. - Craig __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From sourceforge-raindog2 at ...94... Wed Aug 11 05:11:31 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 10 Aug 2004 23:11:31 -0400 Subject: [Gambas-user] repeatable IDE crash in 0.96 Message-ID: <200408102311.31146.sourceforge-raindog2@...94...> If I get a runtime error in a gambas app I'm running in the IDE, and instead of clicking the error dialog's OK button I hit stop and then hit the error dialog's OK button, the IDE silently exits. Can anyone else duplicate this on their system? Rob From gambasfr at ...11... Wed Aug 11 12:14:57 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 11 Aug 2004 12:14:57 +0200 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <200408102311.31146.sourceforge-raindog2@...94...> References: <200408102311.31146.sourceforge-raindog2@...94...> Message-ID: <200408111214.57201.gambasfr@...11...> Le mercredi 11 Ao?t 2004 05:11, Rob a ?crit?: > If I get a runtime error in a gambas app I'm running in the IDE, > and instead of clicking the error dialog's OK button I hit stop > and then hit the error dialog's OK button, the IDE silently > exits. Can anyone else duplicate this on their system? > > Rob > > Hi Rob... On my mdk... no Probleme, no crash by this way... Did you use gnome instead of kde ? Because the error windows is modal from the main one. The main windows is not activate, and normally you can not do a click on the stop button before close the error windows. So mabe, it's a probleme of WM ... Fabien Bodard > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Wed Aug 11 15:13:38 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 11 Aug 2004 09:13:38 -0400 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <200408111214.57201.gambasfr@...11...> References: <200408102311.31146.sourceforge-raindog2@...94...> <200408111214.57201.gambasfr@...11...> Message-ID: <200408110913.38229.sourceforge-raindog2@...94...> On Wednesday 11 August 2004 06:14, Bodard Fabien wrote: > Le mercredi 11 Ao?t 2004 05:11, Rob a ?crit : > > If I get a runtime error in a gambas app I'm running in the > > IDE, and instead of clicking the error dialog's OK button I > > hit stop and then hit the error dialog's OK button, the IDE > > silently exits. Can anyone else duplicate this on their > > system? > On my mdk... no Probleme, no crash by this way... > Did you use gnome instead of kde ? > Because the error windows is modal from the main one. The main > windows is not activate, and normally you can not do a click > on the stop button before close the error windows. > So mabe, it's a probleme of WM No, I'm using mandrake 10 with whichever KDE comes with it by default. But now that you mention it, when the error dialog comes up, it doesn't pop up over the other windows, its entry in the task bar just flashes! I thought that was new in gambas 0.96 too. So maybe my KDE window manager is messed up somehow. Rob From bundeshund at ...467... Wed Aug 11 19:21:00 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 11 Aug 2004 19:21:00 +0200 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <200408102311.31146.sourceforge-raindog2@...94...> References: <200408102311.31146.sourceforge-raindog2@...94...> Message-ID: <200408111921.00759.bundeshund@...467...> Am Mittwoch, 11. August 2004 05:11 schrieb Rob: > If I get a runtime error in a gambas app I'm running in the IDE, > and instead of clicking the error dialog's OK button I hit stop > and then hit the error dialog's OK button, the IDE silently > exits. Can anyone else duplicate this on their system? > > Rob > Yep, have this too! KDE 3.2.3, Gambas 0.96 on SuSE 9.1. HM From gambas at ...1... Wed Aug 11 19:46:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 11 Aug 2004 19:46:27 +0200 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <200408102311.31146.sourceforge-raindog2@...94...> References: <200408102311.31146.sourceforge-raindog2@...94...> Message-ID: <200408111946.28079.gambas@...1...> On Wednesday 11 August 2004 05:11, Rob wrote: > If I get a runtime error in a gambas app I'm running in the IDE, > and instead of clicking the error dialog's OK button I hit stop > and then hit the error dialog's OK button, the IDE silently > exits. Can anyone else duplicate this on their system? > > Rob > How can you do that ? Logically, the error message box is displayed by the IDE and is modal, so you should not be able to click elsewhere. Which window manager do you use ? -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...9... Wed Aug 11 20:09:54 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Wed, 11 Aug 2004 20:09:54 00200 Subject: [Gambas-user] repeatable IDE crash in 0.96 Message-ID: <411a60f2.2a75.0@...9...> >On Wednesday 11 August 2004 05:11, Rob wrote: >> If I get a runtime error in a gambas app I'm running in the IDE, >> and instead of clicking the error dialog's OK button I hit stop >> and then hit the error dialog's OK button, the IDE silently >> exits. Can anyone else duplicate this on their system? >> >> Rob >> > >How can you do that ? Logically, the error message box is displayed by the IDE >and is modal, so you should not be able to click elsewhere. Which window >manager do you use ? > >-- >Benoit Minisini Salut, may be modal, but not on top look at the snapshot4.jpg but the problem was discussed long time ago, where was said, that kde has the same problem. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot4.jpg Type: image/jpeg Size: 69016 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Wed Aug 11 20:27:07 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 11 Aug 2004 14:27:07 -0400 Subject: [Gambas-user] getting process output reliably Message-ID: <200408111427.07115.sourceforge-raindog2@...94...> I have a little dilemma regarding the Process_Read event. Basically, if you use the READ statement like so: IF NOT Eof(LAST) THEN READ #LAST, sshline, Lof(LAST) ENDIF you seem to get 16 bytes at a time, firing Process_Read events in quick succession, and eventually the READ statement dies with an EOF encountered. If you put a TRY in front of it, it doesn't die, but you lose output left and right. My workaround for this has been to use LINE INPUT as follows: DO WHILE NOT Eof(LAST) LINE INPUT #LAST, sshline IF Right(sshline,1) = "\r" THEN sshline = sshline & "\n" sshbuf.Add(sshline,0) LOOP I add a "\n" if the line ends in a "\r" because LINE INPUT strips off "\n" from whatever it reads, if it's present. But sometimes LINE INPUT reads data that ends in "\r" but has no linefeed at the end, and in those cases my program ends up with an extraneous linefeed! I am prepared to patch LINE INPUT's behavior in the Gambas interpreter if I have to, but I'd like to know if there's another workaround I haven't considered.... maybe some undocumented parameter to LINE INPUT? Rob From sourceforge-raindog2 at ...94... Wed Aug 11 20:30:28 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 11 Aug 2004 14:30:28 -0400 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <200408111946.28079.gambas@...1...> References: <200408102311.31146.sourceforge-raindog2@...94...> <200408111946.28079.gambas@...1...> Message-ID: <200408111430.28134.sourceforge-raindog2@...94...> On Wednesday 11 August 2004 13:46, Benoit Minisini wrote: > How can you do that ? Logically, the error message box is > displayed by the IDE and is modal, so you should not be able > to click elsewhere. Which window manager do you use ? I use whatever window manager comes with KDE, under Mandrake 10. The error message box gets displayed *under* the other windows, blinking in the task bar to let you know it's there. (Not that I usually notice it ;) ) I'm able to click the "stop" button in the IDE which terminates the application, but then I can't do anything else in the IDE till I click the error message box's OK button, at which point the IDE exits. I'm sure it's window manager weirdness, but I'd have thought the modality of the message box would prevent the IDE from processing any events anyway. Rob From gambas at ...1... Wed Aug 11 20:53:30 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 11 Aug 2004 20:53:30 +0200 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <200408111430.28134.sourceforge-raindog2@...94...> References: <200408102311.31146.sourceforge-raindog2@...94...> <200408111946.28079.gambas@...1...> <200408111430.28134.sourceforge-raindog2@...94...> Message-ID: <200408112053.30574.gambas@...1...> On Wednesday 11 August 2004 20:30, Rob wrote: > On Wednesday 11 August 2004 13:46, Benoit Minisini wrote: > > How can you do that ? Logically, the error message box is > > displayed by the IDE and is modal, so you should not be able > > to click elsewhere. Which window manager do you use ? > > I use whatever window manager comes with KDE, under Mandrake 10. > > The error message box gets displayed *under* the other windows, > blinking in the task bar to let you know it's there. (Not that > I usually notice it ;) ) I'm able to click the "stop" button in > the IDE which terminates the application, but then I can't do > anything else in the IDE till I click the error message box's OK > button, at which point the IDE exits. > > I'm sure it's window manager weirdness, but I'd have thought the > modality of the message box would prevent the IDE from > processing any events anyway. > > Rob > What happens if you disable the "focus stealing prevention" ? It is in the KDE control center, Window behaviour, fourth tab. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Aug 11 20:57:02 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 11 Aug 2004 20:57:02 +0200 Subject: [Gambas-user] getting process output reliably In-Reply-To: <200408111427.07115.sourceforge-raindog2@...94...> References: <200408111427.07115.sourceforge-raindog2@...94...> Message-ID: <200408112057.03001.gambas@...1...> On Wednesday 11 August 2004 20:27, Rob wrote: > I have a little dilemma regarding the Process_Read event. > Basically, if you use the READ statement like so: > > IF NOT Eof(LAST) THEN > READ #LAST, sshline, Lof(LAST) > ENDIF > > you seem to get 16 bytes at a time, firing Process_Read events in > quick succession, and eventually the READ statement dies with an > EOF encountered. If you put a TRY in front of it, it doesn't > die, but you lose output left and right. You should not use Lof() on a process output, because there is no mean to know how many bytes are readable without read them. You should use "READ #LAST, sshLine, -256" to read, for example, at most 256 bytes. > > My workaround for this has been to use LINE INPUT as follows: > > DO WHILE NOT Eof(LAST) > LINE INPUT #LAST, sshline > IF Right(sshline,1) = "\r" THEN sshline = sshline & "\n" > sshbuf.Add(sshline,0) > LOOP > > I add a "\n" if the line ends in a "\r" because LINE INPUT strips > off "\n" from whatever it reads, if it's present. But sometimes > LINE INPUT reads data that ends in "\r" but has no linefeed at > the end, and in those cases my program ends up with an > extraneous linefeed! End of line is '\n', not '\r\n'. And Line input will stop if there is no data on the process output, even if it is not and end of line. Use READ as I shown just before. > > I am prepared to patch LINE INPUT's behavior in the Gambas > interpreter if I have to, but I'd like to know if there's > another workaround I haven't considered.... maybe some > undocumented parameter to LINE INPUT? > > Rob > Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Aug 11 20:58:28 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 11 Aug 2004 14:58:28 -0400 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <200408112053.30574.gambas@...1...> References: <200408102311.31146.sourceforge-raindog2@...94...> <200408111430.28134.sourceforge-raindog2@...94...> <200408112053.30574.gambas@...1...> Message-ID: <200408111458.28245.sourceforge-raindog2@...94...> On Wednesday 11 August 2004 14:53, Benoit Minisini wrote: > What happens if you disable the "focus stealing prevention" ? > It is in the KDE control center, Window behaviour, fourth tab. OK, it was set to "low", now it's set to "none." Now the message box pops up in my face, but I can still hit the stop button in the IDE, which makes my running project's window go away, and then when I click on the message box's OK button the gambas IDE still goes away. Rob From sourceforge-raindog2 at ...94... Wed Aug 11 21:08:44 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 11 Aug 2004 15:08:44 -0400 Subject: [Gambas-user] getting process output reliably In-Reply-To: <200408112057.03001.gambas@...1...> References: <200408111427.07115.sourceforge-raindog2@...94...> <200408112057.03001.gambas@...1...> Message-ID: <200408111508.44819.sourceforge-raindog2@...94...> On Wednesday 11 August 2004 14:57, Benoit Minisini wrote: > You should not use Lof() on a process output, because there is > no mean to know how many bytes are readable without read them. > You should use "READ #LAST, sshLine, -256" to read, for > example, at most 256 bytes. Thanks, this works like a champ :) I added it to the wiki. > End of line is '\n', not '\r\n'. And Line input will stop if > there is no data on the process output, even if it is not and > end of line. Use READ as I shown just before. My point was that there was no way to tell whether LINE INPUT has stripped a linefeed off of the process output or not: it's inconsistent behavior. I was looking for "\r"'s because the system my program is connecting to usually (an operating system with 3 letters that begins with S, but I'm not going to name it :P ) sends "\r\n", but sometimes just "\r" depending on the program that is running. Anyway, "READ" as above works fine, thanks :) Rob From na2492 at ...9... Wed Aug 11 23:29:35 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Wed, 11 Aug 2004 23:29:35 00200 Subject: [Gambas-user] repeatable IDE crash in 0.96 Message-ID: <411a8fbf.4ce0.0@...9...> >On Wednesday 11 August 2004 20:30, Rob wrote: >> On Wednesday 11 August 2004 13:46, Benoit Minisini wrote: >> > How can you do that ? Logically, the error message box is >> > displayed by the IDE and is modal, so you should not be able >> > to click elsewhere. Which window manager do you use ? >> >> I use whatever window manager comes with KDE, under Mandrake 10. >> >> The error message box gets displayed *under* the other windows, >> blinking in the task bar to let you know it's there. (Not that >> I usually notice it ;) ) I'm able to click the "stop" button in >> the IDE which terminates the application, but then I can't do >> anything else in the IDE till I click the error message box's OK >> button, at which point the IDE exits. >> >> I'm sure it's window manager weirdness, but I'd have thought the >> modality of the message box would prevent the IDE from >> processing any events anyway. >> >> Rob >> > >What happens if you disable the "focus stealing prevention" ? It is in the KDE >control center, Window behaviour, fourth tab. > >-- >Benoit Minisini Salut, I remarked, that if the error occures, when the Line, where the error occures is open in the editor, it will not be possible to push the 'STOP' button. But if if that isn't it will pass like Rob sais. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Wed Aug 11 23:37:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 11 Aug 2004 23:37:05 +0200 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <411a8fbf.4ce0.0@...9...> References: <411a8fbf.4ce0.0@...9...> Message-ID: <200408112337.06232.gambas@...1...> On Thursday 12 August 2004 01:29, na2492 at ...9... wrote: > >On Wednesday 11 August 2004 20:30, Rob wrote: > >> On Wednesday 11 August 2004 13:46, Benoit Minisini wrote: > >> > How can you do that ? Logically, the error message box is > >> > displayed by the IDE and is modal, so you should not be able > >> > to click elsewhere. Which window manager do you use ? > >> > >> I use whatever window manager comes with KDE, under Mandrake 10. > >> > >> The error message box gets displayed *under* the other windows, > >> blinking in the task bar to let you know it's there. (Not that > >> I usually notice it ;) ) I'm able to click the "stop" button in > >> the IDE which terminates the application, but then I can't do > >> anything else in the IDE till I click the error message box's OK > >> button, at which point the IDE exits. > >> > >> I'm sure it's window manager weirdness, but I'd have thought the > >> modality of the message box would prevent the IDE from > >> processing any events anyway. > >> > >> Rob > > > >What happens if you disable the "focus stealing prevention" ? It is in the > > KDE > > >control center, Window behaviour, fourth tab. > > > >-- > >Benoit Minisini > > Salut, > > I remarked, that if the error occures, when the Line, where the error > occures is > open in the editor, it will not be possible to push the 'STOP' button. > But if if that isn't it will pass like Rob sais. > > Amicalement > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > I don't understand... -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Thu Aug 12 01:29:05 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 11 Aug 2004 23:29:05 +0000 Subject: [Gambas-user] unique ID Message-ID: <200408112329.05071.Karl.Reinl@...9...> Salut, does anybody know how to create an unique ID with linux, simulary to the windows GUID ? Amicalement Charlie From genone at ...89... Thu Aug 12 00:01:09 2004 From: genone at ...89... (Marius Mauch) Date: Thu, 12 Aug 2004 00:01:09 +0200 Subject: [Gambas-user] unique ID In-Reply-To: <200408112329.05071.Karl.Reinl@...9...> References: <200408112329.05071.Karl.Reinl@...9...> Message-ID: <20040812000109.6de44c26@...567...> On 08/11/04 Charlie Reinl wrote: > Salut, > > does anybody know how to create an unique ID with linux, > simulary to the windows GUID ? uuidgen seems good for that. Marius From rizky at ...568... Thu Aug 12 05:21:59 2004 From: rizky at ...568... (Rizky Tahara Shita) Date: Thu, 12 Aug 2004 10:21:59 +0700 Subject: [Gambas-user] (no subject) In-Reply-To: References: <41075D31.4010104@...542...> Message-ID: <6.0.0.22.2.20040812102103.01c7be90@...329...> At 16:14 28/07/2004, Budi Arief Gusandi wrote: >What are you trying to say ? it's a blank mail ? try to wear the 4D glasses... it will show the text... :P (LOL) From budi at ...415... Thu Aug 12 07:44:38 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Thu, 12 Aug 2004 12:44:38 +0700 Subject: [Gambas-user] (no subject) In-Reply-To: <6.0.0.22.2.20040812102103.01c7be90@...329...> References: <41075D31.4010104@...542...> <6.0.0.22.2.20040812102103.01c7be90@...329...> Message-ID: Rizky, did you just wake up ? it's august 12, you replied las month mail ?LOL On Thu, 12 Aug 2004 10:21:59 +0700, Rizky Tahara Shita wrote: > At 16:14 28/07/2004, Budi Arief Gusandi wrote: >> What are you trying to say ? it's a blank mail ? > > try to wear the 4D glasses... it will show the text... :P (LOL) > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Regards, Budi From ernrosb at ...221... Thu Aug 12 11:21:59 2004 From: ernrosb at ...221... (Ernst Rosenbaum) Date: Thu, 12 Aug 2004 11:21:59 +0200 Subject: [Gambas-user] Re: Gambas-user -- confirmation of subscription -- request 248141 In-Reply-To: References: Message-ID: <200408121121.59962.ernrosb@...221...> Am Donnerstag, 12. August 2004 11:01 schrieb gambas-user-request at lists.sourceforge.net: > Gambas-user -- confirmation of subscription -- request 248141 > > We have received a request from 217.248.222.4 for subscription of your > email address, , to the > gambas-user at lists.sourceforge.net mailing list. To confirm the > request, please send a message to > gambas-user-request at lists.sourceforge.net, and either: > > - maintain the subject line as is (the reply's additional "Re:" is > ok), > > - or include the following line - and only the following line - in the > message body: > > confirm 248141 > > (Simply sending a 'reply' to this message should work from most email > interfaces, since that usually leaves the subject line in the right > form.) > > If you do not wish to subscribe to this list, please simply disregard > this message. Send questions to > gambas-user-admin at ...65... From michael at ...558... Thu Aug 12 23:38:44 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 12 Aug 2004 16:38:44 -0500 Subject: [Gambas-user] Creating controls at runtime In-Reply-To: <1092104365.4035.24.camel@...559...> References: <1092101829.4036.20.camel@...559...> <1092104365.4035.24.camel@...559...> Message-ID: <1092346724.19180.5.camel@...559...> I have a TODO list I keep in a text file that I have cron email to me every morning so that it's sitting in my email box when I get out of bed and check my email. I would like to write a GUI interface for working with my TODO list, but I'm not sure how I want to go about it. I want to be able to write the GUI completely in code if possible. I want to have labels displaying the tasks and check boxes to mark tasks completed, but since I never know ahead of time how many tasks there will be in the text file, I need to be able to load the labels, check boxes, etc at runtime. How would I do this? From gambas at ...1... Thu Aug 12 23:42:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 12 Aug 2004 23:42:04 +0200 Subject: [Gambas-user] Creating controls at runtime In-Reply-To: <1092346724.19180.5.camel@...559...> References: <1092101829.4036.20.camel@...559...> <1092104365.4035.24.camel@...559...> <1092346724.19180.5.camel@...559...> Message-ID: <200408122342.04519.gambas@...1...> On Thursday 12 August 2004 23:38, Michael Sullivan wrote: > I have a TODO list I keep in a text file that I have cron email to me > every morning so that it's sitting in my email box when I get out of bed > and check my email. I would like to write a GUI interface for working > with my TODO list, but I'm not sure how I want to go about it. I want > to be able to write the GUI completely in code if possible. I want to > have labels displaying the tasks and check boxes to mark tasks > completed, but since I never know ahead of time how many tasks there > will be in the text file, I need to be able to load the labels, check > boxes, etc at runtime. How would I do this? > DIM hLabel AS Label hLabel = NEW Label(MyForm) AS "MyLabelName" There is no difference between using the previous code or create the control in the form editor. The same code is generated and compiled. Controls are classes like the others (they just inherit the 'Control' class), and can be created with the NEW method. Regards, -- Benoit Minisini mailto:gambas at ...1... From michael at ...558... Fri Aug 13 00:03:02 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 12 Aug 2004 17:03:02 -0500 Subject: [Gambas-user] Control arrays (was Creating controls at runtime) In-Reply-To: <200408122342.04519.gambas@...1...> References: <1092101829.4036.20.camel@...559...> <1092104365.4035.24.camel@...559...> <1092346724.19180.5.camel@...559...> <200408122342.04519.gambas@...1...> Message-ID: <1092348182.19199.7.camel@...559...> How would I make control arrays of my check boxes and labels? From gambas at ...1... Fri Aug 13 00:22:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Aug 2004 00:22:48 +0200 Subject: [Gambas-user] Control arrays (was Creating controls at runtime) In-Reply-To: <1092348182.19199.7.camel@...559...> References: <1092101829.4036.20.camel@...559...> <200408122342.04519.gambas@...1...> <1092348182.19199.7.camel@...559...> Message-ID: <200408130022.48464.gambas@...1...> On Friday 13 August 2004 00:03, Michael Sullivan wrote: > How would I make control arrays of my check boxes and labels? > This has been explained many times on the mailing-list. DIM aLabel AS NEW Object[] dim hLabel AS Label hLabel = NEW Label(MyForm) AS "MyLabelName" aLabel.Add(hLabel) ' Index 0 hLabel = NEW Label(MyForm) AS "MyLabelName" aLabel.Add(hLabel) ' Index 1 ... -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 13 00:27:23 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Aug 2004 00:27:23 +0200 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <200408111458.28245.sourceforge-raindog2@...94...> References: <200408102311.31146.sourceforge-raindog2@...94...> <200408112053.30574.gambas@...1...> <200408111458.28245.sourceforge-raindog2@...94...> Message-ID: <200408130027.23763.gambas@...1...> On Wednesday 11 August 2004 20:58, Rob wrote: > On Wednesday 11 August 2004 14:53, Benoit Minisini wrote: > > What happens if you disable the "focus stealing prevention" ? > > It is in the KDE control center, Window behaviour, fourth tab. > > OK, it was set to "low", now it's set to "none." Now the message > box pops up in my face, but I can still hit the stop button in > the IDE, which makes my running project's window go away, and > then when I click on the message box's OK button the gambas IDE > still goes away. > > Rob > Damn it, I forgot to try at my jon on a fresh Mandrake 10. Try to change that in CMessagebox.cpp: Replace line 330: By this code: mb->reparent((CWINDOW_Main ? CWINDOW_Main->widget.widget : 0), Qt::WType_TopLevel | Qt::WStyle_Customize | Qt::WStyle_DialogBorder | Qt::WStyle_Title | Qt::WStyle_SysMenu, mb->pos()); // WShowModal Tell me the result... P.S. Could you send me an archive of the wiki like last time, so that I update the doc ? -- Benoit Minisini mailto:gambas at ...1... From vbtricks at ...451... Fri Aug 13 15:01:09 2004 From: vbtricks at ...451... (VBTricks Webmaster) Date: Fri, 13 Aug 2004 15:01:09 +0200 Subject: [Gambas-user] My first Gambas application Message-ID: <380-2200485131319855@...451...> Hi everybody! As there have been some guys sending their first Gambas applications, I do not want to withhold my first one from you! I've programmed a little reminder which helps me to keep different tasks in mind. That tasks can occur once or every 1/2/3... days/weeks/months or years [e.g. check every month for a new gambas version ;-) ]. As there are three different source code version (VB, Delphi and Gambas) it's also multi OS compatible, what means that you can manage your tasks under Windows and Linux. After some smaller trouble with the DateAdd function (it seems to support only days and weeks, please add the documentation!), I've finished the Gambas version. For all interested: I've uploaded the project to my website: www.vbtricks.de.vu. Go to the section Xsource -> Reminder -> Gambas! If you have got any comments or found any bugs, don't hesitate to contact me! Stefan ___________________________________________________________________________ Sagen Sie nicht, wir h?tten Sie nicht gewarnt! http://my-mail.ch/?redirect=9901 ECO4you Challenge 2004: 4x Fahrschule zu gewinnen! http://my-mail.ch/?redirect=1789 From bundeshund at ...467... Fri Aug 13 18:16:53 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Fri, 13 Aug 2004 18:16:53 +0200 Subject: [Gambas-user] My first Gambas application In-Reply-To: <380-2200485131319855@...451...> References: <380-2200485131319855@...451...> Message-ID: <200408131816.53795.bundeshund@...467...> Hallo Stefan! Salute! Am Freitag, 13. August 2004 15:01 schrieb VBTricks Webmaster: > Hi everybody! > ..[Reminder].. > > If you have got any comments or found any bugs, don't hesitate to contact > me! Looks well! Nice little tool! But yes, I found some bugs: I use SuSE 9.1 and downloaded the source-rpm and installed it via KPackage. An error with something like 'the user-directory 'stefan' does not exist' scrolls during install. After installing the tarball (with root rights) I changed the rights and uncompressed it to my home dir. (Maybe it would be a good opinion to download directly the tar-file). The application started and looks well :)) but I first hit 'Refresh' without inserting an entry. That gives a 'not an objekt'-error. After restart, I add two entries and then tried to delete both. The last one won't. It's still in the list. HTH. But thanks a lot for the code! I can study your code, because I must implement a calander into my app. I din't know that gambas has a DateAdd-Function :) so I don't have to write it my own. > > Stefan greetings, HM From danielcampos at ...282... Fri Aug 13 19:19:38 2004 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 13 Aug 2004 19:19:38 +0200 Subject: [Gambas-user] Sending special characters to a process Message-ID: <1092417578.4366.3.camel@...40...> Hi! Is there any way I can send Ctrl+D to a process? I execute a process "FOR WRITE", and I send it a list of values: Print #hProc, "10","12" Print #hProc, "12","14" Print #hProc, "13","16" ... But as the process is reading these values from stdin, it needs a CTRL+D (like EOF), to know that the "file" is finished and it can start the second part of the work. Ive tried sending some scape characters, but nothing seems to work... Regards, Daniel Campos -- Daniel Campos From gambas at ...1... Fri Aug 13 19:19:57 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Aug 2004 19:19:57 +0200 Subject: [Gambas-user] Sending special characters to a process In-Reply-To: <1092417578.4366.3.camel@...40...> References: <1092417578.4366.3.camel@...40...> Message-ID: <200408131919.57833.gambas@...1...> On Friday 13 August 2004 19:19, Daniel Campos wrote: > Hi! > > Is there any way I can send Ctrl+D to a process? > > I execute a process "FOR WRITE", and I send it a list of values: > > Print #hProc, "10","12" > Print #hProc, "12","14" > Print #hProc, "13","16" > ... > > > But as the process is reading these values from stdin, it needs a > CTRL+D (like EOF), to know that the "file" is finished and it can start > the second part of the work. > > Ive tried sending some scape characters, but nothing seems to work... > > Regards, > > Daniel Campos PRINT #hProc, Chr$(4) does not work ? -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Fri Aug 13 19:36:37 2004 From: daniel.campos at ...338... (Daniel) Date: Fri, 13 Aug 2004 19:36:37 +0200 Subject: [Gambas-user] Sending special characters to a process In-Reply-To: <200408131919.57833.gambas@...1...> References: <1092417578.4366.3.camel@...40...> <200408131919.57833.gambas@...1...> Message-ID: <1092418596.3311.1.camel@...40...> > PRINT #hProc, Chr$(4) > > does not work ? No, It does not work :-( I send you the sources, it needs "Ploticus", which is a nice program to draw graphs. ( http://ploticus.sf.net ) Regards, Daniel Campos -------------- next part -------------- A non-text attachment was scrubbed... Name: GbPloticusDemo-0.0.1.tar.gz Type: application/x-compressed-tar Size: 1186 bytes Desc: not available URL: From lordheavy at ...512... Fri Aug 13 19:53:34 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 13 Aug 2004 19:53:34 +0200 Subject: [Gambas-user] Sending special characters to a process In-Reply-To: <1092418596.3311.1.camel@...40...> References: <1092417578.4366.3.camel@...40...> <200408131919.57833.gambas@...1...> <1092418596.3311.1.camel@...40...> Message-ID: <200408131953.34631.lordheavy@...512...> Le vendredi 13 Ao?t 2004 19:36, Daniel a ?crit?: > > PRINT #hProc, Chr$(4) > > > > does not work ? > > No, It does not work :-( I send you the sources, it needs "Ploticus", > which is a nice program to draw graphs. ( http://ploticus.sf.net ) > > > Regards, > > Daniel Campos It seem you are sending chr(4) instead of chr$(4) to the process Regards, -- Laurent Carlier From gambas at ...1... Fri Aug 13 20:11:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Aug 2004 20:11:08 +0200 Subject: [Gambas-user] Sending special characters to a process In-Reply-To: <1092418596.3311.1.camel@...40...> References: <1092417578.4366.3.camel@...40...> <200408131919.57833.gambas@...1...> <1092418596.3311.1.camel@...40...> Message-ID: <200408132011.08816.gambas@...1...> On Friday 13 August 2004 19:36, Daniel wrote: > > PRINT #hProc, Chr$(4) > > > > does not work ? > > No, It does not work :-( I send you the sources, it needs "Ploticus", > which is a nice program to draw graphs. ( http://ploticus.sf.net ) Mmm... It smells like a good component :-) Well, hitting CTRL+D is a special terminal command that seems to close the process input, or at least force the read() executed in the process to return zero or EOF. As a workaround, I modified the stream that manage processes i/o so that calling CLOSE on the process will close the interpreter pipe that send data to the process input, which seems to have the same behaviour as hitting CTRL+D. It is not a very clean solution, as the pipe that read from the process output is not closed. But maybe there is no need to close it. The true solution would be writing a component that properly manages Linux virtual terminals so that we can easily put a terminal between process i/o and interpreter i/o. Anyway, you can put your data in a temporary file, and use: SHELL "pl ... < MyData.tmp" -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 13 20:12:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Aug 2004 20:12:36 +0200 Subject: [Gambas-user] Sending special characters to a process In-Reply-To: <1092418596.3311.1.camel@...40...> References: <1092417578.4366.3.camel@...40...> <200408131919.57833.gambas@...1...> <1092418596.3311.1.camel@...40...> Message-ID: <200408132012.36694.gambas@...1...> Here is a patch... Replace PRINT #hProc, Chr(4) by CLOSE #hProc Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx_stream_process.c Type: text/x-csrc Size: 3748 bytes Desc: not available URL: From gambas at ...1... Fri Aug 13 20:13:33 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 13 Aug 2004 20:13:33 +0200 Subject: [Gambas-user] Sending special characters to a process In-Reply-To: <200408131953.34631.lordheavy@...512...> References: <1092417578.4366.3.camel@...40...> <1092418596.3311.1.camel@...40...> <200408131953.34631.lordheavy@...512...> Message-ID: <200408132013.33743.gambas@...1...> On Friday 13 August 2004 19:53, Laurent Carlier wrote: > Le vendredi 13 Ao?t 2004 19:36, Daniel a ?crit?: > > > PRINT #hProc, Chr$(4) > > > > > > does not work ? > > > > No, It does not work :-( I send you the sources, it needs "Ploticus", > > which is a nice program to draw graphs. ( http://ploticus.sf.net ) > > > > > > Regards, > > > > Daniel Campos > > It seem you are sending chr(4) instead of chr$(4) to the process > > Regards, Chr() and Chr$() are synonymous. Every BASIC function that ends with a '$' character has a synonymous without it. Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Fri Aug 13 20:33:09 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 13 Aug 2004 20:33:09 +0200 Subject: [Gambas-user] Sending special characters to a process In-Reply-To: <200408132011.08816.gambas@...1...> References: <1092417578.4366.3.camel@...40...> <1092418596.3311.1.camel@...40...> <200408132011.08816.gambas@...1...> Message-ID: <200408132033.09463.lordheavy@...512...> Le vendredi 13 Ao?t 2004 20:11, Benoit Minisini a ?crit?: > > The true solution would be writing a component that properly manages Linux > virtual terminals so that we can easily put a terminal between process i/o > and interpreter i/o. > It should be useful with function like fcntl .... (su doesn't work without termenal .... grrrr) :) regards, -- Laurent Carlier From sourceforge-raindog2 at ...94... Fri Aug 13 21:34:12 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 13 Aug 2004 15:34:12 -0400 Subject: [Gambas-user] repeatable IDE crash in 0.96 In-Reply-To: <200408130027.23763.gambas@...1...> References: <200408102311.31146.sourceforge-raindog2@...94...> <200408111458.28245.sourceforge-raindog2@...94...> <200408130027.23763.gambas@...1...> Message-ID: <200408131534.12439.sourceforge-raindog2@...94...> On Thursday 12 August 2004 18:27, Benoit Minisini wrote: > P.S. Could you send me an archive of the wiki like last time, > so that I update the doc ? Sure, sorry that I forgot. http://www.binara.com/gambas-wiki-20040813.tar.gz (13 MB) I will try rebuilding my gambas with your changes this weekend. Rob From sourceforge-raindog2 at ...94... Fri Aug 13 21:36:48 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 13 Aug 2004 15:36:48 -0400 Subject: [Gambas-user] Sending special characters to a process In-Reply-To: <200408132033.09463.lordheavy@...512...> References: <1092417578.4366.3.camel@...40...> <200408132011.08816.gambas@...1...> <200408132033.09463.lordheavy@...512...> Message-ID: <200408131536.06005.sourceforge-raindog2@...94...> On Friday 13 August 2004 14:33, Laurent Carlier wrote: > It should be useful with function like fcntl .... > (su doesn't work without termenal .... grrrr) :) Use that perl script I wrote, you can add a line to turn on raw_pty mode (do man IO::Pty) and it will work fine as a workaround. It should even treat ^D as a normal character. In VB this would be a horrible kludge, but here it's the "Unix way" ;) Rob From karl.reinl at ...9... Sat Aug 14 00:03:24 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 14 Aug 2004 00:03:24 +0200 Subject: [Gambas-user] unique ID References: <200408112329.05071.Karl.Reinl@...9...> <20040812000109.6de44c26@...567...> Message-ID: <411D3AAC.5080909@...9...> Marius Mauch schrieb: >On 08/11/04 Charlie Reinl wrote: > > > >>Salut, >> >>does anybody know how to create an unique ID with linux, >>simulary to the windows GUID ? >> >> > >uuidgen seems good for that. > >Marius > > Thanks , works well Have a look Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gauuid-0.0.3.tar.gz Type: application/x-tar Size: 1667 bytes Desc: not available URL: From gibsonsphoto at ...247... Fri Aug 13 22:42:45 2004 From: gibsonsphoto at ...247... (neil lewis) Date: Fri, 13 Aug 2004 21:42:45 +0100 Subject: [Gambas-user] how to set transparent background for buttons? Message-ID: <411D27C5.2090009@...247...> I have designed a graphic for a multifunction button for a program I am writing in gambas. I want to split the graphic into it's functional parts and put those graphical parts onto tool buttons. All of this is easy enough, but how can I make the bakcground colour for the tool buttons (or any other Gambas widget) transparent so that they are not restricted to rectangular shapes? From neil at ...233... Fri Aug 13 22:46:05 2004 From: neil at ...233... (neil lewis) Date: Fri, 13 Aug 2004 21:46:05 +0100 Subject: [Gambas-user] Arrays of widgets Message-ID: <411D288D.6030206@...233...> Are there any plans to add arrays of widgets for Gambas? I recently used a set of a dozen PictureBoxes arranged in a grid pattern for enabling easy user input for a program I am creating in Gambas, and I had to program each widget with a separate block of code. It would be much easier if one could group such a set of widgets into an array and refer to them by suffix. From daniel.campos at ...338... Fri Aug 13 22:56:47 2004 From: daniel.campos at ...338... (Daniel) Date: Fri, 13 Aug 2004 22:56:47 +0200 Subject: [Gambas-user] Sending special characters to a process In-Reply-To: <200408132011.08816.gambas@...1...> References: <1092417578.4366.3.camel@...40...> <200408131919.57833.gambas@...1...> <1092418596.3311.1.camel@...40...> <200408132011.08816.gambas@...1...> Message-ID: <1092430607.4796.6.camel@...40...> > > Mmm... It smells like a good component :-) Yes, I had the same thought... :-)) Currently I'm using Ploticus at work (but in VB :-( ) and some of the "big people" in the company are impressed by my new web statistics :-)) You patch works OK. Are you going to add it to the next version or may be it is just a temporally patch? I'm writting some tutorials for the spanish wiki, and I would like to know if should I use a temporally file, or I can use the 'CLOSE' "hack"... May be you could add two methods, CloseOut and CloseIn, so anybody can close the standard input or output, or better than that, you could give access to these two handles (pipes) like common FILE objects, so the user can take control of them (close, write, read...) Regards Daniel Campos From lordheavy at ...512... Fri Aug 13 23:04:11 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 13 Aug 2004 23:04:11 +0200 Subject: [Gambas-user] Arrays of widgets In-Reply-To: <411D288D.6030206@...233...> References: <411D288D.6030206@...233...> Message-ID: <200408132304.11731.lordheavy@...512...> Le vendredi 13 Ao?t 2004 22:46, neil lewis a ?crit?: > Are there any plans to add arrays of widgets for Gambas? > > I recently used a set of a dozen PictureBoxes arranged in a grid pattern > for enabling easy user input for a program I am creating in Gambas, and > I had to program each widget with a separate block of code. It would be > much easier if one could group such a set of widgets into an array and > refer to them by suffix. > You should use object[] array DIM Boucle AS Integer DIM hObj AS Object DIM myObj AS new Object[] FOR boucle=0 TO 5 hObj=NEW Label(ME) TxtTemp.Add (hObj) NEXT then you should use myObj[index] for managing them -- Laurent Carlier From neil at ...233... Fri Aug 13 23:09:59 2004 From: neil at ...233... (neil lewis) Date: Fri, 13 Aug 2004 22:09:59 +0100 Subject: [Gambas-user] Arrays of widgets In-Reply-To: <200408132304.11731.lordheavy@...512...> References: <411D288D.6030206@...233...> <200408132304.11731.lordheavy@...512...> Message-ID: <411D2E27.7030704@...233...> Laurent Carlier wrote: >Le vendredi 13 Ao?t 2004 22:46, neil lewis a ?crit : > > >>Are there any plans to add arrays of widgets for Gambas? >> >>I recently used a set of a dozen PictureBoxes arranged in a grid pattern >>for enabling easy user input for a program I am creating in Gambas, and >>I had to program each widget with a separate block of code. It would be >>much easier if one could group such a set of widgets into an array and >>refer to them by suffix. >> >> >> > >You should use object[] array > > DIM Boucle AS Integer > DIM hObj AS Object > DIM myObj AS new Object[] > > > FOR boucle=0 TO 5 > hObj=NEW Label(ME) > TxtTemp.Add (hObj) > NEXT > > >then you should use myObj[index] for managing them > > > Thanks Laurent, I'll give that a go. From sourceforge-raindog2 at ...94... Sat Aug 14 01:15:10 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 13 Aug 2004 19:15:10 -0400 Subject: [Gambas-user] how to set transparent background for buttons? In-Reply-To: <411D27C5.2090009@...247...> References: <411D27C5.2090009@...247...> Message-ID: <200408131915.10293.sourceforge-raindog2@...94...> On Friday 13 August 2004 16:42, neil lewis wrote: > All of this is easy enough, but how can I make the bakcground > colour for the tool buttons (or any other Gambas widget) > transparent so that they are not restricted to rectangular > shapes? You can't.... Qt has no concept of "transparent" yet as far as I know except on the canvas (DrawingArea). Gambas does have the "mask" property, but only on forms, not individual controls. You might be able to create a form with just the one control on it and a mask of the desired transparency, and then insert that form onto another form in code.... no idea what gambas will do though, maybe you'd see your desktop background where the transparency is supposed to be ;) I would personally use a DrawingArea control for non-standard interfaces like these... it's also the only way (that I know of) for gambas to do mouseover highlighting. Rob From vbtricks at ...451... Sat Aug 14 09:41:24 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Sat, 14 Aug 2004 09:41:24 +0200 Subject: [Gambas-user] My first Gambas application Message-ID: <411DC224.4050006@...451...> Thanks HM for testing my application. First to the 'Refresh' and the 'Delete' bug: both fixes have been fixed now (as you are not able to test every situation, there will always be bugs found by users, "but I just clicked the button". Well I tested the prog only with an already existing taskfile and never tried to delete the last task, my fault). So thanks! DateAdd function: As there is still no documentation, be aware of the following difference to the DateAdd function of VB: It does not seem to support months and years as intervals. You can find a workaround in my project [which worked for the situations I tried ;-)]. And: I was one of those guys demanding for it, it's new in version 0.96! -- ___________________________________www.VBTricks.de.vu the free resource for Visual Basic, Gambas and Pascal components, tips & complete projects www: http://www.VBTricks.de.vu mail: vbtricks my-mail ch _____________________________________________________ From vbtricks at ...451... Sat Aug 14 09:48:53 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Sat, 14 Aug 2004 09:48:53 +0200 Subject: [Gambas-user] Distributing Gambas applications Message-ID: <411DC3E5.3080403@...451...> Hi everybody! As I want to make my first Gambas application accessable to everybody (not only for those having the Gambas IDE installed), I need to create installation packages. My projects are saved to /home/stefan/gambas/ I tried installing one of the created packages (noarch version Suse), but the packet manager of Suse displayed several dependencies that could not be solved (gambas-gb-qt, gambas-gb-vb and gambas-runtime missing). So how do I create packages that are working? Stefan -- ___________________________________www.VBTricks.de.vu the free resource for Visual Basic, Gambas and Pascal components, tips & complete projects www: http://www.VBTricks.de.vu mail: vbtricks my-mail ch _____________________________________________________ From gambas at ...1... Sat Aug 14 10:56:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Aug 2004 10:56:48 +0200 Subject: [Gambas-user] My first Gambas application In-Reply-To: <411DC224.4050006@...451...> References: <411DC224.4050006@...451...> Message-ID: <200408141056.48907.gambas@...1...> On Saturday 14 August 2004 09:41, VBTricks.de.vu Webmaster wrote: > Thanks HM > > for testing my application. > > First to the 'Refresh' and the 'Delete' bug: both fixes have been fixed > now (as you are not able to test every situation, there will always be > bugs found by users, "but I just clicked the button". Well I tested the > prog only with an already existing taskfile and never tried to delete > the last task, my fault). So thanks! > > DateAdd function: As there is still no documentation, be aware of the > following difference to the DateAdd function of VB: It does not seem to > support months and years as intervals. I didn't write these functions, but by reading the source code, I saw that "m" or "M" indicates months, and "yyyy" years. > You can find a workaround in my > project [which worked for the situations I tried ;-)]. > And: I was one of those guys demanding for it, it's new in version 0.96! Demanding what ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 14 11:04:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Aug 2004 11:04:49 +0200 Subject: [Gambas-user] Distributing Gambas applications In-Reply-To: <411DC3E5.3080403@...451...> References: <411DC3E5.3080403@...451...> Message-ID: <200408141104.49854.gambas@...1...> On Saturday 14 August 2004 09:48, VBTricks.de.vu Webmaster wrote: > Hi everybody! > > As I want to make my first Gambas application accessable to everybody > (not only for those having the Gambas IDE installed), I need to create > installation packages. > My projects are saved to /home/stefan/gambas/ > I tried installing one of the created packages (noarch version Suse), > but the packet manager of Suse displayed several dependencies that could > not be solved (gambas-gb-qt, gambas-gb-vb and gambas-runtime missing). > So how do I create packages that are working? > > Stefan We should find maintainers that create the gambas packages for each distribution. I made a gambas.spec file for the Mandrake that I included in the source package. But I can only make the packages at my job, where I have a fresh Mandrake 10 installation. Not on my own computer, that is a mix of Mandrake 10 and Mandrake 10.1. Making gambas packages for a rpm based distribution requires an adapted .spec file, and must occur on a fresh install. In the source package, you will find a gambas.spec file for the SuSE, made by Guillermo Ballester Valor, but it must be updated, because dependencies do not include version numbers. Any volunteer to update it ? Alas, even if necessary, I don't have the time to deal with all distributions, so I concentrate on the one I use. Regards, -- Benoit Minisini mailto:gambas at ...1... From neil at ...233... Sat Aug 14 11:02:24 2004 From: neil at ...233... (neil lewis) Date: Sat, 14 Aug 2004 10:02:24 +0100 Subject: [Gambas-user] how to set transparent background for buttons? In-Reply-To: <200408131915.10293.sourceforge-raindog2@...94...> References: <411D27C5.2090009@...247...> <200408131915.10293.sourceforge-raindog2@...94...> Message-ID: <411DD520.5070902@...233...> Rob wrote: >On Friday 13 August 2004 16:42, neil lewis wrote: > > >>All of this is easy enough, but how can I make the bakcground >>colour for the tool buttons (or any other Gambas widget) >>transparent so that they are not restricted to rectangular >>shapes? >> >> > >You can't.... Qt has no concept of "transparent" yet as far as I >know except on the canvas (DrawingArea). Gambas does have the >"mask" property, but only on forms, not individual controls. >You might be able to create a form with just the one control on >it and a mask of the desired transparency, and then insert that >form onto another form in code.... no idea what gambas will do >though, maybe you'd see your desktop background where the >transparency is supposed to be ;) > >I would personally use a DrawingArea control for non-standard >interfaces like these... it's also the only way (that I know of) >for gambas to do mouseover highlighting. > >Rob > > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > Thanks Rob, That sounds promising. From gambas at ...1... Sat Aug 14 11:16:01 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Aug 2004 11:16:01 +0200 Subject: [Gambas-user] Distributing Gambas applications In-Reply-To: <200408141104.49854.gambas@...1...> References: <411DC3E5.3080403@...451...> <200408141104.49854.gambas@...1...> Message-ID: <200408141116.01349.gambas@...1...> On Saturday 14 August 2004 11:04, Benoit Minisini wrote: > On Saturday 14 August 2004 09:48, VBTricks.de.vu Webmaster wrote: > > Hi everybody! > > > > As I want to make my first Gambas application accessable to everybody > > (not only for those having the Gambas IDE installed), I need to create > > installation packages. > > My projects are saved to /home/stefan/gambas/ > > I tried installing one of the created packages (noarch version Suse), > > but the packet manager of Suse displayed several dependencies that could > > not be solved (gambas-gb-qt, gambas-gb-vb and gambas-runtime missing). > > So how do I create packages that are working? > > > > Stefan > > We should find maintainers that create the gambas packages for each > distribution. > > I made a gambas.spec file for the Mandrake that I included in the source > package. But I can only make the packages at my job, where I have a fresh > Mandrake 10 installation. Not on my own computer, that is a mix of Mandrake > 10 and Mandrake 10.1. > > Making gambas packages for a rpm based distribution requires an adapted > .spec file, and must occur on a fresh install. > > In the source package, you will find a gambas.spec file for the SuSE, made > by Guillermo Ballester Valor, but it must be updated, because dependencies > do not include version numbers. Any volunteer to update it ? > > Alas, even if necessary, I don't have the time to deal with all > distributions, so I concentrate on the one I use. > > Regards, I have updated the SuSE gambas.spec file, but couldn't test it of course. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 14 14:09:24 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Aug 2004 14:09:24 +0200 Subject: [Gambas-user] gambas 0.97 Message-ID: <200408141409.24412.gambas@...1...> Hi everybody, Here is gambas 0.97! I almost finished all I wanted to do before the final release. I just want to fix the way you use selections in the icon editor in the next version, changes some things in the component files to support many versions of the same component, and that's all... I invite everybody to track bugs as much as possible, so that they can be fixed as quickly as possible. If you find a bug, send me a Gambas project, otherwise it is almost impossible to fix it. I need support from packagers for other distributions than Mandrake, so that the package architecture is implmeented everywhere. This way, for example, an application packaged on a Mandrake will be able to be delivered on a SuSE, and vice-versa. When everything seems to be good, I will release a 1.0RC1, and create 1.1 branch in the source package, so that I can quickly include the pending contributions (a pretty printer from Charlie Reinl, a function browser and many other ideas from Yizhou He) For the time being, here are the main changes in this version: - Gambas is now compiled with gcc 3.4 - Project arguments are correctly managed in the IDE. - F2 allows to find a symbol definition, and SHIFT-F2 allows to go back to the initial cursor emplacement. VERY USEFUL! - A new option to display or not display class files of a form in the project window. If form class files are not displayed, you can open them by pressing CTRL when you double-click on the form icon in the project window. - The divide operator now returns the true result of the division as a floating point number. Now, 1/3 will return 0.333333. Use the backslash divide operator to get the integer quotient of two numbers. - A new class, Settings, allows you to store and retrieve configuration data for a configuration file. By default, the configuration file has the name of the project with the '.conf' extension, and is stored in the ~/.gambas directory. - The 'Util' Gambas archive has been removed. No need for that, thanks to the Settings class. - A new class, String, provides a set of static functions for manipulating UTF-8 strings: String.Len(), String.Mid(), String.Left(), String.Right(), String.Upper() and String.Lower(). Best regards, -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...9... Sat Aug 14 15:18:48 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sat, 14 Aug 2004 15:18:48 00200 Subject: [Gambas-user] Distributing Gambas applications Message-ID: <411e1138.1069.0@...9...> >On Saturday 14 August 2004 09:48, VBTricks.de.vu Webmaster wrote: >> Hi everybody! >> >> As I want to make my first Gambas application accessable to everybody >> (not only for those having the Gambas IDE installed), I need to create >> installation packages. >> My projects are saved to /home/stefan/gambas/ >> I tried installing one of the created packages (noarch version Suse), >> but the packet manager of Suse displayed several dependencies that could >> not be solved (gambas-gb-qt, gambas-gb-vb and gambas-runtime missing). >> So how do I create packages that are working? >> >> Stefan > >We should find maintainers that create the gambas packages for each >distribution. > >I made a gambas.spec file for the Mandrake that I included in the source >package. But I can only make the packages at my job, where I have a fresh >Mandrake 10 installation. Not on my own computer, that is a mix of Mandrake >10 and Mandrake 10.1. > >Making gambas packages for a rpm based distribution requires an adapted .spec >file, and must occur on a fresh install. > >In the source package, you will find a gambas.spec file for the SuSE, made by >Guillermo Ballester Valor, but it must be updated, because dependencies do >not include version numbers. Any volunteer to update it ? > >Alas, even if necessary, I don't have the time to deal with all distributions, >so I concentrate on the one I use. > >Regards, > >-- >Benoit Minisini Salut, I want to remember you all, if you need virtual maschines for testing, there is allway faumaschine you find it at http://www3.informatik.uni-erlangen.de/Research/UMLinux/ Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From karl.reinl at ...9... Sat Aug 14 20:46:29 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 14 Aug 2004 20:46:29 +0200 Subject: [Gambas-user] Settings in gambas-0.97 Message-ID: <411E5E05.9090204@...9...> Salut Beno?t, if right understood Settings in gambas-0.97 uses the project name to store in /home/user/.gambas/project-name.conf But how can I access to another conf file ? In Indenter4 ( now PrettyPrinter ) I use the Editor colors from gambas IDE, so the user see in the demo-window all like he will see it in his gambas IDE-editor. Is there a way ? Amicalement Charlie From gambas at ...1... Sat Aug 14 19:48:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Aug 2004 19:48:05 +0200 Subject: [Gambas-user] Settings in gambas-0.97 In-Reply-To: <411E5E05.9090204@...9...> References: <411E5E05.9090204@...9...> Message-ID: <200408141948.05486.gambas@...1...> On Saturday 14 August 2004 20:46, Charlie wrote: > Salut Beno?t, > > if right understood Settings in gambas-0.97 uses the project name to > store in /home/user/.gambas/project-name.conf > > But how can I access to another conf file ? > > In Indenter4 ( now PrettyPrinter ) I use the Editor colors from gambas > IDE, so the user see in the demo-window all like he will see it in > his gambas IDE-editor. > > Is there a way ? > > Amicalement > Charlie > Yes! DIM hSettings AS Settings hSettings = NEW Settings(System.Home &/ ".gambas/gambas.conf") -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Sat Aug 14 20:27:52 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 14 Aug 2004 20:27:52 +0200 Subject: [Gambas-user] gambas 0.97 In-Reply-To: <200408141409.24412.gambas@...1...> References: <200408141409.24412.gambas@...1...> Message-ID: <200408142027.52779.gambasfr@...11...> Le samedi 14 Ao?t 2004 14:09, Benoit Minisini a ?crit?: Hi Benoit, When i try to change the color in the preference the color dialog is in english... The relief work good but... Add : edtEditor.UseRelief = Settings["/Editor/UseRelief", TRUE] in the FOption _New() SUB Fabien Bodard The VB theme: $cTheme[3] = NEW Integer[] $cTheme[3].Resize(FEditor.NBR_COLOR) $cTheme[3][0] = &FFFFFF& $cTheme[3][1] = &000000& $cTheme[3][2] = &0006FF& $cTheme[3][3] = &000066& $cTheme[3][4] = &000066& $cTheme[3][5] = &000066& $cTheme[3][6] = &000000& $cTheme[3][7] = &558888& $cTheme[3][8] = &008800& $cTheme[3][9] = &AA0000& $cTheme[3][10] = &5500FF& $cTheme[3][11] = &000066& $cTheme[3][12] = &9DA2CC& $cTheme[3][13] = &558888& From gambas at ...1... Sat Aug 14 20:41:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Aug 2004 20:41:36 +0200 Subject: [Gambas-user] gambas 0.97 In-Reply-To: <200408142027.52779.gambasfr@...11...> References: <200408141409.24412.gambas@...1...> <200408142027.52779.gambasfr@...11...> Message-ID: <200408142041.36330.gambas@...1...> On Saturday 14 August 2004 20:27, Bodard Fabien wrote: > Le samedi 14 Ao?t 2004 14:09, Benoit Minisini a ?crit?: > Hi Benoit, > > > > > When i try to change the color in the preference the color dialog is in > english... It's because you must have changed the contents of the combo-box by adding your theme. I fixed it. > > The relief work good but... Add : > > edtEditor.UseRelief = Settings["/Editor/UseRelief", TRUE] OK. Fixed. Same thing for "/Editor/ShowProc" ! > > in the FOption _New() SUB > > > Fabien Bodard > > > The VB theme: > > $cTheme[3] = NEW Integer[] > $cTheme[3].Resize(FEditor.NBR_COLOR) > > $cTheme[3][0] = &FFFFFF& > $cTheme[3][1] = &000000& > $cTheme[3][2] = &0006FF& > $cTheme[3][3] = &000066& > $cTheme[3][4] = &000066& > $cTheme[3][5] = &000066& > $cTheme[3][6] = &000000& > $cTheme[3][7] = &558888& > $cTheme[3][8] = &008800& > $cTheme[3][9] = &AA0000& > $cTheme[3][10] = &5500FF& > $cTheme[3][11] = &000066& > $cTheme[3][12] = &9DA2CC& > $cTheme[3][13] = &558888& > Thanks. I added it. I named it just "Visual" :-) @+ -- Benoit Minisini mailto:gambas at ...1... From stillj7388 at ...159... Sat Aug 14 21:02:48 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Sat, 14 Aug 2004 12:02:48 -0700 Subject: [Gambas-user] Can not open existing 0.96 projects Message-ID: <411E61D8.7040202@...159...> SuSE 9.0 Kernel 2.4.21-243 Gambas 0.97 .97 built without any errors. However, it will not open any of my existing 0.96 projects. I choose open project... from the gambas menu, then my open file dialog, then the error. The message says "Please Choose a Project". Any ideas? --j From gambas at ...1... Sat Aug 14 21:10:06 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 14 Aug 2004 21:10:06 +0200 Subject: [Gambas-user] Can not open existing 0.96 projects In-Reply-To: <411E61D8.7040202@...159...> References: <411E61D8.7040202@...159...> Message-ID: <200408142110.06529.gambas@...1...> On Saturday 14 August 2004 21:02, Jeff Stillinger wrote: > SuSE 9.0 > Kernel 2.4.21-243 > Gambas 0.97 > > .97 built without any errors. However, it will not open any of my > existing 0.96 projects. I choose open project... from the gambas menu, > then my open file dialog, then the error. The message says "Please > Choose a Project". > > Any ideas? > > --j > Very strange... Everything works here... If you get this message, then the text field on the bottom of the dialog should be blank. Is it ? -- Benoit Minisini mailto:gambas at ...1... From stillj7388 at ...159... Sat Aug 14 21:27:06 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Sat, 14 Aug 2004 12:27:06 -0700 Subject: [Gambas-user] Can not open existing 0.96 projects In-Reply-To: <200408142110.06529.gambas@...1...> References: <411E61D8.7040202@...159...> <200408142110.06529.gambas@...1...> Message-ID: <411E678A.6080104@...159...> I know it's getting late for you Benoit, give me a couple of hours. I have had to restore the 0.96 version, as I have live productions to preserve. Once I get that put in a different directory, I will play with 97 in more detail. As 97 gets closer to 1.0, I am also building with all of the options turned on. Such as KDE. It would not be unreasonable to assume that with everything going on, I misconfigured something. Along with everything else. I have a police dog in critical care and I really don't want to leave the ward just yet. Thanks Jeff Benoit Minisini wrote: > On Saturday 14 August 2004 21:02, Jeff Stillinger wrote: > >>SuSE 9.0 >>Kernel 2.4.21-243 >>Gambas 0.97 >> >>.97 built without any errors. However, it will not open any of my >>existing 0.96 projects. I choose open project... from the gambas menu, >>then my open file dialog, then the error. The message says "Please >>Choose a Project". >> >>Any ideas? >> >>--j >> > > > Very strange... Everything works here... > > If you get this message, then the text field on the bottom of the dialog > should be blank. Is it ? > -- CONFIDENTIALITY AND DISCLAIMER NOTICE: This email contains veterinary medical records, or material that is confidential and/or privileged. It is for the sole use of the intended recipient as shown in the message "To:" header. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, delete all electronic copies, and shred all hard copies. Photographic images are the property of Jeff Stillinger. Sender assumes no responsibility or liability for any damages caused by messages sent without encryption. From vbtricks at ...451... Sun Aug 15 09:26:07 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Sun, 15 Aug 2004 09:26:07 +0200 Subject: [Gambas-user] DateAdd function Message-ID: <411F100F.4070202@...451...> Hi Benoit, I read your comment. As I do not have the MSDN available under Linux, I tried adding years using "y" as intervall. With "yyyy" it works. But when trying to add months to a date, the function fails. My source: Dim NextDate As Date NextDate = CDate("10/03/03") ' October 3rd, 2003 NextDate = vb.DateAdd("m", 2, NextDate) 'should return December 3rd, 2003 Error displayed: "Invalid Date Returned" But this date does exist! So where's the fault? -- ___________________________________www.VBTricks.de.vu the free resource for Visual Basic, Gambas and Pascal components, tips & complete projects www: http://www.VBTricks.de.vu mail: vbtricks my-mail ch _____________________________________________________ From gambas at ...1... Sun Aug 15 09:51:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 15 Aug 2004 09:51:08 +0200 Subject: [Gambas-user] DateAdd function In-Reply-To: <411F100F.4070202@...451...> References: <411F100F.4070202@...451...> Message-ID: <200408150951.09172.gambas@...1...> On Sunday 15 August 2004 09:26, VBTricks.de.vu Webmaster wrote: > Hi Benoit, > > I read your comment. As I do not have the MSDN available under Linux, I > tried adding years using "y" as intervall. With "yyyy" it works. But > when trying to add months to a date, the function fails. > > My source: > Dim NextDate As Date > NextDate = CDate("10/03/03") ' October 3rd, 2003 > NextDate = vb.DateAdd("m", 2, NextDate) > > 'should return December 3rd, 2003 > > Error displayed: "Invalid Date Returned" > > But this date does exist! > > So where's the fault? There is a bug in the function. As a workaround, do that: DIM iMonth AS Integer DIM iYear AS Integer NextDate = CDate("10/03/03") iYear = Year(NextDate) iMonth = Month(NextDate) + 2 IF iMonth > 12 THEN iMonth = iMonth - 12 INC iYear ENDIF NextDate = Date(iYear, iMonth, Day(NextDate)) The vb.DateAdd function is not strictly necessary, as it can be written with the functions Date(), Year(), Month(), Day(), and so on... Regards, -- Benoit Minisini mailto:gambas at ...1... From michael at ...558... Sun Aug 15 17:22:42 2004 From: michael at ...558... (Michael Sullivan) Date: Sun, 15 Aug 2004 10:22:42 -0500 Subject: [Gambas-user] Changing the font in code In-Reply-To: <1092348182.19199.7.camel@...559...> References: <1092101829.4036.20.camel@...559...> <1092104365.4035.24.camel@...559...> <1092346724.19180.5.camel@...559...> <200408122342.04519.gambas@...1...> <1092348182.19199.7.camel@...559...> Message-ID: <1092583361.15599.1.camel@...559...> Can anyone give me the syntax for changing a controls font in code? I can't seem to find it in the help system. From sourceforge-raindog2 at ...94... Sun Aug 15 17:27:52 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 15 Aug 2004 11:27:52 -0400 Subject: [Gambas-user] Changing the font in code In-Reply-To: <1092583361.15599.1.camel@...559...> References: <1092101829.4036.20.camel@...559...> <1092348182.19199.7.camel@...559...> <1092583361.15599.1.camel@...559...> Message-ID: <200408151127.52377.sourceforge-raindog2@...94...> On Sunday 15 August 2004 11:22, Michael Sullivan wrote: > Can anyone give me the syntax for changing a controls font in > code? I can't seem to find it in the help system. You normally need a temporary variable, as the font object associated with controls works funny now (it's a "real object" according to Benoit, but one you can't actually change unless you assign it to another font object.) DIM tmpfont AS font tmpfont = myButton.Font tmpfont.Size = 24 myButton.Font = tmpfont There is a shortcut syntax to this, which doesn't need a temp variable, but it is kind of dumb and you should comment it if you use it: myButton.Font.Size = 24 myButton.Font = myButton.Font Yeah, I don't get it either. Hopefully after 1.0 this will get changed back to how it originally worked somehow. Rob From michael at ...558... Sun Aug 15 20:32:05 2004 From: michael at ...558... (Michael Sullivan) Date: Sun, 15 Aug 2004 13:32:05 -0500 Subject: [Gambas-user] Dim In-Reply-To: <200408151127.52377.sourceforge-raindog2@...94...> References: <1092101829.4036.20.camel@...559...> <1092348182.19199.7.camel@...559...> <1092583361.15599.1.camel@...559...> <200408151127.52377.sourceforge-raindog2@...94...> Message-ID: <1092594725.15583.15.camel@...559...> Whenever I use 'Dim' to declare an object, Gambas gives me a syntax error, but when I change 'Dim' to 'Public' or 'Private' it works fine. Why is this? Am I doing something wrong? From Karl.Reinl at ...9... Sun Aug 15 22:47:01 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 15 Aug 2004 20:47:01 +0000 Subject: [Gambas-user] while working on PrettyPrinter, changes for the IDE Editor Message-ID: <200408152047.01086.Karl.Reinl@...9...> Salut, for understanding the GambasEditor for using it for PrettyPrinter, I play around with the IDE Editor and made the following changes in PUBLIC SUB edtEditor_Cursor() PUBLIC SUB edtEditor_Cursor() IF edtEditor.Line <> $iLastLine THEN ' changings charlie IF Left(Trim(edtEditor.Lines[$iLastLine]),1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> ""THEN edtEditor.Lines[$iLastLine] = LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF ' end changings charlie $iLastLine = edtEditor.Line HideCompletion HideSignature IF IsModified() THEN Scan = NULL ELSE IF $bCheckSignature OR frmSignature.Visible THEN $bCheckSignature = FALSE CheckSignature ENDIF DrawTitle ' TRY PRINT Editor.Analyze(Editor.Lines[Editor.Line]).Join(",") END For what LineAnalyze is for: Till now it strippes useless Blanks and if you typed a i=i+1 you'v got no error more , because LineAnalyze change it to i = i + 1 It dose only work on line and windows changes, It dosn't work if you press a Button (Toolbar) without changing the line. To you to play now. Amicalement Charlie These procs are needed to make changes work ( not GetColorsName if you don't uncomment the PRINT line in LineAnalyze) PUBLIC SUB edtEditor_LostFocus() IF Left(Trim(edtEditor.Lines[$iLastLine]),1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> ""THEN edtEditor.Lines[$iLastLine] = LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF END '--------------------------------------------------------------------------------------------------------------------------- PRIVATE FUNCTION LineAnalyze(sLine AS String) AS String DIM nI AS Integer DIM sOut AS String DIM sPart AS String[] DIM iPart AS Integer[] DIM aSPart AS Object DIM sLeftBlanks AS String IF IsProc(Trim(sLine)) THEN RETURN sLine IF Upper(Trim(sLine)) = "END" THEN RETURN sLine ' looking for leading Blanks FOR nI = 1 TO Len(sLine) IF Mid(sLine,ni,1) = " " THEN sLeftBlanks = sLeftBlanks & " " ELSE BREAK ENDIF NEXT edtEditor.Analyze(sLine) sPart=GambasEditor.Symbols iPart=GambasEditor.Types FOR nI = 0 TO sPart.Count - 1 SELECT CASE iPart[nI] CASE 5 ' Symbol ' here you can look up if this Symbol is written as declaret CASE 6 ' Number IF nI > 0 THEN SELECT CASE iPart[nI - 1] CASE 5 ' Symbol sOut = sOut & " " & Left(sPart[nI],1) & " " & Mid(sPart[nI],2) CASE ELSE sOut = sOut & " " & sPart[nI] END SELECT ELSE sOut = sOut & " " & sPart[nI] ENDIF CASE ELSE sOut = sOut & " " & sPart[nI] END SELECT 'PRINT sPart[nI] , iPart[nI] , GetColorsName(iPart[nI]) NEXT sOut = sLeftBlanks & Trim(sOut) RETURN sOut END '--------------------------------------------------------------------------------------------------------------------------- FUNCTION GetColorsName(iType AS Integer) AS String ' this is only to know the Values DIM sOut AS String SELECT CASE iType CASE edtEditor.Colors.Background sOut = "Background" CASE edtEditor.Colors.Breakpoint sOut = "Breakpoint" CASE edtEditor.Colors.Comment sOut = "Comment" CASE edtEditor.Colors.Current sOut = "Current" CASE edtEditor.Colors.DataType sOut = "DataType" CASE edtEditor.Colors.Function sOut = "Function" CASE edtEditor.Colors.Keyword sOut = "Keyword" CASE edtEditor.Colors.Normal sOut = "Normal" CASE edtEditor.Colors.Number sOut = "Number" CASE edtEditor.Colors.Operator sOut = "Operator" CASE edtEditor.Colors.String sOut = "String" CASE edtEditor.Colors.Symbol sOut = "Symbol" CASE ELSE sOut = "??" END SELECT RETURN sOut END From na2492 at ...9... Sun Aug 15 21:01:35 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sun, 15 Aug 2004 21:01:35 00200 Subject: [Gambas-user] Dim Message-ID: <411fb30f.106f.0@...9...> >Whenever I use 'Dim' to declare an object, Gambas gives me a syntax >error, but when I change 'Dim' to 'Public' or 'Private' it works fine. >Why is this? Am I doing something wrong? Salut , Dim outside a Proc. etc isn't possible there you have to use 'Public' , 'Private' or 'STATIC' . But inside you can. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From Karl.Reinl at ...9... Sun Aug 15 23:25:33 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 15 Aug 2004 21:25:33 +0000 Subject: [Gambas-user] Fwd: while working on PrettyPrinter, changes for the IDE Editor Message-ID: <200408152125.33627.Karl.Reinl@...9...> ---------- Forwarded Message ---------- Subject: while working on PrettyPrinter, changes for the IDE Editor Date: Sunday 15 August 2004 20:47 From: Charlie Reinl To: "gambas-user" Salut, for understanding the GambasEditor for using it for PrettyPrinter, I play around with the IDE Editor and made the following changes in PUBLIC SUB edtEditor_Cursor() PUBLIC SUB edtEditor_Cursor() IF edtEditor.Line <> $iLastLine THEN ' changings charlie IF Left(Trim(edtEditor.Lines[$iLastLine]),1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> ""THEN edtEditor.Lines[$iLastLine] = LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF ' end changings charlie $iLastLine = edtEditor.Line HideCompletion HideSignature IF IsModified() THEN Scan = NULL ELSE IF $bCheckSignature OR frmSignature.Visible THEN $bCheckSignature = FALSE CheckSignature ENDIF DrawTitle ' TRY PRINT Editor.Analyze(Editor.Lines[Editor.Line]).Join(",") END For what LineAnalyze is for: Till now it strippes useless Blanks and if you typed a i=i+1 you'v got no error more , because LineAnalyze change it to i = i + 1 It dose only work on line and windows changes, It dosn't work if you press a Button (Toolbar) without changing the line. To you to play now. Amicalement Charlie These procs are needed to make changes work ( not GetColorsName if you don't uncomment the PRINT line in LineAnalyze) PUBLIC SUB edtEditor_LostFocus() IF Left(Trim(edtEditor.Lines[$iLastLine]),1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> ""THEN edtEditor.Lines[$iLastLine] = LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF END '---------------------------------------------------------------------------- ----------------------------------------------- PRIVATE FUNCTION LineAnalyze(sLine AS String) AS String DIM nI AS Integer DIM sOut AS String DIM sPart AS String[] DIM iPart AS Integer[] DIM aSPart AS Object DIM sLeftBlanks AS String IF IsProc(Trim(sLine)) THEN RETURN sLine IF Upper(Trim(sLine)) = "END" THEN RETURN sLine ' looking for leading Blanks FOR nI = 1 TO Len(sLine) IF Mid(sLine,ni,1) = " " THEN sLeftBlanks = sLeftBlanks & " " ELSE BREAK ENDIF NEXT edtEditor.Analyze(sLine) sPart=GambasEditor.Symbols iPart=GambasEditor.Types FOR nI = 0 TO sPart.Count - 1 SELECT CASE iPart[nI] CASE 5 ' Symbol ' here you can look up if this Symbol is written as declaret sOut = sOut & " " & sPart[nI] ' Sorry this line is missing in first mail CASE 6 ' Number IF nI > 0 THEN SELECT CASE iPart[nI - 1] CASE 5 ' Symbol sOut = sOut & " " & Left(sPart[nI],1) & " " & Mid(sPart[nI],2) CASE ELSE sOut = sOut & " " & sPart[nI] END SELECT ELSE sOut = sOut & " " & sPart[nI] ENDIF CASE ELSE sOut = sOut & " " & sPart[nI] END SELECT 'PRINT sPart[nI] , iPart[nI] , GetColorsName(iPart[nI]) NEXT sOut = sLeftBlanks & Trim(sOut) RETURN sOut END '---------------------------------------------------------------------------- ----------------------------------------------- FUNCTION GetColorsName(iType AS Integer) AS String ' this is only to know the Values DIM sOut AS String SELECT CASE iType CASE edtEditor.Colors.Background sOut = "Background" CASE edtEditor.Colors.Breakpoint sOut = "Breakpoint" CASE edtEditor.Colors.Comment sOut = "Comment" CASE edtEditor.Colors.Current sOut = "Current" CASE edtEditor.Colors.DataType sOut = "DataType" CASE edtEditor.Colors.Function sOut = "Function" CASE edtEditor.Colors.Keyword sOut = "Keyword" CASE edtEditor.Colors.Normal sOut = "Normal" CASE edtEditor.Colors.Number sOut = "Number" CASE edtEditor.Colors.Operator sOut = "Operator" CASE edtEditor.Colors.String sOut = "String" CASE edtEditor.Colors.Symbol sOut = "Symbol" CASE ELSE sOut = "??" END SELECT RETURN sOut END ------------------------------------------------------- From Karl.Reinl at ...9... Mon Aug 16 00:26:23 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 15 Aug 2004 22:26:23 +0000 Subject: [Gambas-user] 2. Fwd: while working on PrettyPrinter, changes for the IDE Editor Message-ID: <200408152226.23888.Karl.Reinl@...9...> Sorry guys, seams that I'm to hurry to day But has to be tested !!!! Amicalement ---------- Forwarded Message ---------- Subject: Fwd: while working on PrettyPrinter, changes for the IDE Editor Date: Sunday 15 August 2004 21:25 From: Charlie Reinl To: "gambas-user" ---------- Forwarded Message ---------- Subject: while working on PrettyPrinter, changes for the IDE Editor Date: Sunday 15 August 2004 20:47 From: Charlie Reinl To: "gambas-user" Salut, for understanding the GambasEditor for using it for PrettyPrinter, I play around with the IDE Editor and made the following changes in PUBLIC SUB edtEditor_Cursor() PUBLIC SUB edtEditor_Cursor() IF edtEditor.Line <> $iLastLine THEN ' changings charlie IF Left(Trim(edtEditor.Lines[$iLastLine]),1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> ""THEN edtEditor.Lines[$iLastLine] = LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF ' end changings charlie $iLastLine = edtEditor.Line HideCompletion HideSignature IF IsModified() THEN Scan = NULL ELSE IF $bCheckSignature OR frmSignature.Visible THEN $bCheckSignature = FALSE CheckSignature ENDIF DrawTitle ' TRY PRINT Editor.Analyze(Editor.Lines[Editor.Line]).Join(",") END For what LineAnalyze is for: Till now it strippes useless Blanks and if you typed a i=i+1 you'v got no error more , because LineAnalyze change it to i = i + 1 It dose only work on line and windows changes, It dosn't work if you press a Button (Toolbar) without changing the line. To you to play now. Amicalement Charlie These procs are needed to make changes work ( not GetColorsName if you don't uncomment the PRINT line in LineAnalyze) PUBLIC SUB edtEditor_LostFocus() IF Left(Trim(edtEditor.Lines[$iLastLine]),1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> ""THEN edtEditor.Lines[$iLastLine] = LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF END '---------------------------------------------------------------------------- PRIVATE FUNCTION LineAnalyze(sLine AS String) AS String DIM nI AS Integer DIM sOut AS String DIM sPart AS String[] DIM iPart AS Integer[] DIM aSPart AS Object DIM sLeftBlanks AS String DIM sBlank AS String IF IsProc (Trim (sLine ))THEN RETURN sLine IF Upper (Trim (sLine ))= "END" THEN RETURN sLine ' looking for leading Blanks FOR nI = 1 TO Len (sLine ) IF Mid (sLine , ni , 1 )= " " THEN sLeftBlanks = sLeftBlanks & " " ELSE BREAK ENDIF NEXT edtEditor .Analyze (sLine ) sPart = GambasEditor .Symbols iPart = GambasEditor .Types sBlank = " " FOR nI = 0 TO sPart .Count - 1 SELECT CASE sPart [nI ] CASE "." , "(" , ")" , "[" , "]" sBlank = "" CASE ELSE sBlank = " " END SELECT IF nI > 0 THEN SELECT CASE sPart [nI - 1 ] CASE "." , "(" , ")" , "[" , "]" sBlank = "" CASE ELSE sBlank = " " END SELECT ELSE sBlank = " " ENDIF SELECT CASE iPart [nI ] CASE 5 ' Symbol ' here you can look up if this Symbol is written as declaret sOut = sOut & sBlank & sPart [nI ] CASE 6 ' Number IF nI > 0 THEN SELECT CASE iPart [nI - 1 ] CASE 5 ' Symbol sOut = sOut & sBlank & Left (sPart [nI ], 1 )& " " & Mid (sPart [nI ], 2 ) CASE ELSE sOut = sOut & sBlank & sPart [nI ] END SELECT ELSE sOut = sOut & sBlank & sPart [nI ] ENDIF CASE ELSE sOut = sOut & sBlank & sPart [nI ] END SELECT ' PRINT sPart [nI ], iPart [nI ], GetColorsName (iPart [nI ]) NEXT sOut = sLeftBlanks & Trim (sOut ) RETURN sOut END '---------------------------------------------------------------------------- FUNCTION GetColorsName(iType AS Integer) AS String ' this is only to know the Values DIM sOut AS String SELECT CASE iType CASE edtEditor.Colors.Background sOut = "Background" CASE edtEditor.Colors.Breakpoint sOut = "Breakpoint" CASE edtEditor.Colors.Comment sOut = "Comment" CASE edtEditor.Colors.Current sOut = "Current" CASE edtEditor.Colors.DataType sOut = "DataType" CASE edtEditor.Colors.Function sOut = "Function" CASE edtEditor.Colors.Keyword sOut = "Keyword" CASE edtEditor.Colors.Normal sOut = "Normal" CASE edtEditor.Colors.Number sOut = "Number" CASE edtEditor.Colors.Operator sOut = "Operator" CASE edtEditor.Colors.String sOut = "String" CASE edtEditor.Colors.Symbol sOut = "Symbol" CASE ELSE sOut = "??" END SELECT RETURN sOut END From rizky at ...568... Mon Aug 16 04:10:45 2004 From: rizky at ...568... (Rizky Tahara Shita) Date: Mon, 16 Aug 2004 09:10:45 +0700 Subject: [Gambas-user] (no subject) In-Reply-To: References: <41075D31.4010104@...542...> <6.0.0.22.2.20040812102103.01c7be90@...329...> Message-ID: <6.0.0.22.2.20040816090858.01c29e90@...329...> At 12:44 12/08/2004, Budi Arief Gusandi wrote: >Rizky, did you just wake up ? it's august 12, you replied las month mail >?LOL gak.. gw abis cuti hehehe.... maklum... baru sedot email... :P From gambas at ...1... Mon Aug 16 11:42:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 16 Aug 2004 11:42:31 +0200 Subject: [Gambas-user] DateAdd function In-Reply-To: <411F100F.4070202@...451...> References: <411F100F.4070202@...451...> Message-ID: <200408161142.31482.gambas@...1...> On Sunday 15 August 2004 09:26, VBTricks.de.vu Webmaster wrote: > Hi Benoit, > > I read your comment. As I do not have the MSDN available under Linux, I > tried adding years using "y" as intervall. With "yyyy" it works. But > when trying to add months to a date, the function fails. > > My source: > Dim NextDate As Date > NextDate = CDate("10/03/03") ' October 3rd, 2003 > NextDate = vb.DateAdd("m", 2, NextDate) > > 'should return December 3rd, 2003 > > Error displayed: "Invalid Date Returned" > > But this date does exist! > > So where's the fault? I fixed it, here is a patch. Put it in ./src/lib/vb Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: vbdate.c Type: text/x-csrc Size: 6280 bytes Desc: not available URL: From gambas at ...1... Mon Aug 16 12:03:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 16 Aug 2004 12:03:45 +0200 Subject: [Gambas-user] 2. Fwd: while working on PrettyPrinter, changes for the IDE Editor In-Reply-To: <200408152226.23888.Karl.Reinl@...9...> References: <200408152226.23888.Karl.Reinl@...9...> Message-ID: <200408161203.45492.gambas@...1...> On Monday 16 August 2004 00:26, Charlie Reinl wrote: > Sorry guys, > > seams that I'm to hurry to day > > But has to be tested !!!! > > Amicalement Hi, Charlie. See my comments below. > > ---------- Forwarded Message ---------- > > Subject: Fwd: while working on PrettyPrinter, changes for the IDE Editor > Date: Sunday 15 August 2004 21:25 > From: Charlie Reinl > To: "gambas-user" > > ---------- Forwarded Message ---------- > > Subject: while working on PrettyPrinter, changes for the IDE Editor > Date: Sunday 15 August 2004 20:47 > From: Charlie Reinl > To: "gambas-user" > > Salut, > > for understanding the GambasEditor for using it for PrettyPrinter, I play > around with the IDE Editor and made the following changes in > PUBLIC SUB edtEditor_Cursor() > > PUBLIC SUB edtEditor_Cursor() > IF edtEditor.Line <> $iLastLine THEN > ' changings charlie > IF Left(Trim(edtEditor.Lines[$iLastLine]),1) <> "'" AND > Trim(edtEditor.Lines[$iLastLine]) <> ""THEN > edtEditor.Lines[$iLastLine] = > LineAnalyze(edtEditor.Lines[$iLastLine]) > ENDIF > ' end changings charlie > $iLastLine = edtEditor.Line > HideCompletion > HideSignature > IF IsModified() THEN Scan = NULL > ELSE IF $bCheckSignature OR frmSignature.Visible THEN > $bCheckSignature = FALSE > CheckSignature > ENDIF > DrawTitle > ' TRY PRINT Editor.Analyze(Editor.Lines[Editor.Line]).Join(",") > END > > For what LineAnalyze is for: > > Till now it strippes useless Blanks and if you typed a i=i+1 you'v got no > error more , because LineAnalyze change it to i = i + 1 > > It dose only work on line and windows changes, It dosn't work if you press > a Button (Toolbar) without changing the line. I could add an event in the GambasEditor that will be raised just after a line was colorized, so that you can pretty print it. > > To you to play now. > > Amicalement > Charlie > > These procs are needed to make changes work ( not GetColorsName if you > don't uncomment the PRINT line in LineAnalyze) > > PUBLIC SUB edtEditor_LostFocus() > IF Left(Trim(edtEditor.Lines[$iLastLine]),1) <> "'" AND > Trim(edtEditor.Lines[$iLastLine]) <> ""THEN > edtEditor.Lines[$iLastLine] = > LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF > END > '-------------------------------------------------------------------------- >-- PRIVATE FUNCTION LineAnalyze(sLine AS String) AS String > DIM nI AS Integer > DIM sOut AS String > DIM sPart AS String[] > DIM iPart AS Integer[] > DIM aSPart AS Object > DIM sLeftBlanks AS String > DIM sBlank AS String > IF IsProc (Trim (sLine ))THEN RETURN sLine > IF Upper (Trim (sLine ))= "END" THEN RETURN sLine > ' looking for leading Blanks > FOR nI = 1 TO Len (sLine ) > IF Mid (sLine , ni , 1 )= " " THEN > sLeftBlanks = sLeftBlanks & " " > ELSE > BREAK > ENDIF > NEXT > edtEditor .Analyze (sLine ) This is faster: sLeftBlank = String$(len(sLine) - len(ltrim(sLine)), " ") > sPart = GambasEditor .Symbols > iPart = GambasEditor .Types > sBlank = " " > FOR nI = 0 TO sPart .Count - 1 > SELECT CASE sPart [nI ] > CASE "." , "(" , ")" , "[" , "]" > sBlank = "" > CASE ELSE > sBlank = " " > END SELECT > IF nI > 0 THEN > SELECT CASE sPart [nI - 1 ] > CASE "." , "(" , ")" , "[" , "]" > sBlank = "" > CASE ELSE > sBlank = " " > END SELECT > ELSE > sBlank = " " > ENDIF > SELECT CASE iPart [nI ] > CASE 5 ' Symbol > ' here you can look up if this Symbol is written as declaret > sOut = sOut & sBlank & sPart [nI ] > CASE 6 ' Number > IF nI > 0 THEN > SELECT CASE iPart [nI - 1 ] Why the following case ? > CASE 5 ' Symbol > sOut = sOut & sBlank & Left (sPart [nI ], 1 )& > " " & Mid (sPart [nI ], 2 ) > CASE ELSE > sOut = sOut & sBlank & sPart [nI ] > END SELECT > ELSE > sOut = sOut & sBlank & sPart [nI ] > ENDIF > CASE ELSE > sOut = sOut & sBlank & sPart [nI ] > END SELECT > ' PRINT sPart [nI ], iPart [nI ], GetColorsName (iPart [nI ]) > NEXT > sOut = sLeftBlanks & Trim (sOut ) > RETURN sOut > END If the previous code was pretty printed, then the result is strange: spaces before ']', ')', '[', '.'... > '-------------------------------------------------------------------------- >-- FUNCTION GetColorsName(iType > AS Integer) AS String > ' this is only to know the Values > DIM sOut AS String > SELECT CASE iType > CASE edtEditor.Colors.Background > sOut = "Background" > CASE edtEditor.Colors.Breakpoint > sOut = "Breakpoint" > CASE edtEditor.Colors.Comment > sOut = "Comment" > CASE edtEditor.Colors.Current > sOut = "Current" > CASE edtEditor.Colors.DataType > sOut = "DataType" > CASE edtEditor.Colors.Function > sOut = "Function" > CASE edtEditor.Colors.Keyword > sOut = "Keyword" > CASE edtEditor.Colors.Normal > sOut = "Normal" > CASE edtEditor.Colors.Number > sOut = "Number" > CASE edtEditor.Colors.Operator > sOut = "Operator" > CASE edtEditor.Colors.String > sOut = "String" > CASE edtEditor.Colors.Symbol > sOut = "Symbol" > CASE ELSE > sOut = "??" > END SELECT > RETURN sOut > END > > Regards, -- Benoit Minisini mailto:gambas at ...1... From lucianobastianello at ...325... Mon Aug 16 12:12:00 2004 From: lucianobastianello at ...325... (Luciano Bastianello ) Date: Mon, 16 Aug 2004 12:12:00 +0200 Subject: [Gambas-user] Unicode file-type - global setting? In-Reply-To: Message-ID: The files are saved as "unicode" file-type and the compiler issue a error. [root at ...569... prova4]#file Form1.class: UTF-8 Unicode C++ program text Form1.class~: ASCII C++ program text Form1.form: ASCII text [root at ...569... prova4]# more ./.project # Gambas Project File 1.0 Project=prova4 Startup=Form1 Stack=4 Version=0.0.1 Library=gb.qt SnapToGrid=1 ShowGrid=1 SnapX=8 SnapY=8 Localize=0 Language=it_IT.ISO-8859-1 KeepDebugInfo=0 ControlPublic=0 ------------------------------------------- Bastianello Luciano Software Consultant - Apprentice Sorcerer e-mail: lbastianello at ...151... e-mail: lbastianello at ...325... ICQ: 209754422 - MSN: cteniza at ...67... ------------------------------------------- From gambas at ...1... Mon Aug 16 14:04:50 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 16 Aug 2004 14:04:50 +0200 Subject: [Gambas-user] Fwd: The TabIndex and SelStart, SelLenght Message-ID: <200408161404.50927.gambas@...1...> ---------- Forwarded Message ---------- Subject: The TabIndex and SelStart, SelLenght Date: Monday 16 August 2004 13:52 From: To: Hi! Somebody knows as can make in the Gambas to use the resource to move of field with keyboard key ENTER instead of keyboard key TAB? In one textbox as I substitute SelStart and SelLenght to select part of a text? Reguards, Wellington ------------------------------------------------------- -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- An HTML attachment was scrubbed... URL: From montsemoreno at ...282... Mon Aug 16 14:19:42 2004 From: montsemoreno at ...282... (Montse Moreno) Date: Mon, 16 Aug 2004 14:19:42 +0200 Subject: [Gambas-user] Re: Welcome to the "Gambas-user" mailing list In-Reply-To: References: Message-ID: <1092658782.2540.3.camel@...571...> El lun, 16-08-2004 a las 02:13, gambas-user-request at lists.sourceforge.net escribi?: > Welcome to the Gambas-user at lists.sourceforge.net mailing list! > > To post to this list, send your email to: > > gambas-user at lists.sourceforge.net > -- From na2492 at ...9... Mon Aug 16 18:12:44 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 16 Aug 2004 18:12:44 00200 Subject: [Gambas-user] Re: Welcome to the "Gambas-user" mailing list Message-ID: <4120dcfc.2141.0@...9...> >El lun, 16-08-2004 a las 02:13, >gambas-user-request at lists.sourceforge.net escribi?: >> Welcome to the Gambas-user at lists.sourceforge.net mailing list! >> >> To post to this list, send your email to: >> >> gambas-user at lists.sourceforge.net >> > Salut , somethings strange in paradise ? Why are these mails come to the list ? Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From karl.reinl at ...9... Mon Aug 16 22:30:29 2004 From: karl.reinl at ...9... (Charlie) Date: Mon, 16 Aug 2004 22:30:29 +0200 Subject: [Gambas-user] 2. Fwd: while working on PrettyPrinter, changes for the IDE Editor References: <200408152226.23888.Karl.Reinl@...9...> <200408161203.45492.gambas@...1...> Message-ID: <41211965.5080003@...9...> Benoit Minisini schrieb: >On Monday 16 August 2004 00:26, Charlie Reinl wrote: > > >>Sorry guys, >> >>seams that I'm to hurry to day >> >>But has to be tested !!!! >> >>Amicalement >> >> Salut Beno?t, >Hi, Charlie. > >See my comments below. > > >I could add an event in the GambasEditor that will be raised just after a line >was colorized, so that you can pretty print it. > This is NOT PrettyPrinting is the sence how I understand PrettyPrinting and the work the PrettyPrinter should do. Include PrettyPrinting automaticaly in an editor reacting line by line, I know 2 reasons to not to do it: 1. PrettyPrinting is something not all coders like 2. and main intervention, to PrettyPrint needs closed structures, to to well the job. But that event would be nice for all those line analysing jobs, like correcting future Errors like in i=i+1 or for variables are written in the same way as in his declaration line ( ni will become nI while Dim nI as ...) and so on. But that event should be fired when leaving the line or editor lose focus (my be thats what you mean, talking colorized) but also when I still stay on that line and push a Button on the Toolbar or press F5/F8 ( and all the other cases where editing is finished). > > >This is faster: > >sLeftBlank = String$(len(sLine) - len(ltrim(sLine)), " ") > > Thank, yes it is, if it is not faster, but it is shorter, so it is better. > > >> CASE 6 ' Number >> IF nI > 0 THEN >> SELECT CASE iPart [nI - 1 ] >> >> > >Why the following case ? > > May be I haven't all understood, I thougth may be I will decover other cases, so I started a 'Select Case'. And even for an other reason, at my Clipper time we used to use 'Select Case', because while debugging, after the Select Case, It was jumping direct to the valid Case. > > >> CASE 5 ' Symbol >> sOut = sOut & sBlank & Left (sPart [nI ], 1 )& >>" " & Mid (sPart [nI ], 2 ) >> CASE ELSE >> sOut = sOut & sBlank & sPart [nI ] >> END SELECT >> ELSE >> sOut = sOut & sBlank & sPart [nI ] >> ENDIF >> CASE ELSE >> sOut = sOut & sBlank & sPart [nI ] >> END SELECT >> ' PRINT sPart [nI ], iPart [nI ], GetColorsName (iPart [nI ]) >> >> >If the previous code was pretty printed, then the result is strange: spaces >before ']', ')', '[', '.'... > > My name is not 'Porte(s)', so it is a Bug not a Feature. I looked to the closing Symbols outside, where I looked to the starting Symbols, and I looked for to muche Here are the update: Thanks for testing: Amicalement Charlie PUBLIC SUB edtEditor_Cursor() IF edtEditor.Line <> $iLastLine THEN ' changings charlie IF Left(Trim(edtEditor.Lines[$iLastLine]) , 1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> "" THEN edtEditor.Lines[$iLastLine ]= LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF ' end changings charlie $iLastLine = edtEditor.Line HideCompletion HideSignature IF IsModified() THEN Scan = NULL ELSE IF $bCheckSignature OR frmSignature.Visible THEN $bCheckSignature = FALSE CheckSignature ENDIF DrawTitle ' TRY PRINT Editor.Analyze(Editor.Lines[Editor.Line]).Join(",") END '------------- PUBLIC SUB edtEditor_LostFocus() IF Left(Trim(edtEditor.Lines[$iLastLine]) , 1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> "" THEN edtEditor.Lines[$iLastLine ]= LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF END '------------- PRIVATE FUNCTION LineAnalyze(sLine AS String) AS String DIM nI AS Integer DIM sOut AS String DIM sPart AS String[] DIM iPart AS Integer[] DIM aSPart AS Object DIM sLeftBlanks AS String DIM sBlank AS String IF IsProc(Trim(sLine)) THEN RETURN sLine IF Upper(Trim(sLine) )= "END" THEN RETURN sLine ' looking for leading Blanks sLeftBlanks = String$(Len(sLine) - Len(LTrim(sLine)) , " ") ' analiesing Line edtEditor.Analyze(sLine) sPart = GambasEditor.Symbols iPart = GambasEditor.Types sBlank = " " ' set the sBlank FOR nI = 0 TO sPart.Count - 1 SELECT CASE sPart[nI] CASE "." , "(" , ")" , "[" , "]" sBlank = "" CASE ELSE IF nI > 0 THEN SELECT CASE sPart[nI - 1] CASE "." , "(" , "[" sBlank = "" CASE ELSE sBlank = " " END SELECT ELSE sBlank = " " ENDIF END SELECT SELECT CASE iPart[nI] CASE 5 ' Symbol ' here you can look up if this Symbol is written as declaret sOut = sOut & sBlank & sPart[nI] CASE 6 ' Number IF nI > 0 THEN SELECT CASE iPart[nI - 1] CASE 5 ' Symbol sOut = sOut & sBlank & Left(sPart[nI] , 1 )& " " & Mid(sPart[nI] , 2) CASE ELSE sOut = sOut & sBlank & sPart[nI] END SELECT ELSE sOut = sOut & sBlank & sPart[nI] ENDIF CASE ELSE sOut = sOut & sBlank & sPart[nI] END SELECT PRINT sPart[nI] , iPart[nI] , GetColorsName(iPart[nI]) NEXT sOut = sLeftBlanks & Trim(sOut) RETURN sOut END '------------- FUNCTION GetColorsName(iType AS Integer) AS String DIM sOut AS String SELECT CASE iType CASE edtEditor.Colors.Background sOut = "Background" CASE edtEditor.Colors.Breakpoint sOut = "Breakpoint" CASE edtEditor.Colors.Comment sOut = "Comment" CASE edtEditor.Colors.Current sOut = "Current" CASE edtEditor.Colors.DataType sOut = "DataType" CASE edtEditor.Colors.Function sOut = "Function" CASE edtEditor.Colors.Keyword sOut = "Keyword" CASE edtEditor.Colors.Normal sOut = "Normal" CASE edtEditor.Colors.Number sOut = "Number" CASE edtEditor.Colors.Operator sOut = "Operator" CASE edtEditor.Colors.String sOut = "String" CASE edtEditor.Colors.Symbol sOut = "Symbol" CASE ELSE sOut = "??" END SELECT RETURN sOut END '------------- From gambas at ...1... Mon Aug 16 20:59:10 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 16 Aug 2004 20:59:10 +0200 Subject: [Gambas-user] 2. Fwd: while working on PrettyPrinter, changes for the IDE Editor In-Reply-To: <41211965.5080003@...9...> References: <200408152226.23888.Karl.Reinl@...9...> <200408161203.45492.gambas@...1...> <41211965.5080003@...9...> Message-ID: <200408162059.10147.gambas@...1...> On Monday 16 August 2004 22:30, Charlie wrote: > Benoit Minisini schrieb: > >On Monday 16 August 2004 00:26, Charlie Reinl wrote: > >>Sorry guys, > >> > >>seams that I'm to hurry to day > >> > >>But has to be tested !!!! > >> > >>Amicalement > > Salut Beno?t, > > >Hi, Charlie. > > > >See my comments below. > > > > > >I could add an event in the GambasEditor that will be raised just after a > > line was colorized, so that you can pretty print it. > > This is NOT PrettyPrinting is the sence how I understand PrettyPrinting > and the work the PrettyPrinter should do. > Include PrettyPrinting automaticaly in an editor reacting line by line, > I know 2 reasons to not to do it: > 1. PrettyPrinting is something not all coders like > 2. and main intervention, to PrettyPrint needs closed structures, to > to well the job. Let's call it "Line pretty printing" :-) > > But that event would be nice for all those line analysing jobs, like > correcting future Errors like in i=i+1 or for variables are written in > the same way as in his declaration line ( ni will become nI while Dim nI > as ...) and so on. > But that event should be fired > when leaving the line or editor lose focus (my be thats what you > mean, talking colorized) but also when I still stay on that line and > push a Button on the Toolbar or press F5/F8 ( and all the other cases > where editing is finished). > I think an event raised just before colorize the line will be sufficient, as colorize is a sort of "line pretty printing", and so the moments it is run are good moments for "line pretty printing". > >This is faster: > > > >sLeftBlank = String$(len(sLine) - len(ltrim(sLine)), " ") > > Thank, yes it is, if it is not faster, but it is shorter, so it is better. LTrim() does not create any intermediate strings, so it IS faster: do the test! :-) > > >> CASE 6 ' Number > >> IF nI > 0 THEN > >> SELECT CASE iPart [nI - 1 ] > > > >Why the following case ? > > May be I haven't all understood, I thougth may be I will decover other > cases, so I started a 'Select Case'. > And even for an other reason, at my Clipper time we used to use 'Select > Case', because while debugging, after the Select Case, > It was jumping direct to the valid Case. I didn't understand what you said :-( > > >> CASE 5 ' Symbol > >> sOut = sOut & sBlank & Left (sPart [nI ], 1 > >> )& " " & Mid (sPart [nI ], 2 ) > >> CASE ELSE > >> sOut = sOut & sBlank & sPart [nI ] > >> END SELECT > >> ELSE > >> sOut = sOut & sBlank & sPart [nI ] > >> ENDIF > >> CASE ELSE > >> sOut = sOut & sBlank & sPart [nI ] > >> END SELECT > >> ' PRINT sPart [nI ], iPart [nI ], GetColorsName (iPart [nI ]) > > > >If the previous code was pretty printed, then the result is strange: > > spaces before ']', ')', '[', '.'... > > My name is not 'Porte(s)', so it is a Bug not a Feature. > I looked to the closing Symbols outside, where I looked to the starting > Symbols, and I looked for to muche > > Here are the update: > Thanks for testing: > > Amicalement > Charlie If you look carefully at the following code, provided it was "line pretty printed", you will see stranges spaces yet... > > PUBLIC SUB edtEditor_Cursor() > IF edtEditor.Line <> $iLastLine THEN > ' changings charlie > IF Left(Trim(edtEditor.Lines[$iLastLine]) , 1) <> "'" AND > Trim(edtEditor.Lines[$iLastLine]) <> "" THEN edtEditor.Lines[$iLastLine ]= > LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF > ' end changings charlie > $iLastLine = edtEditor.Line > HideCompletion > HideSignature > IF IsModified() THEN Scan = NULL > ELSE IF $bCheckSignature OR frmSignature.Visible THEN > $bCheckSignature = FALSE > CheckSignature > ENDIF > DrawTitle > ' TRY PRINT Editor.Analyze(Editor.Lines[Editor.Line]).Join(",") > END > '------------- > PUBLIC SUB edtEditor_LostFocus() > IF Left(Trim(edtEditor.Lines[$iLastLine]) , 1) <> "'" AND > Trim(edtEditor.Lines[$iLastLine]) <> "" THEN edtEditor.Lines[$iLastLine ]= > LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF > END > '------------- > PRIVATE FUNCTION LineAnalyze(sLine AS String) AS String > DIM nI AS Integer > DIM sOut AS String > DIM sPart AS String[] > DIM iPart AS Integer[] > DIM aSPart AS Object > DIM sLeftBlanks AS String > DIM sBlank AS String > IF IsProc(Trim(sLine)) THEN RETURN sLine > IF Upper(Trim(sLine) )= "END" THEN RETURN sLine > ' looking for leading Blanks > sLeftBlanks = String$(Len(sLine) - Len(LTrim(sLine)) , " ") > ' analiesing Line > edtEditor.Analyze(sLine) > sPart = GambasEditor.Symbols > iPart = GambasEditor.Types > sBlank = " " > ' set the sBlank > FOR nI = 0 TO sPart.Count - 1 > SELECT CASE sPart[nI] > CASE "." , "(" , ")" , "[" , "]" > sBlank = "" > CASE ELSE > IF nI > 0 THEN > SELECT CASE sPart[nI - 1] > CASE "." , "(" , "[" > sBlank = "" > CASE ELSE > sBlank = " " > END SELECT > ELSE > sBlank = " " > ENDIF > END SELECT > SELECT CASE iPart[nI] > CASE 5 ' Symbol > ' here you can look up if this Symbol is written as declaret > sOut = sOut & sBlank & sPart[nI] > CASE 6 ' Number > IF nI > 0 THEN > SELECT CASE iPart[nI - 1] > CASE 5 ' Symbol > sOut = sOut & sBlank & Left(sPart[nI] , 1 )& " > " & Mid(sPart[nI] , 2) CASE ELSE > sOut = sOut & sBlank & sPart[nI] > END SELECT > ELSE > sOut = sOut & sBlank & sPart[nI] > ENDIF > CASE ELSE > sOut = sOut & sBlank & sPart[nI] > END SELECT > PRINT sPart[nI] , iPart[nI] , GetColorsName(iPart[nI]) > NEXT > sOut = sLeftBlanks & Trim(sOut) > RETURN sOut > END Regards, -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Mon Aug 16 21:23:02 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 16 Aug 2004 21:23:02 +0200 Subject: [Gambas-user] Dim In-Reply-To: <1092594725.15583.15.camel@...559...> References: <1092101829.4036.20.camel@...559...> <200408151127.52377.sourceforge-raindog2@...94...> <1092594725.15583.15.camel@...559...> Message-ID: <200408162123.03037.gambasfr@...11...> Le dimanche 15 Ao?t 2004 20:32, Michael Sullivan a ?crit?: > Whenever I use 'Dim' to declare an object, Gambas gives me a syntax > error, but when I change 'Dim' to 'Public' or 'Private' it works fine. > Why is this? Am I doing something wrong? > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user You can use Dim only in function or sub... For the header variable whose are global, to the file, or more, You must use PUBLIC or PRIVATE keyword... For information you can do 'class Private iMyVar as integer 'it'savailable for all the class ! PUBLIC SUB _New() DIM MyLocalVar as Integer 'only available in the function MyLocalVar2 as Integer END Fabien Bodard From na2492 at ...9... Mon Aug 16 21:46:01 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 16 Aug 2004 21:46:01 00200 Subject: [Gambas-user] 2. Fwd: while working on PrettyPrinter, changes for the IDE Editor Message-ID: <41210ef9.52f7.0@...9...> >On Monday 16 August 2004 22:30, Charlie wrote: >> Benoit Minisini schrieb: >> >On Monday 16 August 2004 00:26, Charlie Reinl wrote: >> >>Sorry guys, >> >> >> >>seams that I'm to hurry to day >> >> >> >>But has to be tested !!!! >> >> >> >>Amicalement >> >> Salut Beno?t, >> >> >Hi, Charlie. >> > >> >See my comments below. >> > >> > >> >I could add an event in the GambasEditor that will be raised just after a >> > line was colorized, so that you can pretty print it. >> >> This is NOT PrettyPrinting is the sence how I understand PrettyPrinting >> and the work the PrettyPrinter should do. >> Include PrettyPrinting automaticaly in an editor reacting line by line, >> I know 2 reasons to not to do it: >> 1. PrettyPrinting is something not all coders like >> 2. and main intervention, to PrettyPrint needs closed structures, to >> to well the job. > >Let's call it "Line pretty printing" :-) OK, it's just to know, for what we talking for. > >> >> But that event would be nice for all those line analysing jobs, like >> correcting future Errors like in i=i+1 or for variables are written in >> the same way as in his declaration line ( ni will become nI while Dim nI >> as ...) and so on. >> But that event should be fired >> when leaving the line or editor lose focus (my be thats what you >> mean, talking colorized) but also when I still stay on that line and >> push a Button on the Toolbar or press F5/F8 ( and all the other cases >> where editing is finished). >> > >I think an event raised just before colorize the line will be sufficient, as >colorize is a sort of "line pretty printing", and so the moments it is run >are good moments for "line pretty printing". If it is we can call line pretty printing when this event is fired. > >> >This is faster: >> > >> >sLeftBlank = String$(len(sLine) - len(ltrim(sLine)), " ") >> >> Thank, yes it is, if it is not faster, but it is shorter, so it is better. > >LTrim() does not create any intermediate strings, so it IS faster: do the >test! :-) > >> >> >> CASE 6 ' Number >> >> IF nI > 0 THEN >> >> SELECT CASE iPart [nI - 1 ] >> > >> >Why the following case ? >> >> May be I haven't all understood, I thougth may be I will decover other >> cases, so I started a 'Select Case'. >> And even for an other reason, at my Clipper time we used to use 'Select >> Case', because while debugging, after the Select Case, >> It was jumping direct to the valid Case. > >I didn't understand what you said :-( I often use 'Select Case/End Select' because I coded long time in 'Clipper' a dBase Database Language. And 'Select Case/End Select' at debugging , jumped directly after Select case to the right Case or the Case Else and ditn't pass alle the cases between. This is one reason. The seconde: And when I started this 'Select Case/End Select' I dit it while I ingnored, how much Cases are, I'm just start with all that. > >> >> >> CASE 5 ' Symbol >> >> sOut = sOut & sBlank & Left (sPart [nI ], 1 >> >> )& " " & Mid (sPart [nI ], 2 ) >> >> CASE ELSE >> >> sOut = sOut & sBlank & sPart [nI ] >> >> END SELECT >> >> ELSE >> >> sOut = sOut & sBlank & sPart [nI ] >> >> ENDIF >> >> CASE ELSE >> >> sOut = sOut & sBlank & sPart [nI ] >> >> END SELECT >> >> ' PRINT sPart [nI ], iPart [nI ], GetColorsName (iPart [nI ]) >> > >> >If the previous code was pretty printed, then the result is strange: >> > spaces before ']', ')', '[', '.'... >> >> My name is not 'Porte(s)', so it is a Bug not a Feature. >> I looked to the closing Symbols outside, where I looked to the starting >> Symbols, and I looked for to muche >> >> Here are the update: >> Thanks for testing: >> >> Amicalement >> Charlie > >If you look carefully at the following code, provided it was "line pretty >printed", you will see stranges spaces yet... > Do you mean the spaces at the ',' . I let them for better reading and marking. True, I'm not 'Porte(s)' At the sOut = sOut & sBlank & Left(sPart[nI] , 1 )& " " & Mid(sPart[nI] , 2) line, its the )& if you give a space between, it becomes right (to do) ')&' =Operator, >> >> PUBLIC SUB edtEditor_Cursor() >> IF edtEditor.Line <> $iLastLine THEN >> ' changings charlie >> IF Left(Trim(edtEditor.Lines[$iLastLine]) , 1) <> "'" AND >> Trim(edtEditor.Lines[$iLastLine]) <> "" THEN edtEditor.Lines[$iLastLine ]= >> LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF >> ' end changings charlie >> $iLastLine = edtEditor.Line >> HideCompletion >> HideSignature >> IF IsModified() THEN Scan = NULL >> ELSE IF $bCheckSignature OR frmSignature.Visible THEN >> $bCheckSignature = FALSE >> CheckSignature >> ENDIF >> DrawTitle >> ' TRY PRINT Editor.Analyze(Editor.Lines[Editor.Line]).Join(",") >> END >> '------------- >> PUBLIC SUB edtEditor_LostFocus() >> IF Left(Trim(edtEditor.Lines[$iLastLine]) , 1) <> "'" AND >> Trim(edtEditor.Lines[$iLastLine]) <> "" THEN edtEditor.Lines[$iLastLine ]= >> LineAnalyze(edtEditor.Lines[$iLastLine]) ENDIF >> END >> '------------- >> PRIVATE FUNCTION LineAnalyze(sLine AS String) AS String >> DIM nI AS Integer >> DIM sOut AS String >> DIM sPart AS String[] >> DIM iPart AS Integer[] >> DIM aSPart AS Object >> DIM sLeftBlanks AS String >> DIM sBlank AS String >> IF IsProc(Trim(sLine)) THEN RETURN sLine >> IF Upper(Trim(sLine) )= "END" THEN RETURN sLine >> ' looking for leading Blanks >> sLeftBlanks = String$(Len(sLine) - Len(LTrim(sLine)) , " ") >> ' analiesing Line >> edtEditor.Analyze(sLine) >> sPart = GambasEditor.Symbols >> iPart = GambasEditor.Types >> sBlank = " " >> ' set the sBlank >> FOR nI = 0 TO sPart.Count - 1 >> SELECT CASE sPart[nI] >> CASE "." , "(" , ")" , "[" , "]" >> sBlank = "" >> CASE ELSE >> IF nI > 0 THEN >> SELECT CASE sPart[nI - 1] >> CASE "." , "(" , "[" >> sBlank = "" >> CASE ELSE >> sBlank = " " >> END SELECT >> ELSE >> sBlank = " " >> ENDIF >> END SELECT >> SELECT CASE iPart[nI] >> CASE 5 ' Symbol >> ' here you can look up if this Symbol is written as declaret >> sOut = sOut & sBlank & sPart[nI] >> CASE 6 ' Number >> IF nI > 0 THEN >> SELECT CASE iPart[nI - 1] >> CASE 5 ' Symbol >> sOut = sOut & sBlank & Left(sPart[nI] , 1 )& " >> " & Mid(sPart[nI] , 2) CASE ELSE >> sOut = sOut & sBlank & sPart[nI] >> END SELECT >> ELSE >> sOut = sOut & sBlank & sPart[nI] >> ENDIF >> CASE ELSE >> sOut = sOut & sBlank & sPart[nI] >> END SELECT >> PRINT sPart[nI] , iPart[nI] , GetColorsName(iPart[nI]) >> NEXT >> sOut = sLeftBlanks & Trim(sOut) >> RETURN sOut >> END > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From sourceforge-raindog2 at ...94... Mon Aug 16 21:31:18 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 16 Aug 2004 15:31:18 -0400 Subject: [Gambas-user] spec file issue in gambas 0.97? Message-ID: <200408161531.18657.sourceforge-raindog2@...94...> I just bombed out trying to build RPM's for gambas 0.97 under a fairly clean Mandrake 10 install. The only changes I made to the spec file were to remove the Benoit-specific lines at the beginning that really belong in Benoit's ~/.rpmmacros file (naughty naughty ;) actually, I did the same thing originally and got dissed by the Mandrake contrib guys for it.) It gets all the way through the compile and then dies while trying to generate the info files: /bin/sh: line 1: Installing with ROOT=/home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot: No such file or directory Creating the library info files... /home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot/usr/bin/gbi: invalid option -- r Cannot write /usr/share/gambas/info/gb.info make[2]: *** [install-exec-local] Error 1 make[2]: Leaving directory `/home/schmoe/RPM/BUILD/gambas-0.97' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/schmoe/RPM/BUILD/gambas-0.97' make: *** [install-recursive] Error 1 error: Bad exit status from /home/schmoe/RPM/tmp/rpm-tmp.61842 (%install) RPM build errors: Bad exit status from /home/schmoe/RPM/tmp/rpm-tmp.61842 (%install) Command exited with non-zero status 1 635.42user 48.25system 12:20.03elapsed 92%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (2126984major+3500128minor)pagefaults 0swaps That error up at the top seems to be wrong somehow, as you can see: [schmoe at ...572... SPECS]$ ls -al /home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot total 12 drwxr-xr-x 3 schmoe schmoe 4096 Aug 16 15:17 ./ drwxr-xr-x 11 schmoe schmoe 4096 Aug 16 15:17 ../ drwxr-xr-x 6 schmoe schmoe 4096 Aug 16 15:17 usr/ [schmoe at ...572... SPECS]$ It looks to me like the install process is trying to write to /usr/share/gambas/info! Benoit, did you make a spec file that requires the user to be root in order to build its packages? ;) Rob From gambas at ...1... Mon Aug 16 22:04:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 16 Aug 2004 22:04:36 +0200 Subject: [Gambas-user] spec file issue in gambas 0.97? In-Reply-To: <200408161531.18657.sourceforge-raindog2@...94...> References: <200408161531.18657.sourceforge-raindog2@...94...> Message-ID: <200408162204.36834.gambas@...1...> On Monday 16 August 2004 21:31, Rob wrote: > I just bombed out trying to build RPM's for gambas 0.97 under a > fairly clean Mandrake 10 install. The only changes I made to > the spec file were to remove the Benoit-specific lines at the > beginning that really belong in Benoit's ~/.rpmmacros file > (naughty naughty ;) actually, I did the same thing originally > and got dissed by the Mandrake contrib guys for it.) > > It gets all the way through the compile and then dies while > trying to generate the info files: > > /bin/sh: line 1: Installing with > ROOT=/home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot: No such > file or directory > > Creating the library info files... > /home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot/usr/bin/gbi: > invalid option -- r > Cannot write /usr/share/gambas/info/gb.info > make[2]: *** [install-exec-local] Error 1 > make[2]: Leaving directory `/home/schmoe/RPM/BUILD/gambas-0.97' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory `/home/schmoe/RPM/BUILD/gambas-0.97' > make: *** [install-recursive] Error 1 > error: Bad exit status from /home/schmoe/RPM/tmp/rpm-tmp.61842 > (%install) > > RPM build errors: > Bad exit status from /home/schmoe/RPM/tmp/rpm-tmp.61842 > (%install) > Command exited with non-zero status 1 > 635.42user 48.25system 12:20.03elapsed 92%CPU (0avgtext+0avgdata > 0maxresident)k > 0inputs+0outputs (2126984major+3500128minor)pagefaults 0swaps > > > > That error up at the top seems to be wrong somehow, as you can > see: > > [schmoe at ...572... SPECS]$ ls -al > /home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot > total 12 > drwxr-xr-x 3 schmoe schmoe 4096 Aug 16 15:17 ./ > drwxr-xr-x 11 schmoe schmoe 4096 Aug 16 15:17 ../ > drwxr-xr-x 6 schmoe schmoe 4096 Aug 16 15:17 usr/ > [schmoe at ...572... SPECS]$ > > It looks to me like the install process is trying to write to > /usr/share/gambas/info! Benoit, did you make a spec file that > requires the user to be root in order to build its packages? ;) > > Rob > I didn't. I will make the packages tomorrow at my job on a fresh installed Mandrake 10.0, with the spec file included in the source, and I will tell you the result. I made the 0.96 ones with the same spec file, and I had no problems. You got the error '/home/schmoe/RPM/tmp/gambas-0.97-1rk-buildroot/usr/bin/gbi: invalid option -- r', which is a valid option for the gbi program that is provided with gambas-0.97. This option was added to gbi in gambas-0.96. A bit strange... Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Tue Aug 17 01:10:08 2004 From: karl.reinl at ...9... (Charlie) Date: Tue, 17 Aug 2004 01:10:08 +0200 Subject: [Gambas-user] gambas IDE - Editor Message-ID: <41213ED0.6010206@...9...> Salut Beno?t, started that in gambas-user so I keep staying. update for ')&' Thanks for testing: Here is the full update to manage ')&' had to pass the line to LineAnalyze for recursiv calling. Added edtEditor.Refresh for visibility of edtitor colors Amicalement Charlie Update : PUBLIC SUB edtEditor_Cursor() IF edtEditor.Line <> $iLastLine THEN ' changings charlie IF Left(Trim(edtEditor.Lines[$iLastLine]) , 1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> "" THEN edtEditor.Lines[$iLastLine] = LineAnalyze(edtEditor.Lines[$iLastLine] , $iLastLine) edtEditor.Refresh ENDIF ' end changings charlie $iLastLine = edtEditor.Line HideCompletion HideSignature IF IsModified() THEN Scan = NULL ELSE IF $bCheckSignature OR frmSignature.Visible THEN $bCheckSignature = FALSE CheckSignature ENDIF DrawTitle ' TRY PRINT Editor.Analyze(Editor.Lines[Editor.Line]).Join(",") END '--------------------------------- PUBLIC SUB edtEditor_LostFocus() IF Left(Trim(edtEditor.Lines[$iLastLine]) , 1) <> "'" AND Trim(edtEditor.Lines[$iLastLine]) <> "" THEN edtEditor.Lines[$iLastLine] = LineAnalyze(edtEditor.Lines[$iLastLine] , $iLastLine) edtEditor.Refresh ENDIF END '--------------------------------- PRIVATE FUNCTION LineAnalyze(sLine AS String,iLine AS Integer) AS String DIM nI AS Integer DIM nJ AS Integer DIM sOut AS String DIM sPart AS String[] DIM iPart AS Integer[] DIM aSPart AS Object DIM sLeftBlanks AS String DIM sBlank AS String IF IsProc(Trim(sLine)) THEN RETURN sLine IF Upper(Trim(sLine)) = "END" THEN RETURN sLine ' looking for leading Blanks sLeftBlanks = String$(Len(sLine) - Len(LTrim(sLine)) , " ") ' analysing Line edtEditor.Analyze(sLine) sPart = GambasEditor.Symbols iPart = GambasEditor.Types sBlank = " " ' set the sBlank FOR nI = 0 TO sPart.Count - 1 ' if legth Operator > 1 IF iPart[nI] = 4 AND Len(sPart[nI]) > 1 THEN SELECT CASE sPart[nI] CASE "<>" CASE "<=" CASE ">=" CASE ELSE sPart[nI] = Left(sPart[nI] , 1) & " " & Mid(sPart[nI] , 2) sOut = sOut & " " & sPart[nI] FOR nJ = ni + 1 TO sPart.Count - 1 sOut = sOut & " " & sPart[nJ] NEXT edtEditor.Lines[iLine] = sLeftBlanks & Trim(sOut) RETURN LineAnalyze(edtEditor.Lines[iLine] , iLine) END SELECT ENDIF SELECT CASE sPart[nI] CASE "." , "(" , ")" , "[" , "]" sBlank = "" CASE ELSE IF nI > 0 THEN SELECT CASE sPart[nI - 1] CASE "." , "(" , "[" sBlank = "" CASE ELSE sBlank = " " END SELECT ELSE sBlank = " " ENDIF END SELECT SELECT CASE iPart[nI] CASE 5 ' Symbol ' here you can look up if this Symbol is written as declaret sOut = sOut & sBlank & sPart[nI] CASE 6 ' Number IF nI > 0 THEN SELECT CASE iPart[nI - 1] CASE 5 ' Symbol sOut = sOut & sBlank & Left(sPart[nI] , 1) & " " & Mid(sPart[nI] , 2) CASE ELSE sOut = sOut & sBlank & sPart[nI] END SELECT ELSE sOut = sOut & sBlank & sPart[nI] ENDIF CASE ELSE sOut = sOut & sBlank & sPart[nI] END SELECT PRINT sPart[nI] , iPart[nI] , GetColorsName(iPart[nI]) NEXT sOut = sLeftBlanks & Trim(sOut) RETURN sOut END '--------------------------------- FUNCTION GetColorsName(iType AS Integer) AS String DIM sOut AS String SELECT CASE iType CASE edtEditor.Colors.Background sOut = "Background" CASE edtEditor.Colors.Breakpoint sOut = "Breakpoint" CASE edtEditor.Colors.Comment sOut = "Comment" CASE edtEditor.Colors.Current sOut = "Current" CASE edtEditor.Colors.DataType sOut = "DataType" CASE edtEditor.Colors.Function sOut = "Function" CASE edtEditor.Colors.Keyword sOut = "Keyword" CASE edtEditor.Colors.Normal sOut = "Normal" CASE edtEditor.Colors.Number sOut = "Number" CASE edtEditor.Colors.Operator sOut = "Operator" CASE edtEditor.Colors.String sOut = "String" CASE edtEditor.Colors.Symbol sOut = "Symbol" CASE ELSE sOut = "??" END SELECT RETURN sOut END '--------------------------------- From sourceforge-raindog2 at ...94... Tue Aug 17 05:29:52 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 16 Aug 2004 23:29:52 -0400 Subject: [Gambas-user] spec file issue in gambas 0.97? In-Reply-To: <200408162204.36834.gambas@...1...> References: <200408161531.18657.sourceforge-raindog2@...94...> <200408162204.36834.gambas@...1...> Message-ID: <200408162329.52605.sourceforge-raindog2@...94...> On Monday 16 August 2004 16:04, Benoit Minisini wrote: > invalid option -- r', which is a valid option for the gbi > program that is provided with gambas-0.97. This option was > added to gbi in gambas-0.96. A bit strange... My mistake, after removing the previously installed gambas (which was 0.94!) it builds fine :) Oh, it also complained because the Util file was still referenced in the %files section but I fixed it. I'm trying to build it on 9.2 now (which has gcc 3.3) and assuming that succeeds, I'll be posting my rpm's for 9.2 and 10.0.... if you decide to build your own rpm's for 10.0 I will point people at them rather than post mine. Rob From gambas at ...1... Tue Aug 17 09:14:18 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 17 Aug 2004 09:14:18 +0200 Subject: [Gambas-user] spec file issue in gambas 0.97? In-Reply-To: <200408162329.52605.sourceforge-raindog2@...94...> References: <200408161531.18657.sourceforge-raindog2@...94...> <200408162204.36834.gambas@...1...> <200408162329.52605.sourceforge-raindog2@...94...> Message-ID: <200408170914.18493.gambas@...1...> On Tuesday 17 August 2004 05:29, Rob wrote: > On Monday 16 August 2004 16:04, Benoit Minisini wrote: > > invalid option -- r', which is a valid option for the gbi > > program that is provided with gambas-0.97. This option was > > added to gbi in gambas-0.96. A bit strange... > > My mistake, after removing the previously installed gambas (which > was 0.94!) it builds fine :) Oh, it also complained because the > Util file was still referenced in the %files section but I fixed > it. Yes. I forgot to remove the reference... > > I'm trying to build it on 9.2 now (which has gcc 3.3) and > assuming that succeeds, I'll be posting my rpm's for 9.2 and > 10.0.... if you decide to build your own rpm's for 10.0 I will > point people at them rather than post mine. > > Rob > > It should be the same. I just want my package organization to be included in Mandrake, because the current one prevent the IDE packager to work. I have a 10.0 with updates from cooker: KDE, QT, and gcc. I think it should be sufficient for compiling gambas for cooker. What do you think ? -- Benoit Minisini mailto:gambas at ...1... From nigel at ...38... Tue Aug 17 11:21:15 2004 From: nigel at ...38... (Nigel Gerrard) Date: Tue, 17 Aug 2004 10:21:15 +0100 Subject: [Gambas-user] .96 Dataset access References: <20040811030600.60810.qmail@...566...> Message-ID: <002e01c4843b$8c5b7f40$127c4c51@...360...> Craig, I've been away a couple of weeks and had to wade through over 200 emails. Are you still suffering this problem in .97? Nigel ----- Original Message ----- From: "Craig Packard" To: "Gambas-Users" Sent: Wednesday, August 11, 2004 4:06 AM Subject: [Gambas-user] .96 Dataset access > I used to access my dataset with > > rData["FIELDNAME"] > > Now that crashes the program with a Signal 11. > > The example also crashes on my system. .95 worked .96 > doesn't. I also tried rData.Fields["FieldName"] but > that didn't work either. > > Do we now have to do everything by passing SQL right > into the database? As in we can't update our > recordset and then .update it to the database? > > rData[FieldNumber] (ie. rData[0]) works but I hate to > use that as I might want to add a field one day. Then > all my apps would break. Plus it is hard as heck to > read. > > - Craig > > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Tue Aug 17 14:49:47 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 17 Aug 2004 08:49:47 -0400 Subject: [Gambas-user] spec file issue in gambas 0.97? In-Reply-To: <200408170914.18493.gambas@...1...> References: <200408161531.18657.sourceforge-raindog2@...94...> <200408162329.52605.sourceforge-raindog2@...94...> <200408170914.18493.gambas@...1...> Message-ID: <200408170849.47404.sourceforge-raindog2@...94...> On Tuesday 17 August 2004 03:14, Benoit Minisini wrote: > I have a 10.0 with updates from cooker: KDE, QT, and gcc. I > think it should be sufficient for compiling gambas for cooker. > What do you think ? I agree, it should be enough to compile gambas for cooker. Rob From gambas at ...1... Tue Aug 17 19:26:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 17 Aug 2004 19:26:29 +0200 Subject: [Gambas-user] .96 Dataset access In-Reply-To: <002e01c4843b$8c5b7f40$127c4c51@...360...> References: <20040811030600.60810.qmail@...566...> <002e01c4843b$8c5b7f40$127c4c51@...360...> Message-ID: <200408171926.29190.gambas@...1...> On Tuesday 17 August 2004 11:21, Nigel Gerrard wrote: > Craig, > > I've been away a couple of weeks and had to wade through over 200 emails. > > Are you still suffering this problem in .97? > > Nigel > I fixed it in 0.97. Normally... :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Aug 17 19:30:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 17 Aug 2004 19:30:32 +0200 Subject: [Gambas-user] Bug in gambas 0.97 Message-ID: <200408171930.32497.gambas@...1...> I found two big bugs in the 0.97: 1) If ~/.gambas does not exist, the IDE (and the database manager) crashes at exit, trying to create the configuration file. 2) Modal windows are not modal with QT 3.2! This is the bug noticed by Rob and many other people. With QT 3.3, there is no problem! I will try to fix them as soon as possible, and I think I will make a patch release 0.97a. Regards, -- Benoit Minisini mailto:gambas at ...1... From michael at ...558... Wed Aug 18 17:50:20 2004 From: michael at ...558... (Michael Sullivan) Date: Wed, 18 Aug 2004 10:50:20 -0500 Subject: [Gambas-user] List Box Synchronicity In-Reply-To: <1092594725.15583.15.camel@...559...> References: <1092101829.4036.20.camel@...559...> <1092348182.19199.7.camel@...559...> <1092583361.15599.1.camel@...559...> <200408151127.52377.sourceforge-raindog2@...94...> <1092594725.15583.15.camel@...559...> Message-ID: <1092844220.1842.5.camel@...559...> I have three list boxes on my form. I want the user to be able to select something in the first list box and the exact same position in the other two list boxes would be selected. How do I do this? From gambasfr at ...11... Wed Aug 18 19:09:44 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 18 Aug 2004 19:09:44 +0200 Subject: [Gambas-user] List Box Synchronicity In-Reply-To: <1092844220.1842.5.camel@...559...> References: <1092101829.4036.20.camel@...559...> <1092594725.15583.15.camel@...559...> <1092844220.1842.5.camel@...559...> Message-ID: <200408181909.44531.gambasfr@...11...> Le mercredi 18 Ao?t 2004 17:50, Michael Sullivan a ?crit?: > I have three list boxes on my form. I want the user to be able to > select something in the first list box and the exact same position in > the other two list boxes would be selected. How do I do this? > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi try ListBox2.Index = listbox1.index ListBox3.Index = listbox1.index Fabien Bodard From gambas at ...1... Wed Aug 18 20:50:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 18 Aug 2004 20:50:55 +0200 Subject: [Gambas-user] gambas 0.97a Message-ID: <200408182050.55353.gambas@...1...> Hi, I released a 0.97a that fixes the two bugs I talked before: 1) If ~/.gambas does not exist, the IDE (and the database manager) crashes at exit, trying to create the configuration file. 2) Modal windows are not modal with QT 3.2! This is the bug noticed by Rob and many other people. With QT 3.3, there is no problem! This version includes an updated documentation too. Enjoy it! -- Benoit Minisini mailto:gambas at ...1... From michael at ...558... Wed Aug 18 23:07:40 2004 From: michael at ...558... (Michael Sullivan) Date: Wed, 18 Aug 2004 16:07:40 -0500 Subject: [Gambas-user] Select Case Structure In-Reply-To: <200408130022.48464.gambas@...1...> References: <1092101829.4036.20.camel@...559...> <200408122342.04519.gambas@...1...> <1092348182.19199.7.camel@...559...> <200408130022.48464.gambas@...1...> Message-ID: <1092863260.3176.11.camel@...559...> Has the Select Case structure been altered in Gambas? I wrote the following switch: SELECT CASE cboAction.Selection CASE 0: 'Change Status BREAK CASE 1: 'Completed BREAK CASE 2: 'Move top BREAK CASE 3: 'Move up BREAK CASE 4: 'Move down BREAK CASE 5: 'Move bottom BREAK; END SELECT and it keeps giving me "Syntax Error: End of Line expected." on my Case 0: line. How do I fix this? From lucianobastianello at ...325... Wed Aug 18 23:22:39 2004 From: lucianobastianello at ...325... (Luciano Bastianello ) Date: Wed, 18 Aug 2004 23:22:39 +0200 Subject: R: [Gambas-user] Select Case Structure In-Reply-To: <1092863260.3176.11.camel@...559...> Message-ID: The select case sintax is: select case case , case case else end select "CASE 0:" and ";" are sintax errors -----Messaggio originale----- Da: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at ...573....sourceforge.net] Per conto di Michael Sullivan Inviato: mercoled? 18 agosto 2004 23.08 A: gambas-user at lists.sourceforge.net Oggetto: [Gambas-user] Select Case Structure Has the Select Case structure been altered in Gambas? I wrote the following switch: SELECT CASE cboAction.Selection CASE 0 'Change Status BREAK CASE 1 'Completed BREAK CASE 2: 'Move top BREAK CASE 3: 'Move up BREAK CASE 4: 'Move down BREAK CASE 5: 'Move bottom BREAK; END SELECT and it keeps giving me "Syntax Error: End of Line expected." on my Case 0: line. How do I fix this? ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From michael at ...558... Wed Aug 18 23:28:00 2004 From: michael at ...558... (Michael Sullivan) Date: Wed, 18 Aug 2004 16:28:00 -0500 Subject: R: [Gambas-user] Select Case Structure In-Reply-To: References: Message-ID: <1092864480.3200.19.camel@...559...> Do I not need to BREAK out of the switch when I'm done with it? I mean will it not fall through and start executing the next case condition if I don't use break, like it does in C++ and Java? Sorry about the semicolon. I'm more used to C++ right now... On Wed, 2004-08-18 at 16:22, Luciano Bastianello wrote: > The select case sintax is: > select case > case , > case > case else > end select > > "CASE 0:" and ";" are sintax errors > > -----Messaggio originale----- > Da: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at ...574...ts.sourceforge.net] Per conto di Michael Sullivan > Inviato: mercoled?? 18 agosto 2004 23.08 > A: gambas-user at lists.sourceforge.net > Oggetto: [Gambas-user] Select Case Structure > > Has the Select Case structure been altered in Gambas? I wrote the > following switch: > > SELECT CASE cboAction.Selection > CASE 0 > 'Change Status > BREAK > CASE 1 > 'Completed > BREAK > CASE 2: > 'Move top > BREAK > CASE 3: > 'Move up > BREAK > CASE 4: > 'Move down > BREAK > CASE 5: > 'Move bottom > BREAK; > END SELECT > > and it keeps giving me "Syntax Error: End of Line expected." on my Case > 0: line. How do I fix this? > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Aug 18 23:46:15 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 18 Aug 2004 23:46:15 +0200 Subject: [Gambas-user] BUG: Found several bugs In-Reply-To: <200408032355.50836.k-p.richter@...20...> References: <200403241653.57586.ronstk@...239...> <200408032355.50836.k-p.richter@...20...> Message-ID: <200408182346.15346.gambas@...1...> On Tuesday 03 August 2004 23:55, Peter wrote: > Hallo all, > > Am Mittwoch, 24. M?rz 2004 16:53 schrieb ron: > > In: FPropertyFile > > Where:SUB Run > > What: FPropertyFile.Dialog > > Effect: Not existing if form > > Solution: change to FPropertyFile.ShowDialog > > > > > > In: FExplorer (HelpBrowser) > > Where: SUB Form_KeyPress > > What: CASE Key.BackSpace > > Effect: do not work > > Solution: create txvExplorer_KeyPress and copy content Form_KeyPress > > > > > > In: FExplorer (HelpBrowser) > > Where: several places > > What: missing links > > Effect: no info > > Solution: Wait till Benoit (or others) has time to create docs > > And another: > > In: FExplorer > Where: SUB GotoLink(...) > What: Internal Link e.g. > ..../VisualIntroductionToGambas.html#New_Project) Effect: Broken Link > because of: Exist(sLink) = false (no filename) Solution: Bevor "IF > Exist(sLink) Then" : > sText = "" > iPos = Instr(sLink, ".html#") > IF iPos > 0 THEN > sText = Mid(sLink, iPos + 5) > sLink = Left(sLink, iPos + 4) > ENDIF > > Line after IF .... change to: > txvExplorer.Path = sLink & sText > > Regards > > Peter > Hey! I fixed it! It is never too late... :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From michael at ...558... Wed Aug 18 23:45:33 2004 From: michael at ...558... (Michael Sullivan) Date: Wed, 18 Aug 2004 16:45:33 -0500 Subject: [Gambas-user] Obtaining the contents of a particular Listbox index In-Reply-To: <1092864480.3200.19.camel@...559...> References: <1092864480.3200.19.camel@...559...> Message-ID: <1092865533.3200.23.camel@...559...> How do I obtain and change the contents of the currently selected item in a Listbox? From k-p.richter at ...20... Wed Aug 18 23:50:38 2004 From: k-p.richter at ...20... (Peter) Date: Wed, 18 Aug 2004 23:50:38 +0200 Subject: [Gambas-user] Bug in FExplorer Message-ID: <200408182350.38873.k-p.richter@...20...> Hallo Benoit, FExplorer say 'Broken link ...' by intern link in helpfiles (...html#link) because of: IF Exist(sLink) THEN in SUB GotoLink(...) My provisional change (without check for intern link): IF sLink LIKE "http://*" THEN sExec = Application.Env["BROWSER"] IF NOT sExec THEN sExec = "mozilla" SHELL sExec & " " & Chr$(34) & sLink & Chr$(34) ELSE '----------Ri 08.04 iPos = Instr(sLink, ".html#") IF iPos THEN sText = Left(sLink, iPos + 4) ELSE sText = sLink ENDIF IF Exist(sText) THEN ' for IF Exist(sLink) then '----------- etc Regards Peter From k-p.richter at ...20... Thu Aug 19 00:15:15 2004 From: k-p.richter at ...20... (Peter) Date: Thu, 19 Aug 2004 00:15:15 +0200 Subject: [Gambas-user] BUG: Found several bugs In-Reply-To: <200408182346.15346.gambas@...1...> References: <200403241653.57586.ronstk@...239...> <200408032355.50836.k-p.richter@...20...> <200408182346.15346.gambas@...1...> Message-ID: <200408190015.15326.k-p.richter@...20...> Am Mittwoch, 18. August 2004 23:46 schrieb Benoit Minisini: > On Tuesday 03 August 2004 23:55, Peter wrote: > > And another: > > > > In: FExplorer > > Where: SUB GotoLink(...) > > What: Internal Link e.g. > > ..../VisualIntroductionToGambas.html#New_Project) Effect: Broken Link > > because of: Exist(sLink) = false (no filename) Solution: Bevor "IF > > Exist(sLink) Then" : > > sText = "" > > iPos = Instr(sLink, ".html#") > > IF iPos > 0 THEN > > sText = Mid(sLink, iPos + 5) > > sLink = Left(sLink, iPos + 4) > > ENDIF > > > > Line after IF .... change to: > > txvExplorer.Path = sLink & sText > > > > Regards > > > > Peter > > Hey! I fixed it! > > It is never too late... :-) > > Regards, It was too late, in the same time as i this read send Kmail my new Mail ;-) I have also make a change in FWelcome, projectpath as parameter (-p path) for call from program or desktop. Interested? Peter From c0de3 at ...43... Thu Aug 19 05:30:04 2004 From: c0de3 at ...43... (Craig Packard) Date: Wed, 18 Aug 2004 20:30:04 -0700 (PDT) Subject: [Gambas-user] .96 Dataset access [2 bugs?] In-Reply-To: <200408171926.29190.gambas@...1...> Message-ID: <20040819033004.92657.qmail@...527...> Accessing (reading) rData["fieldname"] is working. But now. . . I can't get rData.Update to do anything. I've tried over and over. I'm using rData["fieldname"] = textbox1.Text Also note that now (as of .97 or .97a) TextBox1.Text doesn't seem to work for me. If I call it that it errors with "can't find class TextBox1" Even though that is hwo the capitalization is on the name property of the control. I hate having all that lower case stuff in my code. Shouldn't I be able to call it TextBox1? And not textbox1? - Craig --- Benoit Minisini wrote: > On Tuesday 17 August 2004 11:21, Nigel Gerrard > wrote: > > Craig, > > > > I've been away a couple of weeks and had to wade > through over 200 emails. > > > > Are you still suffering this problem in .97? > > > > Nigel > > > > I fixed it in 0.97. Normally... :-) > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail From bundeshund at ...467... Thu Aug 19 08:05:39 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Thu, 19 Aug 2004 08:05:39 +0200 (CEST) Subject: [Gambas-user] How to check if i 'is a valid date? In-Reply-To: Message-ID: <20040819060539.41840.qmail@...575...> Salute! I try to use the IsDate()-function, but can not use it. I have have three integers: act_year, act_month and act_day. When I try IsDate(format$(act_year,"00") & "/" & format$(act_month, "00") & "/" & format$(act_day,"00")), I get an error, that IsDate whants a date, not a string. So how to? regards, HM PS: I tried out to reach the mailinglist till sunday with different posts. None of them appears. I can read postings from others, but mine won't appear. My mails to others are working fine (eg. Newsgroups), only gambas-user-list will not work... Any suggestions? ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de From bundeshund at ...467... Thu Aug 19 08:52:55 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Thu, 19 Aug 2004 08:52:55 +0200 (CEST) Subject: [Gambas-user] How to check if it is a valid date? In-Reply-To: <20040819060539.41840.qmail@...575...> Message-ID: <20040819065255.17590.qmail@...576...> Wow, This post works... I use Yahoo-WebMail instead of the yahoo-smpt with kmail... Strange, as I wrote that other mails sendet the same way works fine... HM ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de From radoslav.dejanovic at ...116... Thu Aug 19 09:30:52 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Thu, 19 Aug 2004 09:30:52 +0200 Subject: [Gambas-user] gambas 0.97a In-Reply-To: <200408182050.55353.gambas@...1...> References: <200408182050.55353.gambas@...1...> Message-ID: <200408190930.52873.radoslav.dejanovic@...116...> On Wednesday 18 August 2004 20:50, Benoit Minisini wrote: > Hi, > > I released a 0.97a that fixes the two bugs I talked before: It has become a custom to wait for an "a" revision of Gambas... ;) However, this list is doing quite good quality control. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From gambas at ...1... Thu Aug 19 09:40:39 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 19 Aug 2004 09:40:39 +0200 Subject: [Gambas-user] How to check if i 'is a valid date? In-Reply-To: <20040819060539.41840.qmail@...575...> References: <20040819060539.41840.qmail@...575...> Message-ID: <200408190940.39859.gambas@...1...> On Thursday 19 August 2004 08:05, Hans-Martin Bundeshund wrote: > Salute! > > I try to use the IsDate()-function, but can not use > it. I have have three integers: act_year, act_month > and act_day. When I try IsDate(format$(act_year,"00") > & "/" & format$(act_month, "00") & "/" & > format$(act_day,"00")), I get an error, that IsDate > whants a date, not a string. > > So how to? > > regards, > > HM > I have no error with your code. Which version of Gambas do yo use ? -- Benoit Minisini mailto:gambas at ...1... From bundeshund at ...467... Thu Aug 19 10:08:44 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Thu, 19 Aug 2004 10:08:44 +0200 (CEST) Subject: [Gambas-user] How to check if i 'is a valid date? In-Reply-To: <200408190940.39859.gambas@...1...> Message-ID: <20040819080844.77559.qmail@...577...> Salute Benoit, I am not at home this moment, so I must guess: I still use the 0.95(a? If there is an 'a'-version, I use it.) version, but I will update to 0.96a this afternoon. Setting the date with this: IsDate("2004/01/01") is no problem. But I haven't the code here. I must wait till I am at home again... regards, HM PS: I still did not tested the MySQL-Connection with password over IP... Sorry for that! (And I also wanted to write some samples for the Wiki (using some better english with the _right_ syntax) Time is a expansive thing...) --- Benoit Minisini schrieb: > On Thursday 19 August 2004 08:05, Hans-Martin > Bundeshund wrote: > > Salute! > > > > I try to use the IsDate()-function, but can not > use > > it. I have have three integers: act_year, > act_month > > and act_day. When I try > IsDate(format$(act_year,"00") > > & "/" & format$(act_month, "00") & "/" & > > format$(act_day,"00")), I get an error, that > IsDate > > whants a date, not a string. > > > > So how to? > > > > regards, > > > > HM > > > > I have no error with your code. Which version of > Gambas do yo use ? > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest > price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R > for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping > and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de From leo.barnhoorn at ...246... Thu Aug 19 11:28:49 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Thu, 19 Aug 2004 11:28:49 +0200 Subject: [Gambas-user] Connect Gambas Forge. Message-ID: <200408191128.49477.leo.barnhoorn@...246...> Hello Benoit, Daniel, Mike, Is it now possible to connect too gambas.magic-systems.net I have send e-mails to my provider and the hostmaster at proxad.net i hope it will work now. Regards, Leo. From mardus at ...298... Thu Aug 19 14:28:49 2004 From: mardus at ...298... (mardus at ...298...) Date: Thu, 19 Aug 2004 09:28:49 -0300 (ART) Subject: [Gambas-user] Re: How to check if i 'is a valid date? Message-ID: <25101.200.89.182.60.1092918529.squirrel@...561...> El Jue 19 Ago 2004 03:05, Hans-Martin Bundeshund escribi?: |> PS: |> I tried out to reach the mailinglist till sunday with |> different posts. None of them appears. I can read |> postings from others, but mine won't appear. My mails |> to others are working fine (eg. Newsgroups), only |> gambas-user-list will not work... Any suggestions? I have a similar problem only with this list (and gambas-user-es). But i receive this report about my IP is blocked: Hi. This is the qmail-send program at bluestar.net. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : 66.35.250.206 does not like recipient. Remote host said: 550-"rejected because your SMTP server, 200.89.182.60,is in the DULS RBL. 550 See http://mail-abuse.org/referred.html for more information." Giving up on 66.35.250.206. -- -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Windows: La soluci?n a un problema que nunca existi?. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 5 bytes Desc: not available URL: From eilert-sprachen at ...221... Thu Aug 19 15:39:04 2004 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 19 Aug 2004 15:39:04 +0200 Subject: [Gambas-user] Table view questions Message-ID: <4124AD78.9010206@...221...> Hi, I wanted to try out the table view object. The grid view seems too simple for what I want it to do. Now, with the table view I could not set any cells to text, the marker only marks rows and I didn't find a way to give single cells a specific background colour. What I want is a table that shows account data. I did implement such a thing in VB 5, showing payed positions in gray and open ones in white. The VB thing is rather slow but at least works as expected... Isn't there a way of doing this in Gambas? Rolf From sourceforge-raindog2 at ...94... Thu Aug 19 16:28:49 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 19 Aug 2004 10:28:49 -0400 Subject: [Gambas-user] mandrake 9.2 packages of 0.97a Message-ID: <200408191028.49894.sourceforge-raindog2@...94...> I finally got my RPM repository back up to speed and built my own packages (based on Benoit's new spec file) for 0.97a. They are available from my site, http://www.kudla.org as usual. There's also a src.rpm for cooker users and fans of other distros, and I have mirrored Benoit's packages for 10.0 in my 10.0 repository. Rob From bundeshund at ...467... Thu Aug 19 16:36:09 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Thu, 19 Aug 2004 16:36:09 +0200 (CEST) Subject: [Gambas-user] Obtaining the contents of a particular Listbox index Message-ID: <20040819143609.47278.qmail@...483...> Michael Sullivan wrote: >How do I obtain and change the contents of the >currently selected item >in a Listbox? E.G. if You have a Button called 'Button1' for finishing the selection in your Listbox, called 'ListBox1' (with Mode=Extended), you can use something like this spagetti-code: PUBLIC SUB Button1_Click() z as Integer IF NOT ListBox1.Current THEN message.Info("Please select an entry first") ELSE FOR z=0 TO ListBox1.Count-1 IF AuswahlListBox[z].Selected THEN AuswahlListBox.Index = z Message.Info("You selected: " & ListBox1.Text) ENDIF NEXT ENDIF END If Your Listbox is running in single-mode, than you only have to use 'TextBox1.Text' (or what propertie you need). HTH HM ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de From bundeshund at ...467... Thu Aug 19 16:45:47 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Thu, 19 Aug 2004 16:45:47 +0200 (CEST) Subject: [Gambas-user] gambas 0.97a Message-ID: <20040819144547.67735.qmail@...578...> Salute, the new syntax-colors rocks! Very well done! The first look is awsome. Seems that my view applications are running well. Great work and many thanks for that great one! Best regards, HM ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de From michael at ...558... Thu Aug 19 16:55:44 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 19 Aug 2004 09:55:44 -0500 Subject: [Gambas-user] Obtaining the contents of a particular Listbox index In-Reply-To: <20040819143609.47278.qmail@...483...> References: <20040819143609.47278.qmail@...483...> Message-ID: <1092927344.8791.8.camel@...559...> I apologize. I was writing my email at the time when your post came into my InBox. Here's the situation: I'm still writing my TODO list GUI interface. I have three Listboxes: one for Tasks, one for the date a task was entered (String) and one for the current status of the task. They are all linked together (if you select a particular item in one list box, the same index in the other two are selected) I have a combo box with possible actions to perform on a particular task and a Button to commit the action selected. The first option in the Action combo is to Change Status (right now status is either "Not Started" or "In Progress". I need to be able to change the text of the currently selected item in lstStatus from "Not Started" to "In Progress", but every time I try I get an error and everything I can find in the help says that the listbox is a read-only array and I can't figure out how to change it. On Thu, 2004-08-19 at 09:36, Hans-Martin Bundeshund wrote: > Michael Sullivan wrote: > > >How do I obtain and change the contents of the > >currently selected item > >in a Listbox? > > E.G. if You have a Button called 'Button1' for > finishing the selection in your Listbox, called > 'ListBox1' (with Mode=Extended), you can use something > like this spagetti-code: > > > > PUBLIC SUB Button1_Click() > z as Integer > > > IF NOT ListBox1.Current THEN > message.Info("Please select an entry first") > ELSE > FOR z=0 TO ListBox1.Count-1 > IF AuswahlListBox[z].Selected THEN > AuswahlListBox.Index = z > Message.Info("You selected: " & ListBox1.Text) > ENDIF > NEXT > ENDIF > > END > > > > If Your Listbox is running in single-mode, than you > only have to use 'TextBox1.Text' (or what propertie > you need). > > HTH > > HM > > > > > > > ___________________________________________________________ > Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bundeshund at ...467... Thu Aug 19 17:14:45 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Thu, 19 Aug 2004 17:14:45 +0200 (CEST) Subject: [Gambas-user] How to check if it is a  valid date? Message-ID: <20040819151445.72035.qmail@...579...> Salute! I tried the following code in 0.97a (also the code I posted with 'Format$(act_year, "00")', what was wrong as I meant the following with four zeros by the format$-year one): '... IF IsDate(Format$(act_year,"0000") & "/" & Format$(act_month, "00") & "/" & Format$(act_day,"00")) THEN datum = Date(act_year,act_month,act_day) ELSE message.Info("Date WRONG: " & act_day & "." & act_month & "." & act_year) ENDIF '... I get non 'need date, get string'-error, but IsDate never is 'TRUE', but allways 'FALSE'. Where is my fault? regards, HM ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de From bundeshund at ...467... Thu Aug 19 17:33:16 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Thu, 19 Aug 2004 17:33:16 +0200 (CEST) Subject: [Gambas-user] Obtaining the contents of a particular Listbox index Message-ID: <20040819153316.42902.qmail@...580...> I see. I tested it and you are right. It seems that it can not be writte this way. But may have to clear and redraw it. Give it a try! HTH HM ......... I apologize. ?I was writing my email at the time when your post came into my InBox. ?Here's the situation: ?I'm still writing my TODO list GUI interface. ?I have three Listboxes: one for Tasks, one for the date a task was entered (String) and one for the current status of the task. They are all linked together (if you select a particular item in one list box, the same index in the other two are selected) ?I have a combo box with possible actions to perform on a particular task and a Button to commit the action selected. ?The first option in the Action combo is to Change Status (right now status is either "Not Started" or "In Progress". ?I need to be able to change the text of the currently selected item in lstStatus from "Not Started" to "In Progress", but every time I try I get an error and everything I can find in the help says that the listbox is a read-only array and I can't figure out how to change it. ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de From michael at ...558... Thu Aug 19 17:56:19 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 19 Aug 2004 10:56:19 -0500 Subject: [Gambas-user] Obtaining the contents of a particular Listbox index In-Reply-To: <20040819153316.42902.qmail@...580...> References: <20040819153316.42902.qmail@...580...> Message-ID: <1092930979.8788.27.camel@...559...> Would this maybe be something to provide for in the next version of Gambas? On Thu, 2004-08-19 at 10:33, Hans-Martin Bundeshund wrote: > I see. I tested it and you are right. It seems that it > can not be writte this way. But may have to clear and > redraw it. Give it a try! > > HTH > > HM > > > > ......... > I apologize. I was writing my email at the time when > your post came > into my InBox. Here's the situation: I'm still > writing my TODO list > GUI interface. I have three Listboxes: one for Tasks, > one for the date > a task was entered (String) and one for the current > status of the task. > They are all linked together (if you select a > particular item in one > list box, the same index in the other two are > selected) I have a combo > box with possible actions to perform on a particular > task and a Button > to commit the action selected. The first option in > the Action combo is > to Change Status (right now status is either "Not > Started" or "In > Progress". I need to be able to change the text of > the currently > selected item in lstStatus from "Not Started" to "In > Progress", but > every time I try I get an error and everything I can > find in the help > says that the listbox is a read-only array and I can't > figure out how to > change it. > > > > > > > > ___________________________________________________________ > Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From lordheavy at ...512... Thu Aug 19 18:39:42 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 19 Aug 2004 18:39:42 +0200 Subject: [Gambas-user] Making a workspace Message-ID: <200408191839.42943.lordheavy@...512...> I've done a small demo workspace, but when i create some child window, i cannot delete them, they are persistent. How can i delete(destroy) them ? thanks -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: workspace-0.0.1.tar.gz Type: application/x-tgz Size: 1796 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Thu Aug 19 19:27:48 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 19 Aug 2004 13:27:48 -0400 Subject: [Gambas-user] Obtaining the contents of a particular Listbox index In-Reply-To: <1092927344.8791.8.camel@...559...> References: <20040819143609.47278.qmail@...483...> <1092927344.8791.8.camel@...559...> Message-ID: <200408191327.48467.sourceforge-raindog2@...94...> On Thursday 19 August 2004 10:55, Michael Sullivan wrote: > status is either "Not Started" or "In Progress". I need to be > able to change the text of the currently selected item in > lstStatus from "Not Started" to "In Progress", but every time Here's some code that fills a listbox named ListBox1 with A to Z, and then when you click on an entry in the listbox it toggles it from being in parens to not. You should be able to derive how to make this work with lstStatus in your project based on input from somewhere else besides its click event. Rob PUBLIC SUB Form_Open() DIM i AS Integer FOR i = 1 TO 26 listbox1.Add(Chr(i + 64)) NEXT END PUBLIC SUB ListBox1_Click() IF Left(listbox1.current.Text,1) = "(" THEN listbox1.current.Text = Mid(listbox1.current.Text,2,1) ELSE listbox1.current.Text = "(" & listbox1.current.Text & ")" ENDIF END From gambas at ...1... Thu Aug 19 20:57:10 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 19 Aug 2004 20:57:10 +0200 Subject: [Gambas-user] Making a workspace In-Reply-To: <200408191839.42943.lordheavy@...512...> References: <200408191839.42943.lordheavy@...512...> Message-ID: <200408192057.10613.gambas@...1...> On Thursday 19 August 2004 18:39, Laurent Carlier wrote: > I've done a small demo workspace, but when i create some child window, i > cannot delete them, they are persistent. > > How can i delete(destroy) them ? > > thanks This is a new bug introduced in 0.97 when fixing another one - I have no solution at the moment, but I will find... :-) -- Benoit Minisini mailto:gambas at ...1... From michael at ...558... Thu Aug 19 21:58:31 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 19 Aug 2004 14:58:31 -0500 Subject: [Gambas-user] Obtaining the contents of a particular Listbox index In-Reply-To: <200408191327.48467.sourceforge-raindog2@...94...> References: <20040819143609.47278.qmail@...483...> <1092927344.8791.8.camel@...559...> <200408191327.48467.sourceforge-raindog2@...94...> Message-ID: <1092945511.10513.4.camel@...559...> Thank you. That answers my question perfectly. I would have never thought of using Listbox.Current as an object and putting another method after it. That should be in the help/documentation. On Thu, 2004-08-19 at 12:27, Rob wrote: > On Thursday 19 August 2004 10:55, Michael Sullivan wrote: > > status is either "Not Started" or "In Progress". I need to be > > able to change the text of the currently selected item in > > lstStatus from "Not Started" to "In Progress", but every time > > Here's some code that fills a listbox named ListBox1 with A to Z, > and then when you click on an entry in the listbox it toggles it > from being in parens to not. You should be able to derive how > to make this work with lstStatus in your project based on input > from somewhere else besides its click event. > > Rob > > PUBLIC SUB Form_Open() > > DIM i AS Integer > FOR i = 1 TO 26 > listbox1.Add(Chr(i + 64)) > NEXT > > END > > PUBLIC SUB ListBox1_Click() > > IF Left(listbox1.current.Text,1) = "(" THEN > listbox1.current.Text = Mid(listbox1.current.Text,2,1) > ELSE > listbox1.current.Text = "(" & listbox1.current.Text & ")" > ENDIF > > END > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Aug 19 22:13:20 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 19 Aug 2004 22:13:20 +0200 Subject: [Gambas-user] How to check if it is a =?iso-8859-1?q?=A0valid?= date? In-Reply-To: <20040819151445.72035.qmail@...579...> References: <20040819151445.72035.qmail@...579...> Message-ID: <200408192213.21426.gambas@...1...> On Thursday 19 August 2004 17:14, Hans-Martin Bundeshund wrote: > Salute! > > I tried the following code in 0.97a (also the code I > posted with 'Format$(act_year, "00")', what was wrong > as I meant the following with four zeros by the > format$-year one): > > > '... > IF IsDate(Format$(act_year,"0000") & "/" & > Format$(act_month, "00") & "/" & > Format$(act_day,"00")) THEN > datum = Date(act_year,act_month,act_day) > ELSE > message.Info("Date WRONG: " & act_day & "." & > act_month & "." & act_year) > ENDIF > '... > > I get non 'need date, get string'-error, but IsDate > never is 'TRUE', but allways 'FALSE'. Where is my > fault? > > regards, > > HM > IsDate() needs a US date format, and so the year must be placed at the end of the string, not at the beginning. Regards, -- Benoit Minisini mailto:gambas at ...1... From michael at ...558... Thu Aug 19 22:17:34 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 19 Aug 2004 15:17:34 -0500 Subject: [Gambas-user] Input box In-Reply-To: <1092945511.10513.4.camel@...559...> References: <20040819143609.47278.qmail@...483...> <1092927344.8791.8.camel@...559...> <200408191327.48467.sourceforge-raindog2@...94...> <1092945511.10513.4.camel@...559...> Message-ID: <1092946654.10509.9.camel@...559...> How do I create an Inputbox that will ask the user to input a string of and return it to a String variable? From daniel.campos at ...338... Thu Aug 19 23:17:03 2004 From: daniel.campos at ...338... (Daniel) Date: Thu, 19 Aug 2004 23:17:03 +0200 Subject: [Gambas-user] Connect Gambas Forge. In-Reply-To: <200408191128.49477.leo.barnhoorn@...246...> References: <200408191128.49477.leo.barnhoorn@...246...> Message-ID: <1092927228.3295.2.camel@...40...> I can connect at work, butI'm still unable to connect at home. That's the current trace: [root at ...40... daniel]# traceroute gambas.magic-systems.net traceroute to gambas.magic-systems.net (213.84.190.135), 30 hops max, 38 byte packets 1 10.0.0.2 (10.0.0.2) 59.046 ms 63.567 ms 65.965 ms 2 10.34.252.137 (10.34.252.137) 62.044 ms 63.436 ms 59.980 ms 3 10.34.250.162 (10.34.250.162) 66.011 ms 63.555 ms 10.34.250.146 (10.34.250.146) 66.070 ms 4 ge-1-1-0-400.j02-mt.mad.tiscali.es (212.166.65.146) 61.620 ms 65.507 ms 64.089 ms 5 ge-1-1-0-39.mad40.ip.tiscali.net (213.200.71.141) 65.920 ms 63.581 ms 63.963 ms 6 so-3-0-0.ams10.ip.tiscali.net (213.200.81.106) 100.053 ms 95.745 ms 99.895 ms 7 ams-ix.tc2.xs4all.net (195.69.144.166) 100.135 ms 95.623 ms 97.985 ms 8 0.so-2-3-0.xr2.d12.xs4all.net (194.109.5.89) 98.019 ms 95.602 ms 100.014 ms 9 42.ge9-1-0.pe10.fia.xs4all.net (194.109.5.142) 96.026 ms 42.ge9-0-0.pe20.fia.xs4all.net (194.109.5.134) 97.631 ms 42.ge9-0-1.pe10.fia.xs4all.net (194.109.5.166) 97.692 ms 10 * * * 11 * * * BTW : at work, using FireFox 0.9.7 I can not corretly display the main page. Regards, Daniel Campos El jue, 19-08-2004 a las 11:28, Leo Barnhoorn escribi?: > Hello Benoit, Daniel, Mike, > > Is it now possible to connect too gambas.magic-systems.net > > I have send e-mails to my provider and the hostmaster at proxad.net i hope it > will work now. > > Regards, > Leo. > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Thu Aug 19 23:12:16 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 19 Aug 2004 23:12:16 +0200 Subject: [Gambas-user] Making a workspace In-Reply-To: <200408191839.42943.lordheavy@...512...> References: <200408191839.42943.lordheavy@...512...> Message-ID: <200408192312.16633.gambasfr@...11...> Le jeudi 19 Ao?t 2004 18:39, Laurent Carlier a ?crit?: > I've done a small demo workspace, but when i create some child window, i > cannot delete them, they are persistent. > > How can i delete(destroy) them ? > > thanks It's a bug ! Now i'm sure... dsl ;) Fabien Bodard From gambasfr at ...11... Thu Aug 19 23:33:50 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 19 Aug 2004 23:33:50 +0200 Subject: [Gambas-user] Connect Gambas Forge. In-Reply-To: <1092927228.3295.2.camel@...40...> References: <200408191128.49477.leo.barnhoorn@...246...> <1092927228.3295.2.camel@...40...> Message-ID: <200408192333.50489.gambasfr@...11...> Le jeudi 19 Ao?t 2004 23:17, Daniel a ?crit?: > I can connect at work, butI'm still unable to connect at home. That's > the current trace: > > > [root at ...40... daniel]# traceroute gambas.magic-systems.net > traceroute to gambas.magic-systems.net (213.84.190.135), 30 hops max, 38 > byte packets > 1 10.0.0.2 (10.0.0.2) 59.046 ms 63.567 ms 65.965 ms > 2 10.34.252.137 (10.34.252.137) 62.044 ms 63.436 ms 59.980 ms > 3 10.34.250.162 (10.34.250.162) 66.011 ms 63.555 ms 10.34.250.146 > (10.34.250.146) 66.070 ms > 4 ge-1-1-0-400.j02-mt.mad.tiscali.es (212.166.65.146) 61.620 ms > 65.507 ms 64.089 ms > 5 ge-1-1-0-39.mad40.ip.tiscali.net (213.200.71.141) 65.920 ms 63.581 > ms 63.963 ms > 6 so-3-0-0.ams10.ip.tiscali.net (213.200.81.106) 100.053 ms 95.745 > ms 99.895 ms > 7 ams-ix.tc2.xs4all.net (195.69.144.166) 100.135 ms 95.623 ms > 97.985 ms > 8 0.so-2-3-0.xr2.d12.xs4all.net (194.109.5.89) 98.019 ms 95.602 ms > 100.014 ms > 9 42.ge9-1-0.pe10.fia.xs4all.net (194.109.5.142) 96.026 ms > 42.ge9-0-0.pe20.fia.xs4all.net (194.109.5.134) 97.631 ms > 42.ge9-0-1.pe10.fia.xs4all.net (194.109.5.166) 97.692 ms > 10 * * * > 11 * * * > > > BTW : at work, using FireFox 0.9.7 I can not corretly display the main > page. Sorry it's my fault... the page was broken because i try to pass the www check on xhtml.... I fact the iproblem is that i can show correctly my page on explorer, on moziila, on opera, but not on konqueror... A bug on khtml.. i've writing to khtml team, wait for an answer. Fabien > Regards, > > Daniel Campos > > El jue, 19-08-2004 a las 11:28, Leo Barnhoorn escribi?: > > Hello Benoit, Daniel, Mike, > > > > Is it now possible to connect too gambas.magic-systems.net > > > > I have send e-mails to my provider and the hostmaster at proxad.net i > > hope it will work now. > > > > Regards, > > Leo. > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From lordheavy at ...512... Fri Aug 20 00:29:00 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 20 Aug 2004 00:29:00 +0200 Subject: [Gambas-user] Making a workspace In-Reply-To: <200408192312.16633.gambasfr@...11...> References: <200408191839.42943.lordheavy@...512...> <200408192312.16633.gambasfr@...11...> Message-ID: <200408200029.01058.lordheavy@...512...> Le jeudi 19 Ao?t 2004 23:12, Bodard Fabien a ?crit?: > Le jeudi 19 Ao?t 2004 18:39, Laurent Carlier a ?crit?: > > I've done a small demo workspace, but when i create some child window, i > > cannot delete them, they are persistent. > > > > How can i delete(destroy) them ? > > > > thanks > > It's a bug ! > > Now i'm sure... dsl ;) > > Fabien Bodard > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user currently i"m looking for a workaround, will post the result later :) -- Laurent Carlier From na2492 at ...9... Fri Aug 20 01:43:34 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Fri, 20 Aug 2004 01:43:34 00200 Subject: [Gambas-user] Input box Message-ID: <41253b26.2c61.0@...9...> >How do I create an Inputbox that will ask the user to input a string of >and return it to a String variable? > > Salut, there you find a started InputBox, but you can finish it. http://www.binara.com/gambas-wiki/bin/view/Gambas/InputBox Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From michael at ...558... Fri Aug 20 04:09:15 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 19 Aug 2004 21:09:15 -0500 Subject: [Gambas-user] Input box In-Reply-To: <41253b26.2c61.0@...9...> References: <41253b26.2c61.0@...9...> Message-ID: <1092967754.10509.47.camel@...559...> Thanks, but I ended up using a regular text box instead. Has anyone had problems with ListBox.Remove? I tried using it and nothing happened. The list box item I was trying to remove was still there... On Thu, 2004-08-19 at 18:43, na2492 at ...9... wrote: > >How do I create an Inputbox that will ask the user to input a string of > >and return it to a String variable? > > > > > Salut, > > there you find a started InputBox, but you can finish it. > > http://www.binara.com/gambas-wiki/bin/view/Gambas/InputBox > > Amicalement > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From michael at ...558... Fri Aug 20 04:28:23 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 19 Aug 2004 21:28:23 -0500 Subject: [Gambas-user] Question about Gambas output from my program In-Reply-To: <200408191327.48467.sourceforge-raindog2@...94...> References: <20040819143609.47278.qmail@...483...> <1092927344.8791.8.camel@...559...> <200408191327.48467.sourceforge-raindog2@...94...> Message-ID: <1092968903.12716.54.camel@...559...> I was testing my TODO program that I've been working on all day, and in my last test when I exited the program I saw this in the console window: WARNING: circular references detected frmMain (1) Mutex destroy failure: Device or resource busy WARNING: 10 allocation(s) non freed. What does it mean and how do I fix it? From lordheavy at ...512... Fri Aug 20 10:22:14 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 20 Aug 2004 10:22:14 +0200 Subject: [Gambas-user] Small workspace demo Message-ID: <200408201022.14217.lordheavy@...512...> Here a small Workspace demo with a "small panel" There is a bug with resizing as Tile. Have fun, -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: workspace-0.0.1.tar.gz Type: application/x-tgz Size: 2571 bytes Desc: not available URL: From lordheavy at ...512... Fri Aug 20 10:33:43 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 20 Aug 2004 10:33:43 +0200 Subject: [Gambas-user] Small workspace demo In-Reply-To: <200408201022.14217.lordheavy@...512...> References: <200408201022.14217.lordheavy@...512...> Message-ID: <200408201033.43716.lordheavy@...512...> Le vendredi 20 Ao?t 2004 10:22, Laurent Carlier a ?crit?: > Here a small Workspace demo with a "small panel" > > There is a bug with resizing as Tile. > > Have fun, Oups, the bug is with cascade resize. Following demo "avoid" two bugs : - the workspace.children bug (using tag property) - the workspace.cascade bug (forcing a window resize : see MnuCascade) Here, Have fun :) -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: workspace-0.0.2.tar.gz Type: application/x-tgz Size: 2590 bytes Desc: not available URL: From john.bartlett at ...427... Fri Aug 20 10:51:38 2004 From: john.bartlett at ...427... (John Bartlett) Date: Fri, 20 Aug 2004 09:51:38 +0100 Subject: [Gambas-user] SQLite Message-ID: <1092991898.2053.4.camel@...581...> All, I am trying to experiment with various databases for an application that I am currently working on. MYSQL and Postgresql work fine. However, I have a problem with SQLite. I have installed the libraries and headers in the correct locations but the Gambas configure script does not seem to be able to find them. I have tried "--with-sqlite-includes" etc but to no avail. Am I doing something silly? Any help would be appreciated thanks. Regards, John Bartlett From gambas at ...1... Fri Aug 20 11:06:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Aug 2004 11:06:41 +0200 Subject: [Gambas-user] Question about Gambas output from my program In-Reply-To: <1092968903.12716.54.camel@...559...> References: <20040819143609.47278.qmail@...483...> <200408191327.48467.sourceforge-raindog2@...94...> <1092968903.12716.54.camel@...559...> Message-ID: <200408201106.42138.gambas@...1...> On Friday 20 August 2004 04:28, Michael Sullivan wrote: > I was testing my TODO program that I've been working on all day, and in > my last test when I exited the program I saw this in the console window: > > WARNING: circular references detected > frmMain (1) > Mutex destroy failure: Device or resource busy > WARNING: 10 allocation(s) non freed. > > What does it mean and how do I fix it? > > Maybe your frmMain form has a reference to itself. That prevents it to be freed, so the interpreter issued a warning at the end of the program. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 20 11:10:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Aug 2004 11:10:27 +0200 Subject: [Gambas-user] Small workspace demo In-Reply-To: <200408201033.43716.lordheavy@...512...> References: <200408201022.14217.lordheavy@...512...> <200408201033.43716.lordheavy@...512...> Message-ID: <200408201110.27950.gambas@...1...> On Friday 20 August 2004 10:33, Laurent Carlier wrote: > Le vendredi 20 Ao?t 2004 10:22, Laurent Carlier a ?crit?: > > Here a small Workspace demo with a "small panel" > > > > There is a bug with resizing as Tile. > > > > Have fun, > > Oups, the bug is with cascade resize. > > Following demo "avoid" two bugs : > - the workspace.children bug (using tag property) > - the workspace.cascade bug (forcing a window resize : see MnuCascade) > > Here, Have fun :) There is no workspace.Children bug. The bug is that workspace children are never destroyed. Generally, there is too many problems in the QWorkspace widget of QT. So I suggest never using the Workspace control. I didn't remove the control only because some people are using it, but I'm not sure it is a good idea. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 20 11:11:37 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Aug 2004 11:11:37 +0200 Subject: [Gambas-user] SQLite In-Reply-To: <1092991898.2053.4.camel@...581...> References: <1092991898.2053.4.camel@...581...> Message-ID: <200408201111.37128.gambas@...1...> On Friday 20 August 2004 10:51, John Bartlett wrote: > All, > > I am trying to experiment with various databases for an application that > I am currently working on. MYSQL and Postgresql work fine. However, I > have a problem with SQLite. I have installed the libraries and headers > in the correct locations but the Gambas configure script does not seem > to be able to find them. I have tried "--with-sqlite-includes" etc but > to no avail. > > Am I doing something silly? > > Any help would be appreciated thanks. > > Regards, > > John Bartlett > Which distribution ? Where did you install them ? What parameteres did you pass to ./configure ? And so on... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 20 11:34:18 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Aug 2004 11:34:18 +0200 Subject: [Gambas-user] PRB: MySQL and BLOBS In-Reply-To: <1081532080.12231.6.camel@...40...> References: <1081532080.12231.6.camel@...40...> Message-ID: <200408201134.18521.gambas@...1...> On Friday 09 April 2004 19:34, Fabian Schmieder wrote: > Hi folks, > > I've got a problem with Blobs and MySQL on Gambas: > > I would like to store a HTML page of about 5kb in a MEDIUMTEXT field (a > BLOB). When I try to insert the data using the Exec command like this > > db.Exec( "insert into dokument ( text ) values ('" & Parser.Body & "')") > > and the result of Parser.Body is bigger than 213 bytes Gambas is popping > up an error window showing me the MySQL Error "Query failed: You have an > error in your SQL Syntax ..." > > I've escaped the contents of Parser.Body as descibed in > http://www.mysql.com/doc/en/String_syntax.html ! > > I don't think that this is a MySQL or just a syntax error, because when > I copy the result of PRINT "insert into dokument ( text ) values ( '" & > Parser.Body & "' )" and paste it into my SQL gui and send the query > manually, everything is working perfectly. Even with 5kb of text... > > Is anybody out there who can help? > > Thanks a lot, > Fabian > I know, it is old :-), but did anybody get the same problem ? I couldn't succeed in reproducing it. Regards, -- Benoit Minisini mailto:gambas at ...1... From kuznik at ...582... Fri Aug 20 11:42:50 2004 From: kuznik at ...582... (Michael Kuznik) Date: Fri, 20 Aug 2004 11:42:50 +0200 Subject: [Gambas-user] Drag and Drop Message-ID: <4125C79A.20301@...582...> Hi, I want to drag a file from an listView to mozilla-mail (as attechment). But the only thing I drag is the string of the filename! How can I drag the file itself?! -- Mit freundlichen Gr??en Montanhydraulik GmbH Michael Kuznik EDV Tel: +49(0)2301/916-122 Fax: +49(0)2301/916-136 www.montanhydraulik.com From gambas at ...1... Fri Aug 20 11:57:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Aug 2004 11:57:04 +0200 Subject: [Gambas-user] Drag and Drop In-Reply-To: <4125C79A.20301@...582...> References: <4125C79A.20301@...582...> Message-ID: <200408201157.04168.gambas@...1...> On Friday 20 August 2004 11:42, Michael Kuznik wrote: > Hi, > > I want to drag a file from an listView to mozilla-mail (as attechment). > But the only thing I drag is the string of the filename! > How can I drag the file itself?! Try something like that: MyControl.Drag("file:" & Path, "text/uri-list") -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 20 12:08:21 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Aug 2004 12:08:21 +0200 Subject: [Gambas-user] SDL In-Reply-To: References: <200404242158.39667.Karl.Reinl@...9...> <1092078152.11692.25.camel@...559...> Message-ID: <200408201208.21280.gambas@...1...> On Tuesday 10 August 2004 05:03, Budi Arief Gusandi wrote: > Dear benoit, > > Will SDL be expanded to use rendering of OPEN GL ? Actually what's the > best GLUT or SDL for multimedia library ? > Any volunteer ? I must admit that I know nothing about OpenGL, but give me a few months, and I will learn the needed part of it so that I could write the component. But I do not have the months :-( I will add it in my todo list after all... -- Benoit Minisini mailto:gambas at ...1... From paul at ...555... Fri Aug 20 12:09:17 2004 From: paul at ...555... (PFJ) Date: Fri, 20 Aug 2004 11:09:17 +0100 Subject: [Gambas-user] SDL In-Reply-To: <200408201208.21280.gambas@...1...> References: <200404242158.39667.Karl.Reinl@...9...> <1092078152.11692.25.camel@...559...> <200408201208.21280.gambas@...1...> Message-ID: <1092996557.11569.25.camel@...583...> Hi, > > Will SDL be expanded to use rendering of OPEN GL ? Actually what's the > > best GLUT or SDL for multimedia library ? > > > > Any volunteer ? No need to. SDL can already do it! If you download the Programming Linux Games sources from either www.nostarch.com (click on catalogue and the PLG - you need the newer sources from me) or directly from www.all-the-johnsons.co.uk/linux/plg.html and look in the SDL directory, you'll see how to do it. TTFN Paul -- "If I face my God tomorrow, I can tell Him I am innocent. I've never harmed anyone. I have cheated no one. I have deceived no one. I have hurt no one. Except myself. And that He will forgive me." - Hans Holzel -------------- 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 kuznik at ...582... Fri Aug 20 12:22:50 2004 From: kuznik at ...582... (Michael Kuznik) Date: Fri, 20 Aug 2004 12:22:50 +0200 Subject: [Gambas-user] Drag and Drop In-Reply-To: <200408201157.04168.gambas@...1...> References: <4125C79A.20301@...582...> <200408201157.04168.gambas@...1...> Message-ID: <4125D0FA.6070900@...582...> Benoit Minisini schrieb: > > My > Yes that's it. But mozilla needs: MyControl.Drag("file://" & Path, "text/uri-list") So that you have 3 / thx Michael From gambas at ...1... Fri Aug 20 12:32:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Aug 2004 12:32:22 +0200 Subject: [Gambas-user] Drag and Drop In-Reply-To: <4125D0FA.6070900@...582...> References: <4125C79A.20301@...582...> <200408201157.04168.gambas@...1...> <4125D0FA.6070900@...582...> Message-ID: <200408201232.22063.gambas@...1...> On Friday 20 August 2004 12:22, Michael Kuznik wrote: > Benoit Minisini schrieb: > > My > > Yes that's it. But mozilla needs: > > MyControl.Drag("file://" & Path, "text/uri-list") > > So that you have 3 / > > thx > Michael > This is not standard ? That means I can't drop a file on Konqueror AND Mozilla ! Pfff... -- Benoit Minisini mailto:gambas at ...1... From kuznik at ...582... Fri Aug 20 12:42:37 2004 From: kuznik at ...582... (Michael Kuznik) Date: Fri, 20 Aug 2004 12:42:37 +0200 Subject: [Gambas-user] Drag and Drop In-Reply-To: <200408201232.22063.gambas@...1...> References: <4125C79A.20301@...582...> <200408201157.04168.gambas@...1...> <4125D0FA.6070900@...582...> <200408201232.22063.gambas@...1...> Message-ID: <4125D59D.3010205@...582...> Benoit Minisini schrieb: > > > This is not standard ? That means I can't drop a file on Konqueror AND > Mozilla ! Pfff... > on Konqueror it works as well, although there are 3 / ! Michael From gambas at ...1... Fri Aug 20 12:56:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Aug 2004 12:56:04 +0200 Subject: [Gambas-user] Drag and Drop In-Reply-To: <4125D59D.3010205@...582...> References: <4125C79A.20301@...582...> <200408201232.22063.gambas@...1...> <4125D59D.3010205@...582...> Message-ID: <200408201256.04354.gambas@...1...> On Friday 20 August 2004 12:42, Michael Kuznik wrote: > Benoit Minisini schrieb: > > This is not standard ? That means I can't drop a file on Konqueror AND > > Mozilla ! Pfff... > > on Konqueror it works as well, although there are 3 / ! > > Michael > > Cool. -- Benoit Minisini mailto:gambas at ...1... From bundeshund at ...467... Fri Aug 20 14:36:48 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Fri, 20 Aug 2004 14:36:48 +0200 (CEST) Subject: [Gambas-user] How to check if it is a  valid date? Message-ID: <20040820123648.21728.qmail@...584...> Salute Benoit, sorry to say, but I tested it with the yaer at last before your reply. I got the same results. Here is the source-snippet: act_day = 20 act_month = 8 act_year = 2004 IF IsDate(Format$(act_day,"00") & "/" & Format$(act_month, "00") & "/" & Format$(act_year,"0000")) THEN datum = Date(act_year,act_monat,act_day) ELSE message.Info("Date WRONG: " & act_day & "." & act_month & "." & act_year) ENDIF Result: Date WRONG: 20.8.2004 What I am doing wrong? regards, HM ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de From gambas at ...1... Fri Aug 20 15:01:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 20 Aug 2004 15:01:52 +0200 Subject: [Gambas-user] How to check if it is a =?iso-8859-1?q?=A0valid?= date? In-Reply-To: <20040820123648.21728.qmail@...584...> References: <20040820123648.21728.qmail@...584...> Message-ID: <200408201501.52605.gambas@...1...> On Friday 20 August 2004 14:36, Hans-Martin Bundeshund wrote: > Salute Benoit, > > sorry to say, but I tested it with the yaer at last > before your reply. I got the same results. > > Here is the source-snippet: > > > act_day = 20 > act_month = 8 > act_year = 2004 > > IF IsDate(Format$(act_day,"00") & "/" & > Format$(act_month, "00") & "/" & > Format$(act_year,"0000")) THEN > datum = Date(act_year,act_monat,act_day) > ELSE > message.Info("Date WRONG: " & act_day & "." & > act_month & "." & act_year) > ENDIF > > > Result: Date WRONG: 20.8.2004 > > > What I am doing wrong? > > regards, > > HM > I told you rubbish... IsDate() does not test if something can be converted to a date, but test if the type of a value is a date. To check if something can be converted to a date, do the conversion, and check if you got an error. It is the better way. TRY datum = Date(act_year, act_month, act_day) IF Error THEN Message(...) ENDIF Regards, -- Benoit Minisini mailto:gambas at ...1... From bundeshund at ...467... Fri Aug 20 15:17:51 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Fri, 20 Aug 2004 15:17:51 +0200 (CEST) Subject: [Gambas-user] How to check if it is a  valid date? Message-ID: <20040820131751.31546.qmail@...580...> Salute Benoit! Thanks a lot! It works. This was a great step form my application. And I am still hooting about the new 'Emerald'-color-theme. It looks _really_ good. Must say it again: working with gambas is a real plesure! Best regards, HM ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de From michael at ...558... Fri Aug 20 16:06:09 2004 From: michael at ...558... (Michael Sullivan) Date: Fri, 20 Aug 2004 09:06:09 -0500 Subject: [Gambas-user] Question about Gambas output from my program In-Reply-To: <200408201106.42138.gambas@...1...> References: <20040819143609.47278.qmail@...483...> <200408191327.48467.sourceforge-raindog2@...94...> <1092968903.12716.54.camel@...559...> <200408201106.42138.gambas@...1...> Message-ID: <1093010768.15094.0.camel@...559...> A reference to itself? I don't know what that is. Can you give me an example? On Fri, 2004-08-20 at 04:06, Benoit Minisini wrote: > On Friday 20 August 2004 04:28, Michael Sullivan wrote: > > I was testing my TODO program that I've been working on all day, and in > > my last test when I exited the program I saw this in the console window: > > > > WARNING: circular references detected > > frmMain (1) > > Mutex destroy failure: Device or resource busy > > WARNING: 10 allocation(s) non freed. > > > > What does it mean and how do I fix it? > > > > > > Maybe your frmMain form has a reference to itself. That prevents it to be > freed, so the interpreter issued a warning at the end of the program. From michael at ...558... Fri Aug 20 21:46:29 2004 From: michael at ...558... (Michael Sullivan) Date: Fri, 20 Aug 2004 14:46:29 -0500 Subject: [Gambas-user] ~ doesn't seem to work. In-Reply-To: <200408122342.04519.gambas@...1...> References: <1092101829.4036.20.camel@...559...> <1092104365.4035.24.camel@...559...> <1092346724.19180.5.camel@...559...> <200408122342.04519.gambas@...1...> Message-ID: <1093031188.3937.8.camel@...559...> My TODO program is coming along nicely. I finished Stage 1 last night (which is get all the necessary functions working) and now I'm on the Stage 2 (which is enhancements). I want to be able to place the executable file generated from my code in a location outside of the /home directory and have my program generate preference files within a users home directory. There are two user accounts on my computer, mine (michael) and my wife's (amy). When I run the executable, I want it to generate a preferences file in /home/michael/.TODO_preferences unless one already exists, in which case I want the program to read in the values in the file. Likewise, if my wife runs the program, I want the preferences file to be generated in /home/amy/.TODO_preferences. As you know, in Linux, the symbol ~ is used to represent the current user's home directory, but when I told Gambas that I wanted to "Open "~/.TODO_preferences" FOR CREATE AS #myFile" it said that the file didn't exist, However, when I changed ~ to /home/michael it worked fine. Is there a workaround for what I'm trying to do? From sourceforge-raindog2 at ...94... Fri Aug 20 22:15:54 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 20 Aug 2004 16:15:54 -0400 Subject: [Gambas-user] ~ doesn't seem to work. In-Reply-To: <1093031188.3937.8.camel@...559...> References: <1092101829.4036.20.camel@...559...> <200408122342.04519.gambas@...1...> <1093031188.3937.8.camel@...559...> Message-ID: <200408201615.54957.sourceforge-raindog2@...94...> On Friday 20 August 2004 15:46, Michael Sullivan wrote: > directory, but when I told Gambas that I wanted to "Open > "~/.TODO_preferences" FOR CREATE AS #myFile" it said that the > file didn't exist, However, when I changed ~ to /home/michael > it worked fine. Is there a workaround for what I'm trying to "~" is a shell-specific thing, not implemented at the filesystem level. Try this: System.Home &/ ".TODO_preferences" Rob From g.brandl at ...18... Fri Aug 20 22:27:32 2004 From: g.brandl at ...18... (Georg Brandl) Date: Fri, 20 Aug 2004 22:27:32 +0200 Subject: [Gambas-user] ~ doesn't seem to work. In-Reply-To: <1093031188.3937.8.camel@...559...> References: <1092101829.4036.20.camel@...559...> <1092104365.4035.24.camel@...559...> <1092346724.19180.5.camel@...559...> <200408122342.04519.gambas@...1...> <1093031188.3937.8.camel@...559...> Message-ID: <41265EB4.5080207@...18...> Michael Sullivan wrote: > My TODO program is coming along nicely. I finished Stage 1 last night > (which is get all the necessary functions working) and now I'm on the > Stage 2 (which is enhancements). I want to be able to place the > executable file generated from my code in a location outside of the > /home directory and have my program generate preference files within a > users home directory. There are two user accounts on my computer, mine > (michael) and my wife's (amy). When I run the executable, I want it to > generate a preferences file in /home/michael/.TODO_preferences unless > one already exists, in which case I want the program to read in the > values in the file. Likewise, if my wife runs the program, I want the > preferences file to be generated in /home/amy/.TODO_preferences. As you > know, in Linux, the symbol ~ is used to represent the current user's > home directory, but when I told Gambas that I wanted to "Open > "~/.TODO_preferences" FOR CREATE AS #myFile" it said that the file > didn't exist, However, when I changed ~ to /home/michael it worked > fine. Is there a workaround for what I'm trying to do? It's not "in Linux", it's mainly "in the shell". When you enter something like $ ls -l ~ your shell transforms it into $ ls -l $HOME So, if you want to do this in Gambas, you should read the environment variable "HOME" and concat this with your path. mfg Georg From lordheavy at ...512... Sat Aug 21 01:06:26 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 21 Aug 2004 01:06:26 +0200 Subject: [Gambas-user] Small workspace demo In-Reply-To: <200408201110.27950.gambas@...1...> References: <200408201022.14217.lordheavy@...512...> <200408201033.43716.lordheavy@...512...> <200408201110.27950.gambas@...1...> Message-ID: <200408210106.26892.lordheavy@...512...> Le vendredi 20 Ao?t 2004 11:10, Benoit Minisini a ?crit?: > On Friday 20 August 2004 10:33, Laurent Carlier wrote: > > Le vendredi 20 Ao?t 2004 10:22, Laurent Carlier a ?crit?: > > > Here a small Workspace demo with a "small panel" > > > > > > There is a bug with resizing as Tile. > > > > > > Have fun, > > > > Oups, the bug is with cascade resize. > > > > Following demo "avoid" two bugs : > > - the workspace.children bug (using tag property) > > - the workspace.cascade bug (forcing a window resize : see MnuCascade) > > > > Here, Have fun :) > > There is no workspace.Children bug. The bug is that workspace children are > never destroyed. > > Generally, there is too many problems in the QWorkspace widget of QT. So I > suggest never using the Workspace control. I didn't remove the control only > because some people are using it, but I'm not sure it is a good idea. the well known 'it's not a bug, it's a feature' :) Regards, -- Laurent Carlier From Karl.Reinl at ...9... Sat Aug 21 01:29:40 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 21 Aug 2004 01:29:40 +0200 (MET DST) Subject: [Gambas-user] Undo in IDE ( Message-ID: <200408202329.i7KNTeYJ008073@...585...> gambas-0.97a) Date: Sat, 21 Aug 2004 01:20:57 +0000 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200408210120.57209.Karl.Reinl at ...9...> Status: R X-Status: NQ X-KMail-EncryptionState: X-KMail-SignatureState: X-KMail-MDN-Sent: Salut Benoit, gambas-0.97a there is somthing 'very' wrong in the undo buffer, it seams that he returns the last copy from the copyboard. Amicalement Carlie From michael at ...558... Sat Aug 21 01:39:43 2004 From: michael at ...558... (Michael Sullivan) Date: Fri, 20 Aug 2004 18:39:43 -0500 Subject: [Gambas-user] Color box In-Reply-To: <200408201615.54957.sourceforge-raindog2@...94...> References: <1092101829.4036.20.camel@...559...> <200408122342.04519.gambas@...1...> <1093031188.3937.8.camel@...559...> <200408201615.54957.sourceforge-raindog2@...94...> Message-ID: <1093045183.7270.1.camel@...559...> Is there a way to show a Select Color dialog box that would allow the user to select a color and return the integer color code back to the program? From marcio.roger at ...586... Sat Aug 21 04:24:10 2004 From: marcio.roger at ...586... (Marcio Roger Ferrari) Date: Fri, 20 Aug 2004 23:24:10 -0300 Subject: [Gambas-user] Weird permissions problem Message-ID: <200408202324.10849.marcio.roger@...586...> I compiled and install Gambas 0.97a twice. One in the computer at my work ( Slackware 10 which I installed in a empty HD) and another at home, which has Slackware 10 updated since 9.0 by SWARET. At my work, everything is fine, but, at home, I can not create projets in my own home folder (there are a red cross marking the folder ). Anyone knows what can be happening ? I wouldn't like to reinstall my System. Thanks Marcio Roger Ferrari - from Brazil From gambas at ...1... Sat Aug 21 10:16:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 21 Aug 2004 10:16:52 +0200 Subject: [Gambas-user] Weird permissions problem In-Reply-To: <200408202324.10849.marcio.roger@...586...> References: <200408202324.10849.marcio.roger@...586...> Message-ID: <200408211016.52371.gambas@...1...> On Saturday 21 August 2004 04:24, Marcio Roger Ferrari wrote: > I compiled and install Gambas 0.97a twice. One in the computer at my work > ( Slackware 10 which I installed in a empty HD) and another at home, which > has Slackware 10 updated since 9.0 by SWARET. At my work, everything is > fine, but, at home, I can not create projets in my own home folder (there > are a red cross marking the folder ). Anyone knows what can be happening ? > I wouldn't like to reinstall my System. > > Thanks > > Marcio Roger Ferrari - from Brazil > What are the permissions of /home and your home folder ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 21 10:17:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 21 Aug 2004 10:17:53 +0200 Subject: [Gambas-user] Undo in IDE (gambas-0.97a) In-Reply-To: <200408202329.i7KNTeYJ008073@...585...> References: <200408202329.i7KNTeYJ008073@...585...> Message-ID: <200408211017.53551.gambas@...1...> On Saturday 21 August 2004 01:29, Charlie Reinl wrote: > Salut Benoit, > > gambas-0.97a > > there is somthing 'very' wrong in the undo buffer, it seams that he returns > the last copy from the copyboard. > > > > Amicalement > Carlie > Something more detailed ? -- Benoit Minisini mailto:gambas at ...1... From nigel at ...38... Sat Aug 21 18:34:46 2004 From: nigel at ...38... (Nigel Gerrard) Date: Sat, 21 Aug 2004 17:34:46 +0100 Subject: [Gambas-user] SQLite References: <1092991898.2053.4.camel@...581...> <200408201111.37128.gambas@...1...> Message-ID: <00a901c4879c$c60faae0$de734254@...171...> Ensure 'reconf' is run before rerunning 'configure' with new parameters. This may not solve your problem but is a common mistake. Nigel ----- Original Message ----- From: "Benoit Minisini" To: Sent: Friday, August 20, 2004 10:11 AM Subject: Re: [Gambas-user] SQLite > On Friday 20 August 2004 10:51, John Bartlett wrote: > > All, > > > > I am trying to experiment with various databases for an application that > > I am currently working on. MYSQL and Postgresql work fine. However, I > > have a problem with SQLite. I have installed the libraries and headers > > in the correct locations but the Gambas configure script does not seem > > to be able to find them. I have tried "--with-sqlite-includes" etc but > > to no avail. > > > > Am I doing something silly? > > > > Any help would be appreciated thanks. > > > > Regards, > > > > John Bartlett > > > > Which distribution ? Where did you install them ? What parameteres did you > pass to ./configure ? And so on... > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Aug 21 19:07:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 21 Aug 2004 19:07:28 +0200 Subject: [Gambas-user] Table view questions In-Reply-To: <4124AD78.9010206@...221...> References: <4124AD78.9010206@...221...> Message-ID: <200408211907.28942.gambas@...1...> On Thursday 19 August 2004 15:39, Eilert wrote: > Hi, > > I wanted to try out the table view object. The grid view seems too > simple for what I want it to do. Now, with the table view I could not > set any cells to text, the marker only marks rows and I didn't find a > way to give single cells a specific background colour. > > What I want is a table that shows account data. I did implement such a > thing in VB 5, showing payed positions in gray and open ones in white. > The VB thing is rather slow but at least works as expected... Isn't > there a way of doing this in Gambas? > > Rolf > > You have an example of using TreeView for displaying database data in the Database example. I invite you to look at it! Regards, -- Benoit Minisini mailto:gambas at ...1... From jscops at ...11... Sun Aug 22 08:20:49 2004 From: jscops at ...11... (Jack) Date: Sun, 22 Aug 2004 08:20:49 +0200 Subject: [Gambas-user] Table view questions Message-ID: <200408220820.49536.jscops@...11...> On Thursday 19 August 2004 15:39, Eilert wrote: > Hi, > > I wanted to try out the table view object. The grid view seems too > simple for what I want it to do. Now, with the table view I could not > set any cells to text, the marker only marks rows and I didn't find a > way to give single cells a specific background colour. > > What I want is a table that shows account data. I did implement such a > thing in VB 5, showing payed positions in gray and open ones in white. > The VB thing is rather slow but at least works as expected... Isn't > there a way of doing this in Gambas? > > Rolf the best way for learning tableview is the very good Risky Tahara shita "DataReportExample" ~? Jack ?~ From gambas at ...1... Sun Aug 22 08:34:13 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 22 Aug 2004 08:34:13 +0200 Subject: [Gambas-user] Table view questions In-Reply-To: <200408211907.28942.gambas@...1...> References: <4124AD78.9010206@...221...> <200408211907.28942.gambas@...1...> Message-ID: <200408220834.14018.gambas@...1...> On Saturday 21 August 2004 19:07, Benoit Minisini wrote: > You have an example of using TreeView for displaying database data in the > Database example. I invite you to look at it! > > Regards, I meant "TableView", not "TreeView" of course... -- Benoit Minisini mailto:gambas at ...1... From jscops at ...11... Sun Aug 22 08:45:46 2004 From: jscops at ...11... (Jack) Date: Sun, 22 Aug 2004 08:45:46 +0200 Subject: [Gambas-user] How to check if it is a =?iso-8859-1?q?=A0valid?= date? In-Reply-To: <20040820123648.21728.qmail@...584...> References: <20040820123648.21728.qmail@...584...> Message-ID: <200408220845.47093.jscops@...11...> Le Vendredi 20 Ao?t 2004 14:36, Hans-Martin Bundeshund a ?crit : > Salute Benoit, > > sorry to say, but I tested it with the yaer at last > before your reply. I got the same results. > > Here is the source-snippet: > > > act_day = 20 > act_month = 8 > act_year = 2004 > > IF IsDate(Format$(act_day,"00") & "/" & > Format$(act_month, "00") & "/" & > Format$(act_year,"0000")) THEN > datum = Date(act_year,act_monat,act_day) > ELSE > message.Info("Date WRONG: " & act_day & "." & > act_month & "." & act_year) > ENDIF > > > Result: Date WRONG: 20.8.2004 > > > What I am doing wrong? > > regards, > > HM To control my date i use the very usefull Cdate function. see the example below and complete it according to your need. PUBLIC FUNCTION Controle_date(Dte AS String) AS String DIM Ndate AS Date Ndate = CDate(Dte) RETURN Ndate CATCH message.Error("Il y a une incoh?rence dans votre saisie \n Verifiez votre date SVP !") END ~? Jack ?~ From gambas at ...1... Sun Aug 22 08:56:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 22 Aug 2004 08:56:52 +0200 Subject: [Gambas-user] How to check if it is a =?iso-8859-1?q?=A0valid?= date? In-Reply-To: <200408220845.47093.jscops@...11...> References: <20040820123648.21728.qmail@...584...> <200408220845.47093.jscops@...11...> Message-ID: <200408220856.52934.gambas@...1...> On Sunday 22 August 2004 08:45, Jack wrote: > To control my date i use the very usefull Cdate function. > > see the example below and complete it according to your need. > > PUBLIC FUNCTION Controle_date(Dte AS String) AS String > DIM Ndate AS Date > Ndate = CDate(Dte) > RETURN Ndate > CATCH > message.Error("Il y a une incoh?rence dans votre saisie \n Verifiez votre > date SVP !") > END > > ~? Jack ?~ > You *must*not* use CDate() to check a date entered by the user, because CDate() does not use the localization settings. To check a date the right way, you must use the Val() function: PUBLIC FUNCTION CheckDate(Text AS String) AS Date DIM vDate AS Variant vDate = Val(Text) IF IsDate(vDate) THEN RETURN vDate Message.Error("Bad date!") END Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Sun Aug 22 17:54:20 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 22 Aug 2004 15:54:20 +0000 Subject: [Gambas-user] MakePackage in IDE Message-ID: <200408221554.20449.Karl.Reinl@...9...> Salut Benoit, I saw in gambas/Project.module/MakeSourcePackageTo , that erverything is prepared to make smaller packags using bz2 . IF Right$(sPath, 3) = ".gz" THEN sOpt = "z" ELSE IF Right$(sPath, 4) = ".bz2" THEN sOpt = "j" ENDIF But in MakePackage the Dialog.Filter is : Dialog.Filter =[ ("Source packages") & " (*.tar.gz)", ("All files") & " (*.*)" and so not prepared to find it out, would be nice for next Version. Amicalement Charlie From gambas at ...1... Sun Aug 22 16:14:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 22 Aug 2004 16:14:29 +0200 Subject: [Gambas-user] MakePackage in IDE In-Reply-To: <200408221554.20449.Karl.Reinl@...9...> References: <200408221554.20449.Karl.Reinl@...9...> Message-ID: <200408221614.29803.gambas@...1...> On Sunday 22 August 2004 17:54, Charlie Reinl wrote: > Salut Benoit, > > I saw in gambas/Project.module/MakeSourcePackageTo , that erverything is > prepared to make smaller packags using bz2 . > > IF Right$(sPath, 3) = ".gz" THEN > sOpt = "z" > ELSE IF Right$(sPath, 4) = ".bz2" THEN > sOpt = "j" > ENDIF > > But in MakePackage the Dialog.Filter is : > Dialog.Filter =[ ("Source packages") & " (*.tar.gz)", ("All files") & " > (*.*)" and so not prepared to find it out, would be nice for next > Version. > > Amicalement > Charlie > > I will see... But I will be happy if somebody needs bz2 for his Gambas project, because it will mean that it is *HUGE* :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From karl.reinl at ...9... Sun Aug 22 16:35:28 2004 From: karl.reinl at ...9... (Charlie) Date: Sun, 22 Aug 2004 16:35:28 +0200 Subject: [Gambas-user] Undo in IDE ( References: <200408202329.i7KNTeYJ008073@...585...> Message-ID: <4128AF30.7030001@...9...> Charlie Reinl schrieb: >gambas-0.97a) >Date: Sat, 21 Aug 2004 01:20:57 +0000 >User-Agent: KMail/1.6.2 >MIME-Version: 1.0 >Content-Disposition: inline >Content-Type: text/plain; > charset="us-ascii" >Content-Transfer-Encoding: 7bit >Message-Id: <200408210120.57209.Karl.Reinl at ...9...> >Status: R >X-Status: NQ >X-KMail-EncryptionState: >X-KMail-SignatureState: >X-KMail-MDN-Sent: > >Salut Benoit, > >gambas-0.97a > >there is somthing 'very' wrong in the undo buffer, it seams that he returns >the last copy from the copyboard. > > > >Amicalement >Carlie > > > Sorry Beno?t, seeing this mail ( the most of the mail is the kmail-header), I know, there was/is somthing wrong on my box. I had under gentoo a chroot session open to my old SuSE 7.2 to read some mails.!??? Charlie From Karl.Reinl at ...9... Sun Aug 22 21:20:58 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 22 Aug 2004 19:20:58 +0000 Subject: [Gambas-user] need your help (IDE with Line Analyzing) Message-ID: <200408221920.58465.Karl.Reinl@...9...> Salut, I attached a modified gambas IDE, based on gambas-0.97a IDE. ????????That mail came back, the file is too big. ????????You must download (~ 800 kb) it HERE : ???????? www.fen-net.de/Karl.Reinl/gambas/IDE-WLA-0.95.107.tar.gz ? WITHOUT any changes to the ga.qt.editor I called it IDE-WLA. My changes in the editor, to unifiy the lines. I changed ????????edtEditor_Cursor and added ????????edtEditor_LostFocus ????????writeReport ????????preLineAnalyze ????????LineAnalyze ????????GetColorsName Do not use it to work on your project, because 1. I'm not shure that it workes correctly and it may be you can't compile after, and 2. ?every time if you left a line or the editor lose the Focus ? LineAnalyze is called, and if the line is changed by LineAnalyze a message.Question pops up, and shows you the original and the changed line, and asks you ?what to do. If you say "Add line to report" , he prints the filename the line-nbr. the original and the changed line to /tmp/LineAnalyzeReport.log After the message.Question pops up again and asks you if you want change or not the line. But it is a full IDE, like the gambas-0.97a one. I use it like this: ????????I open a copy of one of my projects ????????open a class or a module in the editor ????????then I pass with the down-key all the lines to find lines who changes. After every class or ?module passed I press F5 to see if it still compiles. I do it mainly with a copy of gambas the IDE self. If you have some spare time to help me do so, and send me the /tmp/LineAnalyzeReport.log , so I can find Errors and not handled cases. It would be nice if I get some of that reports. Amicalement Charlie From Karl.Reinl at ...9... Mon Aug 23 01:03:45 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 22 Aug 2004 23:03:45 +0000 Subject: [Gambas-user] Update for (need your help (IDE with Line Analyzing)) Message-ID: <200408222303.45808.Karl.Reinl@...9...> Salut, I attached a modified gambas IDE, based on gambas-0.97a IDE. ????????That mail came back, the file is too big. ????????You must download (~ 800 kb) it HERE : ???????? www.fen-net.de/Karl.Reinl/gambas/IDE-WLA-0.95.108.tar.gz ? fixed : Error.raise and [( case The String bigger then 123 chars still exists. WITHOUT any changes to the ga.qt.editor I called it IDE-WLA. My changes in the editor, to unifiy the lines. I changed ????????edtEditor_Cursor and added ????????edtEditor_LostFocus ????????writeReport ????????preLineAnalyze ????????LineAnalyze ????????GetColorsName Do not use it to work on your project, because 1. I'm not shure that it workes correctly and it may be you can't compile after, and 2. ?every time if you left a line or the editor lose the Focus ? LineAnalyze is called, and if the line is changed by LineAnalyze a message.Question pops up, and shows you the original and the changed line, and asks you ?what to do. If you say "Add line to report" , he prints the filename the line-nbr. the original and the changed line to /tmp/LineAnalyzeReport.log After the message.Question pops up again and asks you if you want change or not the line. But it is a full IDE, like the gambas-0.97a one. I use it like this: ????????I open a copy of one of my projects ????????open a class or a module in the editor ????????then I pass with the down-key all the lines to find lines who changes. After every class or ?module passed I press F5 to see if it still compiles. I do it mainly with a copy of gambas the IDE self. If you have some spare time to help me do so, and send me the /tmp/LineAnalyzeReport.log , so I can find Errors and not handled cases. It would be nice if I get some of that reports. Amicalement Charlie From Karl.Reinl at ...9... Mon Aug 23 01:19:19 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 22 Aug 2004 23:19:19 +0000 Subject: [Gambas-user] _New in gambas Message-ID: <200408222319.19308.Karl.Reinl@...9...> Salut Benoit, Try to do that in a class or module file. write two subs Sub somesub() end Sub somesub_new() end then click with the rightbutton of the mouse into the file and choose Go to You will see somesub and a somesub (with a ->) where you find new. Amicalement Charlie From gambas at ...1... Sun Aug 22 23:43:18 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 22 Aug 2004 23:43:18 +0200 Subject: [Gambas-user] _New in gambas In-Reply-To: <200408222319.19308.Karl.Reinl@...9...> References: <200408222319.19308.Karl.Reinl@...9...> Message-ID: <200408222343.18374.gambas@...1...> On Monday 23 August 2004 01:19, Charlie Reinl wrote: > Salut Benoit, > > Try to do that in a class or module file. > write two subs > > Sub somesub() > end > > Sub somesub_new() > end > > then click with the rightbutton of the mouse into the file and choose Go > to You will see somesub and a somesub (with a ->) where you find new. > > Amicalement > Charlie > And what is the problem ? -- Benoit Minisini mailto:gambas at ...1... From ottaviomacino at ...412... Sun Aug 22 17:55:05 2004 From: ottaviomacino at ...412... (pretore60) Date: Sun, 22 Aug 2004 17:55:05 +0200 Subject: [Gambas-user] Database Message-ID: <4128C1D9.6080502@...412...> I don't connect to mysql server; the answer is "Cannot find driver for database:mysql". I have Fedora Core 2 with installed mysql 4.0.20 (server, client, shared-compat, devel); I have installed gambas with the command : ./configure --prefix=/usr/local/gambas; the mysql lib are in /usr/lib/mysql and /usr/lib. Thank's ( and exscuse me for english...i'm italian). Ottavio From na2492 at ...9... Mon Aug 23 21:51:02 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 23 Aug 2004 21:51:02 00200 Subject: [Gambas-user] _New in gambas Message-ID: <412a4aa6.6f98.0@...9...> >On Monday 23 August 2004 01:19, Charlie Reinl wrote: >> Salut Benoit, >> >> Try to do that in a class or module file. >> write two subs >> >> Sub somesub() >> end >> >> Sub somesub_new() >> end >> >> then click with the rightbutton of the mouse into the file and choose Go >> to You will see somesub and a somesub (with a ->) where you find new. >> >> Amicalement >> Charlie >> > >And what is the problem ? > that is the problem (snapshot6.jpg) Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot6.jpg Type: image/jpeg Size: 69429 bytes Desc: not available URL: From gambas at ...1... Mon Aug 23 22:19:21 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 23 Aug 2004 22:19:21 +0200 Subject: [Gambas-user] _New in gambas In-Reply-To: <412a4aa6.6f98.0@...9...> References: <412a4aa6.6f98.0@...9...> Message-ID: <200408232219.21282.gambas@...1...> On Monday 23 August 2004 23:51, na2492 at ...9... wrote: > >On Monday 23 August 2004 01:19, Charlie Reinl wrote: > >> Salut Benoit, > >> > >> Try to do that in a class or module file. > >> write two subs > >> > >> Sub somesub() > >> end > >> > >> Sub somesub_new() > >> end > >> > >> then click with the rightbutton of the mouse into the file and choose > >> Go > >> > >> to You will see somesub and a somesub (with a ->) where you find new. > >> > >> Amicalement > >> Charlie > > > >And what is the problem ? > > that is the problem (snapshot6.jpg) > I wanted to say: why do you find it is a problem ? -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Mon Aug 23 22:40:01 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 23 Aug 2004 22:40:01 +0200 Subject: [Gambas-user] _New in gambas In-Reply-To: <200408232219.21282.gambas@...1...> References: <412a4aa6.6f98.0@...9...> <200408232219.21282.gambas@...1...> Message-ID: <200408232240.02084.gambasfr@...11...> Le lundi 23 Ao?t 2004 22:19, Benoit Minisini a ?crit?: > On Monday 23 August 2004 23:51, na2492 at ...9... wrote: > > >On Monday 23 August 2004 01:19, Charlie Reinl wrote: > > >> Salut Benoit, > > >> > > >> Try to do that in a class or module file. > > >> write two subs > > >> > > >> Sub somesub() > > >> end > > >> > > >> Sub somesub_new() > > >> end > > >> > > >> then click with the rightbutton of the mouse into the file and choose > > >> Go > > >> > > >> to You will see somesub and a somesub (with a ->) where you find new. > > >> > > >> Amicalement > > >> Charlie > > > > > >And what is the problem ? > > > > that is the problem (snapshot6.jpg) > > I wanted to say: why do you find it is a problem ? Hi, i understand, somesub is not an object but a sub... And the ide parse it as an event.. and charlie don't like it anymore ! Best regards, Fabien Bodard From gambasfr at ...11... Mon Aug 23 23:14:19 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 23 Aug 2004 23:14:19 +0200 Subject: [Gambas-user] Input box In-Reply-To: <1092967754.10509.47.camel@...559...> References: <41253b26.2c61.0@...9...> <1092967754.10509.47.camel@...559...> Message-ID: <200408232314.19944.gambasfr@...11...> Le vendredi 20 Ao?t 2004 04:09, Michael Sullivan a ?crit?: > Thanks, but I ended up using a regular text box instead. Has anyone had > problems with ListBox.Remove? I tried using it and nothing happened. > The list box item I was trying to remove was still there... Can you send us the pece of code that have a problme... because it work fine at my home ! Listbox1.remove(index as integer) Fabien Bodard > On Thu, 2004-08-19 at 18:43, na2492 at ...9... wrote: > > >How do I create an Inputbox that will ask the user to input a string of > > >and return it to a String variable? > > > > Salut, > > > > there you find a started InputBox, but you can finish it. > > > > http://www.binara.com/gambas-wiki/bin/view/Gambas/InputBox > > > > Amicalement > > Charlie > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From k-p.richter at ...20... Mon Aug 23 23:55:20 2004 From: k-p.richter at ...20... (Peter) Date: Mon, 23 Aug 2004 23:55:20 +0200 Subject: [Gambas-user] _New in gambas In-Reply-To: <412a4aa6.6f98.0@...9...> References: <412a4aa6.6f98.0@...9...> Message-ID: <200408232355.20352.k-p.richter@...20...> Am Montag, 23. August 2004 23:51 schrieb na2492 at ...9...: > >On Monday 23 August 2004 01:19, Charlie Reinl wrote: > >> Salut Benoit, > >> > >> Try to do that in a class or module file. > >> write two subs > >> > >> Sub somesub() > >> end > >> > >> Sub somesub_new() > >> end > >> > >> then click with the rightbutton of the mouse into the file and choose > >> Go > >> > >> to You will see somesub and a somesub (with a ->) where you find new. > >> > >> Amicalement > >> Charlie > > > >And what is the problem ? > > that is the problem (snapshot6.jpg) > > Charlie Hallo Charlie, '_' in SUBname prefaces eventname, so kill him :-) : Sub somesubNew() is also a word. Peter From michael at ...558... Tue Aug 24 00:51:37 2004 From: michael at ...558... (Michael Sullivan) Date: Mon, 23 Aug 2004 17:51:37 -0500 Subject: [Gambas-user] Input box In-Reply-To: <200408232314.19944.gambasfr@...11...> References: <41253b26.2c61.0@...9...> <1092967754.10509.47.camel@...559...> <200408232314.19944.gambasfr@...11...> Message-ID: <1093301497.2981.2.camel@...559...> I fixed it. I copied the valid contents of the listboxes into arrays and then cleared the listboxes and repopulated them. On Mon, 2004-08-23 at 16:14, Bodard Fabien wrote: > Le vendredi 20 Ao??t 2004 04:09, Michael Sullivan a ??crit : > > Thanks, but I ended up using a regular text box instead. Has anyone had > > problems with ListBox.Remove? I tried using it and nothing happened. > > The list box item I was trying to remove was still there... > > Can you send us the pece of code that have a problme... because it work fine > at my home ! > > Listbox1.remove(index as integer) > > Fabien Bodard > > > On Thu, 2004-08-19 at 18:43, na2492 at ...9... wrote: > > > >How do I create an Inputbox that will ask the user to input a string of > > > >and return it to a String variable? > > > > > > Salut, > > > > > > there you find a started InputBox, but you can finish it. > > > > > > http://www.binara.com/gambas-wiki/bin/view/Gambas/InputBox > > > > > > Amicalement > > > Charlie > > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From "Jeff Johnson" at direcway.com Tue Aug 24 04:33:23 2004 From: "Jeff Johnson" at direcway.com (Jeff Johnson) Date: Mon, 23 Aug 2004 19:33:23 -0700 Subject: [Gambas-user] _New in gambas In-Reply-To: <200408232219.21282.gambas@...1...> References: <412a4aa6.6f98.0@...9...> <200408232219.21282.gambas@...1...> Message-ID: <200408231933.23656.JeffJohnson@...377...> I am working with a database application, trying to port one of VB programs to Gambas. I am using SQlite since I will not be running a database server. I can create the database from within the program. I can add records with data in the fields just fine. However, I am unable to modify the data of existing records. What is the proper method of doing this? I am running SuSE Prof and Gambas .97a. Thank you. From g.brandl at ...18... Tue Aug 24 09:15:28 2004 From: g.brandl at ...18... (Georg Brandl) Date: Tue, 24 Aug 2004 09:15:28 +0200 Subject: [Gambas-user] _New in gambas In-Reply-To: <200408232355.20352.k-p.richter@...20...> References: <412a4aa6.6f98.0@...9...> <200408232355.20352.k-p.richter@...20...> Message-ID: <412AEB10.6080708@...18...> Peter wrote: > Am Montag, 23. August 2004 23:51 schrieb na2492 at ...9...: >> >On Monday 23 August 2004 01:19, Charlie Reinl wrote: >> >> Salut Benoit, >> >> >> >> Try to do that in a class or module file. >> >> write two subs >> >> >> >> Sub somesub() >> >> end >> >> >> >> Sub somesub_new() >> >> end >> >> >> >> then click with the rightbutton of the mouse into the file and choose >> >> Go >> >> >> >> to You will see somesub and a somesub (with a ->) where you find new. >> >> >> >> Amicalement >> >> Charlie >> > >> >And what is the problem ? >> >> that is the problem (snapshot6.jpg) >> >> Charlie > > Hallo Charlie, > > '_' in SUBname prefaces eventname, so kill him :-) : > Sub somesubNew() is also a word. Well, as _ is common in function names, I would have chosen another special character to separate event from object, for example: PUBLIC SUB btnFoo#Click() PUBLIC SUB btnFoo:Click() PUBLIC SUB btnFoo at ...587...() Or used a VB.NET style handling: PUBLIC SUB btnFooClick() HANDLES btnFoo.Click mfg Georg From g.brandl at ...18... Tue Aug 24 09:18:55 2004 From: g.brandl at ...18... (Georg Brandl) Date: Tue, 24 Aug 2004 09:18:55 +0200 Subject: [Gambas-user] Stop button Message-ID: <412AEBDF.8070402@...18...> Hello, for me, the Stop button on the toolbar looks rather like a record button due to its circular form. Wouldn't a square-formed on be better? mfg Georg From gambas at ...1... Tue Aug 24 09:45:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 24 Aug 2004 09:45:54 +0200 Subject: [Gambas-user] Stop button In-Reply-To: <412AEBDF.8070402@...18...> References: <412AEBDF.8070402@...18...> Message-ID: <200408240945.55199.gambas@...1...> On Tuesday 24 August 2004 09:18, Georg Brandl wrote: > Hello, > > for me, the Stop button on the toolbar looks rather like a record button > due to its circular form. Wouldn't a square-formed on be better? > > mfg > Georg > Good remark. I will change it... -- Benoit Minisini mailto:gambas at ...1... From g.brandl at ...18... Tue Aug 24 09:53:26 2004 From: g.brandl at ...18... (Georg Brandl) Date: Tue, 24 Aug 2004 09:53:26 +0200 Subject: [Gambas-user] Stop button In-Reply-To: <200408240945.55199.gambas@...1...> References: <412AEBDF.8070402@...18...> <200408240945.55199.gambas@...1...> Message-ID: <412AF3F6.9010109@...18...> Benoit Minisini wrote: > On Tuesday 24 August 2004 09:18, Georg Brandl wrote: >> Hello, >> >> for me, the Stop button on the toolbar looks rather like a record button >> due to its circular form. Wouldn't a square-formed on be better? >> >> mfg >> Georg >> > > Good remark. I will change it... OK, thanks. btw: Gambas .97 is a good job! Georg From nigel at ...38... Tue Aug 24 19:18:21 2004 From: nigel at ...38... (Nigel Gerrard) Date: Tue, 24 Aug 2004 18:18:21 +0100 Subject: [Gambas-user] Database References: <4128C1D9.6080502@...412...> Message-ID: <001601c489fe$5c39b200$57284254@...360...> Check to see whether the driver libraries have been installed for gambas: ls-l /opt/gambas/lib/gambas/*my* If they are not there then they have not been compiled. In gambas0.97a try: ./reconf Then rerun configure pointing to the relevant paths: eg. configure --with-mysql-includes=/usr..../include/mysql --with-mysql-librarie s=/usr/lib/mysql Capture the output of configure and post it here. By default configure will look in the following : /usr/lib/inlcude, /usr/lib/mysql/include, /usr/local/include, /usr/local/mysql/include, /opt/include, /opt/mysql/include, /usr/include, /usr/mysql/include - e.g checking for mysql.h my_config.h /usr/local/lib /usr/local/mysql/lib /opt/lib /opt/mysql/lib /usr/lib /usr/mysql/lib - checking for libmysqlclient Nigel ----- Original Message ----- From: "pretore60" To: Sent: Sunday, August 22, 2004 4:55 PM Subject: [Gambas-user] Database > I don't connect to mysql server; the answer is "Cannot find driver for > database:mysql". I have Fedora Core 2 with installed mysql 4.0.20 > (server, client, shared-compat, devel); I have installed gambas with the > command : ./configure --prefix=/usr/local/gambas; > the mysql lib are in /usr/lib/mysql and /usr/lib. > Thank's ( and exscuse me for english...i'm italian). > Ottavio > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From scatman_ at ...17... Tue Aug 24 19:34:29 2004 From: scatman_ at ...17... (scatman) Date: Tue, 24 Aug 2004 19:34:29 +0200 Subject: [Gambas-user] Syntax error Message-ID: <200408241934.29531.scatman_@...17...> Hi, hmm, PUBLIC SUB Button1_Click() SHELL "kwrite" END Where is the Syntax Error? If i delete this Lines, the next comes up whith Syntax Error (and so on) System: Debian Sid/Sarge Gambas 0.97a Thanks -- scatman From gambas at ...1... Tue Aug 24 19:53:01 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 24 Aug 2004 19:53:01 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <200408241934.29531.scatman_@...17...> References: <200408241934.29531.scatman_@...17...> Message-ID: <200408241953.01476.gambas@...1...> On Tuesday 24 August 2004 19:34, scatman wrote: > Hi, > > hmm, > > PUBLIC SUB Button1_Click() > SHELL "kwrite" > END > > Where is the Syntax Error? > > If i delete this Lines, the next comes up whith Syntax Error (and so on) > > System: > Debian Sid/Sarge > Gambas 0.97a > > Thanks > -- > scatman > > It may come from bad invisible space characters. Did you paste or edit your code from outside of Gambas IDE ? -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Tue Aug 24 20:04:51 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 24 Aug 2004 20:04:51 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <200408241934.29531.scatman_@...17...> References: <200408241934.29531.scatman_@...17...> Message-ID: <200408242004.51258.gambasfr@...11...> Le mardi 24 Ao?t 2004 19:34, scatman a ?crit?: > Hi, > > hmm, > > PUBLIC SUB Button1_Click() > SHELL "kwrite" > END You have not error here... it work fine.. here. But have you kwrite installed or are you sure you have right to use it ? Fabien Bodard > Where is the Syntax Error? > > If i delete this Lines, the next comes up whith Syntax Error (and so on) > > System: > Debian Sid/Sarge > Gambas 0.97a > > Thanks > -- > scatman > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From scatman_ at ...17... Tue Aug 24 20:06:36 2004 From: scatman_ at ...17... (scatman) Date: Tue, 24 Aug 2004 20:06:36 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <200408241953.01476.gambas@...1...> References: <200408241934.29531.scatman_@...17...> <200408241953.01476.gambas@...1...> Message-ID: <200408242006.36996.scatman_@...17...> Am Dienstag, 24. August 2004 19:53 schrieb Benoit Minisini: Hello, > It may come from bad invisible space characters. Did you paste or edit your > code from outside of Gambas IDE ? no, only i have deletet a Line and the next execute comes up whith Syntax Error from Line 48. Ok, I Think delete this Line. Next Execute.... the next Public Line are Syntax Error. Then i deleted the Gambas Files in /tmp. No betterments. Kill IDE and restart... no way... Syntax Error. -- scatman From gambas at ...1... Tue Aug 24 20:29:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 24 Aug 2004 20:29:42 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <200408242006.36996.scatman_@...17...> References: <200408241934.29531.scatman_@...17...> <200408241953.01476.gambas@...1...> <200408242006.36996.scatman_@...17...> Message-ID: <200408242029.42854.gambas@...1...> On Tuesday 24 August 2004 20:06, scatman wrote: > Am Dienstag, 24. August 2004 19:53 schrieb Benoit Minisini: > > Hello, > > > It may come from bad invisible space characters. Did you paste or edit > > your code from outside of Gambas IDE ? > > no, only i have deletet a Line and the next execute comes up whith Syntax > Error from Line 48. > > Ok, I Think delete this Line. > Next Execute.... the next Public Line are Syntax Error. > > Then i deleted the Gambas Files in /tmp. No betterments. > > Kill IDE and restart... no way... Syntax Error. You are not very clear. But killing temporary files in /tmp won't change anything :-) If you have syntax errors on apparently correct lines, the problem may come from the contents of your file. Send me the source file that raises errors, and I will check it. Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Tue Aug 24 20:19:05 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 24 Aug 2004 18:19:05 +0000 Subject: [Gambas-user] DoubleClick on Form Message-ID: <200408241819.05725.Karl.Reinl@...9...> Salut Benoit, one option for the IDE would be nice. DoubleClick on Form (if Form.class are not shown) opens either Form or Class File. Amicalement From scatman_ at ...17... Tue Aug 24 20:50:33 2004 From: scatman_ at ...17... (scatman) Date: Tue, 24 Aug 2004 20:50:33 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <200408242029.42854.gambas@...1...> References: <200408241934.29531.scatman_@...17...> <200408242006.36996.scatman_@...17...> <200408242029.42854.gambas@...1...> Message-ID: <200408242050.33994.scatman_@...17...> Am Dienstag, 24. August 2004 20:29 schrieb Benoit Minisini: > You are not very clear. But killing temporary files in /tmp won't change > anything :-) If you have syntax errors on apparently correct lines, the > problem may come from the contents of your file. Send me the source file > that raises errors, and I will check it. Thanks. The Source from a beginner ;-) -- scatman -------------- next part -------------- A non-text attachment was scrubbed... Name: Source_Syntax_Error.tar.gz Type: application/x-tgz Size: 16635 bytes Desc: not available URL: From scatman_ at ...17... Tue Aug 24 20:56:03 2004 From: scatman_ at ...17... (scatman) Date: Tue, 24 Aug 2004 20:56:03 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <200408242029.42854.gambas@...1...> References: <200408241934.29531.scatman_@...17...> <200408242006.36996.scatman_@...17...> <200408242029.42854.gambas@...1...> Message-ID: <200408242056.03682.scatman_@...17...> Am Dienstag, 24. August 2004 20:29 schrieb Benoit Minisini: OHHH GOTT, a simply , was is. I dont have seen a ,end sub. End Sub whitout , works : a lot of sorry! -- scatman From gambasfr at ...11... Tue Aug 24 21:10:11 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 24 Aug 2004 21:10:11 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <200408242050.33994.scatman_@...17...> References: <200408241934.29531.scatman_@...17...> <200408242029.42854.gambas@...1...> <200408242050.33994.scatman_@...17...> Message-ID: <200408242110.11190.gambasfr@...11...> Le mardi 24 Ao?t 2004 20:50, scatman a ?crit?: > Am Dienstag, 24. August 2004 20:29 schrieb Benoit Minisini: > > You are not very clear. But killing temporary files in /tmp won't change > > anything :-) If you have syntax errors on apparently correct lines, the > > problem may come from the contents of your file. Send me the source file > > that raises errors, and I will check it. > > Thanks. > > The Source from a beginner ;-) The problem is on line 45 ! you write -->'END<-- need to be not in commentary ! Fabien Bodard From bundeshund at ...467... Tue Aug 24 21:29:03 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 24 Aug 2004 21:29:03 +0200 Subject: [Gambas-user] OT:Very nice compliments for gambas :)) Message-ID: <200408242129.03285.bundeshund@...467...> Salute! Today I presented Gambas to some of my mates at work. As I and they work in a IT department, I show the easy usability and simply built a form with some textboxes, a combobox and some other components. Then I inserted MySQL-support. Their Eyes were so wide open! :)) It was a plesure to see 5 greening people arround my little notebook... (I have to say that we work with an iSeries also knowen as an AS400 from IBM. There are some visual tools to work/develop with, because it is not tgat stable and we are told not to use them, so we all work with the green-screen, no graphic, only text-console as a terminal-emulator under win2k; and the programming language I have to use is called 'ILE-RPG'. This language don't have free text (the text hase to be entered at the correct position), you have to fill the text into the right column, if not, you get a syntax error... (Since 2 years, you are able to work with an op-code called '/free'. With this you can write some 'free' text without the column restriction, but not all commands work with this. Horror!) They were really enthusiastic about Gambas! Not even that it is free and open source, no, it offers a great and simple to use workbench. If you have worked with IBM-tools on Midrange or even greater machines before, you couldn't believe that writing an application can be so easy and comfortable. Unfortunate the iSeries is a *very* stable machine and the performance of the inegrated DB2 is excellent. If only Gambas would communicate with the DB2 under OS/400... regards, HM From michael at ...558... Tue Aug 24 22:25:27 2004 From: michael at ...558... (Michael Sullivan) Date: Tue, 24 Aug 2004 15:25:27 -0500 Subject: [Gambas-user] OT:Very nice compliments for gambas :)) In-Reply-To: <200408242129.03285.bundeshund@...467...> References: <200408242129.03285.bundeshund@...467...> Message-ID: <1093379116.670.54.camel@...559...> Text has to be entered in specific column positions? Sounds like RPG (unfortunately it has nothing to do with popular games like Final Fantasy.) I had to take a semester of RPG at college a few years ago. It was easy, sort of. It seemed mostly stupid, since I also learned VB and COBOL at that college I really hated the column restriction though... On Tue, 2004-08-24 at 14:29, Hans-Martin Bundeshund wrote: > Salute! > > Today I presented Gambas to some of my mates at work. As I and they work in a > IT department, I show the easy usability and simply built a form with some > textboxes, a combobox and some other components. Then I inserted > MySQL-support. Their Eyes were so wide open! :)) > It was a plesure to see 5 greening people arround my little notebook... > > (I have to say that we work with an iSeries also knowen as an AS400 from IBM. > There are some visual tools to work/develop with, because it is not tgat > stable and we are told not to use them, so we all work with the green-screen, > no graphic, only text-console as a terminal-emulator under win2k; and the > programming language I have to use is called 'ILE-RPG'. This language don't > have free text (the text hase to be entered at the correct position), you > have to fill the text into the right column, if not, you get a syntax > error... (Since 2 years, you are able to work with an op-code called '/free'. > With this you can write some 'free' text without the column restriction, but > not all commands work with this. Horror!) > > They were really enthusiastic about Gambas! Not even that it is free and open > source, no, it offers a great and simple to use workbench. > > If you have worked with IBM-tools on Midrange or even greater machines before, > you couldn't believe that writing an application can be so easy and > comfortable. Unfortunate the iSeries is a *very* stable machine and the > performance of the inegrated DB2 is excellent. If only Gambas would > communicate with the DB2 under OS/400... > > regards, > > HM > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Aug 25 00:39:58 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 25 Aug 2004 00:39:58 +0200 Subject: [Gambas-user] gambas 0.98 Message-ID: <200408250039.58923.gambas@...1...> Hi, world Gambas 0.98 has been released a few hours ago. Here is the changelog - this way I'm sure people will see it :-) Enjoy it! ------------------------------------------------------------------------------ DEVELOPMENT ENVIRONMENT * Many bug fixes in automatic completion. * The signature of the [] operator is displayed now. * You can run until the current line in the debugger, by pressing SHIFT F5. * Debug window is now integrated into the project window. * Menus and buttons are hidden as much as possible when they are useless in a given context. * Pressing F2 now works on reserved keywords. * The selection tool has been redesigned in the icon editor. * You can change the location of the executable. COMPILER * Functions that are generated by the compiler do not include breakpoints in the compile code anymore. This speeds up, for example, the loading of a form being debugged in the IDE. * The Error() subroutine has been replaced by a keyword, ERROR, that is FALSE when Error.Code is zero, and TRUE if not. QT COMPONENT * Control fonts now works like the early versions of Gambas: changing a property of a control font actually changes the font used for drawing the control. * A new method, TreeView.MoveBack(), that moves to the last position of the internal cursor. This is useful if one Move*() method fails, and you want to return to the last position to try another Move*() method. The same method exists for the ColumnView control. * The way windows, forms and controls are destroyed were redesigned, to prevent possible crashes in the QT library. Now, every control and window objects are not destroyed immediately, but at the return of the event loop, at the same level the objects were created. * Two new control properties, Previous and Next, that return the previous and next control in the stack order. GAMBAS EDITOR COMPONENT * Current line is highlighted now. * BUG: some fixes in the pattern analyzer. DATABASE COMPONENT * When setting the table primary key, field names are checked for existence now. * SQLite database driver accepts UTF-8 charset now. DEBUG COMPONENT * BUG: fix for a race condition that leads sometime to an interpreter crash when stopping a debugging session. ------------------------------------------------------------------------------ -- Benoit Minisini mailto:gambas at ...1... From amarok.wolf at ...588... Wed Aug 25 00:56:44 2004 From: amarok.wolf at ...588... (Amarok) Date: Tue, 24 Aug 2004 23:56:44 +0100 Subject: [Gambas-user] Can't create files... Message-ID: <200408242356.44407.amarok.wolf@...588...> Hi... i have this on a program i'm creating: PRIVATE file1 AS File ' 1? ficheiro aberto PUBLIC SUB Form_Open() 'criar ficheiro Orglock (bloqueio a 2? instancia) OPEN "teste" FOR CREATE AS #file1 ' PRINT #file1, "Ficheiro Lock do Organizador... "; PRINT #file1, "deve ser apagado caso o Organizador nao arranque" CLOSE #file1 END SUB now, at the point of "OPEN "teste" FOR CREATE AS #file1" I allways get the error "File or directory das not exist" I've try'd several combinations like: CREATE WRITE WRITE CREATE CREATE APPEND but none of them works If i create the file "test" myself, then the program opens it and write the text i've tell him to do. I want to put the created files in the same directory as the executable file, so i have the executable file in my home partition so I can have write access to it the system is Debian with kernel 2.4.27 Can anybody teach me what am i doing wrong? Thank's in advance Amarok From pchapman at ...129... Wed Aug 25 17:53:56 2004 From: pchapman at ...129... (Philip A. Chapman) Date: Wed, 25 Aug 2004 10:53:56 -0500 Subject: [Gambas-user] OT:Very nice compliments for gambas :)) In-Reply-To: <1093379116.670.54.camel@...559...> References: <200408242129.03285.bundeshund@...467...> <1093379116.670.54.camel@...559...> Message-ID: <412CB614.9050302@...129...> Michael Sullivan wrote: > Text has to be entered in specific column positions? Sounds like RPG > (unfortunately it has nothing to do with popular games like Final > Fantasy.) I had to take a semester of RPG at college a few years ago. > It was easy, sort of. It seemed mostly stupid, since I also learned VB > and COBOL at that college I really hated the column restriction > though... > COBOL has column restrictions too. # columns 1-6: line number # column 7: line continuation or empty # columns 8-11: division, section and paragraph labels # columns 12-72: code # columns 73-80: comments Other restrictions which are hold-over from the punch card days: # Commands can't be longer then 61 characters, or they must be continued using a \ character in column 72. # Only capital letters can be used. Some characters in the ASCII range 0-32 are normal characters for COBOL RPG and COBOL both date back to the days when people used punch cards to enter programs into a computer rather than a keyboard. Column limitations were usefull when using punch cards. Unfortunately, the languages still exist, though punch cards do not. -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), 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: 256 bytes Desc: OpenPGP digital signature URL: From sourceforge-raindog2 at ...94... Wed Aug 25 18:20:19 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 25 Aug 2004 12:20:19 -0400 Subject: [Gambas-user] OT:Very nice compliments for gambas :)) In-Reply-To: <412CB614.9050302@...129...> References: <200408242129.03285.bundeshund@...467...> <1093379116.670.54.camel@...559...> <412CB614.9050302@...129...> Message-ID: <200408251220.19848.sourceforge-raindog2@...94...> On Wednesday 25 August 2004 11:53, Philip A. Chapman wrote: > # Only capital letters can be used. Some characters in the > ASCII range 0-32 are normal characters for COBOL I've worked with a number of different COBOL flavors, but all Unix or Windows based. While they all had most of the restrictions you mention, I haven't seen one that was case sensitive (even though most COBOL programmers still have the caps lock key on when they're programming.) Is this still a mainframe thing or just the way it used to be? Incidentally, one of my clients has a pretty sizable VB app that has been blocking their attempts to roll out a Linux desktop, and in the last 2 weeks of part time work (20 hours a week or thereabouts) I have rewritten 90% of it in Gambas without even the aid of any auto-conversion perl scripts. This includes a fully functional double buffered green screen terminal, and ssh (over a pipe) and raw socket connections all over the place. I really think Gambas is ready for production environments at this point. Rob From gambas at ...1... Wed Aug 25 22:06:12 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 25 Aug 2004 22:06:12 +0200 Subject: [Gambas-user] Big bug in gambas 0.98 Message-ID: <200408252206.12072.gambas@...1...> I am cursed ! There should be one boring bug in each version... The check made by the database component on the primary key during table creation is buggy: it always fails. I will try to fix it now and will post a gambas 0.98a as soon as possible... Regards, -- Benoit Minisini mailto:gambas at ...1... From grahame at ...457... Wed Aug 25 22:15:38 2004 From: grahame at ...457... (Grahame White) Date: Wed, 25 Aug 2004 21:15:38 +0100 Subject: [Gambas-user] Big bug in gambas 0.98 In-Reply-To: <200408252206.12072.gambas@...1...> References: <200408252206.12072.gambas@...1...> Message-ID: <200408252115.38325.grahame@...457...> On Wednesday 25 August 2004 21:06, Benoit Minisini wrote: > I am cursed ! There should be one boring bug in each version... In that case maybe you should do a release candidate or 2 before you release a version :) Grahame From gambas at ...1... Wed Aug 25 22:23:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 25 Aug 2004 22:23:36 +0200 Subject: [Gambas-user] Big bug in gambas 0.98 In-Reply-To: <200408252115.38325.grahame@...457...> References: <200408252206.12072.gambas@...1...> <200408252115.38325.grahame@...457...> Message-ID: <200408252223.36744.gambas@...1...> On Wednesday 25 August 2004 22:15, Grahame White wrote: > On Wednesday 25 August 2004 21:06, Benoit Minisini wrote: > > I am cursed ! There should be one boring bug in each version... > > In that case maybe you should do a release candidate or 2 before you > release a version :) > > Grahame > I will do that soon, for the 1.0... -- Benoit Minisini mailto:gambas at ...1... From rizky at ...568... Thu Aug 26 03:33:11 2004 From: rizky at ...568... (Rizky Tahara Shita) Date: Thu, 26 Aug 2004 08:33:11 +0700 Subject: [Gambas-user] Database Manager In-Reply-To: References: <200403241653.57586.ronstk@...239...> <200408032355.50836.k-p.richter@...20...> Message-ID: <6.0.0.22.2.20040826082925.07039330@...329...> At 09:19 04/08/2004, Budi Arief Gusandi wrote: >Dear All, > >I compiled gambas 096 last night. Evrything compiled well ;), only that >the gambas shortcut doesn't appear in the KDE Start Menu (Application >Development), just like the previous one. >1. In Gambas Manager, if i choose a mysql table, and goto to Data Tab, the >Database Manager is immediately closed, no warning or error message. Dunno >why..but It worx for SQlite. For ProgreSQL, i dont know... >2. To Rizky Tahara...You must update the Database Report Sample, it >crashes when start running it. humm... may be i'll try to fix it after gambas a little bit more stable (stable than the 0.98)... anywa y, every one can understand the algorithm to create a nice and friendly GUI with gambas and also when connecting to the database from my example... :) *sorry to reply this too long, i haven't read my mails since 3 august 2004* From edward_cjhsu at ...253... Thu Aug 26 09:28:20 2004 From: edward_cjhsu at ...253... (Edward Hsu) Date: Thu, 26 Aug 2004 03:28:20 -0400 (EDT) Subject: [Gambas-user] Big bug in gambas 0.98 In-Reply-To: <200408252223.36744.gambas@...1...> Message-ID: <20040826072820.76570.qmail@...589...> Dear Benoit, I am very proud that you and your team have done a beautiful job for LINUX users. This is a wonderful program. I would like to make a small suggestion which is to include odbtp driver so that we can connect all Win32-based databases from LINUX. The odbtp offers connection for PHP and C only. So I believe it is easy for you and your team to include it. The odbtp website is: http://odbtp.sourceforge.net/ Thanks for your good and hard works. Regards, Edward ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca From gambas at ...1... Thu Aug 26 09:34:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Aug 2004 09:34:41 +0200 Subject: [Gambas-user] Can't create files... In-Reply-To: <200408242356.44407.amarok.wolf@...588...> References: <200408242356.44407.amarok.wolf@...588...> Message-ID: <200408260934.41622.gambas@...1...> On Wednesday 25 August 2004 00:56, Amarok wrote: > Hi... > > i have this on a program i'm creating: > > PRIVATE file1 AS File ' 1? ficheiro aberto > > PUBLIC SUB Form_Open() > 'criar ficheiro Orglock (bloqueio a 2? instancia) > OPEN "teste" FOR CREATE AS #file1 ' > PRINT #file1, "Ficheiro Lock do Organizador... "; > PRINT #file1, "deve ser apagado caso o Organizador nao arranque" > CLOSE #file1 > > END SUB > > now, at the point of "OPEN "teste" FOR CREATE AS #file1" > I allways get the error "File or directory das not exist" > > I've try'd several combinations like: > CREATE WRITE > WRITE CREATE > CREATE APPEND > but none of them works > > If i create the file "test" myself, then the program opens it and write the > text i've tell him to do. > I want to put the created files in the same directory as the executable > file, so i have the executable file in my home partition so I can have > write access to it > > the system is Debian with kernel 2.4.27 > > Can anybody teach me what am i doing wrong? > Thank's in advance > Amarok > You are not allowed to create file in the project directory. See your project directory as read-only for your application. I admit that I should change the error message which is not very clear! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Aug 26 09:35:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Aug 2004 09:35:32 +0200 Subject: [Gambas-user] Big bug in gambas 0.98 In-Reply-To: <200408252206.12072.gambas@...1...> References: <200408252206.12072.gambas@...1...> Message-ID: <200408260935.32401.gambas@...1...> On Wednesday 25 August 2004 22:06, Benoit Minisini wrote: > I am cursed ! There should be one boring bug in each version... > > The check made by the database component on the primary key during table > creation is buggy: it always fails. > > I will try to fix it now and will post a gambas 0.98a as soon as > possible... > > Regards, I have uploaded the source archive of 0.98a that fixed the bug. Regards, -- Benoit Minisini mailto:gambas at ...1... From binoyjones at ...67... Thu Aug 26 11:54:13 2004 From: binoyjones at ...67... (binoy jones) Date: Thu, 26 Aug 2004 15:24:13 +0530 Subject: [Gambas-user] Big bug in gambas 0.98 Message-ID: Hi, This problem I have reported with 0.83 two months back. Hope you remember it. Thanks for fixing it. Regards Binoy >From: Benoit Minisini >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] Big bug in gambas 0.98 >Date: Thu, 26 Aug 2004 09:35:32 +0200 > >On Wednesday 25 August 2004 22:06, Benoit Minisini wrote: > > I am cursed ! There should be one boring bug in each version... > > > > The check made by the database component on the primary key during table > > creation is buggy: it always fails. > > > > I will try to fix it now and will post a gambas 0.98a as soon as > > possible... > > > > Regards, > >I have uploaded the source archive of 0.98a that fixed the bug. > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... > > >------------------------------------------------------- >SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media >100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 >Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. >http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user _________________________________________________________________ Sell what you don?t Need.We help you Ship it out. http://go.msnserver.com/IN/54179.asp Click Here! From kuznik at ...582... Thu Aug 26 13:24:46 2004 From: kuznik at ...582... (Michael Kuznik) Date: Thu, 26 Aug 2004 13:24:46 +0200 Subject: [Gambas-user] SuSE 9.1 & 9.0 Message-ID: <412DC87E.5070003@...582...> Hi, when I made an executeable File (SuSE 9.1) an wan't to execute it on 9.0 it dosn't work? The Error message is: ERROR: #27: Cannot load component '/usr/lib/gambas/lib.gb.qt.so': /usr/lib/gambas/lib.gb.qt.so: undefined symbol: _ZN9QComboBox4hideEv what must I do to get it work? Michael From ottaviomacino at ...412... Thu Aug 26 14:39:30 2004 From: ottaviomacino at ...412... (pretore60) Date: Thu, 26 Aug 2004 14:39:30 +0200 Subject: [Gambas-user] Database In-Reply-To: <001601c489fe$5c39b200$57284254@...360...> References: <4128C1D9.6080502@...412...> <001601c489fe$5c39b200$57284254@...360...> Message-ID: <412DDA02.9070408@...412...> Nigel Gerrard ha scritto: > Check to see whether the driver libraries have been installed for > gambas: > > ls-l /opt/gambas/lib/gambas/*my* > > If they are not there then they have not been compiled. > > In gambas0.97a try: > > ./reconf > > Then rerun configure pointing to the relevant paths: > > eg. > configure --with-mysql-includes=/usr..../include/mysql > --with-mysql-librarie > s=/usr/lib/mysql > > > Thank's. I've followed your advice and all it's ok. Ottavio From bundeshund at ...467... Thu Aug 26 17:06:10 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 26 Aug 2004 17:06:10 +0200 Subject: [Gambas-user] OT:Very nice compliments for gambas :)) In-Reply-To: <1093379116.670.54.camel@...559...> References: <200408242129.03285.bundeshund@...467...> <1093379116.670.54.camel@...559...> Message-ID: <200408261706.10841.bundeshund@...467...> Am Dienstag, 24. August 2004 22:25 schrieb Michael Sullivan: > Text has to be entered in specific column positions? Sounds like RPG > (unfortunately it has nothing to do with popular games like Final > Fantasy.) I had to take a semester of RPG at college a few years ago. > It was easy, sort of. It seemed mostly stupid, since I also learned VB > and COBOL at that college I really hated the column restriction > though... > > Yes, it is RPG. Far as I know there were 3 big evaluation steps: RPG, RPGIII and ILE-RPG. Easy is relative. It is a bit comparing to assembler. For example the 'move'- or 'cmp'-commands are used in this way: (20|21|22 are some flags/boolean which can be on or off, dependimg on the result of the CoMPare-comand, or set by a move-command: *on move *IN20) 0815 C 1 MOVE MYVAR 1 0 0816 C MYVAR CMP 1 202122 0817 C 20 0 Z-ADD MYVAR which means: MYVAR as Integer IN20 as Boolean MYVAR = 1 If MYVAR = 1 Then IN20 = TRUE ENDIF If IN20 = TRUE Then MYVAR = 0 ENDIF Since a few year there is an 'eval'-command. You can use it like: 0815 C EVAL MYVAR = 0 This is a great feature in ILE-RPG ;) And You can use embedded SQL, but very uncomfortable. Each field has to be declared in the programm header before. Using a SQL-join with 30 fields is not that fun. All output must be written to a file. There are display-files for the dialoge, printer-files for printing or spoolfiles for storing and viewing/printing the data. All that files have to be compiled before you can link them into your RPG-Programm. Sorry of to be such OT and sorry for whining, but only for you lucky people out there, who don't know that some of us must use some real horrobly programming language and enviroments nearly all day. (The most time I have to fix or dilate old programms (up tol 15 years old). I want to rewrite them, but this is undisired) ;)) HM From Karl.Reinl at ...9... Thu Aug 26 22:43:30 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 26 Aug 2004 20:43:30 +0000 Subject: [Gambas-user] where is showmodal gone Message-ID: <200408262043.30050.Karl.Reinl@...9...> Salut, I do not know if it was 0.98 or 0.98a at 0.97 it still works. And in the ChageLog I find it at gambas-0.22 - 18 Mar 2002 last time . But showmodal don't work anymore. Amicalement Charlie From gambasfr at ...11... Thu Aug 26 21:53:01 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 26 Aug 2004 21:53:01 +0200 Subject: [Gambas-user] SuSE 9.1 & 9.0 In-Reply-To: <412DC87E.5070003@...582...> References: <412DC87E.5070003@...582...> Message-ID: <200408262153.01466.gambasfr@...11...> Le jeudi 26 Ao?t 2004 13:24, Michael Kuznik a ?crit?: > Hi, > > when I made an executeable File (SuSE 9.1) an wan't to > execute it on 9.0 it dosn't work? > The Error message is: > > ERROR: #27: Cannot load component '/usr/lib/gambas/lib.gb.qt.so': > /usr/lib/gambas/lib.gb.qt.so: undefined symbol: _ZN9QComboBox4hideEv > > what must I do to get it work? > > Michael hi Michael... I think the problem come from your gambas installation on suze 9.0 the qt component is not installed ! regards, Fabien Bodard > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Aug 26 22:02:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Aug 2004 22:02:36 +0200 Subject: [Gambas-user] OT:Very nice compliments for gambas :)) In-Reply-To: <200408261706.10841.bundeshund@...467...> References: <200408242129.03285.bundeshund@...467...> <1093379116.670.54.camel@...559...> <200408261706.10841.bundeshund@...467...> Message-ID: <200408262202.36246.gambas@...1...> On Thursday 26 August 2004 17:06, Hans-Martin Bundeshund wrote: > Am Dienstag, 24. August 2004 22:25 schrieb Michael Sullivan: > > Text has to be entered in specific column positions? Sounds like RPG > > (unfortunately it has nothing to do with popular games like Final > > Fantasy.) I had to take a semester of RPG at college a few years ago. > > It was easy, sort of. It seemed mostly stupid, since I also learned VB > > and COBOL at that college I really hated the column restriction > > though... > > Yes, it is RPG. Far as I know there were 3 big evaluation steps: RPG, > RPGIII and ILE-RPG. > > Easy is relative. It is a bit comparing to assembler. For example the > 'move'- or 'cmp'-commands are used in this way: (20|21|22 are some > flags/boolean which can be on or off, dependimg on the result of the > CoMPare-comand, or set by a move-command: *on move *IN20) > > > 0815 C 1 MOVE MYVAR 1 0 > 0816 C MYVAR CMP 1 202122 > 0817 C 20 0 Z-ADD MYVAR > > which means: > > MYVAR as Integer > IN20 as Boolean > > MYVAR = 1 > If MYVAR = 1 Then > IN20 = TRUE > ENDIF > > If IN20 = TRUE Then > MYVAR = 0 > ENDIF > > Since a few year there is an 'eval'-command. You can use it like: > > 0815 C EVAL MYVAR = 0 > > This is a great feature in ILE-RPG ;) > And You can use embedded SQL, but very uncomfortable. Each field has to be > declared in the programm header before. Using a SQL-join with 30 fields is > not that fun. All output must be written to a file. There are display-files > for the dialoge, printer-files for printing or spoolfiles for storing and > viewing/printing the data. All that files have to be compiled before you > can link them into your RPG-Programm. > > > Sorry of to be such OT and sorry for whining, but only for you lucky people > out there, who don't know that some of us must use some real horrobly > programming language and enviroments nearly all day. (The most time I have > to fix or dilate old programms (up tol 15 years old). I want to rewrite > them, but this is undisired) ;)) > > HM > > You could write sort of compiler that would transform sort of higher level language in RPG :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Aug 26 22:06:13 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Aug 2004 22:06:13 +0200 Subject: [Gambas-user] Big bug in gambas 0.98 In-Reply-To: References: Message-ID: <200408262206.13194.gambas@...1...> On Thursday 26 August 2004 11:54, binoy jones wrote: > Hi, > This problem I have reported with 0.83 two months back. Hope you remember > it. Thanks for fixing it. > > Regards > Binoy > Actually, it is a bug introduced in 0.98, so it isn't related to your problem. Each time somebody reports a bug, I mark its e-mail as important. And I keep all e-mails I receive on my har disk. This way, I forget (almost) nothing :-) If you don't have news about a bug after many versions, just write a new mail on the mailing-list, saying "Hey, this bug is present in 0.xx version yet!". If I apparently forget to fix something, it means generally that I couldn't reproduce the problem, and that I need more information. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Aug 26 22:10:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Aug 2004 22:10:17 +0200 Subject: [Gambas-user] SuSE 9.1 & 9.0 In-Reply-To: <200408262153.01466.gambasfr@...11...> References: <412DC87E.5070003@...582...> <200408262153.01466.gambasfr@...11...> Message-ID: <200408262210.17642.gambas@...1...> On Thursday 26 August 2004 21:53, Bodard Fabien wrote: > Le jeudi 26 Ao?t 2004 13:24, Michael Kuznik a ?crit?: > > Hi, > > > > when I made an executeable File (SuSE 9.1) an wan't to > > execute it on 9.0 it dosn't work? > > The Error message is: > > > > ERROR: #27: Cannot load component '/usr/lib/gambas/lib.gb.qt.so': > > /usr/lib/gambas/lib.gb.qt.so: undefined symbol: _ZN9QComboBox4hideEv > > > > what must I do to get it work? > > > > Michael > > hi Michael... > > I think the problem come from your gambas installation on suze 9.0 > the qt component is not installed ! > > regards, > > Fabien Bodard > No, it means that the installed qt library doesn't match the one used for compiling the qt component. So maybe did you install gambas from badly made binary packages ? I need help about this problem, because I can only make binary packages for the Mandrake. So if you are a SuSE user, for example, try to ask SuSE to make correct packages for Gambas, with an intense lobbying :-) if you can't do it yourself. I will put every information needed to make correct packages in the sources before the 1.0. I think the problem of binary packages will be solved one day, but it is not as faster as I'd like! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Aug 26 22:10:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 26 Aug 2004 22:10:46 +0200 Subject: [Gambas-user] where is showmodal gone In-Reply-To: <200408262043.30050.Karl.Reinl@...9...> References: <200408262043.30050.Karl.Reinl@...9...> Message-ID: <200408262210.46503.gambas@...1...> On Thursday 26 August 2004 22:43, Charlie Reinl wrote: > Salut, > > I do not know if it was 0.98 or 0.98a at 0.97 it still works. > And in the ChageLog I find it at gambas-0.22 - 18 Mar 2002 last time . > > But showmodal don't work anymore. > > Amicalement > Charlie > More information ? -- Benoit Minisini mailto:gambas at ...1... From matteocam at ...590... Thu Aug 26 22:16:26 2004 From: matteocam at ...590... (matteocam at ...590...) Date: 26 Aug 2004 20:16:26 -0000 Subject: [Gambas-user] GbQtColumnView without columns? Message-ID: <20040826201626.19508.qmail@...591...> When I create a ColumnView How do I add Columns at it? I have already looked at the documentation but I haven't found anything about. Matteo ----------------------------------------------------------- La nuova Email di superEva e' piu' veloce, piu' sicura, ed ha molte nuove funzioni utili, provala! http://webmail.supereva.it/ ----------------------------------------------------------- From na2492 at ...9... Thu Aug 26 23:08:00 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Thu, 26 Aug 2004 23:08:00 00200 Subject: [Gambas-user] where is showmodal gone Message-ID: <412e5130.30ce.0@...9...> >On Thursday 26 August 2004 22:43, Charlie Reinl wrote: >> Salut, >> >> I do not know if it was 0.98 or 0.98a at 0.97 it still works. >> And in the ChageLog I find it at gambas-0.22 - 18 Mar 2002 last time . >> >> But showmodal don't work anymore. >> >> Amicalement >> Charlie >> > >More information ? > >-- >Benoit Minisini download http://www.binara.com/gambas-wiki/bin/view/Gambas/InputBox and try it, but for having a form popedup, you have to change in inputbox.Run hForm.ShowModal() to hForm.Show() ShowModal does not worke anymore: Using: ????????gambas-0.98a ?(downloaded from the gambas-shrine) ????????gentoo 1.4 ????????Qt: 3.3.2 ????????KDE: 3.2.2 ????????gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6) ????????mysql ?Ver 12.22 Distrib 4.0.20, for pc-linux-gnu (i686) ????????psql (PostgreSQL) 7.4.3 ????????sqlite 2.8.13 Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambasfr at ...11... Thu Aug 26 23:17:42 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 26 Aug 2004 23:17:42 +0200 Subject: [Gambas-user] SuSE 9.1 & 9.0 In-Reply-To: <200408262210.17642.gambas@...1...> References: <412DC87E.5070003@...582...> <200408262153.01466.gambasfr@...11...> <200408262210.17642.gambas@...1...> Message-ID: <200408262317.42568.gambasfr@...11...> Le jeudi 26 Ao?t 2004 22:10, Benoit Minisini a ?crit?: > On Thursday 26 August 2004 21:53, Bodard Fabien wrote: > > Le jeudi 26 Ao?t 2004 13:24, Michael Kuznik a ?crit?: > > > Hi, > > > > > > when I made an executeable File (SuSE 9.1) an wan't to > > > execute it on 9.0 it dosn't work? > > > The Error message is: > > > > > > ERROR: #27: Cannot load component '/usr/lib/gambas/lib.gb.qt.so': > > > /usr/lib/gambas/lib.gb.qt.so: undefined symbol: _ZN9QComboBox4hideEv > > > > > > what must I do to get it work? > > > > > > Michael > > > > hi Michael... > > > > I think the problem come from your gambas installation on suze 9.0 > > the qt component is not installed ! > > > > regards, > > > > Fabien Bodard > No, it means that the installed qt library doesn't match the one used for BEEEP... I LOSE... Sometine it's better to say nothing... no ? Salutation, Fabien Bodard > compiling the qt component. So maybe did you install gambas from badly made > binary packages ? > > I need help about this problem, because I can only make binary packages for > the Mandrake. So if you are a SuSE user, for example, try to ask SuSE to > make correct packages for Gambas, with an intense lobbying :-) if you can't > do it yourself. I will put every information needed to make correct > packages in the sources before the 1.0. > > I think the problem of binary packages will be solved one day, but it is > not as faster as I'd like! > > Regards, From gambasfr at ...11... Thu Aug 26 23:25:24 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 26 Aug 2004 23:25:24 +0200 Subject: [Gambas-user] GbQtColumnView without columns? In-Reply-To: <20040826201626.19508.qmail@...591...> References: <20040826201626.19508.qmail@...591...> Message-ID: <200408262325.24185.gambasfr@...11...> Le jeudi 26 Ao?t 2004 22:16, matteocam at ...590... a ?crit?: > When I create a ColumnView How do I add Columns at it? > > I have already looked at the documentation but I haven't found anything > about. > > Matteo hi mateo, Do that ColumnView1.Count = 3 '(set your columncount) and to set the text in the headers , ColumnView1.Column[0].text = "header0" ColumnView1.Column[1].text = "header1" ColumnView1.Column[2].text = "header2" To set the value : ColumnView.add("key1", "Hello") ColumnView.["key1"][1] = "pretty" ColumnView.["key1"][2] = "world" Regards, Fabien Bodard > ----------------------------------------------------------- > La nuova Email di superEva e' piu' veloce, piu' sicura, ed > ha molte nuove funzioni utili, provala! > http://webmail.supereva.it/ > ----------------------------------------------------------- > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From a_monteiro at ...588... Fri Aug 27 00:22:42 2004 From: a_monteiro at ...588... (Americo Monteiro) Date: Thu, 26 Aug 2004 23:22:42 +0100 Subject: [Gambas-user] Re: Can't create files... In-Reply-To: References: Message-ID: <200408262322.42206.a_monteiro@...588...> > You are not allowed to create file in the project directory. See your > proje= ct=20 > directory as read-only for your application. > > I admit that I should change the error message which is not very clear! > > Regards, > > =2D-=20 > Benoit Minisini Hi Benoit I don't know if this reply is going to be placed in the correct position, if not then forgive me... 1st time replying and i don't know if i'm doing this right. :) So, the program can't create files in the same directory it is located, ok, but that isn't realy read-only because if i told him to open a file in write mode, i can write to it even if the file is in the same directory as the program. that i've tested :) oh, it's true, the help should be a little more clear in this matters. A second question : Do you think, maybe in the future, adding more codifications like iso8859-15 on Gambas or it will be always limited to UTF-8? My system is in iso8859-15 and i'm making this program, to read huge data files that were created by is tween-broder (for windows) that i've created many years ago... so, i'm making a linux version of a programa i've made for windows... the great gool is making the two versions 100% compatible to share the same data files... i know there are some things to work around, but having Gambas only working with UTF-8 is becoming a pain in the neck :( It's a frustration because i don't see any caracters changing while open my files with windows or with debian in iso8859-15. I'm writing from Portugal, UTF-8 is not realy the end of the world to me, i think (hope) i can add some convertion instructions, but let's us see things this way: If somebody from the other side of the world want to create (with gambas) programs with the text, titles, captions, etc in chinese or korean caracters, can he do it with UTF-8 ? thank's... you got a great program here, mutch better than another basic ide i've tried ;) Regards Amarok From michael at ...558... Fri Aug 27 04:12:19 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 26 Aug 2004 21:12:19 -0500 Subject: [Gambas-user] I need a color selection box! In-Reply-To: <200408122342.04519.gambas@...1...> References: <1092101829.4036.20.camel@...559...> <1092104365.4035.24.camel@...559...> <1092346724.19180.5.camel@...559...> <200408122342.04519.gambas@...1...> Message-ID: <1093572739.2914.10.camel@...559...> Is there a way in Gambas to display a dialog box with a color wheel where the user can select a color and the dialog box will return the value to the program (for setting the colour of controls and such? I posted this a week or two ago and nobody responded. I hope there's a way... From sourceforge-raindog2 at ...94... Fri Aug 27 04:50:38 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 26 Aug 2004 22:50:38 -0400 Subject: [Gambas-user] I need a color selection box! In-Reply-To: <1093572739.2914.10.camel@...559...> References: <1092101829.4036.20.camel@...559...> <200408122342.04519.gambas@...1...> <1093572739.2914.10.camel@...559...> Message-ID: <200408262250.38300.sourceforge-raindog2@...94...> On Thursday 26 August 2004 22:12, Michael Sullivan wrote: > Is there a way in Gambas to display a dialog box with a color > wheel where the user can select a color and the dialog box > will return the value to the program (for setting the colour > of controls and such? I posted this a week or two ago and > nobody responded. I hope there's a way... I know it's not a wheel per se, but what's wrong with Dialog.SelectColor? Rob From michael at ...558... Fri Aug 27 05:15:45 2004 From: michael at ...558... (Michael Sullivan) Date: Thu, 26 Aug 2004 22:15:45 -0500 Subject: [Gambas-user] I need a color selection box! In-Reply-To: <200408262250.38300.sourceforge-raindog2@...94...> References: <1092101829.4036.20.camel@...559...> <200408122342.04519.gambas@...1...> <1093572739.2914.10.camel@...559...> <200408262250.38300.sourceforge-raindog2@...94...> Message-ID: <1093576545.2914.12.camel@...559...> How do I use it? Can you give me an example? On Thu, 2004-08-26 at 21:50, Rob wrote: > On Thursday 26 August 2004 22:12, Michael Sullivan wrote: > > Is there a way in Gambas to display a dialog box with a color > > wheel where the user can select a color and the dialog box > > will return the value to the program (for setting the colour > > of controls and such? I posted this a week or two ago and > > nobody responded. I hope there's a way... > > I know it's not a wheel per se, but what's wrong with > Dialog.SelectColor? > > Rob > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ronstk at ...239... Fri Aug 27 05:48:01 2004 From: ronstk at ...239... (ron) Date: Fri, 27 Aug 2004 05:48:01 +0200 Subject: [Gambas-user] Greets from Ron O. Message-ID: <200408270548.01605.ronstk@...239...> Due illness I'm not able to use my computer at home. Now I have got a laptop and connect to my home on the linux machine to send this message. My laptop is to small to have linux on it, need bigger HD. Has W98 on it. Also it unknown to me, I will be able to continue within a short time, using the computer(s) and Linux. Plans are there but depends on how everything is going on in near future. For now I can only say I have a 'Writers block' also and can't program any thing right or even finish a textbox on a form. Concentration and annalize where the problems are etc. Hope it will return else it make no sense anymore for me. Despite of that I managed to update to 0.98 from remote station and keep Linux running doing useless nothing. Cost me almost a day now. Constant tired of the little work. May be I'm also able to start using in a few weeks I hope. @Fabian B Sorry that I had to stop to look for the Family stuff. A leak of proper editor and usable via remote access. Quanta sucks, tries to open old files already gone. Using the DOM view crashes to frequently. Kate opens dirty in old mode with search and replace box and in the new way the left side project window closes constant. It may be have more power then UltraEdit but a stable working and userfriendly program is for me more interesting. @Leo B I can still not reach the site without proxy.tiscali.nl tcptrace did returns idiot packets on resolving the hostname directly. Look to me a problem in server setup. @Benoit M Keep on going and success to get 1.0 swimming on the world. Typing this mail is already to much work for me ATM. I wake up in the middle of the night and took my change to send this. Going try to sleep again now. greets Ron. From sourceforge-raindog2 at ...94... Fri Aug 27 06:00:44 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 27 Aug 2004 00:00:44 -0400 Subject: [Gambas-user] I need a color selection box! In-Reply-To: <1093576545.2914.12.camel@...559...> References: <1092101829.4036.20.camel@...559...> <200408262250.38300.sourceforge-raindog2@...94...> <1093576545.2914.12.camel@...559...> Message-ID: <200408270000.44612.sourceforge-raindog2@...94...> On Thursday 26 August 2004 23:15, Michael Sullivan wrote: > How do I use it? Can you give me an example? Sure, off the top of my head, here goes. I suppose I should add it to the wiki page, once i've actually verified that it compiles ;) DIM mycolor AS Integer IF Dialog.SelectColor() THEN ' true means "cancel" mycolor = Color.White ' my usual default ELSE ' user picked a color mycolor = Dialog.Color ENDIF somecontrol.background = mycolor ' your control should now be a new color. Rob From kuznik at ...582... Fri Aug 27 08:26:31 2004 From: kuznik at ...582... (Michael Kuznik) Date: Fri, 27 Aug 2004 08:26:31 +0200 Subject: [Gambas-user] SuSE 9.1 & 9.0 In-Reply-To: <200408262210.17642.gambas@...1...> References: <412DC87E.5070003@...582...> <200408262153.01466.gambasfr@...11...> <200408262210.17642.gambas@...1...> Message-ID: <412ED417.6060303@...582...> Benoit Minisini schrieb: > On Thursday 26 August 2004 21:53, Bodard Fabien wrote: > >>Le jeudi 26 Ao?t 2004 13:24, Michael Kuznik a ?crit : >> >>>Hi, >>> >>>when I made an executeable File (SuSE 9.1) an wan't to >>>execute it on 9.0 it dosn't work? >>>The Error message is: >>> >>>ERROR: #27: Cannot load component '/usr/lib/gambas/lib.gb.qt.so': >>>/usr/lib/gambas/lib.gb.qt.so: undefined symbol: _ZN9QComboBox4hideEv >>> >>>what must I do to get it work? >>> >>>Michael >> >>hi Michael... >> >>I think the problem come from your gambas installation on suze 9.0 >>the qt component is not installed ! >> >>regards, >> >>Fabien Bodard >> > > > No, it means that the installed qt library doesn't match the one used for > compiling the qt component. So maybe did you install gambas from badly made > binary packages ? > > I need help about this problem, because I can only make binary packages for > the Mandrake. So if you are a SuSE user, for example, try to ask SuSE to make > correct packages for Gambas, with an intense lobbying :-) if you can't do it > yourself. I will put every information needed to make correct packages in the > sources before the 1.0. > > I think the problem of binary packages will be solved one day, but it is not > as faster as I'd like! > > Regards, > Now I tried several things. I wanted to use the RPM made by SuSE. But when I try to install, there are "Failed dependencies". I think this happens because the SuSE employee has updated his KDE to 3.2. I'll try to send the problem to SuSE, hope they'll fix soon! Michael Kuznik From pchapman at ...129... Fri Aug 27 09:13:18 2004 From: pchapman at ...129... (Philip A. Chapman) Date: Fri, 27 Aug 2004 02:13:18 -0500 Subject: [Gambas-user] OT:Very nice compliments for gambas :)) In-Reply-To: <200408251220.19848.sourceforge-raindog2@...94...> References: <200408242129.03285.bundeshund@...467...> <1093379116.670.54.camel@...559...> <412CB614.9050302@...129...> <200408251220.19848.sourceforge-raindog2@...94...> Message-ID: <412EDF0E.6050808@...129...> Rob wrote: > On Wednesday 25 August 2004 11:53, Philip A. Chapman wrote: > >># Only capital letters can be used. Some characters in the >>ASCII range 0-32 are normal characters for COBOL > > > I've worked with a number of different COBOL flavors, but all > Unix or Windows based. While they all had most of the > restrictions you mention, I haven't seen one that was case > sensitive (even though most COBOL programmers still have the > caps lock key on when they're programming.) Is this still a > mainframe thing or just the way it used to be? > It has been a long time since I've worked with COBOL. This may be a restriction that has been dropped in recent versions/implementations. -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), 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: 256 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Fri Aug 27 10:53:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Aug 2004 10:53:07 +0200 Subject: [Gambas-user] where is showmodal gone In-Reply-To: <412e5130.30ce.0@...9...> References: <412e5130.30ce.0@...9...> Message-ID: <200408271053.07992.gambas@...1...> On Friday 27 August 2004 01:08, na2492 at ...9... wrote: > >On Thursday 26 August 2004 22:43, Charlie Reinl wrote: > >> Salut, > >> > >> I do not know if it was 0.98 or 0.98a at 0.97 it still works. > >> And in the ChageLog I find it at gambas-0.22 - 18 Mar 2002 last time . > >> > >> But showmodal don't work anymore. > >> > >> Amicalement > >> Charlie > > > >More information ? > > > >-- > >Benoit Minisini > > download http://www.binara.com/gambas-wiki/bin/view/Gambas/InputBox > > and try it, but for having a form popedup, you have to change in > inputbox.Run > > hForm.ShowModal() to hForm.Show() > > ShowModal does not worke anymore: > Using: > ????????gambas-0.98a ?(downloaded from the gambas-shrine) > ????????gentoo 1.4 > ????????Qt: 3.3.2 > ????????KDE: 3.2.2 > ????????gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6) > ????????mysql ?Ver 12.22 Distrib 4.0.20, for pc-linux-gnu (i686) > ????????psql (PostgreSQL) 7.4.3 > ????????sqlite 2.8.13 > Amicalement > Charlie > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > Well, ShowModal() is used everywhere in the IDE, and I didn't see any problem with it. Isn't it the InputBox that don't work anymore instead ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 27 10:58:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Aug 2004 10:58:05 +0200 Subject: [Gambas-user] Re: Can't create files... In-Reply-To: <200408262322.42206.a_monteiro@...588...> References: <200408262322.42206.a_monteiro@...588...> Message-ID: <200408271058.05647.gambas@...1...> On Friday 27 August 2004 00:22, Americo Monteiro wrote: > > You are not allowed to create file in the project directory. See your > > proje= ct=20 > > directory as read-only for your application. > > > > I admit that I should change the error message which is not very clear! > > > > Regards, > > > > =2D-=20 > > Benoit Minisini > > Hi Benoit > > I don't know if this reply is going to be placed in the correct position, > if not then forgive me... 1st time replying and i don't know if i'm doing > this right. :) > > So, the program can't create files in the same directory it is located, ok, > but that isn't realy read-only because if i told him to open a file in > write mode, i can write to it even if the file is in the same directory as > the program. that i've tested :) Really ? It is a bug so! > oh, it's true, the help should be a little more clear in this matters. > > A second question : > Do you think, maybe in the future, adding more codifications like > iso8859-15 on Gambas or it will be always limited to UTF-8? UTF-8 is not a limit, it is the solution :-) Did you see the Conv$() function: with it, you can convert a string from almost any charset to any other charset. > My system is in iso8859-15 and i'm making this program, to read huge data > files that were created by is tween-broder (for windows) that i've created > many years ago... so, i'm making a linux version of a programa i've made > for windows... the great gool is making the two versions 100% compatible to > share the same data files... i know there are some things to work around, > but having Gambas only working with UTF-8 is becoming a pain in the neck :( Why ? > It's a frustration because i don't see any caracters changing while open my > files with windows or with debian in iso8859-15. > I'm writing from Portugal, UTF-8 is not realy the end of the world to me, i > think (hope) i can add some convertion instructions, but let's us see > things this way: > If somebody from the other side of the world want to create (with gambas) > programs with the text, titles, captions, etc in chinese or korean > caracters, can he do it with UTF-8 ? Didn't you see that there is chinese translations of Gambas ? > > thank's... you got a great program here, mutch better than another basic > ide i've tried ;) > > Regards > Amarok > > Regards, -- Benoit Minisini mailto:gambas at ...1... From budi at ...415... Fri Aug 27 02:03:03 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Fri, 27 Aug 2027 16:01:06 +0700 Subject: [Gambas-user] BENOIT : EMhhhh ;) In-Reply-To: <200408271058.05647.gambas@...1...> References: <200408262322.42206.a_monteiro@...588...> <200408271058.05647.gambas@...1...> Message-ID: Hi benoit... Seems you're in rush to go to version 1 ;) Regards, Budi From gambas at ...1... Fri Aug 27 11:24:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Aug 2004 11:24:07 +0200 Subject: [Gambas-user] Big bug in gambas 0.98 In-Reply-To: <20040826072820.76570.qmail@...589...> References: <20040826072820.76570.qmail@...589...> Message-ID: <200408271124.07619.gambas@...1...> On Thursday 26 August 2004 09:28, Edward Hsu wrote: > Dear Benoit, > > I am very proud that you and your team have done a > beautiful job for LINUX users. This is a wonderful > program. I would like to make a small suggestion which > is to include odbtp driver so that we can connect all > Win32-based databases from LINUX. > > The odbtp offers connection for PHP and C only. So I > believe it is easy for you and your team to include > it. The odbtp website is: > > http://odbtp.sourceforge.net/ > > Thanks for your good and hard works. > > Regards, > > Edward > I didn't know this library: very good idea actually. I note it in my TODO list. I saw only one problem: it seems that this library don't allow to retrieve information information about tables, users, fields... Which is needed for the way the gambas driver work. Hmm... Maybe this needs a rework of the driver interface... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Aug 27 11:31:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Aug 2004 11:31:07 +0200 Subject: [Gambas-user] Big bug in gambas 0.98 In-Reply-To: <200408271124.07619.gambas@...1...> References: <20040826072820.76570.qmail@...589...> <200408271124.07619.gambas@...1...> Message-ID: <200408271131.07927.gambas@...1...> On Friday 27 August 2004 11:24, Benoit Minisini wrote: > On Thursday 26 August 2004 09:28, Edward Hsu wrote: > > Dear Benoit, > > > > I am very proud that you and your team have done a > > beautiful job for LINUX users. This is a wonderful > > program. I would like to make a small suggestion which > > is to include odbtp driver so that we can connect all > > Win32-based databases from LINUX. > > > > The odbtp offers connection for PHP and C only. So I > > believe it is easy for you and your team to include > > it. The odbtp website is: > > > > http://odbtp.sourceforge.net/ > > > > Thanks for your good and hard works. > > > > Regards, > > > > Edward > > I didn't know this library: very good idea actually. I note it in my TODO > list. > > I saw only one problem: it seems that this library don't allow to retrieve > information information about tables, users, fields... I read the odbtp forums, and I saw that it is possible to retrieve the structure of the database. Cool! -- Benoit Minisini mailto:gambas at ...1... From michael at ...558... Fri Aug 27 16:26:32 2004 From: michael at ...558... (Michael Sullivan) Date: Fri, 27 Aug 2004 09:26:32 -0500 Subject: [Gambas-user] OT:Very nice compliments for gambas :)) In-Reply-To: <412EDF0E.6050808@...129...> References: <200408242129.03285.bundeshund@...467...> <1093379116.670.54.camel@...559...> <412CB614.9050302@...129...> <200408251220.19848.sourceforge-raindog2@...94...> <412EDF0E.6050808@...129...> Message-ID: <1093616791.9063.3.camel@...559...> I preferred to use capital letters in COBOL. Ours was the first class to use a local IDE instead of working off the mainframe. Our programs compiled a lot faster that way. The capital letters were easier to me to read. I couldn't see very well. I've had surgery to install interocular implants since then... On Fri, 2004-08-27 at 02:13, Philip A. Chapman wrote: > Rob wrote: > > On Wednesday 25 August 2004 11:53, Philip A. Chapman wrote: > > > >># Only capital letters can be used. Some characters in the > >>ASCII range 0-32 are normal characters for COBOL > > > > > > I've worked with a number of different COBOL flavors, but all > > Unix or Windows based. While they all had most of the > > restrictions you mention, I haven't seen one that was case > > sensitive (even though most COBOL programmers still have the > > caps lock key on when they're programming.) Is this still a > > mainframe thing or just the way it used to be? > > > > It has been a long time since I've worked with COBOL. This may be a > restriction that has been dropped in recent versions/implementations. From sourceforge-raindog2 at ...94... Fri Aug 27 17:55:46 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 27 Aug 2004 11:55:46 -0400 Subject: [Gambas-user] mandrake packages of 0.98a Message-ID: <200408271155.46952.sourceforge-raindog2@...94...> I made Mandrake 9.2 and 10.0 packages of gambas 0.98a. This time around I also made a "gambas-all" package which does nothing except require all the other packages, something Benoit had been wanting to do for a while IIRC. I made it as a separate package and separate src.rpm, but there's no reason it couldn't be integrated into the main gambas.spec.mandrake file. http://www.kudla.org/index.php?wl_mode=more&wl_eid=60 Rob From gambas at ...1... Fri Aug 27 18:25:38 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Aug 2004 18:25:38 +0200 Subject: [Gambas-user] mandrake packages of 0.98a In-Reply-To: <200408271155.46952.sourceforge-raindog2@...94...> References: <200408271155.46952.sourceforge-raindog2@...94...> Message-ID: <200408271825.38328.gambas@...1...> On Friday 27 August 2004 17:55, Rob wrote: > I made Mandrake 9.2 and 10.0 packages of gambas 0.98a. This time > around I also made a "gambas-all" package which does nothing > except require all the other packages, something Benoit had been > wanting to do for a while IIRC. I made it as a separate package > and separate src.rpm, but there's no reason it couldn't be > integrated into the main gambas.spec.mandrake file. > > http://www.kudla.org/index.php?wl_mode=more&wl_eid=60 > > Rob > Thanks for the package, I didn't have the time to make them at my job. The gambas-ide package requires all other packages, so it is a sort of equivalent of gambas-all :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Fri Aug 27 18:40:45 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 27 Aug 2004 12:40:45 -0400 Subject: [Gambas-user] mandrake packages of 0.98a In-Reply-To: <200408271825.38328.gambas@...1...> References: <200408271155.46952.sourceforge-raindog2@...94...> <200408271825.38328.gambas@...1...> Message-ID: <200408271240.45850.sourceforge-raindog2@...94...> On Friday 27 August 2004 12:25, Benoit Minisini wrote: > The gambas-ide package requires all other packages, so it is a > sort of equivalent of gambas-all :-) Oh, I didn't realize it required all the components, I thought that's why you put all the components in separate packages was so people who didn't want (for example) gb.sdl didn't need to have sdl installed :) Well, that'll save me some work next time. Rob From karl.reinl at ...9... Fri Aug 27 20:30:40 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 27 Aug 2004 20:30:40 +0200 Subject: [Gambas-user] Greets from Ron O. References: <200408270548.01605.ronstk@...239...> Message-ID: <412F7DD0.8030807@...9...> ron schrieb: >--------- snip ------------ > > Salut Ron, nice, having news from you. Good luck . Amicalement Charlie From karl.reinl at ...9... Fri Aug 27 20:24:51 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 27 Aug 2004 20:24:51 +0200 Subject: [Gambas-user] where is showmodal gone References: <412e5130.30ce.0@...9...> <200408271053.07992.gambas@...1...> Message-ID: <412F7C73.5050003@...9...> Benoit Minisini schrieb: >On Friday 27 August 2004 01:08, na2492 at ...9... wrote: > > >>>On Thursday 26 August 2004 22:43, Charlie Reinl wrote: >>> >>> >>>>Salut, >>>> >>>>I do not know if it was 0.98 or 0.98a at 0.97 it still works. >>>>And in the ChageLog I find it at gambas-0.22 - 18 Mar 2002 last time . >>>> >>>>But showmodal don't work anymore. >>>> >>>>Amicalement >>>>Charlie >>>> >>>> >>>More information ? >>> >>>-- >>>Benoit Minisini >>> >>> >>download http://www.binara.com/gambas-wiki/bin/view/Gambas/InputBox >> >>and try it, but for having a form popedup, you have to change in >>inputbox.Run >> >>hForm.ShowModal() to hForm.Show() >> >>ShowModal does not worke anymore: >>Using: >> gambas-0.98a (downloaded from the gambas-shrine) >> gentoo 1.4 >> Qt: 3.3.2 >> KDE: 3.2.2 >> gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6) >> mysql Ver 12.22 Distrib 4.0.20, for pc-linux-gnu (i686) >> psql (PostgreSQL) 7.4.3 >> sqlite 2.8.13 >>Amicalement >>Charlie >> >>* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * >> >> >> > >Well, ShowModal() is used everywhere in the IDE, and I didn't see any problem >with it. > >Isn't it the InputBox that don't work anymore instead ? > >Regards, > > > Will check that, cause IDE runs well. But I stuck allway at ShowModal() , and if I change it to Show() the form pops up. Charlie From karl.reinl at ...9... Fri Aug 27 20:22:13 2004 From: karl.reinl at ...9... (Charlie) Date: Fri, 27 Aug 2004 20:22:13 +0200 Subject: [Gambas-user] BENOIT : EMhhhh ;) References: <200408262322.42206.a_monteiro@...588...> <200408271058.05647.gambas@...1...> Message-ID: <412F7BD5.4080004@...9...> BUDI ARIEF GUSANDI schrieb: Salut , I thought gambas 1.0 will come out 2004 / 2005 and now I see that in 2027 it isn't still out. So I don't understand why Beno?t should be in rush after all that years. But I'm happy I'M still alive. Amicalement Charlie > Hi benoit... > > Seems you're in rush to go to version 1 ;) > > Regards, > > Budi > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From michael at ...558... Fri Aug 27 21:08:52 2004 From: michael at ...558... (Michael Sullivan) Date: Fri, 27 Aug 2004 14:08:52 -0500 Subject: [Gambas-user] BENOIT : EMhhhh ;) In-Reply-To: <412F7BD5.4080004@...9...> References: <200408262322.42206.a_monteiro@...588...> <200408271058.05647.gambas@...1...> <412F7BD5.4080004@...9...> Message-ID: <1093633732.3393.0.camel@...559...> ? On Fri, 2004-08-27 at 13:22, Charlie wrote: > BUDI ARIEF GUSANDI schrieb: > > Salut , > > I thought gambas 1.0 will come out 2004 / 2005 and now I see that in > 2027 it isn't still out. > So I don't understand why Beno??t should be in rush after all that years. > > But I'm happy I'M still alive. > > Amicalement > Charlie > > > Hi benoit... > > > > Seems you're in rush to go to version 1 ;) > > > > Regards, > > > > Budi > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > 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 BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&op??k > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Fri Aug 27 22:24:49 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 27 Aug 2004 22:24:49 +0200 Subject: [Gambas-user] Greets from Ron O. In-Reply-To: <200408270548.01605.ronstk@...239...> References: <200408270548.01605.ronstk@...239...> Message-ID: <200408272224.49494.gambasfr@...11...> Le vendredi 27 Ao?t 2004 05:48, ron a ?crit?: Happy to have some news about you.... Good luck I've changed many thing on my site, and going to work again this weekk ;) regards, Fabien Bodard From Karl.Reinl at ...9... Sat Aug 28 00:13:15 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 27 Aug 2004 22:13:15 +0000 Subject: [Gambas-user] ShowModal() Message-ID: <200408272213.15412.Karl.Reinl@...9...> Salut Benaoit, I had been back to gambas-0.97 and gambas-0.97a my exampl the InpputBox run like it sould. At gambas-0.98 and gambas-0.98a it don't run with ShowModal() (0.98 and 0.98a Iinstalled new from the tar-pack and dit the 3. What dit mainly change since 0.98 . Is my qt to old ? Using: ????????gentoo 1.4 ????????Qt: 3.3.2 ????????KDE: 3.2.2 ????????gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6) The ShowModal() is known by the completation. I changed Form controles are public to FALSE. That ditn't chagne anything. I ran it as root. That ditn't chagne anything. But the IDE, even a Copy from the IDE ran in the IDE, works. Have you any debug hints for me ? My be it's my style to call it ? I made the attached project ShowModalTest, No Idea, it don't run. Show works ShowModal ditn't. ??????????? In attached ShowModalTest2 it works. But only after one failed run ( stoped after the Msbox, where the IDE shout down), then it reclams a StartUp Class, which was set befor. If you have any debug hint for me , that would be greate. (Startin gambas in a xconsole shows nothing.) Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: ShowModalTest-0.0.1.tar.gz Type: application/x-tgz Size: 747 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ShowModalTest2-0.0.1.tar.gz Type: application/x-tgz Size: 681 bytes Desc: not available URL: From karl.reinl at ...9... Sat Aug 28 00:21:50 2004 From: karl.reinl at ...9... (Charlie) Date: Sat, 28 Aug 2004 00:21:50 +0200 Subject: [Gambas-user] BENOIT : EMhhhh ;) References: <200408262322.42206.a_monteiro@...588...> <200408271058.05647.gambas@...1...> <412F7BD5.4080004@...9...> <1093633732.3393.0.camel@...559...> Message-ID: <412FB3FE.70104@...9...> Michael Sullivan schrieb: >? > OK > > >On Fri, 2004-08-27 at 13:22, Charlie wrote: > > >>BUDI ARIEF GUSANDI schrieb: >> >>Salut , >> >>I thought gambas 1.0 will come out 2004 / 2005 and now I see that in >>2027 it isn't still out. >>So I don't understand why Beno??t should be in rush after all that years. >> >>But I'm happy I'M still alive. >> >>Amicalement >>Charlie >> >> >> >>>Hi benoit... >>> >>>Seems you're in rush to go to version 1 ;) >>> >>>Regards, >>> >>>Budi >>> >>> -------------- next part -------------- A non-text attachment was scrubbed... Name: Schnappschuss3.png Type: image/png Size: 38464 bytes Desc: not available URL: From g.brandl at ...18... Fri Aug 27 22:39:54 2004 From: g.brandl at ...18... (Georg Brandl) Date: Fri, 27 Aug 2004 22:39:54 +0200 Subject: [Gambas-user] BENOIT : EMhhhh ;) In-Reply-To: <1093633732.3393.0.camel@...559...> References: <200408262322.42206.a_monteiro@...588...> <200408271058.05647.gambas@...1...> <412F7BD5.4080004@...9...> <1093633732.3393.0.camel@...559...> Message-ID: <412F9C1A.8070604@...18...> Michael Sullivan wrote: > ? See the date of Budi's mail. mfg Georg From michael at ...558... Fri Aug 27 23:33:04 2004 From: michael at ...558... (Michael Sullivan) Date: Fri, 27 Aug 2004 16:33:04 -0500 Subject: [Gambas-user] BENOIT : EMhhhh ;) In-Reply-To: <412F9C1A.8070604@...18...> References: <200408262322.42206.a_monteiro@...588...> <200408271058.05647.gambas@...1...> <412F7BD5.4080004@...9...> <1093633732.3393.0.camel@...559...> <412F9C1A.8070604@...18...> Message-ID: <1093642384.3393.2.camel@...559...> Oh LOL! I finished my TODO project this morning. Gotta think of a new project now... On Fri, 2004-08-27 at 15:39, Georg Brandl wrote: > Michael Sullivan wrote: > > ? > > See the date of Budi's mail. > > mfg > Georg > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Aug 27 23:43:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 27 Aug 2004 23:43:17 +0200 Subject: [Gambas-user] ShowModal() In-Reply-To: <200408272213.15412.Karl.Reinl@...9...> References: <200408272213.15412.Karl.Reinl@...9...> Message-ID: <200408272343.17513.gambas@...1...> On Saturday 28 August 2004 00:13, Charlie Reinl wrote: > Salut Benaoit, > > I had been back to gambas-0.97 and gambas-0.97a my exampl the InpputBox > run like it sould. > At gambas-0.98 and gambas-0.98a it don't run with ShowModal() (0.98 and > 0.98a Iinstalled new from the tar-pack and dit the 3. > > What dit mainly change since 0.98 . > Is my qt to old ? > > Using: > ????????gentoo 1.4 > ????????Qt: 3.3.2 > ????????KDE: 3.2.2 > ????????gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6) > > The ShowModal() is known by the completation. > I changed Form controles are public to FALSE. That ditn't chagne anything. > I ran it as root. That ditn't chagne anything. > > But the IDE, even a Copy from the IDE ran in the IDE, works. > > Have you any debug hints for me ? > > My be it's my style to call it ? > > I made the attached project ShowModalTest, No Idea, it don't run. Show > works ShowModal ditn't. ??????????? > > In attached ShowModalTest2 it works. > But only after one failed run ( stoped after the Msbox, where the IDE shout > down), then it reclams a StartUp Class, which was set befor. > > If you have any debug hint for me , that would be greate. > (Startin gambas in a xconsole shows nothing.) > > Amicalement > Charlie You have found a bug, and a stupid one :-) If the first created window was shown modal, then I tried to make the window its own parent. That made Qt library enters an infinite loop... I join a patch... Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: CWindow.cpp Type: text/x-c++src Size: 43253 bytes Desc: not available URL: From "Jeff Johnson" at direcway.com Sat Aug 28 03:09:52 2004 From: "Jeff Johnson" at direcway.com (Jeff Johnson) Date: Fri, 27 Aug 2004 18:09:52 -0700 Subject: [Gambas-user] Database Edit error with SQlite Message-ID: <200408271809.52729.JeffJohnson@...377...> $hConn AS Connection rWeather AS result PUBLIC SUB Form_Open() $hConn = NEW Connection WITH $hConn .Type = "sqlite" .Name = "/home/jeffjohnson/projects//Database/WXaprs/WXaprs.db" .open END WITH END PUBLIC SUB Button1_Click() DIM rWeather AS result $hConn.Begin >>>>I do not get past this line rweather = $hconn.edit("ClimateData","Callsign = &1","THORN") >>>>>I get an error "Type mismatch: Wanted Void, Got String instead" >>>>What am I doing wrong? 'rweather.update $hConn.commit END From debian at ...593... Sat Aug 28 10:55:12 2004 From: debian at ...593... (Debian_cryulez) Date: Sat, 28 Aug 2004 10:55:12 +0200 Subject: [Gambas-user] Set variable with EXEC Message-ID: <003201c48cdc$bae35190$2600a8c0@...594...> Is possible to set a variable with a output of command exec? Ex. If I lunch a whoami, I can set a variable with the shell return (root)? -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Sat Aug 28 14:20:34 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Aug 2004 14:20:34 +0200 Subject: [Gambas-user] Set variable with EXEC In-Reply-To: <003201c48cdc$bae35190$2600a8c0@...594...> References: <003201c48cdc$bae35190$2600a8c0@...594...> Message-ID: <200408281420.34962.gambas@...1...> On Saturday 28 August 2004 10:55, Debian_cryulez wrote: > Is possible to set a variable with a output of command exec? > Ex. If I lunch a whoami, I can set a variable with the shell return (root)? This is planned, but not for the 1.0 version. This will be something like DIM sResult as String EXEC [ "whoami" ] TO sResult Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 28 14:57:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Aug 2004 14:57:43 +0200 Subject: [Gambas-user] Database Edit error with SQlite In-Reply-To: <200408271809.52729.JeffJohnson@...377...> References: <200408271809.52729.JeffJohnson@...377...> Message-ID: <200408281457.43484.gambas@...1...> On Saturday 28 August 2004 03:09, Jeff Johnson wrote: > $hConn AS Connection > rWeather AS result > > PUBLIC SUB Form_Open() > > $hConn = NEW Connection > > > WITH $hConn > .Type = "sqlite" > .Name = "/home/jeffjohnson/projects//Database/WXaprs/WXaprs.db" > .open > END WITH > > END > > PUBLIC SUB Button1_Click() > DIM rWeather AS result > > $hConn.Begin > > >>>>I do not get past this line > > rweather = $hconn.edit("ClimateData","Callsign = &1","THORN") > > >>>>>I get an error "Type mismatch: Wanted Void, Got String instead" > >>>> > >>>>What am I doing wrong? Nothing, this is a bad bug in the interpreter... I join a patch that fixes it. Put it in ./src/exec. Tell me if you have any problem with it. Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx_exec.c Type: text/x-csrc Size: 24775 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Sat Aug 28 20:10:21 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Aug 2004 14:10:21 -0400 Subject: [Gambas-user] return of gambas-complete Message-ID: <200408281410.21093.sourceforge-raindog2@...94...> Since the gambas-all packages turned out to be unnecessary, I brought back the gambas-complete packages for gambas 0.98a and mandrake 9.2/10.0. They provide all the same RPM resources and files as the 18 individual gambas packages. Get them here: http://www.kudla.org/index.php?wl_mode=more&wl_eid=61 There was a problem with the last gambas-complete packages, namely that they were missing some info files making it impossible to create new forms in the IDE. Testing on my own 10.0 system finds this bug gone, but I would like to hear of any problems with this new package that don't exist in the normal set of packages. Rob From Karl.Reinl at ...9... Sat Aug 28 22:04:34 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 28 Aug 2004 20:04:34 +0000 Subject: [Gambas-user] ShowModal() solved Message-ID: <200408282004.34665.Karl.Reinl@...9...> Salut Benoit, now ShowModal() reworks . Thanks Amicalement Charlie From sourceforge-raindog2 at ...94... Sat Aug 28 20:23:08 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Aug 2004 14:23:08 -0400 Subject: [Gambas-user] oddities in syntax completion Message-ID: <200408281423.08935.sourceforge-raindog2@...94...> In 0.98a (maybe some earlier versions but this is the first time I noticed it) there are a few inconsistencies. - If you type, say, "message." in lowercase you get a completion dropdown, but if you type "me." or "Me." you don't. It has to be "ME." - If you type "Draw.Font.", the dropdown you get contains only "Resolution". All the other font symbols are missing even though they appear to be valid in that context. I ran into others, but those are the only two I can remember well enough to recreate now. Rob From "Jeff Johnson" at direcway.com Sat Aug 28 22:24:54 2004 From: "Jeff Johnson" at direcway.com (Jeff Johnson) Date: Sat, 28 Aug 2004 13:24:54 -0700 Subject: [Gambas-user] Database Edit error with SQlite In-Reply-To: <200408281457.43484.gambas@...1...> References: <200408271809.52729.JeffJohnson@...377...> <200408281457.43484.gambas@...1...> Message-ID: <200408281324.54494.JeffJohnson@...377...> Everything works fine now, except for the rWeather.update that I have before $hConn.commit Gambas reports SQL Error of missing database a .count reports that it did find the record, but it can not update the record Thank you for your help On Saturday 28 August 2004 5:57 am, Benoit Minisini wrote: > On Saturday 28 August 2004 03:09, Jeff Johnson wrote: > > $hConn AS Connection > > rWeather AS result > > > > PUBLIC SUB Form_Open() > > > > $hConn = NEW Connection > > > > > > WITH $hConn > > .Type = "sqlite" > > .Name = "/home/jeffjohnson/projects//Database/WXaprs/WXaprs.db" > > .open > > END WITH > > > > END > > > > PUBLIC SUB Button1_Click() > > DIM rWeather AS result > > > > $hConn.Begin > > > > >>>>I do not get past this line > > > > rweather = $hconn.edit("ClimateData","Callsign = &1","THORN") > > > > >>>>>I get an error "Type mismatch: Wanted Void, Got String instead" > > >>>> > > >>>>What am I doing wrong? > > Nothing, this is a bad bug in the interpreter... I join a patch that fixes > it. Put it in ./src/exec. > > Tell me if you have any problem with it. > > Regards, From gambas at ...1... Sat Aug 28 20:33:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Aug 2004 20:33:29 +0200 Subject: [Gambas-user] Database Edit error with SQlite In-Reply-To: <200408281324.54494.JeffJohnson@...377...> References: <200408271809.52729.JeffJohnson@...377...> <200408281457.43484.gambas@...1...> <200408281324.54494.JeffJohnson@...377...> Message-ID: <200408282033.30008.gambas@...1...> On Saturday 28 August 2004 22:24, Jeff Johnson wrote: > Everything works fine now, except for the rWeather.update that I have > before $hConn.commit > > Gambas reports SQL Error of missing database > > a .count reports that it did find the record, but it can not update the > record > > Thank you for your help > It may be another bug... Have you more information ? Can you send me some code with the correpsonding sqlite database ? Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Aug 28 20:37:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Aug 2004 20:37:05 +0200 Subject: [Gambas-user] oddities in syntax completion In-Reply-To: <200408281423.08935.sourceforge-raindog2@...94...> References: <200408281423.08935.sourceforge-raindog2@...94...> Message-ID: <200408282037.05476.gambas@...1...> On Saturday 28 August 2004 20:23, Rob wrote: > In 0.98a (maybe some earlier versions but this is the first time > I noticed it) there are a few inconsistencies. > > - If you type, say, "message." in lowercase you get a completion > dropdown, but if you type "me." or "Me." you don't. It has to > be "ME." I'm currently working on it :-) > > - If you type "Draw.Font.", the dropdown you get contains only > "Resolution". All the other font symbols are missing even > though they appear to be valid in that context. Mmm... Didn't notice that, thanks for the report. -- Benoit Minisini mailto:gambas at ...1... From michael at ...558... Sat Aug 28 21:13:29 2004 From: michael at ...558... (Michael Sullivan) Date: Sat, 28 Aug 2004 14:13:29 -0500 Subject: [Gambas-user] Gambas RPM's for FC1 In-Reply-To: <200408281410.21093.sourceforge-raindog2@...94...> References: <200408281410.21093.sourceforge-raindog2@...94...> Message-ID: <1093720409.3472.2.camel@...559...> Are there Gambas rpms for Fedora Core 1? I made my TODO project into an installation package and tried to install it. The package manager said that a couple of RPMs were missing. I built gambas-0.96 from source, so I don't know why there would be a dependency issue. I use FC1. I tried installing FC2, but my PC is not fast enough to use it adequately. Please help! On Sat, 2004-08-28 at 13:10, Rob wrote: > Since the gambas-all packages turned out to be unnecessary, I > brought back the gambas-complete packages for gambas 0.98a and > mandrake 9.2/10.0. They provide all the same RPM resources and > files as the 18 individual gambas packages. Get them here: > > http://www.kudla.org/index.php?wl_mode=more&wl_eid=61 > > There was a problem with the last gambas-complete packages, > namely that they were missing some info files making it > impossible to create new forms in the IDE. Testing on my own > 10.0 system finds this bug gone, but I would like to hear of any > problems with this new package that don't exist in the normal > set of packages. > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From amarok.wolf at ...588... Sat Aug 28 21:31:17 2004 From: amarok.wolf at ...588... (Amarok) Date: Sat, 28 Aug 2004 20:31:17 +0100 Subject: [Gambas-user] Re: Re: Can't create files... In-Reply-To: References: Message-ID: <200408282031.17875.amarok.wolf@...588...> > From: Benoit Minisini Hello > Did you see the Conv$() function: with it, you can convert a string from > almost any charset to any other charset. Glup... :) i'm testing ti now > > to work around, but having Gambas only working with UTF-8 is becoming a > > pain in the neck :( > Why ? Man, i feel like a winp... i'm only using gambas for about a week, i didn't knew conv$... and System.Charset :) result$=conv$(rawdata$,System.Charset,"UTF-8") works just fine... and i can do the oposite before print on the files :) been so, the charset problem is solved Thank's Benoit Amarok From daydreamer at ...508... Sat Aug 28 23:08:49 2004 From: daydreamer at ...508... (daydreamer) Date: Sat, 28 Aug 2004 23:08:49 +0200 Subject: [Gambas-user] VB <-> Gambas: LoadPicture-Function Message-ID: <4130F461.6070405@...508...> hi! i tried to load a picture into a picturebox with the VB-function loadpicture, but it didn't work. Is there a function in Gambas, which is like this ? thanks Fabian -------------------- sorry about my bad English - I'm German :-) From michael at ...558... Sat Aug 28 23:12:42 2004 From: michael at ...558... (Michael Sullivan) Date: Sat, 28 Aug 2004 16:12:42 -0500 Subject: [Gambas-user] VB <-> Gambas: LoadPicture-Function (OT) In-Reply-To: <4130F461.6070405@...508...> References: <4130F461.6070405@...508...> Message-ID: <1093727561.3472.8.camel@...559...> Your English is better than a lot of Americans' I've sought assistance from... On Sat, 2004-08-28 at 16:08, daydreamer wrote: > hi! > i tried to load a picture into a > picturebox with the VB-function loadpicture, > but it didn't work. > Is there a function in Gambas, > which is like this ? > > thanks > Fabian > -------------------- > sorry about my bad English - I'm German :-) > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Aug 28 23:25:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 28 Aug 2004 23:25:41 +0200 Subject: [Gambas-user] VB <-> Gambas: LoadPicture-Function In-Reply-To: <4130F461.6070405@...508...> References: <4130F461.6070405@...508...> Message-ID: <200408282325.41478.gambas@...1...> On Saturday 28 August 2004 23:08, daydreamer wrote: > hi! > i tried to load a picture into a > picturebox with the VB-function loadpicture, > but it didn't work. > Is there a function in Gambas, > which is like this ? > > thanks > Fabian > -------------------- > sorry about my bad English - I'm German :-) > To put a picture in a Picture box, you have three ways: 1) Get it from another control :-) hPictureBox.Picture = hAnotherPictureBox.Picture 2) Create a new picture from a file and put it in the PictureBox. DIM hPicture AS Picture hPicture = NEW Picture hPicture.Load("/path/to/my/picture") hPictureBox.Picture = hPicture 3) Use the internal picture cache. hPictureBox.Picture = Picture["/path/to/my/picture"] The picture is stored in the cache, so that the next time you want the same file, the same picture object is returned. Regards, -- Benoit Minisini mailto:gambas at ...1... From "Jeff Johnson" at direcway.com Sun Aug 29 02:06:13 2004 From: "Jeff Johnson" at direcway.com (Jeff Johnson) Date: Sat, 28 Aug 2004 17:06:13 -0700 Subject: [Gambas-user] Database Edit error with SQlite In-Reply-To: <200408282033.30008.gambas@...1...> References: <200408271809.52729.JeffJohnson@...377...> <200408281324.54494.JeffJohnson@...377...> <200408282033.30008.gambas@...1...> Message-ID: <200408281706.14102.JeffJohnson@...377...> I don't think you will have a problem with the segment I am sending.. Just change your path to the db On Saturday 28 August 2004 11:33 am, Benoit Minisini wrote: > On Saturday 28 August 2004 22:24, Jeff Johnson wrote: > > Everything works fine now, except for the rWeather.update that I have > > before $hConn.commit > > > > Gambas reports SQL Error of missing database > > > > a .count reports that it did find the record, but it can not update the > > record > > > > Thank you for your help > > It may be another bug... Have you more information ? Can you send me some > code with the correpsonding sqlite database ? > > Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tar.gz Type: application/x-tgz Size: 3677 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Sun Aug 29 01:59:14 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sat, 28 Aug 2004 19:59:14 -0400 Subject: [Gambas-user] Gambas RPM's for FC1 In-Reply-To: <1093720409.3472.2.camel@...559...> References: <200408281410.21093.sourceforge-raindog2@...94...> <1093720409.3472.2.camel@...559...> Message-ID: <200408281959.14362.sourceforge-raindog2@...94...> On Saturday 28 August 2004 15:13, Michael Sullivan wrote: > The package manager said that a couple of RPMs were missing. > I built gambas-0.96 from source, so I don't know why there > would be a dependency issue. I use FC1. I tried installing > FC2, but my PC is not fast enough to use it adequately. Please > help! If you install something from source, RPM doesn't know it's installed. Therefore, those RPM's probably really *are* missing. It's possible that you could get the FC2 source RPM's for gambas, and rebuild them, but I don't know whether FC1's Qt is new enough. Rob From sourceforge-raindog2 at ...94... Sun Aug 29 07:27:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Aug 2004 01:27:53 -0400 Subject: [Gambas-user] Click events and mouse buttons Message-ID: <200408290127.53038.sourceforge-raindog2@...94...> I noticed tonight that at least in the Treeview's Click event, trying to access the Mouse class (e.g. Mouse.Right, to see if the right mouse button was used for the click) raises an error saying there's no active mouse event. I can use MouseUp or MouseDown except then the event gets thrown if the user clicks on the plus sign next to a node to expand or collapse it, which makes life more difficult. Looking at the documentation for QTreeView, its click event does return a button/modifier value. This seems to be true for most or all widgets' click events. Is this insufficient to enable the Mouse class in Click events, or was this just an oversight? Rob From gambas at ...1... Sun Aug 29 11:26:56 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 29 Aug 2004 11:26:56 +0200 Subject: [Gambas-user] Click events and mouse buttons In-Reply-To: <200408290127.53038.sourceforge-raindog2@...94...> References: <200408290127.53038.sourceforge-raindog2@...94...> Message-ID: <200408291126.56625.gambas@...1...> On Sunday 29 August 2004 07:27, Rob wrote: > I noticed tonight that at least in the Treeview's Click event, > trying to access the Mouse class (e.g. Mouse.Right, to see if > the right mouse button was used for the click) raises an error > saying there's no active mouse event. I can use MouseUp or > MouseDown except then the event gets thrown if the user clicks > on the plus sign next to a node to expand or collapse it, which > makes life more difficult. > > Looking at the documentation for QTreeView, There is no QTreeView in QT. Maybe you mean QListView ? > its click event does > return a button/modifier value. I didn't see it: the click signal has no data that would allow to fill the Mouse class... > This seems to be true for most > or all widgets' click events. I missed something... > Is this insufficient to enable the > Mouse class in Click events, or was this just an oversight? > > Rob > If you tell me where I can find what you are talking about :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 29 15:46:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 29 Aug 2004 15:46:35 +0200 Subject: [Gambas-user] Database Edit error with SQlite In-Reply-To: <200408281706.14102.JeffJohnson@...377...> References: <200408271809.52729.JeffJohnson@...377...> <200408282033.30008.gambas@...1...> <200408281706.14102.JeffJohnson@...377...> Message-ID: <200408291546.35594.gambas@...1...> On Sunday 29 August 2004 02:06, Jeff Johnson wrote: > I don't think you will have a problem with the segment I am sending.. Just > change your path to the db > > On Saturday 28 August 2004 11:33 am, Benoit Minisini wrote: > > On Saturday 28 August 2004 22:24, Jeff Johnson wrote: > > > Everything works fine now, except for the rWeather.update that I have > > > before $hConn.commit > > > > > > Gambas reports SQL Error of missing database > > > > > > a .count reports that it did find the record, but it can not update the > > > record > > > > > > Thank you for your help > > > > It may be another bug... Have you more information ? Can you send me some > > code with the correpsonding sqlite database ? > > > > Regards, I created a project from the files you sent me, but it is easier for me if you send me a complete archive of a project ("make source archive" in the Project menu). Your table has no primary key, which prevents the Edit() method working. There was a bug that prevented Edit() to stop with error, an so everything failed when calling Update(). Regards, -- Benoit Minisini mailto:gambas at ...1... From "Jeff Johnson" at direcway.com Sun Aug 29 18:24:38 2004 From: "Jeff Johnson" at direcway.com (Jeff Johnson) Date: Sun, 29 Aug 2004 09:24:38 -0700 Subject: [Gambas-user] Database Edit error with SQlite In-Reply-To: <200408291546.35594.gambas@...1...> References: <200408271809.52729.JeffJohnson@...377...> <200408281706.14102.JeffJohnson@...377...> <200408291546.35594.gambas@...1...> Message-ID: <200408290924.39123.JeffJohnson@...377...> If edit will not work without a Primary Key.. then that may be my problem.. I tried the Database example that came with Gambas. I do not remember it causing an error before, but it does now. When trying to create the primary key, it errors with "Unknown field: id" I did apply the gb.exec.c patch you sent. All of the other code in my program is extracting and processing the data from a Radio Shack (Oregon Scientific) wireless weather station and storing it in an Access database. It is from a Ham Radio APRS VB program I wrote many years ago. Thanks for the help.. On Sunday 29 August 2004 6:46 am, Benoit Minisini wrote: > On Sunday 29 August 2004 02:06, Jeff Johnson wrote: > > I don't think you will have a problem with the segment I am sending.. > > Just change your path to the db > > > > On Saturday 28 August 2004 11:33 am, Benoit Minisini wrote: > > > On Saturday 28 August 2004 22:24, Jeff Johnson wrote: > > > > Everything works fine now, except for the rWeather.update that I > > > > have before $hConn.commit > > > > > > > > Gambas reports SQL Error of missing database > > > > > > > > a .count reports that it did find the record, but it can not update > > > > the record > > > > > > > > Thank you for your help > > > > > > It may be another bug... Have you more information ? Can you send me > > > some code with the correpsonding sqlite database ? > > > > > > Regards, > > I created a project from the files you sent me, but it is easier for me if > you send me a complete archive of a project ("make source archive" in the > Project menu). > > Your table has no primary key, which prevents the Edit() method working. > There was a bug that prevented Edit() to stop with error, an so everything > failed when calling Update(). > > Regards, From gambas at ...1... Sun Aug 29 16:36:26 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 29 Aug 2004 16:36:26 +0200 Subject: [Gambas-user] Database Edit error with SQlite In-Reply-To: <200408290924.39123.JeffJohnson@...377...> References: <200408271809.52729.JeffJohnson@...377...> <200408291546.35594.gambas@...1...> <200408290924.39123.JeffJohnson@...377...> Message-ID: <200408291636.26578.gambas@...1...> On Sunday 29 August 2004 18:24, Jeff Johnson wrote: > If edit will not work without a Primary Key.. then that may be my problem.. Without a primary key, how can you make the SQL 'UPDATE' request that modifies a currently edited record ? > I tried the Database example that came with Gambas. I do not remember it > causing an error before, but it does now. When trying to create the primary > key, it errors with "Unknown field: id" I did apply the gb.exec.c patch > you sent. > This bug has been fixed in gambas 0.98a. You should install it. > All of the other code in my program is extracting and processing the data > from a Radio Shack (Oregon Scientific) wireless weather station and storing > it in an Access database. It is from a Ham Radio APRS VB program I wrote > many years ago. > > > Thanks for the help.. > -- Benoit Minisini mailto:gambas at ...1... From mauriiiii3001 at ...325... Sun Aug 29 17:29:42 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Sun, 29 Aug 2004 17:29:42 +0200 Subject: [Gambas-user] Gambas Doc in Italian In-Reply-To: References: Message-ID: <4131F666.2080905@...325...> --------------- Ita Only -------------------- Finalmente dopo un paio di mesi la documentazione di Gambas pu? venir tradotta in Italiano grazie a Rob che ci ha aperto una sezione nella sua Wiki possiamo tradurre la documentazione con molta facilit?. il link per raggiungere la wiki ? http://www.binara.com/gambas-wiki/bin/view/GambasItaliano/WebHome sto preparando un sito per organizzare meglio la comunit?. Accorrete numerosi Gambas ha bisogno di Voi! :-) --------------- Ita Only -------------------- We can now translate the Gambas Doc in Italian. Thanks to Rob that opened a section in his now translate the doc is really easy. The link to get to the wiki is http://www.binara.com/gambas-wiki/bin/view/GambasItaliano/WebHome I'm working on a site to organize the translation. Gambas want YOU From sourceforge-raindog2 at ...94... Sun Aug 29 17:41:32 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Aug 2004 11:41:32 -0400 Subject: [Gambas-user] Click events and mouse buttons In-Reply-To: <200408291126.56625.gambas@...1...> References: <200408290127.53038.sourceforge-raindog2@...94...> <200408291126.56625.gambas@...1...> Message-ID: <200408291141.32875.sourceforge-raindog2@...94...> On Sunday 29 August 2004 05:26, Benoit Minisini wrote: > > Looking at the documentation for QTreeView, > There is no QTreeView in QT. Maybe you mean QListView ? Oops, I was looking at QT 4.0 documentation. http://doc.trolltech.com/4.0/qtreeview.html Never mind :) Rob From lordheavy at ...512... Sun Aug 29 19:05:03 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 29 Aug 2004 19:05:03 +0200 Subject: [Gambas-user] QTextview issue ? Message-ID: <200408291905.03794.lordheavy@...512...> When adding text into a textview, it is automaticly (?) enabled even if it was enabled before. -- Laurent Carlier From gambas at ...1... Sun Aug 29 19:11:21 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 29 Aug 2004 19:11:21 +0200 Subject: [Gambas-user] QTextview issue ? In-Reply-To: <200408291905.03794.lordheavy@...512...> References: <200408291905.03794.lordheavy@...512...> Message-ID: <200408291911.22068.gambas@...1...> On Sunday 29 August 2004 19:05, Laurent Carlier wrote: > When adding text into a textview, it is automaticly (?) enabled even if it > was enabled before. Sorry, but I didn't understand... -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Sun Aug 29 19:12:41 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 29 Aug 2004 19:12:41 +0200 Subject: [Gambas-user] QTextview issue ? In-Reply-To: <200408291905.03794.lordheavy@...512...> References: <200408291905.03794.lordheavy@...512...> Message-ID: <200408291912.41407.lordheavy@...512...> Le dimanche 29 Ao?t 2004 19:05, Laurent Carlier a ?crit?: > When adding text into a textview, it is automaticly (?) enabled even if it > was enabled before. even if it was NOT enabled before. -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: test-0.0.1.tar.gz Type: application/x-tgz Size: 7782 bytes Desc: not available URL: From rgcook at ...595... Sun Aug 29 19:16:29 2004 From: rgcook at ...595... (Robert G. Cook) Date: Sun, 29 Aug 2004 12:16:29 -0500 Subject: [Gambas-user] Gambas Documentation Message-ID: <200408291216.29323.rgcook@...595...> Is the Gambas documentation available in a more portable, consolidated format? For example, if the included documention (in *.html format) or Rob's Wiki was available as an OpenOffice document, I would find to be a very convenient format as I endeavor to learn, make notes, etc. Would this be of value to other [new] users like me? Bob From michael at ...558... Sun Aug 29 19:22:37 2004 From: michael at ...558... (Michael Sullivan) Date: Sun, 29 Aug 2004 12:22:37 -0500 Subject: [Gambas-user] Gambas Documentation In-Reply-To: <200408291216.29323.rgcook@...595...> References: <200408291216.29323.rgcook@...595...> Message-ID: <1093800156.15203.0.camel@...559...> Could the Gambas help files periodically be updated to include what's in the wikis? On Sun, 2004-08-29 at 12:16, Robert G. Cook wrote: > Is the Gambas documentation available in a more portable, consolidated format? > For example, if the included documention (in *.html format) or Rob's Wiki was > available as an OpenOffice document, I would find to be a very convenient > format as I endeavor to learn, make notes, etc. > > Would this be of value to other [new] users like me? > > Bob > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Aug 29 19:25:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 29 Aug 2004 19:25:53 +0200 Subject: [Gambas-user] QTextview issue ? In-Reply-To: <200408291912.41407.lordheavy@...512...> References: <200408291905.03794.lordheavy@...512...> <200408291912.41407.lordheavy@...512...> Message-ID: <200408291925.53973.gambas@...1...> On Sunday 29 August 2004 19:12, Laurent Carlier wrote: > Le dimanche 29 Ao?t 2004 19:05, Laurent Carlier a ?crit?: > > When adding text into a textview, it is automaticly (?) enabled even if > > it was enabled before. > > even if it was NOT enabled before. I don't see the problem. Do you think that a disabled control should not redraw itself ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Aug 29 19:42:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 29 Aug 2004 19:42:36 +0200 Subject: [Gambas-user] Gambas Documentation In-Reply-To: <1093800156.15203.0.camel@...559...> References: <200408291216.29323.rgcook@...595...> <1093800156.15203.0.camel@...559...> Message-ID: <200408291942.36695.gambas@...1...> On Sunday 29 August 2004 19:22, Michael Sullivan wrote: > Could the Gambas help files periodically be updated to include what's in > the wikis? > They are. -- Benoit Minisini mailto:gambas at ...1... From "Jeff Johnson" at direcway.com Sun Aug 29 21:39:30 2004 From: "Jeff Johnson" at direcway.com (Jeff Johnson) Date: Sun, 29 Aug 2004 12:39:30 -0700 Subject: [Gambas-user] Database Edit error with SQlite In-Reply-To: <200408291546.35594.gambas@...1...> References: <200408271809.52729.JeffJohnson@...377...> <200408281706.14102.JeffJohnson@...377...> <200408291546.35594.gambas@...1...> Message-ID: <200408291239.31020.JeffJohnson@...377...> Here you go On Sunday 29 August 2004 6:46 am, Benoit Minisini wrote: > On Sunday 29 August 2004 02:06, Jeff Johnson wrote: > > I don't think you will have a problem with the segment I am sending.. > > Just change your path to the db > > > > On Saturday 28 August 2004 11:33 am, Benoit Minisini wrote: > > > On Saturday 28 August 2004 22:24, Jeff Johnson wrote: > > > > Everything works fine now, except for the rWeather.update that I > > > > have before $hConn.commit > > > > > > > > Gambas reports SQL Error of missing database > > > > > > > > a .count reports that it did find the record, but it can not update > > > > the record > > > > > > > > Thank you for your help > > > > > > It may be another bug... Have you more information ? Can you send me > > > some code with the correpsonding sqlite database ? > > > > > > Regards, > > I created a project from the files you sent me, but it is easier for me if > you send me a complete archive of a project ("make source archive" in the > Project menu). > > Your table has no primary key, which prevents the Edit() method working. > There was a bug that prevented Edit() to stop with error, an so everything > failed when calling Update(). > > Regards, -------------- next part -------------- A non-text attachment was scrubbed... Name: WXaprs-0.0.5.tar.gz Type: application/x-tgz Size: 39734 bytes Desc: not available URL: From michael at ...558... Sun Aug 29 19:45:48 2004 From: michael at ...558... (Michael Sullivan) Date: Sun, 29 Aug 2004 12:45:48 -0500 Subject: [Gambas-user] Gambas Documentation In-Reply-To: <200408291942.36695.gambas@...1...> References: <200408291216.29323.rgcook@...595...> <1093800156.15203.0.camel@...559...> <200408291942.36695.gambas@...1...> Message-ID: <1093801547.15203.3.camel@...559...> How is the Gambas help search method implemented? I use 0.96 and every time I search for something in help it give me a list of a whole bunch of items that seem to have little to do with my search criteria and I have to scroll down and find the keyword I searched for. On Sun, 2004-08-29 at 12:42, Benoit Minisini wrote: > On Sunday 29 August 2004 19:22, Michael Sullivan wrote: > > Could the Gambas help files periodically be updated to include what's in > > the wikis? > > > > They are. From sourceforge-raindog2 at ...94... Sun Aug 29 19:36:34 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Aug 2004 13:36:34 -0400 Subject: [Gambas-user] Gambas Documentation In-Reply-To: <1093800156.15203.0.camel@...559...> References: <200408291216.29323.rgcook@...595...> <1093800156.15203.0.camel@...559...> Message-ID: <200408291336.00671.sourceforge-raindog2@...94...> On Sunday 29 August 2004 13:22, Michael Sullivan wrote: > Could the Gambas help files periodically be updated to include > what's in the wikis? They are, in every (or almost every) new version of gambas. I also have a daily job set up to generate a static (*.html) version of the wiki which you should be able to download from the main page, though I don't know if you can just drop that on top of your /usr/share/gambas/help directory. Rob From sourceforge-raindog2 at ...94... Sun Aug 29 19:41:18 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Aug 2004 13:41:18 -0400 Subject: [Gambas-user] Gambas Documentation In-Reply-To: <200408291216.29323.rgcook@...595...> References: <200408291216.29323.rgcook@...595...> Message-ID: <200408291341.18805.sourceforge-raindog2@...94...> On Sunday 29 August 2004 13:16, Robert G. Cook wrote: > Is the Gambas documentation available in a more portable, > consolidated format? For example, if the included documention > (in *.html format) or Rob's Wiki was available as an > OpenOffice document, I would find to be a very convenient > format as I endeavor to learn, make notes, etc. Ironically, the original Gambas dictionary upon which I based the wiki was an openoffice document. I think twiki (the wiki program we use) may have a plugin to export to an openoffice document while keeping the hyperlinks intact, and if there's not, I may try to write one because this does seem like a good idea. I have started writing a "Gambas for Penguins" book for newbies and VB users a couple times (work always gets me sidetracked), and being able to have it available in the wiki as well as one big document for short-run printing or whatever would be pretty helpful. Rob From sourceforge-raindog2 at ...94... Sun Aug 29 19:51:40 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Aug 2004 13:51:40 -0400 Subject: [Gambas-user] Gambas Documentation In-Reply-To: <1093801547.15203.3.camel@...559...> References: <200408291216.29323.rgcook@...595...> <200408291942.36695.gambas@...1...> <1093801547.15203.3.camel@...559...> Message-ID: <200408291351.40226.sourceforge-raindog2@...94...> On Sunday 29 August 2004 13:45, Michael Sullivan wrote: > How is the Gambas help search method implemented? I use 0.96 > and every time I search for something in help it give me a > list of a whole bunch of items that seem to have little to do > with my search criteria and I have to scroll down and find the > keyword I searched for. It's presently a dumb find, equivalent to a grep -il. I'm thinking about submitting a patch to list items with matching titles first, since chances are that's what you're looking for. In 0.98a, pressing F2 on a keyword or symbol will bring up its page in help (in most cases), so you should try that too when you upgrade. Rob From michael at ...558... Sun Aug 29 20:00:46 2004 From: michael at ...558... (Michael Sullivan) Date: Sun, 29 Aug 2004 13:00:46 -0500 Subject: [Gambas-user] Gambas Documentation In-Reply-To: <200408291341.18805.sourceforge-raindog2@...94...> References: <200408291216.29323.rgcook@...595...> <200408291341.18805.sourceforge-raindog2@...94...> Message-ID: <1093802446.15203.5.camel@...559...> Will you please start writing it again? I thought about writing a Teach Yourself Gambas book, but I don't know it very well. I'm still more used to VB 6.0. On Sun, 2004-08-29 at 12:41, Rob wrote: > On Sunday 29 August 2004 13:16, Robert G. Cook wrote: > > Is the Gambas documentation available in a more portable, > > consolidated format? For example, if the included documention > > (in *.html format) or Rob's Wiki was available as an > > OpenOffice document, I would find to be a very convenient > > format as I endeavor to learn, make notes, etc. > > Ironically, the original Gambas dictionary upon which I based the > wiki was an openoffice document. I think twiki (the wiki > program we use) may have a plugin to export to an openoffice > document while keeping the hyperlinks intact, and if there's > not, I may try to write one because this does seem like a good > idea. > > I have started writing a "Gambas for Penguins" book for newbies > and VB users a couple times (work always gets me sidetracked), > and being able to have it available in the wiki as well as one > big document for short-run printing or whatever would be pretty > helpful. > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mardus at ...298... Sun Aug 29 20:12:47 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Sun, 29 Aug 2004 15:12:47 -0300 Subject: [Gambas-user] Re: Gambas Documentation In-Reply-To: <200408291341.18805.sourceforge-raindog2@...94...> References: <200408291216.29323.rgcook@...595...> <200408291341.18805.sourceforge-raindog2@...94...> Message-ID: <200408291512.47625.mardus@...298...> El Dom 29 Ago 2004 14:41, Rob escribi?: |> I have started writing a "Gambas for Penguins" book for newbies |> and VB users a couple times (work always gets me sidetracked), |> and being able to have it available in the wiki as well as one |> big document for short-run printing or whatever would be pretty |> helpful. Can I help you in this job? I can do it in English and Spanish. -- -- Para el cierre: --- El Maestro Pen Guin al azar citaba: Linux es aburrido... con Win** nunca sabes cu?ndo se va a colgar. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From sourceforge-raindog2 at ...94... Sun Aug 29 20:22:20 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Aug 2004 14:22:20 -0400 Subject: [Gambas-user] Re: Gambas Documentation In-Reply-To: <200408291512.47625.mardus@...298...> References: <200408291216.29323.rgcook@...595...> <200408291341.18805.sourceforge-raindog2@...94...> <200408291512.47625.mardus@...298...> Message-ID: <200408291422.20960.sourceforge-raindog2@...94...> On Sunday 29 August 2004 14:12, Marcelo Duschkin wrote: > El Dom 29 Ago 2004 14:41, Rob escribi?: > |> I have started writing a "Gambas for Penguins" book for > |> newbies and VB users a couple times (work always gets me > Can I help you in this job? > I can do it in English and Spanish. That would be wonderful. I'll try to put together an outline we (and anyone else who can help) can work from, and I'll put it on the wiki. What I've got in mind is somewhere between "Grokking the Gimp" and "VB for Dummies(tm)", in terms of tone and audience. I was originally hoping that I could write the whole thing myself so Binara would have its name on something concrete (and to make it less of a hassle to get printed) but as with the documentation, I'm sure it will work better with many people putting their heads together. I would like for it to be available in printed form somehow (I know MANY programmers who need some kind of printed reference to feel comfortable), and I think we should work out some arrangement such that anyone who contributes can get it published in his own country, or something like that. It's not that I really want to make money off of it, but that I dearly wish to walk into Barnes and Noble someday and see a Gambas book among the wasteland of VB ;) Rob From lordheavy at ...512... Sun Aug 29 21:01:34 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 29 Aug 2004 21:01:34 +0200 Subject: [Gambas-user] QTextview issue ? In-Reply-To: <200408291925.53973.gambas@...1...> References: <200408291905.03794.lordheavy@...512...> <200408291912.41407.lordheavy@...512...> <200408291925.53973.gambas@...1...> Message-ID: <200408292101.34434.lordheavy@...512...> Le dimanche 29 Ao?t 2004 19:25, Benoit Minisini a ?crit?: > On Sunday 29 August 2004 19:12, Laurent Carlier wrote: > > Le dimanche 29 Ao?t 2004 19:05, Laurent Carlier a ?crit?: > > > When adding text into a textview, it is automaticly (?) enabled even if > > > it was enabled before. > > > > even if it was NOT enabled before. > > I don't see the problem. Do you think that a disabled control should not > redraw itself ? in the joined piece, comment the two textview1.enabled = true, you will see that the two "enhanced text" are colorized, they aren't put in grey (not enabled) , only the scrollbar isn't enabled (perhaps a qt bug ?) -- Laurent Carlier From lordheavy at ...512... Sun Aug 29 21:09:35 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 29 Aug 2004 21:09:35 +0200 Subject: [Gambas-user] QTextview issue ? In-Reply-To: <200408292101.34434.lordheavy@...512...> References: <200408291905.03794.lordheavy@...512...> <200408291925.53973.gambas@...1...> <200408292101.34434.lordheavy@...512...> Message-ID: <200408292109.35688.lordheavy@...512...> Le dimanche 29 Ao?t 2004 21:01, Laurent Carlier a ?crit?: > Le dimanche 29 Ao?t 2004 19:25, Benoit Minisini a ?crit?: > > On Sunday 29 August 2004 19:12, Laurent Carlier wrote: > > > Le dimanche 29 Ao?t 2004 19:05, Laurent Carlier a ?crit?: > > > > When adding text into a textview, it is automaticly (?) enabled even > > > > if it was enabled before. > > > > > > even if it was NOT enabled before. > > > > I don't see the problem. Do you think that a disabled control should not > > redraw itself ? > > in the joined piece, comment the two textview1.enabled = true, you will see > that the two "enhanced text" are colorized, they aren't put in grey (not > enabled) , only the scrollbar isn't enabled (perhaps a qt bug ?) here you will see, test is put in grey, not the enhanced (colorized) text ! -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: enabletest-0.0.1.tar.gz Type: application/x-tgz Size: 655 bytes Desc: not available URL: From rgcook at ...595... Sun Aug 29 21:51:36 2004 From: rgcook at ...595... (Robert G. Cook) Date: Sun, 29 Aug 2004 14:51:36 -0500 Subject: [Gambas-user] Re: Gambas Documentation In-Reply-To: <200408291422.20960.sourceforge-raindog2@...94...> References: <200408291216.29323.rgcook@...595...> <200408291512.47625.mardus@...298...> <200408291422.20960.sourceforge-raindog2@...94...> Message-ID: <200408291451.36634.rgcook@...595...> On Sunday 29 August 2004 01:22 pm, Rob wrote: > On Sunday 29 August 2004 14:12, Marcelo Duschkin wrote: > > El Dom 29 Ago 2004 14:41, Rob escribi?: > > |> I have started writing a "Gambas for Penguins" book for > > |> newbies and VB users a couple times (work always gets me > > > > Can I help you in this job? > > I can do it in English and Spanish. > > That would be wonderful. I'll try to put together an outline we > (and anyone else who can help) can work from, and I'll put it on > the wiki. > > What I've got in mind is somewhere between "Grokking the Gimp" > and "VB for Dummies(tm)", in terms of tone and audience. I was > originally hoping that I could write the whole thing myself so > Binara would have its name on something concrete (and to make it > less of a hassle to get printed) but as with the documentation, > I'm sure it will work better with many people putting their > heads together. > > I would like for it to be available in printed form somehow (I > know MANY programmers who need some kind of printed reference to > feel comfortable), and I think we should work out some > arrangement such that anyone who contributes can get it > published in his own country, or something like that. It's not > that I really want to make money off of it, but that I dearly > wish to walk into Barnes and Noble someday and see a Gambas book > among the wasteland of VB ;) > > Rob > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Count me in the list of those who need/want a printed manual. I do not know VB 6 but I have been working on VB.NET for the last two years. It is not my core job, more for fun. I am reading the documentation that comes with Gamba and find it to be very good. But in doing this, I am kind of skimming things in no structured manner. I need structure:-) A book does that. Please let me know how I can help you in your endeavor to write a Gambas book! Also keep me posted on your efforts to convert the help files into OO. I was going to import the whole wiki and format it myself but if you have a better way... Bob From iwan at ...519... Mon Aug 30 03:54:05 2004 From: iwan at ...519... (Iwan Prasetyo) Date: Mon, 30 Aug 2004 08:54:05 +0700 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: Message-ID: <200408300146.i7U1k67Q017886@...564...> Dear milis, Could it be possible if I request for DB compatible for SQL Server 2000? It would be easier and painless to develop app using gambas in transition time from Windows to Linux. (cos I can't connect my VB app to postgreSQL) Thx in advance and sorry if OOT:) Regards, Iwan Prasetyo ---------------------- From sourceforge-raindog2 at ...94... Mon Aug 30 04:21:26 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 29 Aug 2004 22:21:26 -0400 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408300146.i7U1k67Q017886@...564...> References: <200408300146.i7U1k67Q017886@...564...> Message-ID: <200408292221.26964.sourceforge-raindog2@...94...> On Sunday 29 August 2004 21:54, Iwan Prasetyo wrote: > Could it be possible if I request for DB compatible for SQL > Server 2000? It would be easier and painless to develop app > using gambas in transition time from Windows to Linux. Benoit and Nigel have talked about adding ODBC support, so if there's a Linux ODBC driver for MSSQL (or possibly even Sybase, upon which MSSQL was based) you may be in luck eventually. Rob From budi at ...415... Sun Aug 29 19:33:43 2004 From: budi at ...415... (BUDI ARIEF GUSANDI) Date: Mon, 30 Aug 2027 09:31:42 +0700 Subject: [Gambas-user] BENOIT : EMhhhh ;) In-Reply-To: <412FB3FE.70104@...9...> References: <200408262322.42206.a_monteiro@...588...> <200408271058.05647.gambas@...1...> <412F7BD5.4080004@...9...> <1093633732.3393.0.camel@...559...> <412FB3FE.70104@...9...> Message-ID: Hey what's wrong guy ;) On Sat, 28 Aug 2004 00:21:50 +0200, Charlie wrote: > Michael Sullivan schrieb: > >> ? >> > OK > >> >> >> On Fri, 2004-08-27 at 13:22, Charlie wrote: >> >> >>> BUDI ARIEF GUSANDI schrieb: >>> >>> Salut , >>> >>> I thought gambas 1.0 will come out 2004 / 2005 and now I see that in >>> 2027 it isn't still out. >>> So I don't understand why Beno??t should be in rush after all that >>> years. >>> >>> But I'm happy I'M still alive. >>> >>> Amicalement >>> Charlie >>> >>> >>> >>>> Hi benoit... >>>> >>>> Seems you're in rush to go to version 1 ;) >>>> >>>> Regards, >>>> >>>> Budi >>>> >>>> > -- Regards, Budi From ronstk at ...239... Mon Aug 30 05:27:29 2004 From: ronstk at ...239... (ron) Date: Mon, 30 Aug 2004 05:27:29 +0200 Subject: [Gambas-user] BENOIT : EMhhhh ;) In-Reply-To: References: <412FB3FE.70104@...9...> Message-ID: <200408300527.30253.ronstk@...239...> Did you take a look in the picture. Use a microscoop for the date fields. Or you are talking from the future back to 2004 ? :) Tell in that case how well it is accepted to use Linux and Gambas as operating system and development environment. greetings to the future :) Ron On Monday 30 August 2027 04:31, BUDI ARIEF GUSANDI wrote: > Hey what's wrong guy ;) > > On Sat, 28 Aug 2004 00:21:50 +0200, Charlie wrote: > > > Michael Sullivan schrieb: > > > >> ? > >> > > OK > > > >> > >> > >> On Fri, 2004-08-27 at 13:22, Charlie wrote: > >> > >> > >>> BUDI ARIEF GUSANDI schrieb: > >>> > >>> Salut , > >>> > >>> I thought gambas 1.0 will come out 2004 / 2005 and now I see that in > >>> 2027 it isn't still out. > >>> So I don't understand why Beno??t should be in rush after all that > >>> years. > >>> > >>> But I'm happy I'M still alive. > >>> > >>> Amicalement > >>> Charlie > >>> > >>> > >>> > >>>> Hi benoit... > >>>> > >>>> Seems you're in rush to go to version 1 ;) > >>>> > >>>> Regards, > >>>> > >>>> Budi > >>>> > >>>> > > > > > From ronstk at ...239... Mon Aug 30 07:14:18 2004 From: ronstk at ...239... (ron) Date: Mon, 30 Aug 2004 07:14:18 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408300146.i7U1k67Q017886@...564...> References: <200408300146.i7U1k67Q017886@...564...> Message-ID: <200408300714.18472.ronstk@...239...> On Monday 30 August 2004 03:54, Iwan Prasetyo wrote: > Dear milis, > > Could it be possible if I request for DB compatible for SQL Server 2000? > It would be easier and painless to develop app using gambas in transition > time from Windows to Linux. > > (cos I can't connect my VB app to postgreSQL) > > Thx in advance and sorry if OOT:) > > Regards, > > Iwan Prasetyo > ---------------------- I think a request is always possible. If it will be honnered? 1) VB app works with postgreSQL by using ODBC. 2) VB app works with MySQL by using ODBC (I use(d) this already many years) 3) VB app works with SQL Server 2000 by using ODBC If you search you can even find a MyTool to get real MySQL server tcp connection based service without ODBC to use MySQL native in VB and uses libmySQL.dll and myvbql.dll. Working on local or across network connections. It worked here in the past on my winbox very well. My search found it at : http://www.icarz.com/mysql/ Pro is you dont need any DB stuff part of MS for you app. MySQL has also windows based server available, good for testing the app. Unknown postgresql, maybe also. With the ODBC support in gambas Rob mentioning it should be time to use ODBC in your VB app instead the native build in Jet engine *.mdb support. After that it is how well the querys are build. If you not use Server typical functions it is switching on the fly between the server types with ODBC. Trying to shift your problem not being able to use ODBC for the VB app to a request for support in gambas for a linux alien product is easy. However a direct native like interface can't be made by the closed propiarity source of MS. That was the result of the(yours) choise for MS with Windows. You are now forced heavly to that platform without choise you want, they are the owner of your system. It will be a connection across the network and for that it will be more like a ODBC type and that is already posible as far I know ATM. I believe PHP use it with AdoDB class plugin for the linux ODBC. Only the gambas to the lunix based ODBC is needed. At that moment there are many more types of DB supported instead a MS private property system to handle data in a base. If you want a transition to Linux why keeping SQL Server 2000 anyway? I hope you will find the way to go, the light you have seen already. :) From budi at ...415... Mon Aug 30 09:40:44 2004 From: budi at ...415... (budi at ...415...) Date: Mon, 30 Aug 2004 14:40:44 +0700 Subject: [Gambas-user] BENOIT : EMhhhh ;) In-Reply-To: <200408300527.30253.ronstk@...239...> References: <412FB3FE.70104@...9...> <200408300527.30253.ronstk@...239...> Message-ID: <1093851644.4132d9fcdff7f@...416...> Oh my god...that's right..i'm in the future now ? LOL....Shit i didnt realize if my computer clock was set uncorrectly, so the mail date was that date. Hope this mail is all right. Quoting ron : > Did you take a look in the picture. > > Use a microscoop for the date fields. > > Or you are talking from the future back to 2004 ? :) > Tell in that case how well it is accepted to use Linux and Gambas=20 > as operating system and development environment. > > greetings to the future :) > > Ron > > On Monday 30 August 2027 04:31, BUDI ARIEF GUSANDI wrote: > > Hey what's wrong guy ;) > >=20 > > On Sat, 28 Aug 2004 00:21:50 +0200, Charlie wrote: > >=20 > > > Michael Sullivan schrieb: > > > > > >> ? > > >> > > > OK > > > > > >> > > >> > > >> On Fri, 2004-08-27 at 13:22, Charlie wrote: > > >> > > >> > > >>> BUDI ARIEF GUSANDI schrieb: > > >>> > > >>> Salut , > > >>> > > >>> I thought gambas 1.0 will come out 2004 / 2005 and now I see that in > > >>> 2027 it isn't still out. > > >>> So I don't understand why Beno=C3=AEt should be in rush after all tha= > t =20 > > >>> years. > > >>> > > >>> But I'm happy I'M still alive. > > >>> > > >>> Amicalement > > >>> Charlie > > >>> > > >>> > > >>> > > >>>> Hi benoit... > > >>>> > > >>>> Seems you're in rush to go to version 1 ;) > > >>>> > > >>>> Regards, > > >>>> > > >>>> Budi > > >>>> > > >>>> > > > > >=20 > >=20 > >=20 > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ronstk at ...239... Mon Aug 30 09:59:22 2004 From: ronstk at ...239... (ron) Date: Mon, 30 Aug 2004 09:59:22 +0200 Subject: [Gambas-user] BENOIT : EMhhhh ;) In-Reply-To: <1093851644.4132d9fcdff7f@...416...> References: <200408300527.30253.ronstk@...239...> <1093851644.4132d9fcdff7f@...416...> Message-ID: <200408300959.22423.ronstk@...239...> Yep :) From gambas at ...1... Mon Aug 30 10:05:42 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 30 Aug 2004 10:05:42 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408300146.i7U1k67Q017886@...564...> References: <200408300146.i7U1k67Q017886@...564...> Message-ID: <200408301005.43020.gambas@...1...> On Monday 30 August 2004 03:54, Iwan Prasetyo wrote: > Dear milis, > > Could it be possible if I request for DB compatible for SQL Server 2000? > It would be easier and painless to develop app using gambas in transition > time from Windows to Linux. > > (cos I can't connect my VB app to postgreSQL) > > Thx in advance and sorry if OOT:) > > Regards, > > Iwan Prasetyo > ---------------------- > I think the simpler way to connect ODBC databases is what Edward Hsu suggested a few days ago: http://odbtp.sourceforge.net The only problem with ODBC and this library is finding good documentation about ODBC catalog requests, which allows me reading database metadata (tables, fields, indexes). The Gambas database driver needs that! Regards, -- Benoit Minisini mailto:gambas at ...1... From nigel at ...38... Mon Aug 30 10:33:42 2004 From: nigel at ...38... (Nigel Gerrard) Date: Mon, 30 Aug 2004 09:33:42 +0100 Subject: [Gambas-user] DB compatible to SQL Server 2000 References: <200408300146.i7U1k67Q017886@...564...> <200408301005.43020.gambas@...1...> Message-ID: <019e01c48e6c$0f62c580$ce854254@...360...> Benoit, Just to let you know, I am currently looking at connecting to db2 and seeing if it is possible to use odbc to produce everything that is needed in the gambas driver. In theory, if it works for DB2 it should work for all ODBC enabled databases. (Although saying that, I am currently using odbc 3.0). I will keep you posted - of course I may fail :-) Nigel ----- Original Message ----- From: "Benoit Minisini" To: Sent: Monday, August 30, 2004 9:05 AM Subject: Re: [Gambas-user] DB compatible to SQL Server 2000 > On Monday 30 August 2004 03:54, Iwan Prasetyo wrote: > > Dear milis, > > > > Could it be possible if I request for DB compatible for SQL Server 2000? > > It would be easier and painless to develop app using gambas in transition > > time from Windows to Linux. > > > > (cos I can't connect my VB app to postgreSQL) > > > > Thx in advance and sorry if OOT:) > > > > Regards, > > > > Iwan Prasetyo > > ---------------------- > > > > I think the simpler way to connect ODBC databases is what Edward Hsu suggested > a few days ago: http://odbtp.sourceforge.net > > The only problem with ODBC and this library is finding good documentation > about ODBC catalog requests, which allows me reading database metadata > (tables, fields, indexes). The Gambas database driver needs that! > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Mon Aug 30 10:41:56 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 30 Aug 2004 10:41:56 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <019e01c48e6c$0f62c580$ce854254@...360...> References: <200408300146.i7U1k67Q017886@...564...> <200408301005.43020.gambas@...1...> <019e01c48e6c$0f62c580$ce854254@...360...> Message-ID: <200408301041.56521.gambas@...1...> On Monday 30 August 2004 10:33, Nigel Gerrard wrote: > Benoit, > > Just to let you know, I am currently looking at connecting to db2 and > seeing if it is possible to use odbc to produce everything that is needed > in the gambas driver. In theory, if it works for DB2 it should work for > all ODBC enabled databases. (Although saying that, I am currently using > odbc 3.0). > > I will keep you posted - of course I may fail :-) > > > Nigel > Really, look at http://odbtp.sourceforge.net/. There is a program to install on the windows server, nothing to install on the Linux clients, and you can use any ODBC databases on the server (MSSQL Server, DB2, Access, Excel, ...) This library seems simpler to program than ODBC. But this needs a change in the database component, so that it deals with the fact that some drivers don't allow changing the database schema. Write me on the devel mailing-list if you are more questions. Regards, -- Benoit Minisini mailto:gambas at ...1... P.S.: I fixed some things in the sqlite driver, I will release them in 0.99. Tell me if you want them now. From ronstk at ...239... Mon Aug 30 10:45:36 2004 From: ronstk at ...239... (ron) Date: Mon, 30 Aug 2004 10:45:36 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408301005.43020.gambas@...1...> References: <200408300146.i7U1k67Q017886@...564...> <200408301005.43020.gambas@...1...> Message-ID: <200408301045.36312.ronstk@...239...> On Monday 30 August 2004 10:05, Benoit Minisini wrote: > On Monday 30 August 2004 03:54, Iwan Prasetyo wrote: > > Dear milis, > > > > Could it be possible if I request for DB compatible for SQL Server 2000? > > It would be easier and painless to develop app using gambas in transition > > time from Windows to Linux. > > > > (cos I can't connect my VB app to postgreSQL) > > > > Thx in advance and sorry if OOT:) > > > > Regards, > > > > Iwan Prasetyo > > ---------------------- > > > > I think the simpler way to connect ODBC databases is what Edward Hsu suggested > a few days ago: http://odbtp.sourceforge.net > > The only problem with ODBC and this library is finding good documentation > about ODBC catalog requests, which allows me reading database metadata > (tables, fields, indexes). The Gambas database driver needs that! > > Regards, > May be you can use the AdoDB in PHP as a example to get support for all kinds of DB's. After all it is doing the same as we need in gambas for php. Even more interesting a interface to the AdoDB class That way you do not have to write new support for the different db's but only on one interface, the gb.AdoDB. I got several years back the ODBC developres kit. Didn't see it now for long time. It contains a quicktest program using mutch of the sql commands. Source in C to build and execute them to test the ODBC function of the driver works. From gambas at ...1... Mon Aug 30 11:01:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 30 Aug 2004 11:01:46 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408301045.36312.ronstk@...239...> References: <200408300146.i7U1k67Q017886@...564...> <200408301005.43020.gambas@...1...> <200408301045.36312.ronstk@...239...> Message-ID: <200408301101.46770.gambas@...1...> On Monday 30 August 2004 10:45, ron wrote: > On Monday 30 August 2004 10:05, Benoit Minisini wrote: > > On Monday 30 August 2004 03:54, Iwan Prasetyo wrote: > > > Dear milis, > > > > > > Could it be possible if I request for DB compatible for SQL Server > > > 2000? It would be easier and painless to develop app using gambas in > > > transition time from Windows to Linux. > > > > > > (cos I can't connect my VB app to postgreSQL) > > > > > > Thx in advance and sorry if OOT:) > > > > > > Regards, > > > > > > Iwan Prasetyo > > > ---------------------- > > > > I think the simpler way to connect ODBC databases is what Edward Hsu > > suggested a few days ago: http://odbtp.sourceforge.net > > > > The only problem with ODBC and this library is finding good documentation > > about ODBC catalog requests, which allows me reading database metadata > > (tables, fields, indexes). The Gambas database driver needs that! > > > > Regards, > > May be you can use the AdoDB in PHP as a example to > get support for all kinds of DB's. > After all it is doing the same as we need in gambas for php. > > Even more interesting a interface to the AdoDB class > That way you do not have to write new support for the > different db's but only on one interface, the gb.AdoDB. How could you use a PHP module in Gambas ??? > > I got several years back the ODBC developres kit. > Didn't see it now for long time. > It contains a quicktest program using mutch of the > sql commands. Source in C to build and execute them > to test the ODBC function of the driver works. > The more difficult is not getting the result of a query, it is getting metadata information (named catalog queries in ODBC). If I made my own cooking with the gambas database component, it was for two reasons: Gambas datatype support was needed for the ease of programming, and, above all, all database interfaces I saw didn't please me. I find the odbtp approach a very good idea :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From na2492 at ...9... Mon Aug 30 11:34:53 2004 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 30 Aug 2004 11:34:53 00200 Subject: [Gambas-user] BENOIT : EMhhhh ;) Message-ID: <4132f4bd.c09.0@...9...> >Hey what's wrong guy ;) > >On Sat, 28 Aug 2004 00:21:50 +0200, Charlie wrote: > >> Michael Sullivan schrieb: >> >>> ? >>> >> OK >> >>> >>> >>> On Fri, 2004-08-27 at 13:22, Charlie wrote: >>> >>> >>>> BUDI ARIEF GUSANDI schrieb: >>>> >>>> Salut , >>>> >>>> I thought gambas 1.0 will come out 2004 / 2005 and now I see that in >>>> 2027 it isn't still out. >>>> So I don't understand why Beno??t should be in rush after all that >>>> years. >>>> >>>> But I'm happy I'M still alive. >>>> >>>> Amicalement >>>> Charlie >>>> >>>> >>>> >>>>> Hi benoit... >>>>> >>>>> Seems you're in rush to go to version 1 ;) >>>>> >>>>> Regards, >>>>> >>>>> Budi >>>>> >>>>> >> > > > >-- >Regards, > >Budi Salut Budi, geetings from the past, in 2027 does Windows still exits ? Your emails commes from the future. This one has Timestamp 30 Aug 2027 Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From f_pantaleone at ...67... Mon Aug 30 12:19:38 2004 From: f_pantaleone at ...67... (FRANCESCO PANTALEONE) Date: Mon, 30 Aug 2004 10:19:38 +0000 Subject: [Gambas-user] Hellp Message-ID: Hello , i'm Francesco from Italy , i'm a newbie of gambas but I think me and the gambero will have lots of fun together in the future so i would like to thank you for support in advance (and also to be the father o f this amazing sftware) . WELL , I got some problems with database manager Mysql . I'm using gambas version 0.98a under mandrake 10.0 and Mysql version is server version: 4.0.18 . the problem is that evrytime i try to connect with the database manager gives me an error : cannot find driver for database (I also configure host , user and pswrd). NOW , is it something that i forget to configure ?? and in which program in gambas or in Mysql ? or probably i need another version of mysql ?? Thank you in advance Francesco Pantaleone _________________________________________________________________ Personalizza MSN Messenger con sfondi e fotografie! http://www.ilovemessenger.msn.it/ From gambas at ...1... Mon Aug 30 12:29:36 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 30 Aug 2004 12:29:36 +0200 Subject: [Gambas-user] Hellp In-Reply-To: References: Message-ID: <200408301229.36537.gambas@...1...> On Monday 30 August 2004 12:19, FRANCESCO PANTALEONE wrote: > Hello , i'm Francesco from Italy , i'm a newbie of gambas but I think me > and the gambero will have lots of fun together in the future so i would > like to thank you for support in advance (and also to be the father o f > this amazing sftware) . > WELL , I got some problems with database manager Mysql . > I'm using gambas version 0.98a under mandrake 10.0 and Mysql version is > server version: 4.0.18 . > the problem is that evrytime i try to connect with the database manager > gives me an error : cannot find driver for database (I also configure host > , user and pswrd). NOW , is it something that i forget to configure ?? and > in which program in gambas or in Mysql ? or probably i need another version > of mysql ?? > Thank you in advance > Francesco Pantaleone If you compiled gambas from the sources, then you forgot to install the mysql-client package (search the package that includes the file mysql.h). -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Mon Aug 30 14:18:30 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Mon, 30 Aug 2004 14:18:30 +0200 Subject: [Gambas-user] QTextview issue ? In-Reply-To: <200408292109.35688.lordheavy@...512...> References: <200408291905.03794.lordheavy@...512...> <200408292101.34434.lordheavy@...512...> <200408292109.35688.lordheavy@...512...> Message-ID: <200408301418.31077.lordheavy@...512...> Le dimanche 29 Ao?t 2004 21:09, Laurent Carlier a ?crit?: > Le dimanche 29 Ao?t 2004 21:01, Laurent Carlier a ?crit?: > > Le dimanche 29 Ao?t 2004 19:25, Benoit Minisini a ?crit?: > > > On Sunday 29 August 2004 19:12, Laurent Carlier wrote: > > > > Le dimanche 29 Ao?t 2004 19:05, Laurent Carlier a ?crit?: > > > > > When adding text into a textview, it is automaticly (?) enabled > > > > > even if it was enabled before. > > > > > > > > even if it was NOT enabled before. > > > > > > I don't see the problem. Do you think that a disabled control should > > > not redraw itself ? > > > > in the joined piece, comment the two textview1.enabled = true, you will > > see that the two "enhanced text" are colorized, they aren't put in grey > > (not enabled) , only the scrollbar isn't enabled (perhaps a qt bug ?) > > here you will see, test is put in grey, not the enhanced (colorized) text > ! sorry, it seems it's not a bug. regards, -- Laurent Carlier From nmarzoni at ...596... Mon Aug 30 14:33:52 2004 From: nmarzoni at ...596... (=?ISO-8859-1?Q?Nicol=E1s?= Marzoni) Date: Mon, 30 Aug 2004 09:33:52 -0300 Subject: [Gambas-user] message. Message-ID: <1093869231.2033.0.camel@...597...> Hello again... My problem now are the messages. I don't know if it is a bug o something in my gambas but when i try to show more than one message inmediatly the principal form hide and only appear the message. The solution that I found is put a WAIT before to show the message. But that do the proces slower. Could somebody helpme?? Thanx again. Nicolas Marzoni Mardel Plata, Bs.As. , Argentina From na2492 at ...9... Mon Aug 30 15:36:07 2004 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 30 Aug 2004 15:36:07 00200 Subject: [Gambas-user] BENOIT : EMhhhh ;) Message-ID: <41332d47.5b37.0@...9...> >Oh my god...that's right..i'm in the future now ? LOL....Shit i didnt realize if >my computer clock was set uncorrectly, so the mail date was that date. Hope >this mail is all right. > >Quoting ron : > >> Did you take a look in the picture. >> >> Use a microscoop for the date fields. >> >> Or you are talking from the future back to 2004 ? :) >> Tell in that case how well it is accepted to use Linux and Gambas=20 >> as operating system and development environment. >> >> greetings to the future :) >> >> Ron >> >> On Monday 30 August 2027 04:31, BUDI ARIEF GUSANDI wrote: >> > Hey what's wrong guy ;) >> >=20 >> > On Sat, 28 Aug 2004 00:21:50 +0200, Charlie wrote: >> >=20 >> > > Michael Sullivan schrieb: >> > > >> > >> ? >> > >> >> > > OK >> > > >> > >> >> > >> >> > >> On Fri, 2004-08-27 at 13:22, Charlie wrote: >> > >> >> > >> >> > >>> BUDI ARIEF GUSANDI schrieb: >> > >>> >> > >>> Salut , >> > >>> >> > >>> I thought gambas 1.0 will come out 2004 / 2005 and now I see that in >> > >>> 2027 it isn't still out. >> > >>> So I don't understand why Beno=C3=AEt should be in rush after all tha= >> t =20 >> > >>> years. >> > >>> >> > >>> But I'm happy I'M still alive. >> > >>> >> > >>> Amicalement >> > >>> Charlie >> > >>> >> > >>> >> > >>> >> > >>>> Hi benoit... >> > >>>> >> > >>>> Seems you're in rush to go to version 1 ;) >> > >>>> >> > >>>> Regards, >> > >>>> >> > >>>> Budi >> > >>>> >> > >>>> >> > > Welcome back at times where we use Linuxkernel 2.4.25 or 2.6.7 Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From ronstk at ...239... Mon Aug 30 15:51:49 2004 From: ronstk at ...239... (ron) Date: Mon, 30 Aug 2004 15:51:49 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408301101.46770.gambas@...1...> References: <200408300146.i7U1k67Q017886@...564...> <200408301045.36312.ronstk@...239...> <200408301101.46770.gambas@...1...> Message-ID: <200408301551.50029.ronstk@...239...> On Monday 30 August 2004 11:01, Benoit Minisini wrote: > On Monday 30 August 2004 10:45, ron wrote: > > On Monday 30 August 2004 10:05, Benoit Minisini wrote: > > > On Monday 30 August 2004 03:54, Iwan Prasetyo wrote: snip > > > > > > Regards, > > > > May be you can use the AdoDB in PHP as a example to > > get support for all kinds of DB's. > > After all it is doing the same as we need in gambas for php. > > > > Even more interesting a interface to the AdoDB class > > That way you do not have to write new support for the > > different db's but only on one interface, the gb.AdoDB. > > How could you use a PHP module in Gambas ??? > I want to refer to the AdoDB PHP class as a lookup source for creating the new ODBC component code. But for the question, Yes it can. Create a PHP page to access the database using AdoDB class. Insert in the page the code to get the database/tables and if the database supports stored queries to get them. Let the page write the result in a text file, maybe with a equivalent layout the Result class now in the gb.db component, and place the php script in the webservers documentroot path. A php page using the AdoDB class and code to get the required tables, queries, schema, catalog etc. Put it in the webservers document path and call it as a webpage with the gb.net component. Interpret the result and done. This could be the job of the gb.adodb component. :) I know sound stupid but it is a way. This way it is more easy with windows while it is possible to use PHP without the webserver, it can run as CGI component on win on the dos command line and result to standard out. As far I know ATM you can't use the php service directly in linux like CGI. Another way is using gambas itself. A gambas app can make the required page, put it on correct place, using the gb.net component calling the webserver, geting the result, interpret the result and extract the required info passing it back to the out pipe/stdout. This app should the act as the gb.odbc :) :) :) Not direct useless but make no sense to do it this way. We need a real C program to load the mod_php and present it the script and let php does his work witch gives the required result back and pass that result back. In this case to gambas of course. Less useless, a bit more sense, can be used by more end applications. I do not prefer this way but "How is answered" :) > > > > I got several years back the ODBC developres kit. > > Didn't see it now for long time. > > It contains a quicktest program using mutch of the > > sql commands. Source in C to build and execute them > > to test the ODBC function of the driver works. > > > > The more difficult is not getting the result of a query, it is getting > metadata information (named catalog queries in ODBC). > Here I get some problems. What exactly is catalog and what are schema? Are the the same or are they different? I found in the past time so many explanations I'm lost with it. When I use SQLyog, the give for schema the layout of the database, containing tables, fields and stored queries. Mainly in MS documentation I see the name Catalog and it look to me MySQL is using Schema. The stored Queries can you find in MSaccess databases (*.mdb) You can link to these in another database as a table. Then we have stored Functions and stored Procedures. Stored Querys act as a Table. You can ask them to get a part of the table without using the query yourself, it is in the database. Stored Functions are user created Functions like a gambas function to get data from a table or something to let a number field return the text 'yes'/'no' depending the number. Stored Procedures are procedures to execute at server site to do many things with one request on or to the server. A chain of select/update and delete queries across 1 or more tables Some of them are MsSQL and some are MySQL or other DB engines. As far I know it is all stored in system tables of the database and/or the server. Also I could see in a ODBC only programm these layout and system tables at the company I worked for. It was a program to monitor changes in tables. A debugging tool. I understand for now this is the metadata you refer to. Forgive me when I'm wrong. > If I made my own cooking with the gambas database component, it was for two > reasons: Gambas datatype support was needed for the ease of programming, and, > above all, all database interfaces I saw didn't please me. > > I find the odbtp approach a very good idea :-) > I agree with that but have some reservations. The question is what we want. Using MsSQL server, SQL Server200 and MySQL? That can be done on windows with ODBC and when I'm right I have seen a linux variant to reach the MS stuff. MySQL is no problem for linux based. But we are on the linux platform and want to get from MS platform. For SQL servers it is already posible with unixODBC at http://www.unixodbc.org/ It can show/deliver the layout(metadata) and support many(over 25) DB types. For MS people going to *nix it is more friendly i think as ODBTP and *nix people don't use MS stuf :) ( wrong, I know) The most importand thing is for the windows machines no install of any software needed. Using ODBTP has the advantage to get the *.mdb on line across TCP. It requires however the ODBTP server software installed and runs only on NT4, XP and 2000. Not every one have it or want/can install the server. Using ODBTP to get from *nix requires the client software. That requires to have MS VC6++. Also not available for everyone but less importand from gambas view point. For MySQL there is already ODBC so no need for ODBTP. There is however one very good thing with ODBTP I like very much but can't use. It serves the *.mdb files direct across TCP. It can only not do it stand alone or can they read *.mdb files? It must use the ODBC interface on the windows machine or use the MSSQL server with a linked table on a Access database. When the last is done then we can use ODBC also for the *.mdb files by connecting to the SQL server and no install software needed Seen for this install requirements I think unixODBC is also a good thing to use. It is not the win to *nix sql but *nix to win that is/was difficult. The approach of ODBPT is indeed nice but I think unixODBC can be a better choise and it support more data source objects, not only the MS ones. And for the windows side, al what is need is already in it. Same as above. Forgive me when I'm wrong. And of course it is you choice to decide. > Regards, > My 2 cents. From bundeshund at ...467... Mon Aug 30 16:32:51 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Mon, 30 Aug 2004 16:32:51 +0200 Subject: [Gambas-user] Re: Gambas Documentation In-Reply-To: <200408291422.20960.sourceforge-raindog2@...94...> References: <200408291216.29323.rgcook@...595...> <200408291512.47625.mardus@...298...> <200408291422.20960.sourceforge-raindog2@...94...> Message-ID: <200408301632.51216.bundeshund@...467...> Maybe I can help with a german translation with 'Gambas for Penguins" ('Gambas f?r Pinguine', the first step is done ;) ) I would like to do, because this has several effects: I can learn english much better, I can learn Gambas much better, I can give something back to the gambas community... If you want to, I will do. regards, HM Am Sonntag, 29. August 2004 20:22 schrieb Rob: > On Sunday 29 August 2004 14:12, Marcelo Duschkin wrote: > > El Dom 29 Ago 2004 14:41, Rob escribi?: > > |> I have started writing a "Gambas for Penguins" book for > > |> newbies and VB users a couple times (work always gets me > > > > Can I help you in this job? > > I can do it in English and Spanish. > > That would be wonderful. I'll try to put together an outline we > (and anyone else who can help) can work from, and I'll put it on > the wiki. > > What I've got in mind is somewhere between "Grokking the Gimp" > and "VB for Dummies(tm)", in terms of tone and audience. I was > originally hoping that I could write the whole thing myself so > Binara would have its name on something concrete (and to make it > less of a hassle to get printed) but as with the documentation, > I'm sure it will work better with many people putting their > heads together. > > I would like for it to be available in printed form somehow (I > know MANY programmers who need some kind of printed reference to > feel comfortable), and I think we should work out some > arrangement such that anyone who contributes can get it > published in his own country, or something like that. It's not > that I really want to make money off of it, but that I dearly > wish to walk into Barnes and Noble someday and see a Gambas book > among the wasteland of VB ;) > > Rob > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&op=Click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mardus at ...298... Mon Aug 30 17:24:20 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Mon, 30 Aug 2004 12:24:20 -0300 Subject: [Gambas-user] Re: Gambas Documentation In-Reply-To: <200408291422.20960.sourceforge-raindog2@...94...> References: <200408291216.29323.rgcook@...595...> <200408291512.47625.mardus@...298...> <200408291422.20960.sourceforge-raindog2@...94...> Message-ID: <200408301224.20181.mardus@...298...> El Dom 29 Ago 2004 15:22, Rob escribi?: |> That would be wonderful. I'll try to put together an outline we |> (and anyone else who can help) can work from, and I'll put it on |> the wiki. OK. I'll wait for that. |> I would like for it to be available in printed form somehow[...] |> and I think we should work out some |> arrangement such that anyone who contributes can get it |> published in his own country, or something like that. There are some facilities for that in Buenos Aires. |> It's not |> that I really want to make money off of it, but that I dearly |> wish to walk into Barnes and Noble someday and see a Gambas book |> among the wasteland of VB ;) I agree. "I dearly wish to walk" into El Ateneo or Cuspide (*) and see... :) (*) Greatest book stores in Buenos Aires -- -- Para el cierre: --- El Maestro Pen Guin al azar citaba: La pura lana virgen se obtiene de las ovejas fr?gidas. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From bundeshund at ...467... Mon Aug 30 17:19:36 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Mon, 30 Aug 2004 17:19:36 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408301101.46770.gambas@...1...> References: <200408300146.i7U1k67Q017886@...564...> <200408301045.36312.ronstk@...239...> <200408301101.46770.gambas@...1...> Message-ID: <200408301719.36819.bundeshund@...467...> Salute, I read this thread with my eyes wide open. I don't know, if I understand right, but there is an odbc-driver for IBM's DB2 for Linux. Does this means, that it is _maby_ possible to use gambas with the iSeries when gambas (maybe) can offer odbc support?? I don't know other mainframe-machines, but guess that there are some odbc-drivers for linux supporting this machines. This could be a great step for gambas. In a yhaoo-group there is a group called 'Forum 400', a german user-group arround programming and adminstrating the AS400/iSeries. In the past we had serveral discussions about that: The big problem IBM for example has, is the green-screen. The users want to have graphical enviroment but IBM waited too long. There first solution was Java. But all the AS400 people don't know Java, or even object-relevating programming. Some learned, the most don't. The next step ftom IBM was a 'converter', written in Java and is able to generate 'on-the-fly' a GUI under Windows from the green-screen-look. It is not such good solution IMHO. It doesn't offers all the objects that windows can offer (Combobox, Listbox, ...), only the green-screen ones. Then VRPG was presented by IBM. It is a Visual-RPG with a (terrible) IDE a bit comparing to gambas, but gambas is much, much more better to use. And the most users don't use this, because it is too complicated to use. You must think of that: The most programmers on iSeries are not that young. The most have 10-155 years to work and then go to their retirment...(I allwas this this, when I am at a training for iSeries and when I look at the profiles at the yahoo-group) So there is no 'easy-to-use' tool to generate applications using the DB2 on the iSeries running under Linux, only one bad (and expansive) IDE for Windows. Just my thoughts... (writing this without knowing, how much work it is, to write such an odbc-support for gambas) HM Am Montag, 30. August 2004 11:01 schrieb Benoit Minisini: > On Monday 30 August 2004 10:45, ron wrote: > > On Monday 30 August 2004 10:05, Benoit Minisini wrote: > > > On Monday 30 August 2004 03:54, Iwan Prasetyo wrote: > > > > Dear milis, > > > > > > > > Could it be possible if I request for DB compatible for SQL Server > > > > 2000? It would be easier and painless to develop app using gambas in > > > > transition time from Windows to Linux. > > > > > > > > (cos I can't connect my VB app to postgreSQL) > > > > > > > > Thx in advance and sorry if OOT:) > > > > > > > > Regards, > > > > > > > > Iwan Prasetyo > > > > ---------------------- > > > > > > I think the simpler way to connect ODBC databases is what Edward Hsu > > > suggested a few days ago: http://odbtp.sourceforge.net > > > > > > The only problem with ODBC and this library is finding good > > > documentation about ODBC catalog requests, which allows me reading > > > database metadata (tables, fields, indexes). The Gambas database driver > > > needs that! > > > > > > Regards, > > > > May be you can use the AdoDB in PHP as a example to > > get support for all kinds of DB's. > > After all it is doing the same as we need in gambas for php. > > > > Even more interesting a interface to the AdoDB class > > That way you do not have to write new support for the > > different db's but only on one interface, the gb.AdoDB. > > How could you use a PHP module in Gambas ??? > > > I got several years back the ODBC developres kit. > > Didn't see it now for long time. > > It contains a quicktest program using mutch of the > > sql commands. Source in C to build and execute them > > to test the ODBC function of the driver works. > > The more difficult is not getting the result of a query, it is getting > metadata information (named catalog queries in ODBC). > > If I made my own cooking with the gambas database component, it was for two > reasons: Gambas datatype support was needed for the ease of programming, > and, above all, all database interfaces I saw didn't please me. > > I find the odbtp approach a very good idea :-) > > Regards, From ronstk at ...239... Mon Aug 30 17:57:50 2004 From: ronstk at ...239... (ron) Date: Mon, 30 Aug 2004 17:57:50 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408301719.36819.bundeshund@...467...> References: <200408300146.i7U1k67Q017886@...564...> <200408301101.46770.gambas@...1...> <200408301719.36819.bundeshund@...467...> Message-ID: <200408301757.50570.ronstk@...239...> On Monday 30 August 2004 17:19, Hans-Martin Bundeshund wrote: > Salute, > > I read this thread with my eyes wide open. I don't know, if I understand > right, but there is an odbc-driver for IBM's DB2 for Linux. Does this means, > that it is _maby_ possible to use gambas with the iSeries when gambas (maybe) > can offer odbc support?? > > > > I don't know other mainframe-machines, but guess that there are some > odbc-drivers for linux supporting this machines. This could be a great step > for gambas. > > In a yhaoo-group there is a group called 'Forum 400', a german user-group > arround programming and adminstrating the AS400/iSeries. In the past we had > serveral discussions about that: > > The big problem IBM for example has, is the green-screen. The users want to > have graphical enviroment but IBM waited too long. There first solution was > Java. But all the AS400 people don't know Java, or even object-relevating > programming. Some learned, the most don't. > > The next step ftom IBM was a 'converter', written in Java and is able to > generate 'on-the-fly' a GUI under Windows from the green-screen-look. It is > not such good solution IMHO. It doesn't offers all the objects that windows > can offer (Combobox, Listbox, ...), only the green-screen ones. > > Then VRPG was presented by IBM. It is a Visual-RPG with a (terrible) IDE a bit > comparing to gambas, but gambas is much, much more better to use. > And the most users don't use this, because it is too complicated to use. You > must think of that: The most programmers on iSeries are not that young. The > most have 10-155 years to work and then go to their retirment...(I allwas > this this, when I am at a training for iSeries and when I look at the > profiles at the yahoo-group) > > So there is no 'easy-to-use' tool to generate applications using the DB2 on > the iSeries running under Linux, only one bad (and expansive) IDE for > Windows. > > Just my thoughts... (writing this without knowing, how much work it is, to > write such an odbc-support for gambas) > > > HM strip I try to find it but not found. Be carefull Hans, there are two options ODBC with unixODBC as kernel or ODBPT a different system. ODBPT is mainly, as I see, a windows oriented approach en not bad for several points. if we look to the outside world of linux then you can connect to a ODBTP interface on the remote machine and that one connects on your behalf to the ODBC interface on that remote machine. The connection works not with text as mormal sql queries does but binairy. The profit will be, in the result that comming back. For your case it depends on witch system the DB2 is, a linux machine or the AS400 machine. I did not see the remote side for the linux machine needs a program on the AS400 to work for ODBTP. May be it can do it without such but as I said not seen yet. If you have a ODBC driver on Windows then the ODBTP client on the windows machine should be able to use it and connect to the DB2 on the AS400. That is what I found till now. It depends for end connections on ODBC drivers on the windows machine. To what part of the world the driver connect to get the data is no mather for ODBTP. That is the good side of it. Aber Du brauchst Rhamen NT4, XP oder 2000 dazu. :( I didn't dive very deep in unixODBC but DB2 is in 3 variants available with direct connections, bypassing the windows machine, and as I'm right even IBM has done support for DB2 to it. Take a look at www.unixODBC.org for exact info and http://odbtp.sourceforge.net/features.html Maybe we should have both in gambas. Yes it's easy to say, I know and shame over me. We do not have a poll for it so we must trust what Benoit decides witch way gambas/he goes. greets. From bundeshund at ...467... Mon Aug 30 20:10:25 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Mon, 30 Aug 2004 20:10:25 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408301757.50570.ronstk@...239...> References: <200408300146.i7U1k67Q017886@...564...> <200408301719.36819.bundeshund@...467...> <200408301757.50570.ronstk@...239...> Message-ID: <200408302010.25357.bundeshund@...467...> Hi Ron! ... > Yes it's easy to say, I know and shame over me. ... Yes, same to me! I wish, I could do so wonderful work as the gambas-team do. And I see I have to read much more about odbc. And yes, Benoit will find the right things to do. I don't want te be some kind of claiming! I like gambas the way it is very much. And I have much respect for the work, the time, the result and the selflessness! of Benoit. This great product can be easiely succesful saled! But he offers that and great support(!) only for it's fun till now. He must be a very sympathetically and likeable man! regards, HM Am Montag, 30. August 2004 17:57 schrieb ron: > On Monday 30 August 2004 17:19, Hans-Martin Bundeshund wrote: > > Salute, > > > > I read this thread with my eyes wide open. I don't know, if I understand > > right, but there is an odbc-driver for IBM's DB2 for Linux. Does this > > means, that it is _maby_ possible to use gambas with the iSeries when > > gambas (maybe) can offer odbc support?? > > > > > > > > I don't know other mainframe-machines, but guess that there are some > > odbc-drivers for linux supporting this machines. This could be a great > > step for gambas. > > > > In a yhaoo-group there is a group called 'Forum 400', a german user-group > > arround programming and adminstrating the AS400/iSeries. In the past we > > had serveral discussions about that: > > > > The big problem IBM for example has, is the green-screen. The users want > > to have graphical enviroment but IBM waited too long. There first > > solution was Java. But all the AS400 people don't know Java, or even > > object-relevating programming. Some learned, the most don't. > > > > The next step ftom IBM was a 'converter', written in Java and is able to > > generate 'on-the-fly' a GUI under Windows from the green-screen-look. It > > is not such good solution IMHO. It doesn't offers all the objects that > > windows can offer (Combobox, Listbox, ...), only the green-screen ones. > > > > Then VRPG was presented by IBM. It is a Visual-RPG with a (terrible) IDE > > a bit comparing to gambas, but gambas is much, much more better to use. > > And the most users don't use this, because it is too complicated to use. > > You must think of that: The most programmers on iSeries are not that > > young. The most have 10-155 years to work and then go to their > > retirment...(I allwas this this, when I am at a training for iSeries and > > when I look at the profiles at the yahoo-group) > > > > So there is no 'easy-to-use' tool to generate applications using the DB2 > > on the iSeries running under Linux, only one bad (and expansive) IDE for > > Windows. > > > > Just my thoughts... (writing this without knowing, how much work it is, > > to write such an odbc-support for gambas) > > > > > > HM > > strip > > I try to find it but not found. > > Be carefull Hans, there are two options ODBC with unixODBC as kernel > or ODBPT a different system. > ODBPT is mainly, as I see, a windows oriented approach en not bad for > several points. > > if we look to the outside world of linux then you can connect to a ODBTP > interface on the remote machine and that one connects on your behalf to the > ODBC interface on that remote machine. > The connection works not with text as mormal sql queries does but binairy. > The profit will be, in the result that comming back. > > For your case it depends on witch system the DB2 is, a linux machine or > the AS400 machine. > I did not see the remote side for the linux machine needs a program on > the AS400 to work for ODBTP. > May be it can do it without such but as I said not seen yet. > > If you have a ODBC driver on Windows then the ODBTP client on the > windows machine should be able to use it and connect to the DB2 > on the AS400. That is what I found till now. > It depends for end connections on ODBC drivers on the windows machine. > To what part of the world the driver connect to get the data is > no mather for ODBTP. > That is the good side of it. > Aber Du brauchst Rhamen NT4, XP oder 2000 dazu. :( > > I didn't dive very deep in unixODBC but DB2 is in 3 variants available > with direct connections, bypassing the windows machine, and as > I'm right even IBM has done support for DB2 to it. > > Take a look at www.unixODBC.org for exact info > and http://odbtp.sourceforge.net/features.html > > Maybe we should have both in gambas. > Yes it's easy to say, I know and shame over me. > We do not have a poll for it so we must trust what Benoit decides > witch way gambas/he goes. > > > greets. > > > From gambas at ...1... Mon Aug 30 20:29:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 30 Aug 2004 20:29:52 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408302010.25357.bundeshund@...467...> References: <200408300146.i7U1k67Q017886@...564...> <200408301757.50570.ronstk@...239...> <200408302010.25357.bundeshund@...467...> Message-ID: <200408302029.52744.gambas@...1...> On Monday 30 August 2004 20:10, Hans-Martin Bundeshund wrote: > Hi Ron! > > ... > > > Yes it's easy to say, I know and shame over me. > > ... > > Yes, same to me! I wish, I could do so wonderful work as the gambas-team > do. > > And I see I have to read much more about odbc. > > And yes, Benoit will find the right things to do. I don't want te be some > kind of claiming! I like gambas the way it is very much. And I have much > respect for the work, the time, the result and the selflessness! of Benoit. > This great product can be easiely succesful saled! But he offers that and > great support(!) only for it's fun till now. He must be a very > sympathetically and likeable man! > > regards, > > HM > Thanks :-p AS400/DB2 people don't know enough C for making a ODBTP driver for Gambas ? ;-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Aug 30 20:30:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 30 Aug 2004 20:30:53 +0200 Subject: [Gambas-user] message. In-Reply-To: <1093869231.2033.0.camel@...597...> References: <1093869231.2033.0.camel@...597...> Message-ID: <200408302030.53804.gambas@...1...> On Monday 30 August 2004 14:33, Nicol?s Marzoni wrote: > Hello again... > My problem now are the messages. I don't know if it is a bug o something > in my gambas but when i try to show more than one message inmediatly the > principal form hide and only appear the message. The solution that I > found is put a WAIT before to show the message. But that do the proces > slower. > Could somebody helpme?? > > Thanx again. > > Nicolas Marzoni > Mardel Plata, Bs.As. , Argentina > Give the version of Gambas you use, and send an archive of your project that shows the bug please! Regards, -- Benoit Minisini mailto:gambas at ...1... From bundeshund at ...467... Mon Aug 30 21:34:06 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Mon, 30 Aug 2004 21:34:06 +0200 Subject: [Gambas-user] DB compatible to SQL Server 2000 In-Reply-To: <200408302029.52744.gambas@...1...> References: <200408300146.i7U1k67Q017886@...564...> <200408302010.25357.bundeshund@...467...> <200408302029.52744.gambas@...1...> Message-ID: <200408302134.07063.bundeshund@...467...> Am Montag, 30. August 2004 20:29 schrieb Benoit Minisini: > On Monday 30 August 2004 20:10, Hans-Martin Bundeshund wrote: > > Hi Ron! > > > > ... > > > > > Yes it's easy to say, I know and shame over me. > > > > ... > > > > Yes, same to me! I wish, I could do so wonderful work as the gambas-team > > do. > > > > And I see I have to read much more about odbc. > > > > And yes, Benoit will find the right things to do. I don't want te be some > > kind of claiming! I like gambas the way it is very much. And I have much > > respect for the work, the time, the result and the selflessness! of > > Benoit. This great product can be easiely succesful saled! But he offers > > that and great support(!) only for it's fun till now. He must be a very > > sympathetically and likeable man! > > > > regards, > > > > HM > > Thanks :-p > > AS400/DB2 people don't know enough C for making a ODBTP driver for > Gambas ? ;-) ;-) unhappily no. But the AS400 is realy a great machine, there is only the GUI missing... The db2 with many jobs at the same time is impressing fast! regards, HM From Wsouzap at ...87... Mon Aug 30 21:41:22 2004 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Mon, 30 Aug 2004 15:41:22 -0400 Subject: [Gambas-user] IRC for gambas Message-ID: <6D4C948B.3EFB8B19.001B903D@...87...> Hi! Exist any chanel in IRC for Gambas??? No! Make one. Any interested person, inscribes for me so that thus let us can create a chanel in the IRC. [] Wellington From gambasfr at ...11... Mon Aug 30 23:06:21 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Mon, 30 Aug 2004 23:06:21 +0200 Subject: [Gambas-user] IRC for gambas In-Reply-To: <6D4C948B.3EFB8B19.001B903D@...87...> References: <6D4C948B.3EFB8B19.001B903D@...87...> Message-ID: <200408302306.21932.gambasfr@...11...> Le lundi 30 Ao?t 2004 21:41, Wsouzap at ...87... a ?crit?: > Hi! > > Exist any chanel in IRC for Gambas??? > > No! Make one. > > Any interested person, inscribes for me so that thus let us can create a > chanel in the IRC. > > [] > > Wellington > There is already a channel irc.freenodes.net #gambas I've opened it since one year... but nobody want to meet me snip ! Fabien Bodard Each time my computer is run ... i'm on it > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mauriiiii3001 at ...325... Mon Aug 30 23:08:09 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Mon, 30 Aug 2004 23:08:09 +0200 Subject: [Gambas-user] Gambas Documentation Message-ID: <41339739.7030408@...325...> Am Sonntag, 29. August 2004 20:22 schrieb Rob: >> On Sunday 29 August 2004 14:12, Marcelo Duschkin wrote: > > >>> > El Dom 29 Ago 2004 14:41, Rob escribi?: >>> > |> I have started writing a "Gambas for Penguins" book for >>> > |> newbies and VB users a couple times (work always gets me >>> > >>> > Can I help you in this job? >>> > I can do it in English and Spanish. >> >> >> >> That would be wonderful. I'll try to put together an outline we >> (and anyone else who can help) can work from, and I'll put it on >> the wiki. >> >> What I've got in mind is somewhere between "Grokking the Gimp" >> and "VB for Dummies(tm)", in terms of tone and audience. I was >> originally hoping that I could write the whole thing myself so >> Binara would have its name on something concrete (and to make it >> less of a hassle to get printed) but as with the documentation, >> I'm sure it will work better with many people putting their >> heads together. >> >> I would like for it to be available in printed form somehow (I >> know MANY programmers who need some kind of printed reference to >> feel comfortable), and I think we should work out some >> arrangement such that anyone who contributes can get it >> published in his own country, or something like that. It's not >> that I really want to make money off of it, but that I dearly >> wish to walk into Barnes and Noble someday and see a Gambas book >> among the wasteland of VB ;) >> >> Rob >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by BEA Weblogic Workshop >> FREE Java Enterprise J2EE developer tools! >> Get your free copy of BEA WebLogic Workshop 8.1 today. >> http://ads.osdn.com/?ad_idP47&alloc_id808&op=Click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > I can translate it in Italian if you like From budi at ...415... Tue Aug 31 04:34:20 2004 From: budi at ...415... (budi at ...415...) Date: Tue, 31 Aug 2004 09:34:20 +0700 Subject: [Gambas-user] BENOIT : EMhhhh ;) In-Reply-To: <41332d47.5b37.0@...9...> References: <41332d47.5b37.0@...9...> Message-ID: <1093919659.4133e3ac019d3@...416...> Yeah, i was using kernel 8.4.3 and now should go back to 2.6.7 :) LOL Hey anybody wanna recreate the list of Feature of Gambas ? so many features added now...;) that would be nice for the people who wanna know gambas... Quoting Charlie Reinl : > >Oh my god...that's right..i'm in the future now ? LOL....Shit i didnt > realize > if > >my computer clock was set uncorrectly, so the mail date was that date. Hope > > >this mail is all right. > > > >Quoting ron : > > > >> Did you take a look in the picture. > >> > >> Use a microscoop for the date fields. > >> > >> Or you are talking from the future back to 2004 ? :) > >> Tell in that case how well it is accepted to use Linux and Gambas=20 > >> as operating system and development environment. > >> > >> greetings to the future :) > >> > >> Ron > >> > >> On Monday 30 August 2027 04:31, BUDI ARIEF GUSANDI wrote: > >> > Hey what's wrong guy ;) > >> >=20 > >> > On Sat, 28 Aug 2004 00:21:50 +0200, Charlie > wrote: > > >> >=20 > >> > > Michael Sullivan schrieb: > >> > > > >> > >> ? > >> > >> > >> > > OK > >> > > > >> > >> > >> > >> > >> > >> On Fri, 2004-08-27 at 13:22, Charlie wrote: > >> > >> > >> > >> > >> > >>> BUDI ARIEF GUSANDI schrieb: > >> > >>> > >> > >>> Salut , > >> > >>> > >> > >>> I thought gambas 1.0 will come out 2004 / 2005 and now I see that in > > >> > >>> 2027 it isn't still out. > >> > >>> So I don't understand why Beno=C3=AEt should be in rush after all > tha= > > >> t =20 > >> > >>> years. > >> > >>> > >> > >>> But I'm happy I'M still alive. > >> > >>> > >> > >>> Amicalement > >> > >>> Charlie > >> > >>> > >> > >>> > >> > >>> > >> > >>>> Hi benoit... > >> > >>>> > >> > >>>> Seems you're in rush to go to version 1 ;) > >> > >>>> > >> > >>>> Regards, > >> > >>>> > >> > >>>> Budi > >> > >>>> > >> > >>>> > >> > > > > Welcome back at times where we use Linuxkernel 2.4.25 or 2.6.7 > > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From f_pantaleone at ...67... Tue Aug 31 18:29:28 2004 From: f_pantaleone at ...67... (FRANCESCO PANTALEONE) Date: Tue, 31 Aug 2004 16:29:28 +0000 Subject: [Gambas-user] Hellp /ITALIAN DOCS PROJECT /i'm in the chat Message-ID: well , i'm sorry but i'm a super rookie using linux so I'M STILL tryng to do this thing (but i'm enjoing discovering the fantastic worls of linux). I downloaded mysqlclient and i ran the rpm installation , is not workin so I think i've to go in some dirs in gambas and search for mysql client .. I didnt found it . Could you give me some indications for dummies ... I know you have no time but if someone want to help i Will do the best to grow in this program , with this program , for this program . ALSO , i can help to translate DOCS in my languages , I subscribe the chat irc.freenode.net #gambas my nick is gamberone Francesco >From: Benoit Minisini >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] Hellp >Date: Mon, 30 Aug 2004 12:29:36 +0200 > >On Monday 30 August 2004 12:19, FRANCESCO PANTALEONE wrote: > > Hello , i'm Francesco from Italy , i'm a newbie of gambas but I think me > > and the gambero will have lots of fun together in the future so i would > > like to thank you for support in advance (and also to be the father o f > > this amazing sftware) . > > WELL , I got some problems with database manager Mysql . > > I'm using gambas version 0.98a under mandrake 10.0 and Mysql version is > > server version: 4.0.18 . > > the problem is that evrytime i try to connect with the database manager > > gives me an error : cannot find driver for database (I also configure >host > > , user and pswrd). NOW , is it something that i forget to configure ?? >and > > in which program in gambas or in Mysql ? or probably i need another >version > > of mysql ?? > > Thank you in advance > > Francesco Pantaleone > >If you compiled gambas from the sources, then you forgot to install the >mysql-client package (search the package that includes the file mysql.h). > >-- >Benoit Minisini >mailto:gambas at ...1... > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user _________________________________________________________________ Filtri antispamming e antivirus per la tua casella di posta http://www.msn.it/msn/hotmail From gambas at ...1... Tue Aug 31 19:48:11 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 31 Aug 2004 19:48:11 +0200 Subject: [Gambas-user] Hellp /ITALIAN DOCS PROJECT /i'm in the chat In-Reply-To: References: Message-ID: <200408311948.11979.gambas@...1...> On Tuesday 31 August 2004 18:29, FRANCESCO PANTALEONE wrote: > well , i'm sorry but i'm a super rookie using linux so I'M STILL tryng to > do this thing (but i'm enjoing discovering the fantastic worls of linux). I > downloaded mysqlclient and i ran the rpm installation , is not workin so I > think i've to go in some dirs in gambas and search for mysql client .. I > didnt found it . > Could you give me some indications for dummies ... > I know you have no time but if someone want to help i Will do the best to > grow in this program , with this program , for this program . > ALSO , i can help to translate DOCS in my languages , > I subscribe the chat irc.freenode.net #gambas > my nick is gamberone > Francesco > Hmm... What are you talking about ? Can youd find the mysql.h file on your system and tell me where it is located ? Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Tue Aug 31 20:40:31 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 31 Aug 2004 14:40:31 -0400 Subject: [Gambas-user] Hellp /ITALIAN DOCS PROJECT /i'm in the chat In-Reply-To: References: Message-ID: <200408311440.31300.sourceforge-raindog2@...94...> On Tuesday 31 August 2004 12:29, FRANCESCO PANTALEONE wrote: > this program . ALSO , i can help to translate DOCS in my > languages , You are not the only Italian Gambas user, and some people have started work on translating the documentation in the wiki (not a small job, unfortunately!) Here is the Italian Gambas wiki: http://www.binara.com/gambas-wiki/bin/view/GambasItaliano I don't think I know the answer to your mysqlclient problem but once you do start getting comfortable with Gambas, I encourage you to help them translate. Thanks! Rob