From gambas at ...1077... Thu Sep 1 02:26:23 2005 From: gambas at ...1077... (Alex Schaller) Date: Wed, 31 Aug 2005 20:26:23 -0400 Subject: [Gambas-user] Editor Control Insert function problem In-Reply-To: <200508300740.52181.gambas@...1077...> References: <200508300740.52181.gambas@...1077...> Message-ID: <200508312026.23166.gambas@...1077...> Hello Benoit! > >Hello! >> > >I was trying to us the insert function to put some text in the editor > >control: >> > >Editor1.Insert("Hello", 1, 1) >> >> and I get the Too many Arguments error. > > You have to do move the cursor before: > Editor1.Goto(1, 1) > Editor1.Insert("Hello") Thanks for the tip! Works great!! >> Also, the old Editor control had a pos function which would position the >> cursor at a specific character in the document (very helpfull in my >> project). > The Editor characters are now referenced by line and row everywhere. You > should not have to use an absolute position. What are you doing exactly? I am working on an IDE for a microcontroller. After entering, the code gets passed to an object file which converts it into binary data for the controller. If there is an error in the code the object file returns the error start as an absolute position e.g. character 112. The pos function was perfect for that. >> I am sure I can recreate the functionality of the pos function > I'm not sure :-) As code can be highlighted *and* rewritten (not in custom > mode at the moment), an absolute position can lose its meaning without any > warning... >> but if you plan on providing it again I will wait. >> >> B.t.w I figured out the custom highlighting feature of the new editor >> control and it rocks. >> >> GREAT JOB Benoit !!!!!! > Thanks :-) You are most welcome !!!!!! > -- > Benoit Minisini > mailto:gambas at ...362... Servus, Alex From gambas at ...1077... Thu Sep 1 03:14:55 2005 From: gambas at ...1077... (Alex Schaller) Date: Wed, 31 Aug 2005 21:14:55 -0400 Subject: [Gambas-user] Fwd: Using the Network-Component Message-ID: <200508312114.55676.gambas@...1077...> Hello! > Hi all, > Is it possible to read the source-code of a website directly in a > textarea, via Network-Component? > If this is possible, can somebody give me an example. > > thanx for the help > bm Check out HTTPGet Project within the Networking example section. This will hopefully answer your questions. Alex ------------------------------------------------------- From isy21 at ...1082... Thu Sep 1 03:50:05 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Thu, 1 Sep 2005 08:50:05 +0700 Subject: [Gambas-user] Dateadd function In-Reply-To: <200508311924.06051.gambas@...1...> References: <200508311633.27708.isy21@...1082...> <200508311924.06051.gambas@...1...> Message-ID: <200509010850.09034.isy21@...1082...> I use version 1.0.10, and i use gb.vb component also. How can i do it for dateadd or datediff ? Thanks a lot Ignatius On Thursday 01 September 2005 00:24, Benoit Minisini wrote: > On Wednesday 31 August 2005 11:33, isy21 at ...1082... wrote: > > Hi, all > > > > I have a textbox like this one > > > > textbox1.text =02/08/2005 (in dd/mm/yyyy) > > textbox2.text= 30 (in days) > > textbox3.text= ..is date 30 day after 02/08/2005... ( result must > > be in date too...will be added date from textbox1 with textbox2 in period > > ) (I use in textbox3_change -> > > textbox3.text=dateadd(textbox2.text,d,textbox1.text) > > > > but i return Error --> "unknown indentifier:dateadd > > > > i use suse 9.3 prof > > Good, but you should tell which version of Gambas you use. I guess this is > the stable version, and in the stable version DateAdd does not exist, > except if you use the gb.vb component. > > DateAdd and DateDiff are in the development version. From bernieman.tux at ...626... Thu Sep 1 11:32:09 2005 From: bernieman.tux at ...626... (BernieMan) Date: Thu, 01 Sep 2005 11:32:09 +0200 Subject: [Gambas-user] Fwd: Using the Network-Component In-Reply-To: <200508312114.55676.gambas@...1077...> References: <200508312114.55676.gambas@...1077...> Message-ID: <4316CA99.8030005@...626...> Alex Schaller schrieb: > Hello! > > >>Hi all, >>Is it possible to read the source-code of a website directly in a >>textarea, via Network-Component? >>If this is possible, can somebody give me an example. >> >>thanx for the help >>bm > > > Check out HTTPGet Project within the Networking example section. > This will hopefully answer your questions. > > Alex Thanx Alex, This was the answer. I compiled Gambas 1.0.10 on Gentoo but without some missing Use-Flags. So I had no examples. I recompiled gambas and everything is fine. To Benoit: Keep up the awesome work ... Regards BernieMan From rolf.frogs at ...221... Thu Sep 1 13:14:46 2005 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Thu, 1 Sep 2005 13:14:46 +0200 Subject: [Gambas-user] Problems with examples Message-ID: <200509011314.49900.rolf.frogs@...221...> Hi, I installed gambas 1.9.18 as Debian package and can't start the example programs. I always get the error, that the class file of the starting class could not be loaded. I think it is a path problem or some thing like that. Where may I set or correct the path to the class files. If I open the form and open the class file perhaps with a double click in the form, the class file is there. Any suggestions? Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From andre at ...1101... Thu Sep 1 14:20:03 2005 From: andre at ...1101... (=?ISO-8859-1?Q?Andr=E9_P?=. Santos) Date: Thu, 1 Sep 2005 10:20:03 -0200 Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #1467 - 12 msgs In-Reply-To: <20050901031949.1B551A5721@...763...> References: <20050901031949.1B551A5721@...763...> Message-ID: <20050901121604.M36471@...1101...> Hi, I'm not speak english, but like to gambas. how access firebird with gambas? Thanks, Andr? Pereira Brasil / Montes Claros MG ----------------------------------------------------- Andr? Pereira dos Santos SUPORTE T?CNICO BOA ID?IA INFORM?TICA ----------------------------------------------------- ---------- Original Message ----------- From: gambas-user-request at lists.sourceforge.net To: gambas-user at lists.sourceforge.net Sent: Wed, 31 Aug 2005 20:18:18 -0700 Subject: Gambas-user digest, Vol 1 #1467 - 12 msgs > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-user digest..." > > Today's Topics: > > 1. Dateadd function (isy21 at ...1082...) > 2. Finding Gambas apps (Fabrice Mous) > 3. Re: Finding Gambas apps (Benoit Minisini) > 4. Re: Dateadd function (Benoit Minisini) > 5. Re: Bug in .18 gambas version (Benoit Minisini) > 6. Re: Editor Control Insert function problem (Benoit Minisini) > 7. Cannot see letters on breakpoints (Peter Lang) > 8. Strange Code on Paste (A Person) > 9. Using the Network-Component (BernieMan) > 10. Editor Control Insert function problem (Alex Schaller) > 11. Fwd: Using the Network-Component (Alex Schaller) > 12. Re: Dateadd function (isy21 at ...1082...) > > --__--__-- > > Message: 1 > From: "isy21 at ...1082..." > To: gambas-user at lists.sourceforge.net > Date: Wed, 31 Aug 2005 16:33:27 +0700 > Subject: [Gambas-user] Dateadd function > Reply-To: gambas-user at lists.sourceforge.net > > Hi, all > > I have a textbox like this one > > textbox1.text =02/08/2005 (in dd/mm/yyyy) > textbox2.text= 30 (in days) > textbox3.text= ..is date 30 day after 02/08/2005... ( result must be in > date too...will be added date from textbox1 with textbox2 in period ) > (I use in textbox3_change -> > textbox3.text=dateadd(textbox2.text,d,textbox1.text) > > but i return Error --> "unknown indentifier:dateadd > > i use suse 9.3 prof > > It something i must do, to have result dateadd ? > > Thanks before > > Ignatius > > --__--__-- > > Message: 2 > From: Fabrice Mous > To: gambas-user at lists.sourceforge.net > Date: Wed, 31 Aug 2005 14:12:48 +0200 > Subject: [Gambas-user] Finding Gambas apps > Reply-To: gambas-user at lists.sourceforge.net > > Hi all, > > Just want to mention that nowadays applications made with Gambas are easy to > search on KDE-apps.org [1]. We modified the "depend on" field where you can > now choose that it depends on "gambas" [2]. > > Just select that option in the search area and click search. The result will > show you all gambas apps on KDE-apps.org. Feel free to add your application > as well. > > Take care' > > Fabrice > > [1] http://www.kde-apps.org/content/search.php > [2] perhaps we need to change that with the upcoming Gambas 2 release > > -- > KDE Nederland | www.kde.nl | fabrice at ...114... > > --__--__-- > > Message: 3 > From: Benoit Minisini > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Finding Gambas apps > Date: Wed, 31 Aug 2005 19:23:01 +0200 > Reply-To: gambas-user at lists.sourceforge.net > > On Wednesday 31 August 2005 14:12, Fabrice Mous wrote: > > Hi all, > > > > Just want to mention that nowadays applications made with Gambas are easy > > to search on KDE-apps.org [1]. We modified the "depend on" field where you > > can now choose that it depends on "gambas" [2]. > > > > Just select that option in the search area and click search. The result > > will show you all gambas apps on KDE-apps.org. Feel free to add your > > application as well. > > > > Take care' > > > > Fabrice > > > > > > [1] http://www.kde-apps.org/content/search.php > > [2] perhaps we need to change that with the upcoming Gambas 2 release > > Thanks Fabrice! > > -- > Benoit Minisini > mailto:gambas at ...1... > > --__--__-- > > Message: 4 > From: Benoit Minisini > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Dateadd function > Date: Wed, 31 Aug 2005 19:24:05 +0200 > Reply-To: gambas-user at lists.sourceforge.net > > On Wednesday 31 August 2005 11:33, isy21 at ...1082... wrote: > > Hi, all > > > > I have a textbox like this one > > > > textbox1.text =02/08/2005 (in dd/mm/yyyy) > > textbox2.text= 30 (in days) > > textbox3.text= ..is date 30 day after 02/08/2005... ( result must be > > in date too...will be added date from textbox1 with textbox2 in period ) (I > > use in textbox3_change -> > > textbox3.text=dateadd(textbox2.text,d,textbox1.text) > > > > but i return Error --> "unknown indentifier:dateadd > > > > i use suse 9.3 prof > > Good, but you should tell which version of Gambas you use. I guess this is the > stable version, and in the stable version DateAdd does not exist, except if > you use the gb.vb component. > > DateAdd and DateDiff are in the development version. > > -- > Benoit Minisini > mailto:gambas at ...1... > > --__--__-- > > Message: 5 > From: Benoit Minisini > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Bug in .18 gambas version > Date: Wed, 31 Aug 2005 19:24:34 +0200 > Reply-To: gambas-user at lists.sourceforge.net > > On Tuesday 30 August 2005 23:54, Wsouzap at ...87... wrote: > > Hi! > > I=B4m have x.12 gambas installed in my machine and update to x.18. > > When i open my form the object is more bigs. > > > > Reguards, > > > > Souza, Wellington > > > > when using the ** development ** version, you have to read the ChangeLog=20 > carefully! > > =2D-=20 > Benoit Minisini > mailto:gambas at ...1... > > --__--__-- > > Message: 6 > From: Benoit Minisini > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Editor Control Insert function problem > Date: Wed, 31 Aug 2005 19:28:20 +0200 > Reply-To: gambas-user at lists.sourceforge.net > > On Tuesday 30 August 2005 13:40, Alex Schaller wrote: > > Hello! > > > > I was trying to us the insert function to put some text in the editor > > control: > > > > Editor1.Insert("Hello", 1, 1) > > > > and I get the Too many Arguments error. > > > > You have to do move the cursor before: > > Editor1.Goto(1, 1) > Editor1.Insert("Hello") > > > Also, the old Editor control had a pos function which would position the > > cursor at a specific character in the document (very helpfull in my > > project). > > The Editor characters are now referenced by line and row everywhere. You > should not have to use an absolute position. What are you doing exactly? > > > I am sure I can recreate the functionality of the pos function > > I'm not sure :-) As code can be highlighted *and* rewritten (not in custom > mode at the moment), an absolute position can lose its meaning without any > warning... > > > but if you plan on providing it again I will wait. > > > > B.t.w I figured out the custom highlighting feature of the new editor > > control and it rocks. > > > > GREAT JOB Benoit !!!!!! > > Thanks :-) > > -- > Benoit Minisini > mailto:gambas at ...1... > > --__--__-- > > Message: 7 > From: Peter Lang > To: gambas-user at lists.sourceforge.net > Date: Wed, 31 Aug 2005 19:59:11 +0200 > Subject: [Gambas-user] Cannot see letters on breakpoints > Reply-To: gambas-user at lists.sourceforge.net > > Hi List, > > today i installed Version 1.9.18 from linex.org on Debian Sid. > Now when i set a breakpoint, or when im in the debugger, the current line or > the lines with breakpoints cannot be read, means i can see no letters! > > In the Preferences Dialog, when i click on such a line, the text appears, but > is hidden again if i click on an other line. > I tried different Colorthemes, changed the Color manually, but always the > same. The Editing Line (with the light background) is not affected. > > Any suggestions are welcome, i don't know if this is my Comp or is it Gambas? > Sid is somehow unstable this time :) > > Thanks to all Gambas Developers and Contributers for this fine Piece of > Software. > > Peter > -- > http://learn.to/quote > Free as in Freedom > > --__--__-- > > Message: 8 > Date: Wed, 31 Aug 2005 15:30:21 -0230 > From: A Person > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] Strange Code on Paste > Reply-To: gambas-user at lists.sourceforge.net > > Wednesday, 31 August 2005 > > Good Day All . . . > > I was cutting and pasting some text in 1.0.10. The text was about TRY > and OPEN a file and was about 12 lines long. When I pasted the text into > my code the following showed up. The original code was replaced also by > this. > > { TextBox1 TextBox > Move(0,0,248,32) > Font = Font["14"] > Text = ("") > } > > My text bears no relationship the above. I think something went wrong. I > CTRL+Z until the original text showed up and I tried to reproduce the > problem but I was unsuccessful. > > FYI. > > Thanks. > > Paul > > --__--__-- > > Message: 9 > Date: Wed, 31 Aug 2005 23:46:54 +0200 > From: BernieMan > To: Gambas Mailinglist > Subject: [Gambas-user] Using the Network-Component > Reply-To: gambas-user at lists.sourceforge.net > > Hi all, > Is it possible to read the source-code of a website directly in a > textarea, via Network-Component? > If this is possible, can somebody give me an example. > > thanx for the help > bm > > --__--__-- > > Message: 10 > From: Alex Schaller > To: gambas-user at lists.sourceforge.net > Date: Wed, 31 Aug 2005 20:26:23 -0400 > Subject: [Gambas-user] Editor Control Insert function problem > Reply-To: gambas-user at lists.sourceforge.net > > Hello Benoit! > > > >Hello! > >> > > >I was trying to us the insert function to put some text in the editor > > >control: > >> > > >Editor1.Insert("Hello", 1, 1) > >> > >> and I get the Too many Arguments error. > > > > > You have to do move the cursor before: > > > Editor1.Goto(1, 1) > > Editor1.Insert("Hello") > > Thanks for the tip! Works great!! > > >> Also, the old Editor control had a pos function which would position the > >> cursor at a specific character in the document (very helpfull in my > >> project). > > > The Editor characters are now referenced by line and row everywhere. You > > should not have to use an absolute position. What are you doing exactly? > > I am working on an IDE for a microcontroller. > After entering, the code gets passed to an object file which converts it into > binary data for the controller. If there is an error in the code the object > file returns the error start as an absolute position e.g. character 112. > The pos function was perfect for that. > > >> I am sure I can recreate the functionality of the pos function > > > I'm not sure :-) As code can be highlighted *and* rewritten (not in custom > > mode at the moment), an absolute position can lose its meaning without any > > warning... > > >> but if you plan on providing it again I will wait. > >> > >> B.t.w I figured out the custom highlighting feature of the new editor > >> control and it rocks. > >> > >> GREAT JOB Benoit !!!!!! > > > Thanks :-) > > You are most welcome !!!!!! > > > -- > > Benoit Minisini > > mailto:gambas at ...362... > > Servus, > > Alex > > --__--__-- > > Message: 11 > From: Alex Schaller > To: gambas-user at lists.sourceforge.net > Date: Wed, 31 Aug 2005 21:14:55 -0400 > Subject: [Gambas-user] Fwd: Using the Network-Component > Reply-To: gambas-user at lists.sourceforge.net > > Hello! > > > Hi all, > > Is it possible to read the source-code of a website directly in a > > textarea, via Network-Component? > > If this is possible, can somebody give me an example. > > > > thanx for the help > > bm > > Check out HTTPGet Project within the Networking example section. > This will hopefully answer your questions. > > Alex > > ------------------------------------------------------- > > --__--__-- > > Message: 12 > From: "isy21 at ...1082..." > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Dateadd function > Date: Thu, 1 Sep 2005 08:50:05 +0700 > Reply-To: gambas-user at lists.sourceforge.net > > I use version 1.0.10, and i use gb.vb component also. > How can i do it for dateadd or datediff ? > > Thanks a lot > > Ignatius > > On Thursday 01 September 2005 00:24, Benoit Minisini wrote: > > On Wednesday 31 August 2005 11:33, isy21 at ...1082... wrote: > > > Hi, all > > > > > > I have a textbox like this one > > > > > > textbox1.text =02/08/2005 (in dd/mm/yyyy) > > > textbox2.text= 30 (in days) > > > textbox3.text= ..is date 30 day after 02/08/2005... ( result must > > > be in date too...will be added date from textbox1 with textbox2 in period > > > ) (I use in textbox3_change -> > > > textbox3.text=dateadd(textbox2.text,d,textbox1.text) > > > > > > but i return Error --> "unknown indentifier:dateadd > > > > > > i use suse 9.3 prof > > > > Good, but you should tell which version of Gambas you use. I guess this is > > the stable version, and in the stable version DateAdd does not exist, > > except if you use the gb.vb component. > > > > DateAdd and DateDiff are in the development version. > > --__--__-- > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > End of Gambas-user Digest ------- End of Original Message ------- From nigel at ...38... Thu Sep 1 18:14:00 2005 From: nigel at ...38... (nigel at ...38...) Date: Thu, 1 Sep 2005 18:14:00 +0200 (CEST) Subject: [Gambas-user] Dateadd function Message-ID: <7638929.1125591240795.JavaMail.www@...796...> Use vb.dateadd e.g. textbox3.text=vb.dateadd(textbox2.text,d,textbox1.text) > Message Received: Sep 01 2005, 02:45 AM > From: "isy21 at ...1082..." > To: gambas-user at lists.sourceforge.net > Cc: > Subject: Re: [Gambas-user] Dateadd function > > > I use version 1.0.10, and i use gb.vb component also. > How can i do it for dateadd or datediff ? > > Thanks a lot > > Ignatius > > On Thursday 01 September 2005 00:24, Benoit Minisini wrote: > > On Wednesday 31 August 2005 11:33, isy21 at ...1082... wrote: > > > Hi, all > > > > > > I have a textbox like this one > > > > > > textbox1.text =02/08/2005 (in dd/mm/yyyy) > > > textbox2.text= 30 (in days) > > > textbox3.text= ..is date 30 day after 02/08/2005... ( result must > > > be in date too...will be added date from textbox1 with textbox2 in period > > > ) (I use in textbox3_change -> > > > textbox3.text=dateadd(textbox2.text,d,textbox1.text) > > > > > > but i return Error --> "unknown indentifier:dateadd > > > > > > i use suse 9.3 prof > > > > Good, but you should tell which version of Gambas you use. I guess this is > > the stable version, and in the stable version DateAdd does not exist, > > except if you use the gb.vb component. > > > > DateAdd and DateDiff are in the development version. > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Thu Sep 1 20:10:37 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 1 Sep 2005 20:10:37 +0200 Subject: [Gambas-user] Strange Code on Paste In-Reply-To: <4315F035.9020705@...966...> References: <4315F035.9020705@...966...> Message-ID: <200509012010.37608.gambas@...1...> On Wednesday 31 August 2005 20:00, A Person wrote: > Wednesday, 31 August 2005 > > Good Day All . . . > > I was cutting and pasting some text in 1.0.10. The text was about TRY > and OPEN a file and was about 12 lines long. When I pasted the text into > my code the following showed up. The original code was replaced also by > this. > > { TextBox1 TextBox > Move(0,0,248,32) > Font = Font["14"] > Text = ("") > } > > My text bears no relationship the above. I think something went wrong. I > CTRL+Z until the original text showed up and I tried to reproduce the > problem but I was unsuccessful. > > FYI. > > Thanks. > > Paul > You thought you copied your text in the clipboard, but you didn't (I do that sometimes too...). So you pasted what was in the clipboard before, which is some Gambas IDE stuff. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Sep 1 21:01:38 2005 From: gambas at ...1... (Benoit Minisini) Date: Thu, 1 Sep 2005 21:01:38 +0200 Subject: [Gambas-user] Release of gambas 1.0.11 and 1.9.19 Message-ID: <200509012101.39115.gambas@...1...> Hi everybody! Here is a simultaneous release of stable and development versions :-) Here are the main changes: In the 1.0.11 stable version: * A new swedish translation made by Peter Landgren. * Some bug fixes in the QT component. In the 1.9.19 development version: * A insignificant and incomplete example of what could be the interface of the next development environment. * A new instruction, SCAN, to match a string against a pattern. * A new container, SidePanel. * Many bug fixes in the QT component, the Editor control, and the KDE component among other things. WARNING! Bytecode has changed, so you will be warned to recompile your projects... Don't forget to read the change logs... Now some news about me: I will move to a new cupboard^W^H flat in Paris in the next days, and I won't be connected to Internet from 5 Sep, and for an unknown period of time. I will see if I can use sometimes the connection of a friend, but you may have to manage yourself :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From francesco.difusco at ...69... Thu Sep 1 22:39:35 2005 From: francesco.difusco at ...69... (Alonzo Flinston) Date: Thu, 01 Sep 2005 22:39:35 +0200 Subject: [Gambas-user] Release of gambas 1.0.11 and 1.9.19 In-Reply-To: <200509012101.39115.gambas@...1...> References: <200509012101.39115.gambas@...1...> Message-ID: <1125607175.22106.1.camel@...1064...> I have found 1.9.18 twice, there is no 1.9.19 version, both links point to 1.9.18 Gambas Francesco > -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From gambasfr at ...11... Thu Sep 1 22:49:49 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Thu, 1 Sep 2005 22:49:49 +0200 Subject: [Gambas-user] Bad link Message-ID: <200509012249.49538.gambasfr@...11...> Hey Benoit, Your link on the site for the 1.9.19 is wrong... it match the 1.9.18... Other thing can you answer to my mail on your private box ? Fabien From comtux at ...626... Thu Sep 1 23:08:37 2005 From: comtux at ...626... (Steve Starr) Date: Thu, 1 Sep 2005 21:08:37 +0000 Subject: [Gambas-user] Re: Release of gambas 1.0.11 and 1.9.19 In-Reply-To: <1125607175.22106.1.camel@...1064...> References: <200509012101.39115.gambas@...1...> <1125607175.22106.1.camel@...1064...> Message-ID: <78f4b76705090114081e3d3634@...627...> I found 1.9.19 by adding 1.9.19 to the url but after i compile and install and then i try to run gamabs i get this error. bash-3.00# gambas2 FOption._init.13: #2: Cannot load class 'FEditor': Unable to load class file WARNING: circular references detected FDebugInfo (1) FOutput (1) FDebug (1) FMain (1) On 9/1/05, Alonzo Flinston wrote: > > I have found 1.9.18 twice, there is no 1.9.19 version, both links point > to 1.9.18 Gambas > > Francesco > > > > -- > Teaching OnLine > Corsi online di programmazione > Php, Asp, C, C++, Visual Basic, Delphi > Linux Shell Programming > ------------------------------------ > http://www.teachingonline.it > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambasfr at ...11... Fri Sep 2 00:11:35 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Fri, 2 Sep 2005 00:11:35 +0200 Subject: [Gambas-user] BIG BUG in gb 1.9.19 Message-ID: <200509020011.35450.gambasfr@...11...> Hi, this is the soluce :) for that : This application has raised an unexpected error and must abord [2]Cannot load class 'FEditor': unable to load class file. FOption._init.13 Replace in gambas2-1.9.19/app/src/gambas2 the file FEditor.class By the one put in attachement Regards, Fabien Bodard Benoit, when you create a new KeyWord... (Scan) Make a seach in your old code to know if you don't use it ! ;-) It's a jock but it's the real cause of the error You make a really good job ! Regards, Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: FEditor.class Type: application/x-java Size: 36490 bytes Desc: not available URL: From gambasfr at ...11... Fri Sep 2 00:22:29 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Fri, 2 Sep 2005 00:22:29 +0200 Subject: [Gambas-user] Gambas2-1.9.19 Link Message-ID: <200509020022.29166.gambasfr@...11...> This is a link to Gambas2-1.9.19 http://prdownloads.sf.net/gambas/gambas2-1.9.19.tar.bz2?download Fabien Bodard From fidojones at ...805... Fri Sep 2 00:49:50 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Fri, 2 Sep 2005 00:49:50 +0200 (CEST) Subject: [Gambas-user] Err.....Cannot load class 'FEditor' gambas 1.9.19 another time Message-ID: <39719.85.155.33.88.1125614990.squirrel@...962...> Benoit, you think could be a joke but another time it not compile clean very well :DDDDDDDD gambas 1.9.19 ======================== bash:/opt/gambas2/bin# ./gambas2.gambas FOption._init.13: #2: Cannot load class 'FEditor': Unable to load class file WARNING: circular references detected FDebugInfo (1) FOutput (1) FDebug (1) FMain (1) From comtux at ...626... Fri Sep 2 03:46:11 2005 From: comtux at ...626... (Steve Starr) Date: Fri, 2 Sep 2005 01:46:11 +0000 Subject: [Gambas-user] Re: BIG BUG in gb 1.9.19 In-Reply-To: <200509020011.35450.gambasfr@...11...> References: <200509020011.35450.gambasfr@...11...> Message-ID: <78f4b7670509011846204f8a4e@...627...> I used your fix fabien but if you right click on a control to edit the propertys i get the scan error. Ohhh well ill go back to 1.9.18 :) On 9/1/05, Fabien Bodard wrote: > > Hi, this is the soluce :) > > for that : > > This application has raised an unexpected error and must abord > > [2]Cannot load class 'FEditor': unable to load class file. > FOption._init.13 > > > Replace in > > gambas2-1.9.19/app/src/gambas2 > > the file > > FEditor.class > By the one put in attachement > > Regards, Fabien Bodard > > > Benoit, when you create a new KeyWord... (Scan) Make a seach in your old > code > to know if you don't use it ! ;-) > > It's a jock but it's the real cause of the error > > You make a really good job ! > > Regards, > Fabien Bodard > > From fidojones at ...805... Fri Sep 2 09:37:50 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Fri, 2 Sep 2005 09:37:50 +0200 (CEST) Subject: [Gambas-user] Re: BIG BUG in gb 1.9.19 In-Reply-To: <78f4b7670509011846204f8a4e@...627...> References: <200509020011.35450.gambasfr@...11...> <78f4b7670509011846204f8a4e@...627...> Message-ID: <44694.85.155.33.88.1125646670.squirrel@...962...> yeah, and if you modify a property in the property's panel and press enter in raise error also. But workspace works again thanks Benoit a lot of kisses...... > I used your fix fabien but if you right click on a control to edit the > propertys i get the scan error. > > Ohhh well ill go back to 1.9.18 :) > > > On 9/1/05, Fabien Bodard wrote: > >> >> Hi, this is the soluce :) >> >> >> for that : >> >> This application has raised an unexpected error and must abord >> >> >> [2]Cannot load class 'FEditor': unable to load class file. >> FOption._init.13 >> >> >> >> Replace in >> >> >> gambas2-1.9.19/app/src/gambas2 >> >> the file >> >> FEditor.class >> By the one put in attachement >> >> >> Regards, Fabien Bodard >> >> >> >> Benoit, when you create a new KeyWord... (Scan) Make a seach in your >> old code to know if you don't use it ! ;-) >> >> It's a jock but it's the real cause of the error >> >> >> You make a really good job ! >> >> >> Regards, >> Fabien Bodard >> >> >> > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From danielcampos at ...282... Fri Sep 2 09:39:25 2005 From: danielcampos at ...282... (danielcampos at ...282...) Date: Fri, 2 Sep 2005 09:39:25 +0200 Subject: [Gambas-user] Using the Network-Component Message-ID: Hi: Look at the HttpClient class from the gb.net.curl component. Regards, D. Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From danielcampos at ...282... Fri Sep 2 12:38:29 2005 From: danielcampos at ...282... (danielcampos at ...282...) Date: Fri, 2 Sep 2005 12:38:29 +0200 Subject: [Gambas-user] Re: BIG BUG in gb 1.9.19 Message-ID: Hi all: I recommend to not use Gambas-1.9.19, the IDE is absolutely broken, even using Fabien's patch. Keep Gambas-1.9.18 in safe place! I think it is moment to stop that run to nowhere at full speed, and leave time to fix all that is done in developement version. It is full of bugs, and each time it is more difficult to collaborate in the project with that continous changes without having any tool like cvs or subversion. No way to continue improving things in that way, I can not guess every time what will be the next change that will break all! :-(( Regards, Daniel Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From jredrejo at ...96... Fri Sep 2 16:31:03 2005 From: jredrejo at ...96... (=?ISO-8859-1?Q?Jos=E9?= L. Redrejo =?ISO-8859-1?Q?Rodr=EDguez?=) Date: Fri, 02 Sep 2005 16:31:03 +0200 Subject: [Gambas-devel] Re: [Gambas-user] Re: BIG BUG in gb 1.9.19 In-Reply-To: <20050902115327.CAED6344272@...1105...> References: <20050902115327.CAED6344272@...1105...> Message-ID: <1125671463.7481.3.camel@...40...> After checking all the "Scan" appearances in the IDE, these are the four files that have to be replaced in the gambas2 dir, instead of those contained in the 1.9.19 sources tree. I haven't found any bug else with these modifications. Regards. El vie, 02-09-2005 a las 13:53 +0000, jredrejo at ...96... escribi?: > The attached file has to be replaced too. It fixes a bug when clicking the btnGoto in the IDE. > Beno?t has used the Scan variable in a good part of the IDE and now it has a lot of conflicts with the new scan instruction. > > Danielcampos at ...282... wrote : > > > Hi all: > > > > I recommend to not use Gambas-1.9.19, the IDE is absolutely broken, even using > > Fabien's patch. Keep Gambas-1.9.18 in safe place! > > > > I think it is moment to stop that run to nowhere at full speed, and leave time > > to fix all that is done in developement version. It is full of bugs, and each > > time it is more difficult to collaborate in the project with that continous > > changes without having any tool like cvs or subversion. No way to continue > > improving things in that way, I can not guess every time what will be the next > > change that will break all! :-(( > > > > > > Regards, > > > > Daniel Campos > > > > ------------------------------------------------------------- > > NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, > > Toolbar... > > Web/Wap : www.netcourrier.com > > T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) > > Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > > & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Gambas-devel mailing list > > Gambas-devel at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-devel > > ____________________________________________ > Servicio WebMail de CiberUNED http://www.uned.es -------------- next part -------------- A non-text attachment was scrubbed... Name: FForm.class Type: application/x-java Size: 33719 bytes Desc: not available URL: -------------- next part -------------- ' Gambas module file PUBLIC ProjectTree AS TreeView PUBLIC ProjectMessage AS Label PUBLIC ActiveForm AS Object PUBLIC Path AS String PUBLIC Name AS String PUBLIC Dir AS String PUBLIC ReadOnly AS Boolean PUBLIC Title AS String PUBLIC Startup AS String PUBLIC Libraries AS String[] PUBLIC Arguments AS String PUBLIC KeepDebugInfo AS Boolean PUBLIC ControlPublic AS Boolean PUBLIC MajorVersion AS Integer PUBLIC MinorVersion AS Integer PUBLIC ReleaseVersion AS Integer PUBLIC SnapToGrid AS Boolean PUBLIC ShowGrid AS Boolean PUBLIC Snap AS Integer PUBLIC Localize AS Boolean PUBLIC ComponentFromType AS Collection PUBLIC Description AS String PUBLIC Icon AS String PUBLIC Systems AS String[] PUBLIC Menus AS Collection PUBLIC Groups AS Collection PUBLIC Prefix AS Boolean PUBLIC TabSize AS Integer PUBLIC Version AS String PUBLIC ExecPath AS String PUBLIC TileGrid AS Picture PUBLIC Running AS Boolean PUBLIC Recent AS NEW String[] PRIVATE CONST MAX_RECENT AS Integer = 24 PUBLIC CONST FORM_MAGIC AS String = "# Gambas Form File 1.0" PUBLIC CONST PROJECT_MAGIC AS String = "# Gambas Project File 1.0" PUBLIC CONST DEFAULT_FONT AS String = "Monospace,10" PUBLIC Files AS NEW Collection PUBLIC AboutToQuit AS Boolean PUBLIC Positions AS NEW String[] PUBLIC CONST MAX_ICON_SIZE AS Integer = 2048 PUBLIC EXAMPLES_DIR AS String PUBLIC RPMBUILD_PROG AS String PRIVATE CONST IMAGE_DIR AS String = "img/16" PRIVATE CONST KEY_MODULE AS String = "$M" PRIVATE CONST KEY_CLASS AS String = "$C" PUBLIC CONST KEY_FORM AS String = "$F" PUBLIC CONST KEY_MISC AS String = "$O" PRIVATE CONST CLASS_AUTH_CAR AS String = "abcdefghijklmnopqrstuvwxyz0123456789" PRIVATE CONST FILE_AUTH_CAR AS String = "abcdefghijklmnopqrstuvwxyz0123456789-.+_" PRIVATE CONST PROJECT_FILE AS String = ".project" PRIVATE $bGetSource AS Boolean PRIVATE $bDisplayForm AS Boolean PRIVATE TMP_FILE AS String '= "/tmp/.gambas.ver" PRIVATE OUTPUT_FILE AS String '= "/tmp/.gambas.out" PRIVATE $sBrowser AS String PUBLIC SUB Main() DIM sPath AS String DIM hGambas AS FGambas TMP_FILE = Temp$() OUTPUT_FILE = Temp$() 'CLASSES_FILE = Temp$() EXAMPLES_DIR = System.Path &/ "share/gambas" & System.Version & "/examples" 'Config = NEW Config '(User.Home &/ ".gambas") Application.Tooltip.Enabled = Settings["/ShowTooltip", TRUE] 'Application.Font = Font["10"] InitVersion LoadRecent FMain.Load FGambas.Load 'FOutput.Load(Workspace) 'FDebug.Load(Workspace) 'FIconTool.Load(Workspace) 'FFormStack.Load(Workspace) 'FExplorer.Load(Workspace) IF Application.Args.Count >= 2 THEN sPath = Application.Args[1] ENDIF DO IF Not sPath THEN sPath = FWelcome.Run() 'sPath = User.Home &/ "gambas/test/gambas" IF sPath THEN Project.Open(sPath) ELSE FMain.Close RETURN ENDIF IF Project.Name THEN BREAK sPath = "" LOOP INC Application.Busy FProperty.Show FToolBox.Show 'FFormStack.Load IF Settings["/ShowMascot", TRUE] THEN FGambas.Show ENDIF FMain.UpdateRecentMenu FMain.Show DEC Application.Busy IF Settings["/ShowTipOnStartup", TRUE] THEN FTips.Run ENDIF END PRIVATE SUB InitVersion() DIM sVer AS String Version = "?" 'SHELL "gbx" & System.Version & " -V > " & TMP_FILE 'WAIT 'sVer = File.Load(TMP_FILE) 'KILL TMP_FILE SHELL "gbx" & System.Version & " -V" TO sVer Version = Trim(Mid$(sVer, InStr(sVer, "-") + 1)) END PUBLIC FUNCTION Open(sDir AS String) AS Boolean DIM sOldPath AS String DIM sOldName AS String sOldPath = Project.Path sOldName = Project.Name IF CloseProject() THEN RETURN TRUE IF Exist(sDir &/ ".lock") THEN IF Message.Warning(("BE CAREFUL! This project seems to be already opened.\n\nOpening the same project twice can crash the IDE\nand lead to data loss."), ("Open after all"), ("Do not open")) = 2 THEN RETURN TRUE ENDIF TRY KILL sDir &/ ".lock" ENDIF ReadOnly = NOT Access(sDir, gb.write) Path = sDir &/ PROJECT_FILE Name = File.Name(sDir) Project.Dir = sDir ReadProject Refresh AddRecent(sDir) FMain.OnProjectChange FFind.OnProjectChange 'FExplorer.ProjectChange FDebug.Clear TRY File.Save(sDir &/ ".lock", "") IF ReadOnly THEN Message.Warning(("This project is read-only.")) SetMessage(("OK")) RETURN CATCH IF Error.Text THEN Message.Error(("Cannot open project file :\n") & sDir & "\n\n" & Error.Text & "\n" & Error.Where) ENDIF Path = sOldPath Project.Dir = File.Dir(Path) Name = sOldName IF Path THEN ReadProject RETURN TRUE END PUBLIC SUB CloseAll() DIM hForm AS Object FOR EACH hForm IN Files hForm.Close NEXT END PRIVATE FUNCTION CloseProject() AS Boolean DIM hForm AS Object DIM bModif AS Boolean 'IF Len(Path) = 0 THEN RETURN IF Running THEN FDebug.Stop 'WAIT 0.5 ENDIF FOR EACH hForm IN Files IF hForm.IsModified() THEN bModif = TRUE BREAK ENDIF NEXT IF bModif THEN IF FSave.Run(AboutToQuit) THEN RETURN TRUE ENDIF FFind.Close INC Application.Busy FOR EACH hForm IN Files hForm.Delete NEXT Files.Clear ActiveForm = NULL DEC Application.Busy IF NOT AboutToQuit THEN FProperty.HideAll TRY KILL Project.Dir &/ ".lock" RETURN FALSE END PUBLIC FUNCTION Close() AS Boolean DIM hForm AS Form DIM iInd AS Integer DIM sLig AS String AboutToQuit = TRUE IF CloseProject() THEN AboutToQuit = FALSE RETURN TRUE ENDIF 'FDebug.Close 'FOR EACH hForm IN Windows ' TRY hForm.Close 'NEXT 'FOR EACH hForm IN Windows ' TRY hForm.Delete 'NEXT ' FToolBox.Delete ' FExplorer.Delete ' FFind.Delete ' FGambas.Delete ' FIconTool.Delete ' FDebug.Delete ' FProperty.Delete CComponent.Exit END PRIVATE PROCEDURE AddDir(cDir AS String[]) DIM sDir AS String DIM sFile AS String DIM sIcon AS String DIM sPath AS String DIM sKey AS String DIM bShow AS Boolean DIM sExt AS String DIM sParent AS String DIM hPict AS Picture DIM aFile AS NEW String[] DIM bAllowForm AS Boolean bAllowForm = AllowForm() sDir = cDir[0] FOR EACH sFile IN Dir(sDir, "*") IF IsDir(sDir &/ sFile) THEN aFile.Add("D" & sFile) NEXT FOR EACH sFile IN Dir(sDir, "*") IF NOT IsDir(sDir &/ sFile) THEN aFile.Add("F" & sFile) NEXT aFile.Sort FOR EACH sFile IN aFile sFile = Mid$(sFile, 2) sPath = sDir &/ sFile sKey = sPath sParent = sDir WITH Stat(sPath) IF .Hidden THEN CONTINUE bShow = FALSE IF .Type = gb.Directory THEN cDir.Add(sPath) sIcon = IMAGE_DIR &/ "close.png" IF sDir = Project.Dir THEN sParent = KEY_MISC ENDIF bShow = TRUE ELSE 'IF InStr(.Perm.User & .Perm.Group & .Perm.Other, "x") THEN CONTINUE sExt = Lower(File.Ext(sFile)) IF sDir = Project.Dir THEN sParent = KEY_MISC ENDIF SELECT CASE sExt CASE "form", "class", "module" IF sParent = KEY_MISC THEN sIcon = IMAGE_DIR &/ sExt & ".png" bShow = TRUE IF sExt = "form" THEN sParent = KEY_FORM IF NOT bAllowForm THEN sIcon = "" ELSE IF sExt = "class" THEN sParent = KEY_CLASS IF $bDisplayForm THEN IF NOT bAllowForm THEN IF Exist(sDir &/ File.BaseName(sFile) & ".form") THEN sIcon = "" ENDIF ENDIF ELSE IF Exist(sDir &/ File.BaseName(sFile) & ".form") THEN sIcon = "" ENDIF ENDIF ELSE IF sExt = "module" THEN sParent = KEY_MODULE ENDIF sFile = File.BaseName(sFile) ELSE sIcon = IMAGE_DIR &/ "unknown.png" ENDIF CASE "jpg", "jpeg", "xpm", "bmp", "png", "gif" IF .Size > MAX_ICON_SIZE THEN sIcon = IMAGE_DIR &/ "image.png" ELSE sIcon = sPath ENDIF CASE "svg" sIcon = IMAGE_DIR &/ "image.png" CASE "pot" IF sParent = KEY_MISC THEN sIcon = "" ENDIF CASE "gambas" CONTINUE CASE ELSE sIcon = "" IF Right$(sFile, 1) <> "~" THEN IF sFile <> Project.Name OR sParent <> KEY_MISC THEN sIcon = IMAGE_DIR &/ "unknown.png" ENDIF ENDIF END SELECT ENDIF IF Len(sIcon) THEN IF Left$(sIcon) = "/" THEN hPict = NEW Picture TRY hPict.Load(sIcon) ELSE hPict = Picture[sIcon] ENDIF WITH ProjectTree.Add(sKey, sFile, hPict, sParent) IF bShow THEN ProjectTree[sKey].MoveParent ProjectTree.Item.Expanded = TRUE ENDIF END WITH ENDIF END WITH NEXT END PRIVATE SUB SelectKey(sKey AS String) IF NOT ProjectTree.Exist(sKey) THEN IF Right$(sKey, 6) = ".class" THEN sKey = Left$(sKey, -6) & ".form" ENDIF ENDIF TRY ProjectTree[sKey].Selected = TRUE TRY ProjectTree[sKey].EnsureVisible END PUBLIC PROCEDURE Refresh(OPTIONAL bReset AS Boolean) DIM sFile AS String DIM cDir AS NEW String[] DIM sDir AS String DIM sKey AS String DIM sKeyReset AS String $bDisplayForm = Settings["/DisplayForm"] IF NOT bReset THEN sKeyReset = ProjectTree.Key ENDIF WITH ProjectTree .Clear() sKey = Project.Dir .Add(sKey, Name, Picture["img/16/gambas.png"]).Expanded = TRUE cDir.Add(Project.Dir) .Add(KEY_CLASS, ("Classes"), Picture["img/16/close.png"], sKey) IF AllowForm() THEN .Add(KEY_FORM, ("Forms"), Picture["img/16/close.png"], sKey) ENDIF .Add(KEY_MODULE, ("Modules"), Picture["img/16/close.png"], sKey) .Add(KEY_MISC, ("Data"), Picture["img/16/close.png"], sKey) '$bGetSource = TRUE REPEAT AddDir(cDir) cDir.Remove(0) $bGetSource = FALSE UNTIL cDir.Count = 0 '.Sort() END WITH IF sKeyReset THEN sKey = sKeyReset TRY ProjectTree[sKey].EnsureVisible DefineStartup(Startup, TRUE) WITH ProjectTree .MoveFirst WHILE .Available .Current.Expanded = .Current.Children > 0 .MoveNext WEND END WITH 'STOP FMain.Title = ("Project") & " - " & Name & If(ReadOnly, " [" & ("Read only") & "]", "") END PUBLIC FUNCTION IsEditor(hFile AS Object) AS Boolean RETURN Object.Type(hFile) = "FEditor" END PUBLIC FUNCTION IsForm(hFile AS Object) AS Boolean IF hFile THEN RETURN Object.Type(hFile) = "FForm" END PUBLIC FUNCTION LoadFile(sPath AS String) AS Object DIM hForm AS Object 'DIM hActive AS Object INC Application.Busy hForm = Files[sPath] IF Not hForm THEN 'PRINT "Load: "; sPath 'hActive = ActiveForm SELECT CASE Lower(File.Ext(sPath)) CASE "module", "class" hForm = NEW FEditor(sPath) CASE "form" IF AllowForm() THEN hForm = NEW FForm(sPath) CASE "png", "gif", "jpg", "jpeg", "bmp", "xpm" hForm = NEW FIconEditor(sPath) CASE ELSE hForm = NEW FTextEditor(sPath) END SELECT Files[sPath] = hForm ENDIF DEC Application.Busy RETURN hForm CATCH DEC Application.Busy Message.Error(("Cannot open file.") & "\n\n" & Error.Text & "\n" & Error.Where) END PUBLIC FUNCTION FindPath(sClass AS String) AS String DIM sPath AS String DIM aDir AS String[] DIM iInd AS Integer aDir = Dir(Project.Dir) iInd = aDir.Find(sClass & ".class", gb.Text) IF iInd >= 0 THEN RETURN Project.Dir &/ aDir[iInd] iInd = aDir.Find(sClass & ".module", gb.Text) IF iInd >= 0 THEN RETURN Project.Dir &/ aDir[iInd] 'PRINT "FindPath: "; sClass; " ?" END PUBLIC SUB OpenFile(sPath AS String, OPTIONAL iLine AS Integer) DIM hForm AS Object IF InStr(sPath, "/") = 0 THEN sPath = FindPath(sPath) IF Not Exist(sPath) THEN Message.Warning("File not found!") Project.Refresh RETURN ENDIF 'IF File.Ext(sPath) = "form" THEN ' FProperty.Show ' FToolBox.Show 'ENDIF LoadFile(sPath) hForm = Files[sPath] IF NOT hForm THEN RETURN hForm.Show IF Object.Type(hForm) = "FEditor" THEN hForm.Editor.SetFocus ENDIF IF iLine THEN hForm.GotoCenter(iLine, 0) END PUBLIC FUNCTION ExistForm(sName AS String) AS Boolean RETURN Dir(Project.Dir, "*.form").Find(sName & ".form", gb.Text) >= 0 END PUBLIC SUB OpenForm(sName AS String) DIM sPath AS String sPath = Project.Dir &/ sName & ".form" IF Exist(sPath) THEN OpenFile(sPath) END PRIVATE FUNCTION AddMessage(sVoid AS String) AS String DIM hFic AS File DIM sLig AS String IF Stat(OUTPUT_FILE).Size = 0 THEN SetMessage(sVoid) RETURN ELSE OPEN OUTPUT_FILE FOR READ AS #hFic WHILE Not Eof(hFic) LINE INPUT #hFic, sLig 'ProjectMessage.Add(sLig) WEND CLOSE #hFic ENDIF 'ProjectMessage.Index = ProjectMessage.Count - 1 'SetMessage(sLig) RETURN sLig END PRIVATE SUB CompileError(sMsg AS String) DIM iPos AS Integer DIM sFile AS String DIM iLine AS Integer iPos = InStr(sMsg, ":") 'if iPos = 0 then return sFile = Left$(sMsg, iPos - 1) sMsg = Mid$(sMsg, iPos + 1) iPos = InStr(sMsg, ":") 'if iPos = 0 then return iLine = Val(Left$(sMsg, iPos - 1)) 'if iLine = 0 then return sFile = File.Dir(Path) &/ File.Name(sFile) SetMessage(File.BaseName(sFile) & "." & CStr(iLine) & ": " & Trim(Mid$(sMsg, iPos + 1))) OpenFile(sFile, iLine) FGambas.Animate("Depressive") Message.Warning(Trim(Mid$(sMsg, iPos + 1)) & "\n" & Subst(("at line &1 in &2"), CStr(iLine), File.Name(sFile))) OpenFile(sFile, iLine) CATCH END PUBLIC FUNCTION Quote(sPath AS String) AS String DIM sQuote AS String DIM iInd AS Integer DIM sCar AS String sPath = SConv$(sPath) FOR iInd = 1 TO Len(sPath) sCar = Mid$(sPath, iInd, 1) IF InStr("0123456789abcdefghijklmnopqrstuvwxyz.-/_~", LCase(sCar)) = 0 THEN sCar = "\\" & sCar ENDIF sQuote = sQuote & sCar NEXT RETURN sQuote END PUBLIC FUNCTION Escape(sStr AS String) AS String DIM sRes AS String DIM iInd AS Integer DIM sCar AS String DIM iPos AS Integer FOR iInd = 1 TO Len(sStr) sCar = Mid$(sStr, iInd, 1) iPos = InStr("'\"\\\n\r\t", sCar) IF iPos THEN sCar = "\\" & Mid$("'\"\\nrt", iPos, 1) sRes = sRes & sCar NEXT RETURN sRes END PUBLIC SUB Process_Read() DIM sLig AS String LINE INPUT #LAST, sLig PRINT sLig END PUBLIC SUB DeleteCompiledFiles() DIM sFile AS String EXEC ["rm", "-rf", Project.Dir &/ ".gambas"] WAIT IF Exist(Project.Dir &/ ".lang") THEN FOR EACH sFile IN Dir(Project.Dir &/ ".lang", "*.pot") TRY KILL Project.Dir &/ ".lang" &/ sFile NEXT ENDIF END PUBLIC FUNCTION GetCompileCommand(bAll AS Boolean, bNoDebug AS Boolean, bIDE AS Boolean) AS String DIM sExec AS String sExec = System.Path &/ "bin/gbc" & System.Version & " " IF bAll THEN sExec = sExec & "-a " IF NOT bNoDebug THEN sExec = sExec & "-g " IF Localize THEN sExec = sExec & "-t " IF ControlPublic THEN sExec = sExec & "-p " 'sExec = sExec & "-c " & Quote(CLASSES_FILE) & " " & Quote(Project.Dir) & " > " & OUTPUT_FILE & " 2>&1" IF bIDE THEN sExec = sExec & Quote(Project.Dir) sExec = sExec & " > " & OUTPUT_FILE & " 2>&1" ENDIF RETURN sExec END PUBLIC FUNCTION Compile(OPTIONAL bAll AS Boolean, OPTIONAL bNoDebug AS Boolean) AS Boolean DIM sExec AS String DIM sRes AS String DIM sDir AS String IF Project.ReadOnly THEN RETURN IF Project.Running THEN RETURN 'TRUE IF LockIt() THEN RETURN TRUE sDir = Project.Dir Save SetMessage(("Compiling project") & " " & Project.Name & "...") IF bAll THEN CleanUpProject DeleteCompiledFiles WriteProject ENDIF sExec = GetCompileCommand(bAll, bNoDebug, TRUE) SHELL sExec WAIT 'Stat(OUTPUT_FILE) sRes = AddMessage(("Nothing to do.")) IF sRes THEN IF sRes <> "OK" THEN UnlockIt() CompileError(sRes) RETURN TRUE ELSE IF Localize THEN TRY MKDIR sDir &/ ".lang" SHELL "msgcat " & Quote(sDir) &/ ".lang/*.pot > " & Quote(sDir &/ ".lang/.pot") & " 2>/dev/null" WAIT ENDIF SetMessage(("OK")) FGambas.Animate("Happy") ENDIF ENDIF UnlockIt() END PRIVATE FUNCTION CheckRunning(OPTIONAL bCompileAll AS Boolean) AS Boolean IF Project.Running THEN RETURN IF Compile(bCompileAll) THEN RETURN TRUE IF CheckStartupClass() THEN RETURN TRUE END PUBLIC SUB Run(OPTIONAL bCompileAll AS Boolean, OPTIONAL iDebug AS Integer) IF CheckRunning(bCompileAll) THEN RETURN IF iDebug = 1 THEN FDebug.Step ELSE IF iDebug = 2 THEN FDebug.Forward ELSE IF iDebug = 3 THEN FDebug.ReturnFrom ELSE FDebug.Run ENDIF END PUBLIC SUB Forward() IF CheckRunning() THEN RETURN FDebug.Forward END PUBLIC SUB ReturnFrom() IF CheckRunning() THEN RETURN FDebug.ReturnFrom END PUBLIC SUB RunUntil(hForm AS FEditor, iLine AS Integer) IF CheckRunning() THEN RETURN FDebug.RunUntil(hForm, iLine) END PUBLIC SUB Step() IF Compile() THEN RETURN IF CheckStartupClass() THEN RETURN FDebug.Step END PUBLIC SUB Save() DIM hForm AS Object INC Application.Busy FOR EACH hForm IN Files IF Object.Type(hForm) = "FEditor" THEN IF hForm.Save(TRUE) THEN BREAK ELSE IF hForm.Save() THEN BREAK ENDIF NEXT DEC Application.Busy END PUBLIC SUB Insert(sName AS String, sType AS String, OPTIONAL sTemplate AS String, OPTIONAL bNoRefresh AS Boolean) DIM sPath AS String DIM sData AS String sPath = Project.Dir &/ File.BaseName(sName) & "." & sType IF Exist(sPath) THEN Message.Warning(("File already exists.")) RETURN ENDIF File.Save(sPath, sTemplate) IF Not bNoRefresh THEN Refresh OpenFile(sPath) END PUBLIC SUB InsertFile(sName AS String, sDir AS String, OPTIONAL sTemplate AS String) DIM sPath AS String DIM sData AS String sPath = sDir &/ sName IF Len(sTemplate) THEN IF Exist(sPath) THEN Message.Warning(("File already exists.")) RETURN ENDIF SHELL "cp " & Quote(sTemplate) & " " & Quote(sPath) WAIT IF Not Exist(sPath) THEN Message.Error(("Cannot copy template file.")) RETURN ENDIF ENDIF Refresh RefreshLibrary OpenFile(sPath) END PUBLIC SUB InsertDirectory(sPath AS String) IF Exist(sPath) THEN Message.Warning(("Directory already exists.")) RETURN ENDIF MKDIR sPath Refresh END PUBLIC SUB Activate(hForm AS Object) DIM sType AS String 'PRINT Application.ActiveWindow 'TRY PRINT Application.ActiveWindow.Name 'IF Application.ActiveWindow <> hForm THEN RETURN 'IF File.Ext(hForm.Path) = "class" THEN ' IF Exist(File.Dir(hForm.Path) &/ File.BaseName(hForm.Path) & ".form" THEN IF AboutToQuit THEN RETURN IF Not hForm THEN RETURN SelectKey(hForm.Path) IF ActiveForm = hForm THEN RETURN ActiveForm = hForm IF Object.Type(hForm) = "FIconEditor" THEN FIconTool.Raise ELSE FIconTool.Hide ENDIF FProperty.RefreshAll FFormStack.RefreshAll ' IF Object.Type(hForm) = "FTextEditor" THEN ' FFind.SetTextOnly(TRUE) ' ELSE IF Object.Type(hForm) = "FEditor" THEN ' FFind.SetTextOnly(FALSE) ' ENDIF END PUBLIC SUB Deactivate(hForm AS Object) IF ActiveForm <> hForm THEN RETURN SELECT CASE Object.Type(hForm) CASE "FIconEditor" FIconTool.Hide CASE "FForm" FProperty.HideAll FFormStack.HideAll END SELECT END PUBLIC FUNCTION NewProject(sDir AS String, OPTIONAL aOption AS String[]) AS Boolean DIM sName AS String DIM iInd AS Integer DIM sPath AS String DIM sOption AS String sName = File.Name(sDir) MKDIR sDir sPath = sDir &/ PROJECT_FILE IF aOption THEN sOption = aOption.Join("\n") File.Save(sPath, PROJECT_MAGIC & "\nProject=" & sName & "\n" & sOption) 'BrowseForm.AddProject(sDir) RETURN CATCH Message.Warning(("Cannot create project!") & "\n\n" & Error.Text) RETURN TRUE END PUBLIC FUNCTION CopyProject(sSrc AS String, sDst AS String) AS Boolean DIM sName AS String DIM iInd AS Integer DIM sPath AS String DIM sOut AS String sOut = Temp$ SHELL "cp -r " & Quote(sSrc) & " " & Quote(sDst) & " 2> " & Quote(sOut) WAIT sOut = File.Load(sOut) IF sOut THEN Error.Raise(sOut) RETURN CATCH Message.Warning(("Cannot copy project!") & "\n\n" & Error.Text) RETURN TRUE END PUBLIC FUNCTION MakeExecutable(OPTIONAL bDoNotIncVersion AS Boolean, OPTIONAL bSilent AS Boolean) AS Boolean DIM sExec AS String IF NOT bSilent THEN Dialog.Title = ("Make executable") Dialog.Path = ExecPath Dialog.Filter = [("Gambas executable files") & " (*.gambas)", ("All files") & " (*)"] IF NOT Exist(Dialog.Path) THEN Dialog.Path = Project.Dir &/ Project.Name ENDIF IF Dialog.SaveFile() THEN RETURN TRUE ExecPath = Dialog.Path ENDIF IF Compile(TRUE, NOT KeepDebugInfo) THEN RETURN TRUE IF CheckStartupClass() THEN RETURN TRUE SetMessage(("Making executable...")) sExec = System.Path &/ "bin/gba" & System.Version & " " & Quote(Project.Dir) & " > " & OUTPUT_FILE & " 2>&1" 'PRINT sExec SHELL sExec WAIT IF ExecPath <> (Project.Dir &/ Project.Name & ".gambas") THEN TRY KILL ExecPath TRY RENAME Project.Dir &/ Project.Name AS ExecPath ENDIF 'Stat(OUTPUT_FILE) AddMessage(("Nothing to do.")) Compile(TRUE, FALSE) IF Not bDoNotIncVersion THEN INC ReleaseVersion WriteProject END PUBLIC FUNCTION GetClasses(OPTIONAL bFullPath AS Boolean) AS String[] DIM sFile AS String DIM aClass AS NEW String[] DIM bStop AS Boolean FOR EACH sFile IN Dir(Project.Dir, "*.module") IF bFullPath THEN aClass.Add(Project.Dir &/ sFile) ELSE aClass.Add(File.BaseName(sFile)) ENDIF NEXT FOR EACH sFile IN Dir(Project.Dir, "*.class") IF bFullPath THEN aClass.Add(Project.Dir &/ sFile) ELSE aClass.Add(File.BaseName(sFile)) ENDIF NEXT aClass.Sort RETURN aClass END PUBLIC SUB ReadProject() DIM hFic AS File DIM sLig AS String DIM iPos AS Integer DIM sKey AS String DIM sVal AS String DIM cVer AS String[] DIM sElt AS String DIM iElt AS Integer DIM aMissing AS NEW String[] DIM sMsg AS String Libraries = NEW String[] Title = "" TabSize = Settings["/DefaultTabSize", 2] Arguments = "" MajorVersion = 0 MinorVersion = 0 ReleaseVersion = 1 SnapToGrid = TRUE ShowGrid = TRUE Snap = Settings["/DefaultGridResolution", 8] ControlPublic = FALSE KeepDebugInfo = FALSE Localize = FALSE Description = "" Icon = "" Systems = NEW String[] Menus = NEW Collection Groups = NEW Collection Prefix = FALSE ExecPath = Project.Dir &/ Project.Name & ".gambas" OPEN Path FOR READ AS hFic WHILE Not Eof(hFic) LINE INPUT #hFic, sLig sLig = Trim(sLig) IF Len(sLig) = 0 THEN CONTINUE IF Left$(sLig, 1) = "#" THEN CONTINUE iPos = InStr(sLig, "=") IF iPos = 0 THEN CONTINUE sKey = Lower$(Trim(Left$(sLig, iPos - 1))) sVal = Trim(Mid$(sLig, iPos + 1)) SELECT sKey CASE "title" Title = sVal CASE "startup" DefineStartup(sVal, TRUE) CASE "library" IF CComponent.All.Exist(sVal) THEN Libraries.Add(sVal) ELSE aMissing.Add(sVal) ENDIF CASE "tabsize" TabSize = Val(sVal) CASE "argument" IF Arguments THEN Arguments = Arguments & "\n" Arguments = Arguments & sVal CASE "version" cVer = Split(sVal, ".") TRY MajorVersion = Val(cVer[0]) TRY MinorVersion = Val(cVer[1]) TRY ReleaseVersion = Val(cVer[2]) CASE "snaptogrid" SnapToGrid = Val(sVal) <> 0 CASE "showgrid" ShowGrid = Val(sVal) <> 0 CASE "snapx", "snap" Snap = Val(sVal) CASE "localize" Localize = Val(sVal) <> 0 ' CASE "language" ' Language = sVal CASE "keepdebuginfo" KeepDebugInfo = Val(sVal) <> 0 CASE "controlpublic" ControlPublic = Val(sVal) <> 0 CASE "description" Description = Replace(sVal, "\\n", "\n") CASE "icon" Icon = sVal CASE "systems" Systems = Split(sVal, ",") CASE "menus" iElt = 0 FOR EACH sElt IN Split(sVal, ",") IF iElt >= Systems.Count THEN BREAK Menus[Systems[iElt]] = sElt INC iElt NEXT CASE "groups" iElt = 0 FOR EACH sElt IN Split(sVal, ",") IF iElt >= Systems.Count THEN BREAK Groups[Systems[iElt]] = sElt INC iElt NEXT CASE "prefix" Prefix = Val(sVal) CASE "execpath" ExecPath = sVal END SELECT WEND CLOSE hFic IF aMissing.Count THEN sMsg = Subst(("Some components are missing: &1"), aMissing.Join(", ")) IF Message.Error(sMsg, ("Continue"), ("Cancel")) = 2 THEN Error.Raise("") ENDIF ENDIF 'Libraries.Sort FMain.UpdateTranslate RefreshLibrary 'TileGrid = NEW Picture 'TileGrid.Type = Picture.Bitmap 'TileGrid.Resize(SnapX, SnapY) 'Draw.Begin(TileGrid) 'Draw.FillColor = Color. 'Draw.End END PUBLIC SUB WriteProject() DIM hFic AS File DIM sLib AS String DIM sSys AS String DIM sElt AS String DIM sPath AS String DIM sArg AS String DIM iKey AS Integer DIM iCount AS Integer DIM hComp AS CComponent IF Project.ReadOnly THEN RETURN OPEN Path & ".tmp" FOR CREATE AS hFic PRINT #hFic, PROJECT_MAGIC PRINT #hFic, "Project="; Name IF Title THEN PRINT #hFic, "Title="; Title IF Description THEN PRINT #hFic, "Description="; Replace(Description, "\n", "\\n") IF Icon THEN PRINT #hFic, "Icon="; Icon IF Startup THEN PRINT #hFic, "Startup="; Startup 'IF StackSize THEN PRINT #hFic, "Stack="; CStr(StackSize) PRINT #hFic, "TabSize="; CStr(TabSize) FOR EACH sArg IN Split(Arguments, "\n") PRINT #hFic, "Argument="; sArg NEXT PRINT #hFic, "Version="; CStr(MajorVersion) & "." & CStr(MinorVersion) & "." & CStr(ReleaseVersion) ' FOR iKey = 1 TO 1000 ' FOR EACH sLib IN Libraries ' IF CComponent.All[sLib].SortKey = iKey THEN ' PRINT #hFic, "Library="; sLib ' INC iCount ' ENDIF ' NEXT ' IF iCount = Libraries.Count THEN BREAK ' NEXT FOR EACH hComp IN CComponent.All IF Libraries.Find(hComp.Key) >= 0 THEN PRINT #hFic, "Library="; hComp.Key ENDIF NEXT PRINT #hFic, "SnapToGrid="; If(SnapToGrid, "1", "0") PRINT #hFic, "ShowGrid="; If(ShowGrid, "1", "0") PRINT #hFic, "Snap="; CStr(Snap) PRINT #hFic, "Localize="; If(Localize, "1", "0") 'PRINT #hFic, "Language="; Language PRINT #hFic, "KeepDebugInfo="; If(KeepDebugInfo, "1", "0") PRINT #hFic, "ControlPublic="; If(ControlPublic, "1", "0") IF ExecPath <> (Project.Dir &/ Project.Name & ".gambas") THEN PRINT #hFic, "ExecPath="; ExecPath ENDIF IF Systems.Count THEN PRINT #hFic, "Systems="; Systems.Join(",") sElt = "" FOR EACH sSys IN Systems sElt = sElt & "," & Menus[sSys] NEXT PRINT #hFic, "Menus="; Mid$(sElt, 2) sElt = "" FOR EACH sSys IN Systems sElt = sElt & "," & Groups[sSys] NEXT PRINT #hFic, "Groups="; Mid$(sElt, 2) ENDIF PRINT #hFic, "Prefix="; If(Prefix, "1", "0") CLOSE #hFic KILL Path RENAME Path & ".tmp" AS Path sPath = Project.Dir &/ ".lang/#project.pot" TRY KILL sPath IF Localize THEN TRY MKDIR File.Dir(sPath) OPEN sPath FOR CREATE AS #hFic PRINT #hFic, "# "; Path PRINT #hFic, File.Load("pot-header.txt") IF Title THEN PRINT #hFic, "#: .project:1" PRINT #hFic, "msgid \""; Escape(Title); "\"" PRINT #hFic, "msgstr \"\"\n" ENDIF IF Description THEN PRINT #hFic, "#: .project:2" PRINT #hFic, "msgid \""; Escape(Description); "\"" PRINT #hFic, "msgstr \"\"\n" ENDIF CLOSE #hFic ENDIF RefreshLibrary FMain.UpdateTranslate CATCH Message.Error(("Cannot write project file.") & "\n\n" & Error.Text) END ' PUBLIC FUNCTION GetSorted() AS String[] ' ' DIM cList AS NEW String[] ' DIM hFile AS Object ' DIM bStop AS Boolean ' ' ProjectTree[KEY_CLASS].MoveChild ' WHILE ProjectTree.Available ' cList.Add(ProjectTree.Item.Key) ' ProjectTree.MoveNext ' WEND ' ' ProjectTree[KEY_MODULE].MoveChild ' WHILE ProjectTree.Available ' cList.Add(ProjectTree.Item.Key) ' ProjectTree.MoveNext ' WEND ' ' 'cList.Sort ' ' RETURN cList ' ' END PUBLIC FUNCTION GetNextEditor(sKey AS String) AS String DIM sFirst AS String DIM sFile AS String DIM bNext AS Boolean FOR EACH sFile IN GetClasses(TRUE) IF bNext THEN RETURN sFile IF NOT sFirst THEN sFirst = sFile ENDIF IF sFile = sKey THEN bNext = TRUE ENDIF NEXT IF bNext THEN RETURN sFirst END PUBLIC FUNCTION GetPreviousEditor(sKey AS String) AS String DIM sLast AS String DIM sFile AS String FOR EACH sFile IN GetClasses(TRUE) IF sFile = sKey THEN IF sLast THEN RETURN sLast ENDIF ENDIF sLast = sFile NEXT RETURN sLast END PRIVATE $bBlock AS Boolean PUBLIC SUB Shortcut(Code AS Integer, Ascii AS String, State AS Integer) IF $bBlock THEN RETURN $bBlock = TRUE SELECT CASE Code CASE Key.F2 FExplorer.Show CASE Key.F4 FProperty.Show CASE Key.F5 ME.Run CASE Key.F6 FToolBox.Show CASE Key.F7 Compile(State And Mouse.Alt) CASE Key.F8 ME.Step END SELECT $bBlock = FALSE END PUBLIC SUB SetMessage(sMsg AS String) ProjectMessage.Text = sMsg WAIT END PUBLIC SUB DeleteFile(sPath AS String) DIM sExt AS String DIM hForm AS Object IF Not Exist(sPath) THEN RETURN hForm = Files[sPath] IF hForm THEN hForm.Delete Files[sPath] = NULL ENDIF TRY ProjectTree.Remove(sPath) TRY KILL sPath & "~" TRY RENAME sPath AS sPath & "~" IF sExt = "form" Or sExt = "class" Or sExt = "module" THEN TRY KILL Project.Dir &/ ".gambas" &/ UCase(File.BaseName(sPath)) TRY KILL Project.Dir &/ ".lang" &/ File.BaseName(sPath) & ".pot" ENDIF sExt = File.Ext(sPath) IF sExt = "form" THEN DeleteFile(File.Dir(sPath) &/ File.BaseName(sPath) & ".class") ELSE IF sExt = "class" THEN DeleteFile(File.Dir(sPath) &/ File.BaseName(sPath) & ".form") ENDIF IF File.BaseName(sPath) = Startup THEN DefineStartup("") ENDIF 'CATCH 'Message("*Unable to delete file.||" & sPath) 'Refresh END PUBLIC SUB DeleteDir(sDir AS String) DIM sFile AS String FOR EACH sFile IN Dir(sDir, "*~") TRY KILL sDir &/ sFile NEXT RMDIR sDir END PRIVATE FUNCTION CheckStartupClass() AS Boolean IF Startup THEN RETURN Message.Warning(("You must define a startup class or form!")) RETURN TRUE END PUBLIC FUNCTION CheckFileName(sName AS String, OPTIONAL sDir AS String) AS Boolean DIM iInd AS Integer IF Not sName THEN GOTO VOID_NAME FOR iInd = 1 TO Len(sName) IF InStr(FILE_AUTH_CAR & "-._+()", LCase(Mid$(sName, iInd, 1))) = 0 THEN GOTO BAD_CHAR NEXT IF Len(sDir) THEN IF Exist(sDir &/ sName) THEN GOTO ALREADY_EXIST ENDIF RETURN VOID_NAME: Message.Warning(("Please type a name.")) RETURN TRUE BAD_CHAR: Message.Warning(("This name contains a forbidden character :") & " [ " & Mid$(sName, iInd, 1) & " ]") RETURN TRUE ALREADY_EXIST: Message.Warning(("This name is already used. Choose another one.")) RETURN TRUE END PUBLIC FUNCTION CheckClassName(sName AS String, OPTIONAL bCheckNotExist AS Boolean) AS Boolean DIM iInd AS Integer IF Not sName THEN GOTO VOID_NAME FOR iInd = 1 TO Len(sName) IF InStr(CLASS_AUTH_CAR, LCase(Mid$(sName, iInd, 1))) = 0 THEN GOTO BAD_CHAR NEXT IF InStr("0123456789", Left$(sName)) THEN iInd = 1 GOTO BAD_CHAR ENDIF IF bCheckNotExist THEN IF Project.Exist(sName) THEN GOTO ALREADY_EXIST ENDIF RETURN VOID_NAME: Message.Warning(("Please type a name.")) RETURN TRUE BAD_CHAR: Message.Warning(("This name contains a forbidden character :") & " [ " & Mid$(sName, iInd, 1) & " ] \n\n" & ("A name must begin with a letter, followed by any letter or digit.")) RETURN TRUE ALREADY_EXIST: Message.Warning(("This name is already used. Choose another one.")) RETURN TRUE END PRIVATE FUNCTION RenameOneFile(sDir AS String, sName AS String, sNewName AS String, OPTIONAL sExt AS String) AS String DIM sPath AS String DIM hForm AS Object DIM sNewPath AS String sPath = sDir &/ sName IF sExt THEN sPath = sPath & "." & sExt IF NOT Exist(sPath) THEN RETURN sNewPath = sDir &/ sNewName IF sExt THEN sNewPath = sNewPath & "." & sExt RENAME sPath AS sNewPath IF sExt THEN TRY KILL sDir &/ ".gambas" &/ UCase(sName) ENDIF hForm = Files[sPath] IF hForm THEN hForm.Rename(sNewName, sNewPath) Files[sPath] = NULL Files[sNewPath] = hForm ENDIF RETURN sNewPath END PUBLIC SUB RenameFile(sPath AS String) DIM sName AS String DIM sExt AS String DIM sDir AS String DIM sNewName AS String DIM sNewPath AS String DIM sTitle AS String sDir = File.Dir(sPath) sExt = File.Ext(sPath) IF Project.IsClassName(sPath) THEN sName = File.BaseName(sPath) SELECT CASE sExt CASE "form" sTitle = ("Rename form") CASE "class" sTitle = ("Rename class") CASE "module" sTitle = ("Rename module") END SELECT sNewName = FRename.Run(sName, sTitle, TRUE) IF Not sNewName THEN RETURN IF sName = Startup THEN Startup = sNewName WriteProject ENDIF sNewPath = RenameOneFile(sDir, sName, sNewName, sExt) IF sExt = "form" THEN RenameOneFile(sDir, sName, sNewName, "class") ELSE IF sExt = "class" THEN RenameOneFile(sDir, sName, sNewName, "form") ENDIF ELSE sName = File.Name(sPath) sNewName = FRename.Run(sName, If(IsDir(sPath), ("Rename directory"), ("Rename file"))) IF Not sNewName THEN RETURN sNewPath = RenameOneFile(sDir, sName, sNewName) ENDIF Refresh TRY ProjectTree[sNewPath].Selected = TRUE TRY ProjectTree[sNewPath].EnsureVisible CATCH Message.Error(Subst(("Unable to rename '&1'"), File.Name(sPath))) END PUBLIC FUNCTION Exist(sName AS String) AS Boolean RETURN Project.GetClasses().Find(sName, gb.Text) >= 0 END PRIVATE FUNCTION LockIt() AS Boolean IF Application.Busy THEN RETURN TRUE INC Application.Busy 'PRINT "Lock" END PRIVATE SUB UnLockIt() DEC Application.Busy END PUBLIC FUNCTION GetProject() AS String RETURN FOpenProject.Run() END PUBLIC FUNCTION GetNewProject() AS String RETURN FNewProject.Run() END PRIVATE SUB LoadRecent() DIM nRecent AS Integer DIM hMenu AS Menu DIM iInd AS Integer DIM sPath AS String nRecent = Settings["/Recent/Count", 0] Recent.Clear FOR iInd = 1 TO nRecent sPath = Settings["/Recent/File[" & CStr(iInd) & "]"] IF sPath THEN IF Exist(sPath) THEN Recent.Add(sPath) IF Recent.Count >= MAX_RECENT THEN BREAK ENDIF ENDIF NEXT END PRIVATE SUB AddRecent(sPath AS String) DIM iInd AS Integer IF Right$(sPath) = "/" THEN sPath = Left$(sPath, -1) 'sPath = "(" & File.BaseName(sPath) & ") " & File.Dir(sPath) WHILE iInd < Recent.Count IF Recent[iInd] = sPath THEN Recent.Remove(iInd) ELSE INC iind ENDIF WEND Recent.Add(sPath, 0) WHILE Recent.Count > MAX_RECENT Recent.Remove(Recent.Count - 1) WEND SaveRecent END PRIVATE SUB SaveRecent() DIM iInd AS Integer Settings["/Recent/Count"] = CStr(Recent.Count) FOR iInd = 0 TO Recent.Count - 1 Settings["/Recent/File[" & CStr(iInd + 1) & "]"] = Recent[iInd] NEXT Settings.Save END PUBLIC FUNCTION CheckProjectName(sName AS String, OPTIONAL sDir AS String) AS Boolean DIM iInd AS Integer DIM sCar AS String IF NOT sName THEN Message.Warning(("Please type a project name.")) RETURN TRUE ENDIF FOR iInd = 1 TO Len(sName) sCar = Mid$(sName, iInd, 1) IF iInd = 1 THEN IF InStr(" ?*.", sCar) = 0 And Asc(sCar) < 128 THEN CONTINUE ELSE IF InStr(" ?*", sCar) = 0 And Asc(sCar) < 128 THEN CONTINUE ENDIF Message.Warning(("Forbidden characters in project name.")) RETURN TRUE NEXT IF sDir THEN IF Exist(sDir &/ sName &/ PROJECT_FILE) THEN Message.Warning(("This project already exists.")) RETURN TRUE ENDIF ENDIF END PUBLIC SUB MakeSourcePackageTo(sPath AS String) DIM sCmd AS String DIM sOpt AS String INC Application.Busy IF Right$(sPath, 3) = ".gz" THEN sOpt = "z" ELSE IF Right$(sPath, 4) = ".bz2" THEN sOpt = "j" ENDIF sCmd = "cd " & Quote(File.Dir(Project.Dir)) & ";" sCmd = sCmd & " tar cfv" & sOpt & " " & Quote(sPath) sCmd = sCmd & " --exclude=" & ".gambas/*" sCmd = sCmd & " --exclude=" & "*~" sCmd = sCmd & " --exclude=" & ".lock" sCmd = sCmd & " --exclude=" & ".lang/*.pot" sCmd = sCmd & " --exclude=" & ".lang/.pot" sCmd = sCmd & " --exclude=" & "*/.xvpics/*" sCmd = sCmd & " --exclude=" & ".xvpics/*" sCmd = sCmd & " " & Quote(File.Name(Project.Dir)) & " > /dev/null" SHELL sCmd WAIT DEC Application.Busy END PUBLIC SUB MakePackage() Dialog.Path = User.Home &/ Name & "-" & Subst("&1.&2", MajorVersion, MinorVersion) & IIf(ReleaseVersion > 0, "." & ReleaseVersion, "") & ".tar.gz" Dialog.Title = ("Create source package") Dialog.Filter = [("Source packages") & " (*.tar.gz)", ("All files") & " (*)"] IF Dialog.SaveFile() THEN RETURN MakeSourcePackageTo(Dialog.Path) END PUBLIC SUB RefreshForm() DIM hFile AS Object FOR EACH hFile IN Project.Files IF Not Project.IsEditor(hFile) THEN hFile.Refresh ENDIF NEXT END PUBLIC SUB RefreshEditor() DIM hFile AS Object FOR EACH hFile IN Project.Files IF Project.IsEditor(hFile) THEN hFile.Refresh ENDIF NEXT END PUBLIC SUB RefreshLibrary() DIM sLib AS String DIM sClass AS String CComponent.Reset ComponentFromType = NEW Collection FOR EACH sLib IN Libraries IF Not CComponent.All.Exist(sLib) THEN CONTINUE WITH CComponent.All[sLib] .Load IF .Type THEN ComponentFromType[.Type] = sLib END WITH NEXT FToolBox.RefreshToolbar FCompletion.RefreshLibrary FExplorer.RefreshTree Project.Refresh END PUBLIC FUNCTION IsClassName(sName AS String) AS Boolean DIM sExt AS String sExt = File.Ext(sName) IF sExt = "class" THEN RETURN TRUE IF sExt = "module" THEN RETURN TRUE IF sExt = "form" THEN RETURN TRUE END PUBLIC FUNCTION StripPath(sPath AS String) AS String DIM sDir AS String sDir = Project.Dir IF Right$(sDir) <> "/" THEN sDir = sDir & "/" IF Left$(sPath, Len(sDir)) = sDir THEN RETURN Mid$(sPath, Len(sDir) + 1) ELSE RETURN sPath ENDIF END PUBLIC SUB RunTool(sTool AS String) DIM aExec AS NEW String[] aExec.Add(System.Path &/ "bin" &/ sTool & ".gambas") aExec.Add(Project.Dir) EXEC aExec END PUBLIC FUNCTION GetExamples() AS String[] DIM sFile AS String DIM sFile2 AS String DIM aList AS NEW String[] FOR EACH sFile IN Dir(EXAMPLES_DIR) IF Exist(EXAMPLES_DIR &/ sFile &/ ".project") THEN aList.Add(sFile) ELSE FOR EACH sFile2 IN Dir(EXAMPLES_DIR &/ sFile) aList.Add(sFile &/ sFile2) NEXT ENDIF NEXT aList.Sort FINALLY RETURN aList END PUBLIC SUB DefineStartup(sPath AS String, OPTIONAL bDoNotWrite AS Boolean) IF Startup THEN TRY ProjectTree[Project.Dir &/ Startup & ".module"].Picture = Picture["img/16/module.png"] TRY ProjectTree[Project.Dir &/ Startup & ".class"].Picture = Picture["img/16/class.png"] TRY ProjectTree[Project.Dir &/ Startup & ".form"].Picture = Picture["img/16/form.png"] ENDIF Startup = File.BaseName(sPath) IF NOT Project.Exist(Startup) THEN Startup = "" ENDIF IF Startup THEN TRY ProjectTree[Project.Dir &/ Startup & ".module"].Picture = Picture["img/16/module-start.png"] TRY ProjectTree[Project.Dir &/ Startup & ".class"].Picture = Picture["img/16/class-start.png"] TRY ProjectTree[Project.Dir &/ Startup & ".form"].Picture = Picture["img/16/form-start.png"] ENDIF IF NOT bDoNotWrite THEN WriteProject END PUBLIC SUB CopyFile(sSrc AS String, sDst AS String) DIM iInd AS Integer DIM sDest AS String DIM sExt AS String 'PRINT sSrc; " -> "; sDst sDest = sDst WHILE Exist(sDest) INC iInd sExt = File.Ext(sDst) IF sExt THEN sDest = File.Dir(sDst) &/ File.BaseName(sDst) & " (" & iInd & ")." & sExt ELSE sDest = File.Dir(sDst) &/ File.BaseName(sDst) & " (" & iInd & ")" ENDIF WEND COPY sSrc TO sDest Refresh SelectKey(sDest) CATCH Message.Error(Subst(("Cannot copy file &1."), sSrc) & "\n\n" & Error.Text) END PUBLIC SUB MoveFile(sSrc AS String, sDst AS String) RENAME sSrc AS sDst Refresh SelectKey(sDst) CATCH Message.Error(Subst(("Cannot move file &1."), sSrc) & "\n\n" & Error.Text) END ' PUBLIC SUB RefreshToolbox() ' ' FToolBox.ClearToolbar ' ' END PUBLIC FUNCTION GetNewName(sPrefix AS String) AS String DIM iInd AS Integer DIM sName AS String DO INC iInd sName = sPrefix & iInd IF NOT Project.Exist(sName) THEN RETURN sName LOOP END PUBLIC SUB ResetScan() DIM hFile AS Object FOR EACH hFile IN Files TRY hFile.colScan = NULL NEXT END PUBLIC FUNCTION AllowForm() AS Boolean RETURN ComponentFromType.Exist("Form") END PUBLIC SUB MakeInstall() IF MakeExecutable(TRUE, TRUE) THEN RETURN IF NOT CheckProgram("rpmbuild") THEN RPMBUILD_PROG = "rpmbuild" ELSE IF NOT CheckProgram("rpm") THEN RPMBUILD_PROG = "rpm" ELSE Message.Error(("rpmbuild is not installed on your system.")) RETURN ENDIF FMakeInstall.ShowModal END PUBLIC SUB InitMove(hForm AS Form) IF FMain.X < (Desktop.W \ 2) THEN hForm.Move(Int(Rnd(FMain.X + FMain.W + 8, Desktop.Width - hForm.Width - 8)), Int(Rnd(0, Desktop.Height - hForm.Height))) ELSE hForm.Move(Int(Rnd(0, FMain.X - hForm.Width - 8)), Int(Rnd(0, Desktop.Height - hForm.Height))) ENDIF END PUBLIC FUNCTION GetIcon(sPath AS String, iSize AS Integer) AS Picture DIM hFile AS File DIM sLig AS String DIM hImage AS Image DIM hPict AS Picture OPEN sPath &/ ".project" FOR READ AS #hFile WHILE NOT Eof(hFile) LINE INPUT #hFile, sLig IF Left$(sLig, 5) = "Icon=" THEN sPath = sPath &/ Mid$(sLig, 6) hImage = NEW Image TRY hImage.Load(sPath) IF ERROR THEN hImage = NULL BREAK ENDIF WEND CLOSE #hFile FINALLY IF NOT hImage THEN hImage = NEW Image hImage.Load("img/32/gambas.png") ENDIF RETURN hImage.Stretch(iSize, iSize, TRUE).Picture END PRIVATE SUB CleanUpProject() DIM aDir AS NEW String[] DIM sFile AS String DIM sPath AS String aDir.Add(Project.Dir) WHILE aDir.Count FOR EACH sFile IN Dir(aDir[0]) sPath = aDir[0] &/ sFile IF IsDir(sPath) THEN aDir.Add(sPath) ELSE IF Right(sPath) = "~" THEN TRY KILL sPath ENDIF NEXT aDir.Remove(0) WEND CATCH Message.Error(("Cannot clean the project.") & "\n\n" & Error.Text) END PUBLIC SUB SetFormIcon(hForm AS FForm) ' ' DIM hPict AS Picture ' DIM eRap AS Float ' ' 'hForm.Raise ' hPict = hForm.Grab() ' hForm.Refresh ' eRap = hPict.Width / hPict.Height ' IF eRap > 4 THEN ' eRap = 4 ' hPict = hPict.Copy(0, 0, hPict.Height * eRap, hPict.Height) ' ELSE IF eRap < 0.5 THEN ' eRap = 0.5 ' hPict = hPict.Copy(0, 0, hPict.Width, hPict.Width / eRap) ' ENDIF ' IF eRap > 1 THEN ' hPict = hPict.Image.Stretch(32 * eRap, 32).Picture ' ELSE ' hPict = hPict.Image.Stretch(32, 32 / eRap).Picture ' ENDIF ' ' Draw.Begin(hPict) ' Draw.Foreground = &H808080& ' Draw.Rect(0, 0, hPict.Width, hPict.Height) ' Draw.End ' ' ProjectTree[Project.Dir &/ hForm.Name & ".form"].Picture = hPict ' ' CATCH ' ' PRINT Error.Text ' END PUBLIC FUNCTION CheckProgram(sProg AS String) AS Boolean DIM sTemp AS String DIM bError AS Boolean sTemp = Temp$ SHELL "which " & sProg & " > " & sTemp WAIT bError = Trim(File.Load(sTemp)) LIKE "which: *" KILL sTemp RETURN bError END PUBLIC FUNCTION OpenWebPage(sLink AS String) AS String DIM sExec AS String IF NOT $sBrowser THEN sExec = Application.Env["BROWSER"] IF NOT sExec THEN sExec = "konqueror" IF CheckProgram(sExec) THEN sExec = "firefox" IF CheckProgram(sExec) THEN sExec = "mozilla-firefox" IF CheckProgram(sExec) THEN sExec = "mozilla" IF CheckProgram(sExec) THEN sExec = "opera" IF CheckProgram(sExec) THEN RETURN ENDIF $sBrowser = sExec ENDIF SHELL $sBrowser & " " & Chr$(34) & sLink & Chr$(34) CATCH Message.Error(Error.Text) END -------------- next part -------------- A non-text attachment was scrubbed... Name: CComponent.class Type: application/x-java Size: 12441 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: FEditor.class Type: application/x-java Size: 36490 bytes Desc: not available URL: From jscops at ...11... Fri Sep 2 18:35:26 2005 From: jscops at ...11... (jacky) Date: Fri, 2 Sep 2005 18:35:26 +0200 Subject: [Gambas-user] Laurus In-Reply-To: <43106811.8080609@...512...> References: <43106811.8080609@...512...> Message-ID: <200509021835.26758.jscops@...11...> Dear all, You ?ll find at ?http:/www.laurux.fr ? the first software of accounting and invoicing write in Gambas and published under GPL licence (as far as I know). Laurus is divided into three pieces : one accounting, one invoicing and the two joined. You can download for free executable and code I?ve discover Gambas two years ago. I?ve started to learn this software by writing a small app , then an accounting to which I?ve add an invoicing. . I?m not a professional programmer and I did?nt knew ?Visual basic? before I started to learn Gambas ( I?ve writed a bit of the software in hotel rooms, due to my work). I assume that this code is not perfect, however LAURUS is, from my point of view, well presented and at this version not really bugged. I invite you to look at the sources and please, let me know in case of necessary modifications. The development of Laurus is not totally done yet and I still have many ideas of extension. I dedicate Laurus to Benoit Minisini for the brillant work done with Gambas. I thank also all the mail-list for the support they give me and particularly Fabien Bodard for his advise. Laurus will be a display case for gambas , I hope so... See you soon. ~? Jack ?~ From gambas at ...1... Sat Sep 3 16:02:05 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Sep 2005 16:02:05 +0200 Subject: [Gambas-user] Re: BIG BUG in gb 1.9.19 In-Reply-To: References: Message-ID: <200509031602.05518.gambas@...1...> On Friday 02 September 2005 12:38, danielcampos at ...282... wrote: > Hi all: > > I recommend to not use Gambas-1.9.19, the IDE is absolutely broken, even > using Fabien's patch. Keep Gambas-1.9.18 in safe place! > > I think it is moment to stop that run to nowhere at full speed, and leave > time to fix all that is done in developement version. It is full of bugs, > and each time it is more difficult to collaborate in the project with that > continous changes without having any tool like cvs or subversion. No way to > continue improving things in that way, I can not guess every time what will > be the next change that will break all! :-(( > > > Regards, > > Daniel Campos > I apologize for the broken development package. The break was caused by The SCAN instruction I added at the last time - Something that *never* be done, as you noticed. Moreover, I added this instruction for a test, I don't really need it at the moment... It is related to the implementation of something like the 'ByRef' VB keyword. If you find that I run to nowhere at full speed, maybe it is because you don't understand, mainly because I don't explain each step clearly. So please ask questions and tell me when you want to know why I do that, and why I don't do that, and so on... All this information actually exists, but in different places: the slides i made for the FOSDEM, the freemind roadmap on the web site, some notes in the wiki... If you find the development version full of bugs, please tell me. Generally, I fix them when they are told me. As for CVS/Subversion, I know that this is needed. There are only two problems: - I never took the time to learn CVS/Subversion, and I don't have any time at the moment... :-( - We must be able to put binary files, and I read that CVS can't deal with that. And Sourceforge only provides CVS, no Subversion. But if anybody having the knowledge makes a Subversion for gambas, no problem! I will use it... And if the guy could add a bugzilla, this will be perfect :-) It just a matter of time, and having a server plugged on the internet. Two things that I don't have at the moment. Next year should be better! I will try to fix the packages tomorrow morning. Tomorrow evening, I am in Paris, and without Internet connection :-( Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 3 16:05:49 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Sep 2005 16:05:49 +0200 Subject: [Gambas-user] Bad link In-Reply-To: <200509012249.49538.gambasfr@...11...> References: <200509012249.49538.gambasfr@...11...> Message-ID: <200509031605.49363.gambas@...1...> On Thursday 01 September 2005 22:49, Fabien Bodard wrote: > Hey Benoit, > > Your link on the site for the 1.9.19 is wrong... it match the 1.9.18... > I have fixed the link. > Other thing can you answer to my mail on your private box ? > I do it now... Regards, -- Benoit Minisini mailto:gambas at ...1... From igor.furlan at ...626... Sat Sep 3 17:09:55 2005 From: igor.furlan at ...626... (Primorec) Date: Sat, 3 Sep 2005 08:09:55 -0700 Subject: [Gambas-user] Re: BIG BUG in gb 1.9.19 In-Reply-To: <200509031602.05518.gambas@...1...> References: <200509031602.05518.gambas@...1...> Message-ID: <54728e7405090308092d7fa4df@...627...> On 9/3/05, Benoit Minisini wrote: > > > As for CVS/Subversion, I know that this is needed. There are only two > problems: > > - I never took the time to learn CVS/Subversion, and I don't have any time > at > the moment... :-( > > - We must be able to put binary files, and I read that CVS can't deal with > that. And Sourceforge only provides CVS, no Subversion. > > You CAN add binaries to the CVS repository... Check this link http://w4.lns.cornell.edu/public/COMP/info/cvs/cvs_9.html Regards Igor -- There is no such thing as 'knowledge' for the sake of knowledge. Knowledge is power. "I know. You don't know". -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1... Sat Sep 3 19:30:05 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Sep 2005 19:30:05 +0200 Subject: [Gambas-user] Laurus In-Reply-To: <200509021835.26758.jscops@...11...> References: <43106811.8080609@...512...> <200509021835.26758.jscops@...11...> Message-ID: <200509031930.05298.gambas@...1...> On Friday 02 September 2005 18:35, jacky wrote: > Dear all, > > You ?ll find at ?http:/www.laurux.fr ? the first software of accounting and > invoicing write in Gambas and published under GPL licence (as far as I > know). > > Laurus is divided into three pieces : one accounting, one invoicing and the > two joined. > > You can download for free executable and code > > I?ve discover Gambas two years ago. I?ve started to learn this software by > writing a small app , then an accounting to which I?ve add an > invoicing. . > > I?m not a professional programmer and I did?nt knew ?Visual basic? before I > started to learn Gambas ( I?ve writed a bit of the software in hotel rooms, > due to my work). I assume that this code is not perfect, however LAURUS is, > from my point of view, well presented and at this version not really > bugged. I invite you to look at the sources and please, let me know in > case of necessary modifications. > > The development of Laurus is not totally done yet and I still have many > ideas of extension. > > I dedicate Laurus to Benoit Minisini for the brillant work done with > Gambas. Thanks :-) > I thank also all the mail-list for the support they give me and > particularly Fabien Bodard for his advise. > > Laurus will be a display case for gambas , I hope so... So am I! > > See you soon. > > ~? Jack ?~ > > Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 3 19:48:49 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Sep 2005 19:48:49 +0200 Subject: [Gambas-user] Release of gambas 1.9.20 Message-ID: <200509031948.49479.gambas@...1...> Hi, I have just uploaded a new release that fixes the previous broken one. Well, it should. Now I must be cautious! I apologize again for my mistake. Regards, -- Benoit Minisini mailto:gambas at ...1... From e.patto.kanegae at ...626... Sat Sep 3 22:08:48 2005 From: e.patto.kanegae at ...626... (Eduardo Patto Kanegae) Date: Sat, 3 Sep 2005 17:08:48 -0300 Subject: [Gambas-user] Is it GAMBAS for me? (an ex-VB programmer) Message-ID: <47f5c07605090313082a41bcc0@...627...> Hi all, I just discovered GAMBAS project and found it absolutely incridible! But I'd like to clarify my vision about it before trying it up. I used to code using Visual Basic 6 but a few years ago I just gave it up because a lot of troubles(lot of VB bugs, VB does not have enough functionality...so, u need tu buy ActiveX, and the main thing: I really prefer free/open software) and then, since 2000 I left desktop programming and went to web programming with PHP. When I stopped to VB, the main reason was about GIS(geographic information system) components... VB GIS third party components in that time exists but too expensive. Today, there's a lot of free GIS API's(suchs as PROJ.4,ShapeLib,GDAL,OGR,etc...) and it's easy to use these ones on C, C++ projects..But there's also a lot of Python or Java projects running fine with these tools. Will I be able to use one(or more) of these C/C++ libs within a GAMBAS projects? Or do I need to wrap the lib as a GAMBAS component? And about drawing(not processing) maps on GAMBAS? Should I create a "canvas" component base on a picturebox? or maybe build a GAMBAS component base on a rendering engine?(such as "Cairo" ) best regards. -- Eduardo Patto Kanegae http://www.webmapit.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at ...1077... Sun Sep 4 15:23:40 2005 From: gambas at ...1077... (Alex Schaller) Date: Sun, 4 Sep 2005 09:23:40 -0400 Subject: [Gambas-user] Is it GAMBAS for me? (an ex-VB programmer) Message-ID: <200509040923.40638.gambas@...1077...> Hello Eduardo, > Hi all, > I just discovered GAMBAS project and found it absolutely incridible! Isn't it just great !!! > Will I be able to use one(or more) of these C/C++ libs within a GAMBAS > projects? Or do I need to wrap the lib as a GAMBAS component? You can use the Gambas Extern function to make external API calls. Check out this documentation link: http://64.128.110.55/help/lang/extdecl Also check out the process variable. It lets you start an external program thru the exec or shell function and then read their output and error messages thru the processes Process_Read and Process_Error events. > And about drawing(not processing) maps on GAMBAS? Should I create a "canvas" > component base on a picturebox? > or maybe build a GAMBAS component base on a rendering engine?(such as > "Cairo" ) Gambas has a lot of drawing capabilities. Check out the Drawing examples at the example programs. Also check out the Drawing Area section in the Gambas How To section within the help menu. > best regards. > -- > Eduardo Patto Kanegae Hope this helps! Have a great day! Alex From gambasfr at ...11... Sun Sep 4 16:06:12 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Sun, 4 Sep 2005 16:06:12 +0200 Subject: [Gambas-user] Is it GAMBAS for me? (an ex-VB programmer) In-Reply-To: <47f5c07605090313082a41bcc0@...627...> References: <47f5c07605090313082a41bcc0@...627...> Message-ID: <200509041606.12938.gambasfr@...11...> Le Samedi 03 Septembre 2005 22:08, Eduardo Patto Kanegae a ?crit?: > Hi all, > > I just discovered GAMBAS project and found it absolutely incridible! > > But I'd like to clarify my vision about it before trying it up. > > I used to code using Visual Basic 6 but a few years ago I just gave it up > because a lot of troubles(lot of VB bugs, VB does not have enough > functionality...so, > u need tu buy ActiveX, and the main thing: I really prefer free/open > software) > and then, since 2000 I left desktop programming and went to web programming > with PHP. > > When I stopped to VB, the main reason was about GIS(geographic information > system) components... > VB GIS third party components in that time exists but too expensive. > > Today, there's a lot of free GIS API's(suchs as > PROJ.4,ShapeLib,GDAL,OGR,etc...) > and it's easy > to use these ones on C, C++ projects..But there's also a lot of Python or > Java projects running fine with these tools. > > Will I be able to use one(or more) of these C/C++ libs within a GAMBAS > projects? Or do I need to wrap the lib as a GAMBAS component? I think you need to wrap it yourself... > And about drawing(not processing) maps on GAMBAS? Should I create a > "canvas" component base on a picturebox? There is maybe 2 way : -Create it as a sub componant like gtk or qt, - Return a picture and manage it by pos > or maybe build a GAMBAS component base on a rendering engine?(such as > "Cairo" ) hum ... i don't know > best regards. From gambas at ...1077... Sun Sep 4 19:49:17 2005 From: gambas at ...1077... (Alex Schaller) Date: Sun, 4 Sep 2005 13:49:17 -0400 Subject: [Gambas-user] Toolpanel Control problem 1.9.20 Message-ID: <200509041349.17655.gambas@...1077...> Hello! I am using this cool toolpanel control and now (V-1.9.20) when the Arrangement property is set to Fill, only the last item of the toolpanel is shown. Please let me know if you need more info. B.t.w I think it is a good idea to push forward on an development version. I share of course the frustration that a none working feature can cause, but there is always the stable version. Possibly, more frequent scheduled mayor releases would be a solution. Have a great day everyone!! Alex From sourceforge-raindog2 at ...94... Sun Sep 4 21:09:30 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 4 Sep 2005 15:09:30 -0400 Subject: [Gambas-user] Is it GAMBAS for me? (an ex-VB programmer) In-Reply-To: <200509040923.40638.gambas@...1077...> References: <200509040923.40638.gambas@...1077...> Message-ID: <200509041509.31147.sourceforge-raindog2@...94...> On Sun September 4 2005 09:23, Alex Schaller wrote: > You can use the Gambas Extern function to make external API calls. > Check out this documentation link: > http://64.128.110.55/help/lang/extdecl I really would hesitate to recommend the unstable development versions of Gambas to someone who's new to the language.... but I guess it's the only way to do what he's asking about. Rob From Karl.Reinl at ...9... Sun Sep 4 23:55:26 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 4 Sep 2005 23:55:26 +0200 Subject: [Gambas-user] combobox in gambas-1.0.x (or even later) Message-ID: <200509042355.26327.Karl.Reinl@...9...> Salut, something I mis or don't find, is in combobox somrthng like is called in VB DataItem (or so) What I mean is , I have a combobox called 'Countries' with Text 'DataItem' -------------------------------- 'Germany' 'DE' 'France' 'FR' or called sex Text 'DataItem' -------------------------------- Mr 1 Ms 2 or called user group Text 'DataItem' -------------------------------- root 0 wheel 25 .... is there a possibility ? Amicalment Charlie From white_fox_ir at ...43... Mon Sep 5 00:53:01 2005 From: white_fox_ir at ...43... (White Fox) Date: Sun, 4 Sep 2005 15:53:01 -0700 (PDT) Subject: [Gambas-user] problem with gb.sdl Message-ID: <20050904225301.70950.qmail@...1108...> hello dear friend... i have some problem with gb.sdl. when i use sound player standard example of gambas or try use some another program like that.. when program rich to " music.load() " i give and error like this: "Module format not recognize" i try it in FedoraCore3 and Debian Sarge 3.1 and i use gambas 1.0.10 and install it from source thanks for your help. (sorry for my poor english) ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ From jfabiani at ...1109... Mon Sep 5 06:20:35 2005 From: jfabiani at ...1109... (John Fabiani) Date: Sun, 4 Sep 2005 21:20:35 -0700 Subject: [Gambas-user] newbie trouble Message-ID: <200509042120.35357.jfabiani@...1109...> Hi, SUSE 9.3, gambas 1.9.17 I downloaded the suse 9.3 stuff but I can't start gambas2. I get the following error: ERROR: #2: Cannot load class 'Project': Version too old. Please recompile. Thanks in advance John From isy21 at ...1082... Mon Sep 5 06:54:18 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Mon, 5 Sep 2005 11:54:18 +0700 Subject: [Gambas-user] Report Designer Message-ID: <200509051154.18703.isy21@...1082...> Hi, all Thanks for help me being new gambas programmner, so much flexible and more easier than VB in windows. But i have something to ask again, i hope someone will help me. 1. Any linux Software (GPL license, i hope) in Report Designer for Gambas. and how to link to gambas, maybe it's also it homepage, where i can get it. 2. how can i know, who is connected to mysql. i use this for knowing, if someone connected, before i shutdown mysql. what the best way : - i do it at mysql query ? - or i do it in gambas ? 3. can i have a sample for reading ini file like system.ini or myprog.ini in myprog.ini have line like this [setting] mydoc=/usr/share/mydoc mybranch=1 than i want to read myprog.ini to automatic read in gambas, like branch automatic will be set to 1 --> read mybranch in [setting] and location of doc automatic in /usr/share/mydoc -> read from mydoc in [setting] if someone can give me a sample or url, where i can get that sample Thanks before, this is my first exprience in GPL and i think this is a best place to open source code in programming Ignatius From gambasfr at ...11... Mon Sep 5 09:48:05 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 5 Sep 2005 09:48:05 +0200 Subject: [Gambas-user] combobox in gambas-1.0.x (or even later) In-Reply-To: <200509042355.26327.Karl.Reinl@...9...> References: <200509042355.26327.Karl.Reinl@...9...> Message-ID: <200509050948.05856.gambasfr@...11...> Le Dimanche 04 Septembre 2005 23:55, Charlie Reinl a ?crit?: > Salut, > > something I mis or don't find, is in combobox somrthng like is called in VB > DataItem (or so) > What I mean is , I have a combobox called > 'Countries' with > Text 'DataItem' > -------------------------------- > 'Germany' 'DE' > 'France' 'FR' > > or > called sex > Text 'DataItem' > -------------------------------- > Mr 1 > Ms 2 > > or > called user group > Text 'DataItem' > -------------------------------- > root 0 > wheel 25 > .... > > is there a possibility ? You have already 2 soluce 1. Make an array that you call when click or ... return MyArray[cboFilm.index] 2. sub classing the combo widjet in a classe by inherit of it > Amicalment > Charlie > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Mon Sep 5 09:58:13 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 5 Sep 2005 09:58:13 +0200 Subject: [Gambas-user] Report Designer In-Reply-To: <200509051154.18703.isy21@...1082...> References: <200509051154.18703.isy21@...1082...> Message-ID: <200509050958.13759.gambasfr@...11...> Le Lundi 05 Septembre 2005 06:54, isy21 at ...1082... a ?crit?: > Hi, all > > Thanks for help me being new gambas programmner, so much flexible and more > easier than VB in windows. > > But i have something to ask again, i hope someone will help me. > 1. Any linux Software (GPL license, i hope) in Report Designer for Gambas. > and how to link to gambas, maybe it's also it homepage, where i can get > it. actually kugar... laurus is a good exemple to how use it (http://laurux.fr) > 2. how can i know, who is connected to mysql. > i use this for knowing, if someone connected, before i shutdown mysql. > what the best way : > - i do it at mysql query ? > - or i do it in gambas ? it seem to be a mysql sp?cific feature so i think sql is the better way. use the connection.exec function > 3. can i have a sample for reading ini file like system.ini or myprog.ini the gambas ide :) use the setting class it's really powerfull it work like : 'Set or create Setting["mykey"] = "result" 'Deleting Setting["mykey"] = Null 'Get myVar = Setting["mykey"] But i'm not sur.. i need to re-read the doc :) > in myprog.ini have line like this > > [setting] > mydoc=/usr/share/mydoc > mybranch=1 > > than i want to read myprog.ini to automatic read in gambas, like branch > automatic will be set to 1 --> read mybranch in [setting] > > and location of doc automatic in /usr/share/mydoc -> read from mydoc in > [setting] > > if someone can give me a sample or url, where i can get that sample > > Thanks before, > this is my first exprience in GPL and i think this is a best place to open > source code in programming > > Ignatius > Fabien From heinz.sporn at ...1017... Mon Sep 5 10:03:21 2005 From: heinz.sporn at ...1017... (Heinz Sporn) Date: Mon, 05 Sep 2005 10:03:21 +0200 Subject: [Gambas-user] Re: BIG BUG in gb 1.9.19 In-Reply-To: <200509031602.05518.gambas@...1...> References: <200509031602.05518.gambas@...1...> Message-ID: <1125907401.10479.65.camel@...1111...> Am Samstag, den 03.09.2005, 16:02 +0200 schrieb Benoit Minisini: > On Friday 02 September 2005 12:38, danielcampos at ...282... wrote: > > Hi all: > > > > I recommend to not use Gambas-1.9.19, the IDE is absolutely broken, even > > using Fabien's patch. Keep Gambas-1.9.18 in safe place! > > > > I think it is moment to stop that run to nowhere at full speed, and leave > > time to fix all that is done in developement version. It is full of bugs, > > and each time it is more difficult to collaborate in the project with that > > continous changes without having any tool like cvs or subversion. No way to > > continue improving things in that way, I can not guess every time what will > > be the next change that will break all! :-(( I am just a very interessted listener to this list. But I have to say Daniel that you found rather harsh words here. Please bear in mind that this terrifc piece of software is the result of an OpenSource project for crying out loud. Done by less than a handful of people who don't get paid for this. Non-constructive critisism does really not help them. Neither does ranting and barking: "It's full of bugs" I suggest you help those guys telling them what exactly you think is wrong. Or better: why don't YOU put CVS/Subversion on track and therby contribute something nice to the project. > > > > > > Regards, > > > > Daniel Campos > > > > I apologize for the broken development package. The break was caused by The > SCAN instruction I added at the last time - Something that *never* be done, > as you noticed. > > Moreover, I added this instruction for a test, I don't really need it at the > moment... It is related to the implementation of something like the 'ByRef' > VB keyword. > > If you find that I run to nowhere at full speed, maybe it is because you don't > understand, mainly because I don't explain each step clearly. So please ask > questions and tell me when you want to know why I do that, and why I don't do > that, and so on... > > All this information actually exists, but in different places: the slides i > made for the FOSDEM, the freemind roadmap on the web site, some notes in the > wiki... > > If you find the development version full of bugs, please tell me. Generally, I > fix them when they are told me. > > As for CVS/Subversion, I know that this is needed. There are only two > problems: > > - I never took the time to learn CVS/Subversion, and I don't have any time at > the moment... :-( > > - We must be able to put binary files, and I read that CVS can't deal with > that. And Sourceforge only provides CVS, no Subversion. > > But if anybody having the knowledge makes a Subversion for gambas, no problem! > I will use it... And if the guy could add a bugzilla, this will be > perfect :-) > > It just a matter of time, and having a server plugged on the internet. > > Two things that I don't have at the moment. Next year should be better! > > I will try to fix the packages tomorrow morning. Tomorrow evening, I am in > Paris, and without Internet connection :-( > > Regards, > -- Mit freundlichen Gr??en Heinz Sporn SPORN it-freelancing Mobile: ++43 (0)699 / 127 827 07 Email: heinz.sporn at ...1017... heinz.sporn at ...1018... Website: http://www.sporn-it.com Snail: Steyrer Str. 20 A-4540 Bad Hall Austria / Europe From gambasfr at ...11... Mon Sep 5 13:44:51 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 5 Sep 2005 13:44:51 +0200 Subject: [Gambas-user] Re: BIG BUG in gb 1.9.19 In-Reply-To: <1125907401.10479.65.camel@...1111...> References: <200509031602.05518.gambas@...1...> <1125907401.10479.65.camel@...1111...> Message-ID: <200509051344.51248.gambasfr@...11...> Le Lundi 05 Septembre 2005 10:03, Heinz Sporn a ?crit?: > Am Samstag, den 03.09.2005, 16:02 +0200 schrieb Benoit Minisini: > > On Friday 02 September 2005 12:38, danielcampos at ...282... wrote: > > > Hi all: > > > > > > I recommend to not use Gambas-1.9.19, the IDE is absolutely broken, > > > even using Fabien's patch. Keep Gambas-1.9.18 in safe place! > > > > > > I think it is moment to stop that run to nowhere at full speed, and > > > leave time to fix all that is done in developement version. It is full > > > of bugs, and each time it is more difficult to collaborate in the > > > project with that continous changes without having any tool like cvs or > > > subversion. No way to continue improving things in that way, I can not > > > guess every time what will be the next change that will break all! :-(( > > I am just a very interessted listener to this list. But I have to say > Daniel that you found rather harsh words here. Please bear in mind that > this terrifc piece of software is the result of an OpenSource project > for crying out loud. Done by less than a handful of people who don't get > paid for this. Non-constructive critisism does really not help them. > Neither does ranting and barking: "It's full of bugs" > > I suggest you help those guys telling them what exactly you think is > wrong. Or better: why don't YOU put CVS/Subversion on track and therby > contribute something nice to the project. Maybe i'm in bad way but it seem that you don't know who is Daniel Campos ! When you say him to contribute on something nice on the project... Look at what you have done and at what he have done ! Daniel is the writer of the gtk component, the gb.net component, v4l component and so on... he help on the maintain of the debian package too and traduce the doc to spanish..; does he need to do more ? So, when this man talk about problem on debug... it's generaly true... I'm just agree about harsh word !... but mabe was he tired or on a bad moon... Regards, Fabien Bodard From gambas at ...1077... Mon Sep 5 13:45:15 2005 From: gambas at ...1077... (Alex Schaller) Date: Mon, 5 Sep 2005 07:45:15 -0400 Subject: [Gambas-user] Re: Laurus Message-ID: <200509050745.15580.gambas@...1077...> Hello Jack! Laurus looks pretty cool. However I don't speak french, so I can't really do anything with it. Is there a change that you could provide at least installation instructions in english? Thanks! Alex From heinz.sporn at ...1017... Mon Sep 5 15:11:34 2005 From: heinz.sporn at ...1017... (Heinz Sporn) Date: Mon, 05 Sep 2005 15:11:34 +0200 Subject: [Gambas-user] Re: BIG BUG in gb 1.9.19 [SORRY] In-Reply-To: <200509051344.51248.gambasfr@...11...> References: <200509031602.05518.gambas@...1...> <1125907401.10479.65.camel@...1111...> <200509051344.51248.gambasfr@...11...> Message-ID: <1125925895.10166.3.camel@...1111...> Am Montag, den 05.09.2005, 13:44 +0200 schrieb Fabien Bodard: > Le Lundi 05 Septembre 2005 10:03, Heinz Sporn a ?crit : > > Am Samstag, den 03.09.2005, 16:02 +0200 schrieb Benoit Minisini: > > > On Friday 02 September 2005 12:38, danielcampos at ...282... wrote: > > > > Hi all: > > > > > > > > I recommend to not use Gambas-1.9.19, the IDE is absolutely broken, > > > > even using Fabien's patch. Keep Gambas-1.9.18 in safe place! > > > > > > > > I think it is moment to stop that run to nowhere at full speed, and > > > > leave time to fix all that is done in developement version. It is full > > > > of bugs, and each time it is more difficult to collaborate in the > > > > project with that continous changes without having any tool like cvs or > > > > subversion. No way to continue improving things in that way, I can not > > > > guess every time what will be the next change that will break all! :-(( > > > > I am just a very interessted listener to this list. But I have to say > > Daniel that you found rather harsh words here. Please bear in mind that > > this terrifc piece of software is the result of an OpenSource project > > for crying out loud. Done by less than a handful of people who don't get > > paid for this. Non-constructive critisism does really not help them. > > Neither does ranting and barking: "It's full of bugs" > > > > I suggest you help those guys telling them what exactly you think is > > wrong. Or better: why don't YOU put CVS/Subversion on track and therby > > contribute something nice to the project. > > Maybe i'm in bad way but it seem that you don't know who is Daniel Campos ! You suggestion is right. Unfortunately I did not know him. So I guess it's my turn to apologize. I really thought he was another VB geek on a terrible rant ;-) > When you say him to contribute on something nice on the project... Look at > what you have done and at what he have done ! > > Daniel is the writer of the gtk component, the gb.net component, v4l component > and so on... he help on the maintain of the debian package too and traduce > the doc to spanish..; does he need to do more ? > > So, when this man talk about problem on debug... it's generaly true... > I'm just agree about harsh word !... but mabe was he tired or on a bad moon... > > Regards, > Fabien Bodard > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Mit freundlichen Gr??en Heinz Sporn SPORN it-freelancing Mobile: ++43 (0)699 / 127 827 07 Email: heinz.sporn at ...1017... heinz.sporn at ...1018... Website: http://www.sporn-it.com Snail: Steyrer Str. 20 A-4540 Bad Hall Austria / Europe From Karl.Reinl at ...9... Mon Sep 5 21:19:49 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 5 Sep 2005 21:19:49 +0200 Subject: [Gambas-user] Laurus -Laurus_dump.sql for mySQL 4.0.24 Message-ID: <200509052119.50092.Karl.Reinl@...9...> Salut , for all who use older mySql Servers (me 4.0.24 ) and here the modified Laurus_dump.sql Amicalment Charlie -------------- next part -------------- -- MySQL dump 10.9 -- -- Host: localhost Database: Laurus -- ------------------------------------------------------ -- Server version 4.1.10a /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -- -- Table structure for table `Fiches_Art01` -- DROP TABLE IF EXISTS `Fiches_Art01`; CREATE TABLE `Fiches_Art01` ( `art_code` varchar(15) NOT NULL default '', `art_design` varchar(30) default NULL, `art_fam` varchar(5) default NULL, `art_four` varchar(8) default NULL, `art_cequ` varchar(15) default NULL, `art_cbarre` varchar(15) default NULL, `art_cfour` varchar(15) default NULL, `art_pbht` double default NULL, `art_tr` double default NULL, `art_paht` double default NULL, `art_coef` double default NULL, `art_pvht` double default NULL, `art_tva` double default NULL, `art_pvttc` double default NULL, `art_cdarr` varchar(4) default NULL, `art_pvar` double default NULL, `art_dec` char(1) default NULL, PRIMARY KEY (`art_code`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Art01` -- /*!40000 ALTER TABLE `Fiches_Art01` DISABLE KEYS */; LOCK TABLES `Fiches_Art01` WRITE; INSERT INTO `Fiches_Art01` VALUES ('01','DESHERBANT','01','401001','','','',35,2.35,34.18,2.106,71.98,1,75.94,'0,05',NULL,'0'),('02','PELLE','02','401001','','','',2.26,2.31,2.21,2.14,4.73,2,5.66,'0,01',NULL,'0'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Art01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Bl01` -- DROP TABLE IF EXISTS `Fiches_Bl01`; CREATE TABLE `Fiches_Bl01` ( `Numbl` char(6) NOT NULL default '', `Type` char(1) default NULL, `Cdclibl` char(8) default NULL, `Cvclibl` char(9) default NULL, `Nmclibl` char(25) default NULL, `Pnmclibl` char(25) default NULL, `Adr1bl` char(25) default NULL, `Adr2bl` char(25) default NULL, `Cpbl` char(5) default NULL, `Villebl` char(25) default NULL, `Datebl` date default NULL, `Rmobl` char(6) default NULL, `Rartbl` char(5) default NULL, `Exobl` tinyint(4) default NULL, PRIMARY KEY (`Numbl`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Bl01` -- /*!40000 ALTER TABLE `Fiches_Bl01` DISABLE KEYS */; LOCK TABLES `Fiches_Bl01` WRITE; INSERT INTO `Fiches_Bl01` VALUES ('000001','B','411001','Gaec','LES TOUCHES','','LES TOUCHES','','87000','LIMOGES','2005-07-22','0,00','0,00',0); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Bl01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Cli01` -- DROP TABLE IF EXISTS `Fiches_Cli01`; CREATE TABLE `Fiches_Cli01` ( `Cli_Code` int(8) NOT NULL default '0', `Cli_Col` char(1) default NULL, `Cli_Rs_Soc` varchar(9) default NULL, `Cli_Nom` varchar(25) default NULL, `Cli_Pnm` varchar(15) default NULL, `Cli_Adr1` varchar(25) default NULL, `Cli_Adr2` varchar(25) default NULL, `Cli_Cd_Ptl` varchar(5) default NULL, `Cli_Ville` varchar(25) default NULL, `Cli_Email` varchar(30) default NULL, `Cli_Tel_Bur` varchar(16) default NULL, `Cli_Tel_Dom` varchar(16) default NULL, `Cli_Tel_Poste` varchar(16) default NULL, `Cli_Pble` varchar(16) default NULL, `Cli_Fx1` varchar(16) default NULL, `Cli_Fx2` varchar(16) default NULL, `Cli_Plaf_Ecrs` varchar(10) default NULL, `Cli_Cd_Bq` varchar(5) default NULL, `Cli_Cd_Gch` varchar(5) default NULL, `Cli_Dmln` varchar(30) default NULL, `Cli_Cle_Rib` char(2) default NULL, `Cli_Num_Cpt` varchar(10) default NULL, `Cli_Dom` varchar(25) default NULL, `Cli_Cd_Ent` char(1) default NULL, `Cli_Cd_Acc` char(1) default NULL, `Cli_Ref_Tir` varchar(10) default NULL, `Cli_Id_Tva` varchar(13) default NULL, `Cli_Cd_Soc` char(2) default NULL, `Cli_Cd_Cli` varchar(16) default NULL, `Cli_Co_Vtl` varchar(255) default NULL, `Cli_Rlvc` tinyint(4) default NULL, `Cli_Rlvf` tinyint(4) default NULL, `Cli_Dt_Rlc` date default NULL, `Cli_Nm_Int` varchar(25) default NULL, `Cli_Obs` varchar(255) default NULL, `Cli_Collectif` varchar(8) default NULL, `Cli_Rmo` varchar(6) default NULL, `Cli_Rart` varchar(6) default NULL, `Cli_Exo` tinyint(4) default NULL, PRIMARY KEY (`Cli_Code`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Cli01` -- /*!40000 ALTER TABLE `Fiches_Cli01` DISABLE KEYS */; LOCK TABLES `Fiches_Cli01` WRITE; INSERT INTO `Fiches_Cli01` VALUES (411001,NULL,'Gaec','LES TOUCHES','','LES TOUCHES','','87000','LIMOGES','','','','','','','','','','','','','',NULL,'','','','',NULL,NULL,NULL,0,0,NULL,NULL,'','411000','0,00','0,00',0); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Cli01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Cli_Vtl01` -- DROP TABLE IF EXISTS `Fiches_Cli_Vtl01`; CREATE TABLE `Fiches_Cli_Vtl01` ( `Code` char(8) NOT NULL default '', `Code_Vtl` char(8) NOT NULL default '', `Intitule_Vtl` char(25) default NULL, PRIMARY KEY (`Code`,`Code_Vtl`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Cli_Vtl01` -- /*!40000 ALTER TABLE `Fiches_Cli_Vtl01` DISABLE KEYS */; LOCK TABLES `Fiches_Cli_Vtl01` WRITE; INSERT INTO `Fiches_Cli_Vtl01` VALUES ('411001','707100','VENTES 19.60'),('411001','707000','VENTES 5.50'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Cli_Vtl01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Commentaires01` -- DROP TABLE IF EXISTS `Fiches_Commentaires01`; CREATE TABLE `Fiches_Commentaires01` ( `Numcom` char(2) NOT NULL default '', `Intitule` char(90) default NULL, PRIMARY KEY (`Numcom`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Commentaires01` -- /*!40000 ALTER TABLE `Fiches_Commentaires01` DISABLE KEYS */; LOCK TABLES `Fiches_Commentaires01` WRITE; INSERT INTO `Fiches_Commentaires01` VALUES ('1','GARANTIE 6 MOIS PIECES ET MAIN D\'OEUVRE'),('2','GARANTIE 1 AN PIECES ET MAIN D\'OEUVRE'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Commentaires01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Comptes01` -- DROP TABLE IF EXISTS `Fiches_Comptes01`; CREATE TABLE `Fiches_Comptes01` ( `compte_cc` int(11) NOT NULL default '0', `intitule_cc` varchar(25) default NULL, `type_cc` char(1) default NULL, `tresor_cc` int(11) default NULL, `coll` int(11) default NULL, `coll_cc` varchar(8) default NULL, `cent_cc` int(11) default NULL, `comptr_cc` int(11) default NULL, `code_tvente` char(1) default NULL, `taux_tvente` varchar(5) default NULL, `gen_tv` int(11) default NULL, `code_tachat` char(1) default NULL, `taux_tachat` varchar(5) default NULL, `gen_ta` int(11) default NULL, `solde` double NOT NULL default '0', `soldep` double NOT NULL default '0', PRIMARY KEY (`compte_cc`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Comptes01` -- /*!40000 ALTER TABLE `Fiches_Comptes01` DISABLE KEYS */; LOCK TABLES `Fiches_Comptes01` WRITE; INSERT INTO `Fiches_Comptes01` VALUES (401000,'COLLECTIF FOURNISSEUR','B',NULL,1,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0),(411000,'COLLECTIF CLIENT','B',NULL,1,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0),(445700,'TVA COLLECTEE','B',0,0,NULL,1,0,'','',0,'','',0,0,0),(445600,'TVA SUR ACHAT','B',NULL,0,NULL,1,0,'','',0,'','',0,0,0),(606000,'ACHAT 5.50','G',0,0,NULL,0,0,'','',0,'1','5.50',1,0,0),(707000,'VENTES 5.50','G',0,0,NULL,0,0,'1','5.50',1,'','',0,0,0),(707100,'VENTES 19.60','G',0,0,NULL,0,0,'2','19.60',1,'','',0,0,0),(607000,'ACHAT 19.60','G',0,0,NULL,0,0,'','',0,'2','19.60',1,0,0),(411001,'LES TOUCHES','C',NULL,0,'411000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0),(401001,'LIRETTE','F',NULL,0,'401000',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0),(512000,'BANQUE','B',1,0,NULL,0,1,'','',0,'','',0,0,0); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Comptes01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Fam01` -- DROP TABLE IF EXISTS `Fiches_Fam01`; CREATE TABLE `Fiches_Fam01` ( `code_fam` varchar(5) NOT NULL default '', `libell_fam` varchar(30) default NULL, `compt_fam` varchar(8) default NULL, `coef_fam` double default NULL, `cdtva_fam` varchar(8) default NULL, `txtva_fam` double default NULL, PRIMARY KEY (`code_fam`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Fam01` -- /*!40000 ALTER TABLE `Fiches_Fam01` DISABLE KEYS */; LOCK TABLES `Fiches_Fam01` WRITE; INSERT INTO `Fiches_Fam01` VALUES ('01','JARDINAGE 5.50','707000',2.25,'1',5.5),('02','JARDINAGE 19.60','707100',2.25,'2',19.6),('03','MAIN D\'OEUVRE','707100',1.5,'2',19.6); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Fam01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Four01` -- DROP TABLE IF EXISTS `Fiches_Four01`; CREATE TABLE `Fiches_Four01` ( `Fo_Code` int(8) NOT NULL default '0', `Fo_Col` char(1) default NULL, `Fo_Rs_Soc` varchar(9) default NULL, `Fo_Nom` varchar(25) default NULL, `Fo_Pnm` varchar(15) default NULL, `Fo_Adr1` varchar(25) default NULL, `Fo_Adr2` varchar(25) default NULL, `Fo_Cd_Ptl` varchar(5) default NULL, `Fo_Ville` varchar(25) default NULL, `Fo_Email` varchar(30) default NULL, `Fo_Tel_Std` varchar(30) default NULL, `Fo_Tel_Bur` varchar(16) default NULL, `Fo_Tel_Post` varchar(16) default NULL, `Fo_Pble` varchar(16) default NULL, `Fo_Fx1` varchar(16) default NULL, `Fo_Fx2` varchar(16) default NULL, `Fo_Plaf_Ecrs` varchar(10) default NULL, `Fo_Obs` varchar(255) default NULL, `Fo_Cd_Bq` varchar(5) default NULL, `Fo_Cd_Gch` varchar(5) default NULL, `Fo_Cle_Rib` char(2) default NULL, `Fo_Num_Cpt` varchar(10) default NULL, `Fo_Dom` varchar(25) default NULL, `Fo_Id_Tva` varchar(13) default NULL, `Fo_Cd_Soc` char(2) default NULL, `Fo_Site` varchar(35) default NULL, `Fo_Cd_Cli` varchar(16) default NULL, `Fo_Co_Vtl` varchar(255) default NULL, `Fo_Collectif` varchar(8) default NULL, PRIMARY KEY (`Fo_Code`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Four01` -- /*!40000 ALTER TABLE `Fiches_Four01` DISABLE KEYS */; LOCK TABLES `Fiches_Four01` WRITE; INSERT INTO `Fiches_Four01` VALUES (401001,'F','EURL','LIRETTE','','38 RUE DES ALBERTS','','69000','LYON','','','','','','','',NULL,'','','','','','','',NULL,'','',NULL,'401000'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Four01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Four_Vtl01` -- DROP TABLE IF EXISTS `Fiches_Four_Vtl01`; CREATE TABLE `Fiches_Four_Vtl01` ( `Code` char(8) NOT NULL default '', `Code_Vtl` char(8) NOT NULL default '', `Intitule_Vtl` char(25) default NULL, PRIMARY KEY (`Code`,`Code_Vtl`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Four_Vtl01` -- /*!40000 ALTER TABLE `Fiches_Four_Vtl01` DISABLE KEYS */; LOCK TABLES `Fiches_Four_Vtl01` WRITE; INSERT INTO `Fiches_Four_Vtl01` VALUES ('401001','606000','ACHAT 5.50'),('401001','607000','ACHAT 19.60'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Four_Vtl01` ENABLE KEYS */; -- -- Table structure for table `Fiches_HistoFac01` -- DROP TABLE IF EXISTS `Fiches_HistoFac01`; CREATE TABLE `Fiches_HistoFac01` ( `Numfac` char(10) NOT NULL default '', `Cdclifac` char(8) default NULL, `Cvclifac` char(9) default NULL, `Nmclifac` char(25) default NULL, `Pnmclifac` char(25) default NULL, `Adr1fac` char(25) default NULL, `Adr2fac` char(25) default NULL, `Cpfac` char(5) default NULL, `Villefac` char(25) default NULL, `Datefac` date default NULL, `Rmofac` char(6) default NULL, `Rartfac` char(5) default NULL, `Exofac` tinyint(4) default NULL, `Totfac` char(10) default NULL, PRIMARY KEY (`Numfac`), KEY `Cdclifac` (`Cdclifac`), KEY `Nmclifac` (`Nmclifac`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_HistoFac01` -- /*!40000 ALTER TABLE `Fiches_HistoFac01` DISABLE KEYS */; LOCK TABLES `Fiches_HistoFac01` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_HistoFac01` ENABLE KEYS */; -- -- Table structure for table `Fiches_HistoLigfac01` -- DROP TABLE IF EXISTS `Fiches_HistoLigfac01`; CREATE TABLE `Fiches_HistoLigfac01` ( `Num_Ligfac` varchar(10) NOT NULL default '', `Numlig_Ligfac` varchar(6) NOT NULL default '', `Code_Ligfac` varchar(15) default NULL, `Libel_Ligfac` varchar(30) default NULL, `Fam_Ligfac` varchar(5) default NULL, `Pu_Ligfac` varchar(10) default NULL, `Qte_Ligfac` varchar(6) default NULL, `Brut_Ligfac` varchar(10) default NULL, `Rem_Ligfac` varchar(6) default NULL, `Netht_Ligfac` varchar(10) default NULL, `Tx_Ligfac` char(1) default NULL, `Nettc_Ligfac` varchar(10) default NULL, `Typel_Ligfac` char(1) default NULL, `Tm_Ligfac` char(1) default NULL, `Com_Ligfac` varchar(82) default NULL, PRIMARY KEY (`Num_Ligfac`,`Numlig_Ligfac`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_HistoLigfac01` -- /*!40000 ALTER TABLE `Fiches_HistoLigfac01` DISABLE KEYS */; LOCK TABLES `Fiches_HistoLigfac01` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_HistoLigfac01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Libelles01` -- DROP TABLE IF EXISTS `Fiches_Libelles01`; CREATE TABLE `Fiches_Libelles01` ( `Num` char(2) NOT NULL default '', `Intitule` char(30) default NULL, PRIMARY KEY (`Num`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Libelles01` -- /*!40000 ALTER TABLE `Fiches_Libelles01` DISABLE KEYS */; LOCK TABLES `Fiches_Libelles01` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Libelles01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Ligbl01` -- DROP TABLE IF EXISTS `Fiches_Ligbl01`; CREATE TABLE `Fiches_Ligbl01` ( `Num_Ligbl` varchar(6) NOT NULL default '', `Numlig_Ligbl` varchar(6) NOT NULL default '', `Code_Ligbl` varchar(15) default NULL, `Libel_Ligbl` varchar(30) default NULL, `Fam_Ligbl` varchar(5) default NULL, `Pu_Ligbl` varchar(10) default NULL, `Dec_Ligbl` char(1) default NULL, `Qte_Ligbl` varchar(6) default NULL, `Brut_Ligbl` varchar(10) default NULL, `Rem_Ligbl` varchar(6) default NULL, `Netht_Ligbl` varchar(10) default NULL, `Tx_Ligbl` char(1) default NULL, `Nettc_Ligbl` varchar(10) default NULL, `Typel_Ligbl` char(1) default NULL, `Tm_Ligbl` char(1) default NULL, `Com_Ligbl` varchar(82) default NULL, PRIMARY KEY (`Num_Ligbl`,`Numlig_Ligbl`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Ligbl01` -- /*!40000 ALTER TABLE `Fiches_Ligbl01` DISABLE KEYS */; LOCK TABLES `Fiches_Ligbl01` WRITE; INSERT INTO `Fiches_Ligbl01` VALUES ('000001','0003','02','PELLE','02','4,73','0','1,00','4,73','0,00','4,73','2','5,66','A',NULL,NULL),('000001','0001','04','REGLAGE LANCEUR','02','28,00','','1.00','35,00','0,00','35,00','0','35,00','M',NULL,NULL),('000001','0002','2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'C',NULL,'GARANTIE 1 AN PIECES ET MAIN D\'OEUVRE'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Ligbl01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Mo01` -- DROP TABLE IF EXISTS `Fiches_Mo01`; CREATE TABLE `Fiches_Mo01` ( `Mo_Code` char(15) NOT NULL default '', `Mo_Design` char(30) default NULL, `Mo_Fam` char(5) default NULL, `Mo_Four` int(8) default NULL, `Mo_Txcd` char(2) default NULL, `Mo_TxHt` float default NULL, `Mo_Tva` float default NULL, `Mo_TempMont` char(1) default NULL, `Mo_Montant` float default NULL, PRIMARY KEY (`Mo_Code`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Mo01` -- /*!40000 ALTER TABLE `Fiches_Mo01` DISABLE KEYS */; LOCK TABLES `Fiches_Mo01` WRITE; INSERT INTO `Fiches_Mo01` VALUES ('01','MO T1','03',401001,'01',25.5,2,'T',0),('02','MO T2','03',401001,'02',28,2,'T',0),('03','MO T3','03',401001,'03',32,2,'T',0),('04','REGLAGE LANCEUR','03',401001,'02',28,2,'M',35); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Mo01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Mvt01` -- DROP TABLE IF EXISTS `Fiches_Mvt01`; CREATE TABLE `Fiches_Mvt01` ( `Jour` char(2) default NULL, `Numero` int(6) NOT NULL default '0', `Compte` char(8) NOT NULL default '', `Collectif` tinyint(4) default NULL, `Intitule` char(30) default NULL, `Dte` date default NULL, `Datee` date default NULL, `Numdoc` char(10) NOT NULL default '', `Numlot` char(10) NOT NULL default '', `Libelle` char(30) default NULL, `Montantd` float default NULL, `Montantc` float default NULL, `Validee` tinyint(1) default NULL, `Provisoire` tinyint(1) default NULL, `Tresorerie` tinyint(1) default NULL, `Pointee` tinyint(1) default NULL, `Nrlv` int(8) default NULL, `Lettree` tinyint(1) default NULL, `Cloturee` tinyint(1) default NULL, `Relance` int(1) default NULL, PRIMARY KEY (`Numero`,`Compte`,`Numdoc`,`Numlot`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Mvt01` -- /*!40000 ALTER TABLE `Fiches_Mvt01` DISABLE KEYS */; LOCK TABLES `Fiches_Mvt01` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Mvt01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Mvt101` -- DROP TABLE IF EXISTS `Fiches_Mvt101`; CREATE TABLE `Fiches_Mvt101` ( `Jour` char(2) default NULL, `Numero` int(6) NOT NULL default '0', `Compte` char(8) NOT NULL default '', `Collectif` tinyint(4) default NULL, `Intitule` char(30) default NULL, `Dte` date default NULL, `Datee` date default NULL, `Numdoc` char(10) NOT NULL default '', `Numlot` char(10) NOT NULL default '', `Libelle` char(30) default NULL, `Montantd` float default NULL, `Montantc` float default NULL, `Validee` tinyint(1) default NULL, `Provisoire` tinyint(1) default NULL, `Tresorerie` tinyint(1) default NULL, `Pointee` tinyint(1) default NULL, `Nrlv` int(8) default NULL, `Lettree` tinyint(1) default NULL, `Cloturee` tinyint(1) default NULL, PRIMARY KEY (`Numero`,`Compte`,`Numdoc`,`Numlot`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Mvt101` -- /*!40000 ALTER TABLE `Fiches_Mvt101` DISABLE KEYS */; LOCK TABLES `Fiches_Mvt101` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Mvt101` ENABLE KEYS */; -- -- Table structure for table `Fiches_Mvt201` -- DROP TABLE IF EXISTS `Fiches_Mvt201`; CREATE TABLE `Fiches_Mvt201` ( `Jour` char(2) default NULL, `Numero` int(6) NOT NULL default '0', `Compte` char(8) NOT NULL default '', `Collectif` tinyint(4) default NULL, `Intitule` char(30) default NULL, `Dte` date default NULL, `Datee` date default NULL, `Numdoc` char(10) NOT NULL default '', `Numlot` char(10) NOT NULL default '', `Libelle` char(30) default NULL, `Montantd` float default NULL, `Montantc` float default NULL, `Validee` tinyint(1) default NULL, `Provisoire` tinyint(1) default NULL, `Tresorerie` tinyint(1) default NULL, `Pointee` tinyint(1) default NULL, `Nrlv` int(8) default NULL, `Lettree` tinyint(1) default NULL, `Cloturee` tinyint(1) default NULL, PRIMARY KEY (`Numero`,`Compte`,`Numdoc`,`Numlot`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Mvt201` -- /*!40000 ALTER TABLE `Fiches_Mvt201` DISABLE KEYS */; LOCK TABLES `Fiches_Mvt201` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Mvt201` ENABLE KEYS */; -- -- Table structure for table `Fiches_Mvt301` -- DROP TABLE IF EXISTS `Fiches_Mvt301`; CREATE TABLE `Fiches_Mvt301` ( `Jour` char(2) default NULL, `Numero` int(6) NOT NULL default '0', `Compte` char(8) NOT NULL default '', `Collectif` tinyint(4) default NULL, `Intitule` char(30) default NULL, `Dte` date default NULL, `Datee` date default NULL, `Numdoc` char(10) NOT NULL default '', `Numlot` char(10) NOT NULL default '', `Libelle` char(30) default NULL, `Montantd` float default NULL, `Montantc` float default NULL, `Validee` tinyint(1) default NULL, `Provisoire` tinyint(1) default NULL, `Tresorerie` tinyint(1) default NULL, `Pointee` tinyint(1) default NULL, `Nrlv` int(8) default NULL, `Lettree` tinyint(1) default NULL, `Cloturee` tinyint(1) default NULL, PRIMARY KEY (`Numero`,`Compte`,`Numdoc`,`Numlot`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Mvt301` -- /*!40000 ALTER TABLE `Fiches_Mvt301` DISABLE KEYS */; LOCK TABLES `Fiches_Mvt301` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Mvt301` ENABLE KEYS */; -- -- Table structure for table `Fiches_Mvt401` -- DROP TABLE IF EXISTS `Fiches_Mvt401`; CREATE TABLE `Fiches_Mvt401` ( `Jour` char(2) default NULL, `Numero` int(6) NOT NULL default '0', `Compte` char(8) NOT NULL default '', `Collectif` tinyint(4) default NULL, `Intitule` char(30) default NULL, `Dte` date default NULL, `Datee` date default NULL, `Numdoc` char(10) NOT NULL default '', `Numlot` char(10) NOT NULL default '', `Libelle` char(30) default NULL, `Montantd` float default NULL, `Montantc` float default NULL, `Validee` tinyint(1) default NULL, `Provisoire` tinyint(1) default NULL, `Tresorerie` tinyint(1) default NULL, `Pointee` tinyint(1) default NULL, `Nrlv` int(8) default NULL, `Lettree` tinyint(1) default NULL, `Cloturee` tinyint(1) default NULL, PRIMARY KEY (`Numero`,`Compte`,`Numdoc`,`Numlot`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Mvt401` -- /*!40000 ALTER TABLE `Fiches_Mvt401` DISABLE KEYS */; LOCK TABLES `Fiches_Mvt401` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Mvt401` ENABLE KEYS */; -- -- Table structure for table `Fiches_Mvt501` -- DROP TABLE IF EXISTS `Fiches_Mvt501`; CREATE TABLE `Fiches_Mvt501` ( `Jour` char(2) default NULL, `Numero` int(6) NOT NULL default '0', `Compte` char(8) NOT NULL default '', `Collectif` tinyint(4) default NULL, `Intitule` char(30) default NULL, `Dte` date default NULL, `Datee` date default NULL, `Numdoc` char(10) NOT NULL default '', `Numlot` char(10) NOT NULL default '', `Libelle` char(30) default NULL, `Montantd` float default NULL, `Montantc` float default NULL, `Validee` tinyint(1) default NULL, `Provisoire` tinyint(1) default NULL, `Tresorerie` tinyint(1) default NULL, `Pointee` tinyint(1) default NULL, `Nrlv` int(8) default NULL, `Lettree` tinyint(1) default NULL, `Cloturee` tinyint(1) default NULL, PRIMARY KEY (`Numero`,`Compte`,`Numdoc`,`Numlot`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Mvt501` -- /*!40000 ALTER TABLE `Fiches_Mvt501` DISABLE KEYS */; LOCK TABLES `Fiches_Mvt501` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Mvt501` ENABLE KEYS */; -- -- Table structure for table `Fiches_Parametres01` -- DROP TABLE IF EXISTS `Fiches_Parametres01`; CREATE TABLE `Fiches_Parametres01` ( `dteclec` date default NULL, `dteclec1` date default NULL, `dteclec2` date default NULL, `dteclec3` date default NULL, `dteclec4` date default NULL, `dteclec5` date default NULL, `dtepp` date default NULL, `dtepec` date default NULL, `dtepc` date default NULL, `dtetdec` date default NULL, `dtefedec` date default NULL, `cptrplus` char(8) default NULL, `cptrmoins` char(8) default NULL, `jdr` char(2) default NULL, `cptrsplus` char(8) default NULL, `cptrsmoins` char(8) default NULL, `numecriture` int(6) default NULL, `Dnc` int(8) default NULL, `Dnbon` char(8) default NULL, `Dnfac` char(5) default NULL, `Dndevis` char(8) default NULL, `Jrnal` char(2) default NULL, `Dnf` int(8) default NULL ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Parametres01` -- /*!40000 ALTER TABLE `Fiches_Parametres01` DISABLE KEYS */; LOCK TABLES `Fiches_Parametres01` WRITE; INSERT INTO `Fiches_Parametres01` VALUES ('2005-07-31','2004-07-31','2003-07-31','2002-07-31','2001-07-31','2000-07-31',NULL,NULL,'2005-07-31','2005-06-30','2005-06-30','758000','658000','10','120000','121000',4,411001,'000001','1','0','70',401001); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Parametres01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Relances01` -- DROP TABLE IF EXISTS `Fiches_Relances01`; CREATE TABLE `Fiches_Relances01` ( `Compte` char(8) NOT NULL default '', `Intitule` char(30) default NULL, `Dte` char(10) default NULL, `Numdoc` char(10) NOT NULL default '', `Numlot` char(10) default NULL, `Libelle` char(30) default NULL, `Montantd` float default NULL, `Montantc` float default NULL, PRIMARY KEY (`Compte`,`Numdoc`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Relances01` -- /*!40000 ALTER TABLE `Fiches_Relances01` DISABLE KEYS */; LOCK TABLES `Fiches_Relances01` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Relances01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Societes` -- DROP TABLE IF EXISTS `Fiches_Societes`; CREATE TABLE `Fiches_Societes` ( `Cd_sc` char(2) NOT NULL default '', `Type_sc` char(6) default NULL, `Int_sc` char(25) default NULL, `Adr1_sc` char(25) default NULL, `Adr2_sc` char(25) default NULL, `Cp_sc` char(5) default NULL, `Burdis_sc` char(25) default NULL, `Email_sc` char(30) default NULL, `Rcs_sc` char(12) default NULL, `Villerc_sc` char(15) default NULL, `Siret_sc` char(15) default NULL, `Tvaintra_sc` char(15) default NULL, `Cap_sc` char(10) default NULL, `Ape_sc` char(5) default NULL, PRIMARY KEY (`Cd_sc`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Societes` -- /*!40000 ALTER TABLE `Fiches_Societes` DISABLE KEYS */; LOCK TABLES `Fiches_Societes` WRITE; INSERT INTO `Fiches_Societes` VALUES ('01','SA','Laurus','','','','','','','','','','',''); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Societes` ENABLE KEYS */; -- -- Table structure for table `Fiches_Tvaac01` -- DROP TABLE IF EXISTS `Fiches_Tvaac01`; CREATE TABLE `Fiches_Tvaac01` ( `Code_tva` char(1) NOT NULL default '', `Taux_tva` char(5) NOT NULL default '', `Cc_tva` char(8) NOT NULL default '', PRIMARY KEY (`Code_tva`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Tvaac01` -- /*!40000 ALTER TABLE `Fiches_Tvaac01` DISABLE KEYS */; LOCK TABLES `Fiches_Tvaac01` WRITE; INSERT INTO `Fiches_Tvaac01` VALUES ('1','5.50','445600'),('2','19.60','445600'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Tvaac01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Tvaav01` -- DROP TABLE IF EXISTS `Fiches_Tvaav01`; CREATE TABLE `Fiches_Tvaav01` ( `Code_tva` char(1) NOT NULL default '', `Taux_tva` char(5) NOT NULL default '', `Cc_tva` char(8) NOT NULL default '', PRIMARY KEY (`Code_tva`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Tvaav01` -- /*!40000 ALTER TABLE `Fiches_Tvaav01` DISABLE KEYS */; LOCK TABLES `Fiches_Tvaav01` WRITE; INSERT INTO `Fiches_Tvaav01` VALUES ('1','5.50','445700'),('2','19.60','445700'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Tvaav01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Txt_Relances01` -- DROP TABLE IF EXISTS `Fiches_Txt_Relances01`; CREATE TABLE `Fiches_Txt_Relances01` ( `Niveau` int(1) NOT NULL default '0', `Libell1` text, `Libell2` text, PRIMARY KEY (`Niveau`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Txt_Relances01` -- /*!40000 ALTER TABLE `Fiches_Txt_Relances01` DISABLE KEYS */; LOCK TABLES `Fiches_Txt_Relances01` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Txt_Relances01` ENABLE KEYS */; -- -- Table structure for table `Fiches_Txtmo01` -- DROP TABLE IF EXISTS `Fiches_Txtmo01`; CREATE TABLE `Fiches_Txtmo01` ( `Code_Txtmo` char(2) NOT NULL default '', `Tx_Txtmo` float default NULL, `Libell_Txtmo` char(25) default NULL, `Compt_Txtmo` char(8) default NULL, PRIMARY KEY (`Code_Txtmo`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_Txtmo01` -- /*!40000 ALTER TABLE `Fiches_Txtmo01` DISABLE KEYS */; LOCK TABLES `Fiches_Txtmo01` WRITE; INSERT INTO `Fiches_Txtmo01` VALUES ('01',25.5,'MO T1','707100'),('02',28,'MO T2','707100'),('03',32,'MO T3','707100'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_Txtmo01` ENABLE KEYS */; -- -- Table structure for table `Fiches_journaux01` -- DROP TABLE IF EXISTS `Fiches_journaux01`; CREATE TABLE `Fiches_journaux01` ( `Code_jo` char(2) NOT NULL default '', `Libelle_jo` char(15) default NULL, `Type_jo` char(2) NOT NULL default '', `Cde_banque` char(8) default NULL, PRIMARY KEY (`Code_jo`) ) TYPE=MyISAM; -- -- Dumping data for table `Fiches_journaux01` -- /*!40000 ALTER TABLE `Fiches_journaux01` DISABLE KEYS */; LOCK TABLES `Fiches_journaux01` WRITE; INSERT INTO `Fiches_journaux01` VALUES ('10','A NOUVEAU','OD',''),('70','VENTES','VE',''),('60','ACHATS','AC',''),('50','BANQUE','TR','512000'); UNLOCK TABLES; /*!40000 ALTER TABLE `Fiches_journaux01` ENABLE KEYS */; -- -- Table structure for table `Totalisation` -- DROP TABLE IF EXISTS `Totalisation`; CREATE TABLE `Totalisation` ( `Compte` char(8) NOT NULL default '', `Intitule` char(25) default NULL, `Totalht` char(25) default NULL, `Totaltva` char(25) default NULL, `Codetva` char(1) default NULL, PRIMARY KEY (`Compte`) ) TYPE=MyISAM; -- -- Dumping data for table `Totalisation` -- /*!40000 ALTER TABLE `Totalisation` DISABLE KEYS */; LOCK TABLES `Totalisation` WRITE; INSERT INTO `Totalisation` VALUES ('411001','LES TOUCHES','40,66',NULL,NULL),('707100','VENTES 19.60','39,73',NULL,'2'),('445700','TVA COLLECTEE',NULL,'0,93','2'); UNLOCK TABLES; /*!40000 ALTER TABLE `Totalisation` ENABLE KEYS */; -- -- Table structure for table `Totalisation01` -- DROP TABLE IF EXISTS `Totalisation01`; CREATE TABLE `Totalisation01` ( `Compte` char(8) NOT NULL default '', `Intitule` char(25) default NULL, `Totalht` char(25) default NULL, `Totaltva` char(25) default NULL, `Codetva` char(1) default NULL, PRIMARY KEY (`Compte`) ) TYPE=MyISAM; -- -- Dumping data for table `Totalisation01` -- /*!40000 ALTER TABLE `Totalisation01` DISABLE KEYS */; LOCK TABLES `Totalisation01` WRITE; UNLOCK TABLES; /*!40000 ALTER TABLE `Totalisation01` ENABLE KEYS */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; From isy21 at ...1082... Tue Sep 6 11:07:56 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Tue, 6 Sep 2005 16:07:56 +0700 Subject: [Gambas-user] Kugar Message-ID: <200509061607.57259.isy21@...1082...> Hi, everyone Where can i get kugar in rpm for suse 9.3 ? I try to install koffice 1.4.1 , but i always get error libkexicore.so.0 not found and libkformdesigner.so.0 not found also I try to find in internet, but not result found. always get same result. if any alternatif for report designer for gambas, of course in GPL license. Thanks for your help Ignatius From sourceforge-raindog2 at ...94... Tue Sep 6 18:56:14 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 6 Sep 2005 12:56:14 -0400 Subject: [Gambas-user] Kugar In-Reply-To: <200509061607.57259.isy21@...1082...> References: <200509061607.57259.isy21@...1082...> Message-ID: <200509061256.15050.sourceforge-raindog2@...94...> On Tue September 6 2005 05:07, isy21 at ...1082... wrote: > if any alternatif for report designer for gambas, of course in GPL > license. I simply generate my own reports in Gambas, just as I did with VB once I ran into the limitations of Crystal Reports. It's actually easier in Gambas because the Printer object is just another object you can use the Draw stuff on, instead of being special and undocumented like VB's. Someone wrote and released (a long time ago) the beginnings of a report designer for Gambas, but I don't remember who or what its name was. It might be on www.gambasforge.net, but I can't get to Gambas Forge today. Rob From jscops at ...11... Tue Sep 6 20:07:39 2005 From: jscops at ...11... (jscops) Date: Tue, 6 Sep 2005 20:07:39 +0200 (CEST) Subject: [Gambas-user] Re: Laurus Message-ID: <21741219.1126030059976.JavaMail.www@...1100...> Salut Alex ! > Laurus looks pretty cool. > However I don't speak french, so I can't really do anything with it. > > Is there a change that you could provide at least installation instructions in > english? > No, I am sorry but my english is too bad and because i have no time for that. But there is no problem if anybody want to do it. > Thanks! > > Alex Amicalement. ~? Jack ?~ > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From fidojones at ...805... Tue Sep 6 21:10:36 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Tue, 6 Sep 2005 21:10:36 +0200 (CEST) Subject: [Gambas-user] Kugar In-Reply-To: <200509061256.15050.sourceforge-raindog2@...94...> References: <200509061607.57259.isy21@...1082...> <200509061256.15050.sourceforge-raindog2@...94...> Message-ID: <40839.85.155.33.88.1126033836.squirrel@...962...> may be this? http://cfaure.com/DBReport/ gambas DBReport....... > On Tue September 6 2005 05:07, isy21 at ...1082... wrote: > >> if any alternatif for report designer for gambas, of course in GPL >> license. > > I simply generate my own reports in Gambas, just as I did with VB once > I ran into the limitations of Crystal Reports. It's actually easier > in Gambas because the Printer object is just another object you can use the > Draw stuff on, instead of being special and undocumented like From jscops at ...11... Tue Sep 6 21:56:03 2005 From: jscops at ...11... (jscops) Date: Tue, 6 Sep 2005 21:56:03 +0200 (CEST) Subject: [Gambas-user] Kugar Message-ID: <29772343.1126036563108.JavaMail.www@...1114...> > Message du 06/09/05 11:03 > De : "isy21 at ...1082..." > A : gambas-user at lists.sourceforge.net > Copie ? : > Objet : [Gambas-user] Kugar > > Hi, everyone > > Where can i get kugar in rpm for suse 9.3 ? > I try to install koffice 1.4.1 , but i always get error libkexicore.so.0 not > found and libkformdesigner.so.0 not found also > > I try to find in internet, but not result found. always get same result. > > if any alternatif for report designer for gambas, of course in GPL license. > > > Thanks for your help > Use Yast and install the koffice-extra that you can find in the suse site (I do not remenber the adress ) ~? Jack ?~ > From jfabiani at ...1109... Wed Sep 7 00:20:07 2005 From: jfabiani at ...1109... (John Fabiani) Date: Tue, 6 Sep 2005 15:20:07 -0700 Subject: [Gambas-user] Is there an IRC? Message-ID: <200509061520.07525.jfabiani@...1109...> Hi, I was wondering if there is a meeting place on IRC for Gambas? John From jfabiani at ...1109... Wed Sep 7 00:50:18 2005 From: jfabiani at ...1109... (John Fabiani) Date: Tue, 6 Sep 2005 15:50:18 -0700 Subject: [Gambas-user] I need help getting gambas running Message-ID: <200509061550.18925.jfabiani@...1109...> Hi, I think I was able to install all the RPMS without issue but clicking on /usr/bin/gambas2 does not start anything (just a bouncing icon) and from the command I get "Cannot load class "Project":Version to old. Please recompile." I have checked the site along with the wiki site without getting much from it. Also I have googled the error message without any success. If I can't get anyone to help I guess I'll have to give up. John From werda at ...1000... Wed Sep 7 04:47:34 2005 From: werda at ...1000... (Werner) Date: Wed, 07 Sep 2005 10:47:34 +0800 Subject: [Gambas-user] I need help getting gambas running In-Reply-To: <200509061550.18925.jfabiani@...1109...> References: <200509061550.18925.jfabiani@...1109...> Message-ID: <431E54C6.3060002@...1000...> John Fabiani wrote: >Hi, > >I think I was able to install all the RPMS without issue but clicking >on /usr/bin/gambas2 does not start anything (just a bouncing icon) and from >the command I get "Cannot load class "Project":Version to old. Please >recompile." I have checked the site along with the wiki site without getting >much from it. Also I have googled the error message without any success. If >I can't get anyone to help I guess I'll have to give up. > >John > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > >. > > > You need to tell us a little bit more. What distribution / revision level are you using? Which version of Gambas are you trying to install? Regards, Werner From jfabiani at ...1109... Wed Sep 7 06:07:51 2005 From: jfabiani at ...1109... (John Fabiani) Date: Tue, 6 Sep 2005 21:07:51 -0700 Subject: [Gambas-user] I need help getting gambas running In-Reply-To: <431E54C6.3060002@...1000...> References: <200509061550.18925.jfabiani@...1109...> <431E54C6.3060002@...1000...> Message-ID: <200509062107.51431.jfabiani@...1109...> thanks you are the only person to response. SUSE 9.3, gambas2 1.9.17. Also is there a web site or doc available that explains how install process? John On Tuesday 06 September 2005 19:47, Werner wrote: > John Fabiani wrote: > >Hi, > > > >I think I was able to install all the RPMS without issue but clicking > >on /usr/bin/gambas2 does not start anything (just a bouncing icon) and > > from the command I get "Cannot load class "Project":Version to old. > > Please recompile." I have checked the site along with the wiki site > > without getting much from it. Also I have googled the error message > > without any success. If I can't get anyone to help I guess I'll have to > > give up. > > > >John > > > > > >------------------------------------------------------- > >SF.Net email is Sponsored by the Better Software Conference & EXPO > >September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices Agile & Plan-Driven Development * Managing Projects & Teams * > > Testing & QA Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >. > > You need to tell us a little bit more. > What distribution / revision level are you using? > Which version of Gambas are you trying to install? > > Regards, > > Werner > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From werda at ...1000... Wed Sep 7 07:58:34 2005 From: werda at ...1000... (Werner) Date: Wed, 07 Sep 2005 13:58:34 +0800 Subject: [Gambas-user] I need help getting gambas running In-Reply-To: <200509062107.51431.jfabiani@...1109...> References: <200509061550.18925.jfabiani@...1109...> <431E54C6.3060002@...1000...> <200509062107.51431.jfabiani@...1109...> Message-ID: <431E818A.5020008@...1000...> John Fabiani wrote: >thanks you are the only person to response. SUSE 9.3, gambas2 1.9.17. Also >is there a web site or doc available that explains how install process? >John > > > The latest stable version is 1.0.11. The development version is 1.9.20, I think. The rpm's for suse 9.3 can be found here: ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/SuSE_9.3/ Where did you get the rpm's from? Gambas is also included in the suse distribution but I hear that one is hopeless because suse built it all wrong. Personally I use gambas 1.0.10 on suse 9.3 at the moment. It works quite well. I just used Yast to install. It's a good idea to install gambas-runtime as one of the first packages as some other packages depend on it. Werner >On Tuesday 06 September 2005 19:47, Werner wrote: > > >>John Fabiani wrote: >> >> >>>Hi, >>> >>>I think I was able to install all the RPMS without issue but clicking >>>on /usr/bin/gambas2 does not start anything (just a bouncing icon) and >>>from the command I get "Cannot load class "Project":Version to old. >>>Please recompile." I have checked the site along with the wiki site >>>without getting much from it. Also I have googled the error message >>>without any success. If I can't get anyone to help I guess I'll have to >>>give up. >>> >>>John >>> >>> >>>------------------------------------------------------- >>>SF.Net email is Sponsored by the Better Software Conference & EXPO >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle >>>Practices Agile & Plan-Driven Development * Managing Projects & Teams * >>>Testing & QA Security * Process Improvement & Measurement * >>>http://www.sqe.com/bsce5sf >>>_______________________________________________ >>>Gambas-user mailing list >>>Gambas-user at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>>. >>> >>> >>You need to tell us a little bit more. >>What distribution / revision level are you using? >>Which version of Gambas are you trying to install? >> >>Regards, >> >>Werner >> >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > >. > > > From gambasfr at ...11... Wed Sep 7 10:32:29 2005 From: gambasfr at ...11... (Fabien) Date: Wed, 7 Sep 2005 10:32:29 +0200 (CEST) Subject: [Gambas-user] Is there an IRC? Message-ID: <11506639.1126081949392.JavaMail.www@...1116...> > Message du 07/09/05 00:21 > De : "John Fabiani" > A : Gambas-user at lists.sourceforge.net > Copie ? : > Objet : [Gambas-user] Is there an IRC? > > Hi, > I was wondering if there is a meeting place on IRC for Gambas? > John > yes :) at #gambas on freenodes Regards, Fabien Bodard > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From fidojones at ...805... Wed Sep 7 11:46:25 2005 From: fidojones at ...805... (Lorenzo Tejera) Date: Wed, 7 Sep 2005 11:46:25 +0200 (CEST) Subject: [Gambas-user] Berlios.de has SVN support.......for gambas project In-Reply-To: <11506639.1126081949392.JavaMail.www@...1116...> References: <11506639.1126081949392.JavaMail.www@...1116...> Message-ID: <51298.85.155.33.88.1126086385.squirrel@...962...> SourceForge not support SVN but berlios.de support CVS and SVN if Benoit want to start to use it..... It's only an idea. fido From rolf.frogs at ...221... Wed Sep 7 11:23:30 2005 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Wed, 7 Sep 2005 11:23:30 +0200 Subject: [Gambas-user] Problems with gambas examples Message-ID: <200509071123.33853.rolf.frogs@...221...> Hi, I still have the problem now with gambas 1.9.20 on Debian Sarge (installed as compiled package) to run any of the examples. The IDE always complains that the "... class file could not be loaded", where the class file is the main class of the example. What is wrong with the installation? Any ideas? Fine regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From isy21 at ...1082... Wed Sep 7 12:42:57 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Wed, 7 Sep 2005 17:42:57 +0700 Subject: [Gambas-user] Need help clear tableview Message-ID: <200509071742.57604.isy21@...1082...> Hi, all First, i want to thanks for all of you, for help me in programming gambas. Thanks again, i already can run kugar and i have alternatif report designer -> dbreport (suggest from Lorenzo). right now i try Kugar and Dbreport, yes, last month i was a vb dan crystal report programming. That some many thing difference, but i like gambas from now. Today i still don't know how to use kugar, i try to learn from Laurus example, but still no clue. Everytime i run kugar, it always ask file to open, but i want to create new one, if i choose no, then application close....ooohhhh i just wonder , if somebody or someone can give me a simple example using kugar or maybe dbreport also.. But anyway i still try to use kugar or dbreport, i still no idea to use printing in gambas itself. i try to search how to use printing in gambas, but no clue ? could anyone give me sample example. And one more help i bee, like how to clear tableview, if i choose to clear all form ?. i want to clear tableview with no data, but tableview header no clear. i use suse 9.3 and gambas 1.0.11 Thanks , so may thanks Ignatius From jfabiani at ...1109... Wed Sep 7 16:19:17 2005 From: jfabiani at ...1109... (John Fabiani) Date: Wed, 7 Sep 2005 07:19:17 -0700 Subject: [Gambas-user] I need help getting gambas running In-Reply-To: <431E818A.5020008@...1000...> References: <200509061550.18925.jfabiani@...1109...> <200509062107.51431.jfabiani@...1109...> <431E818A.5020008@...1000...> Message-ID: <200509070719.18036.jfabiani@...1109...> I could not get gambas1 working using the DVD so I decided to install the gambas2. The sourceforge has a link to the SUSE 9.3 RPM's. So I just installed all the Gambas2 RPM's for 1.9.17. But the link you provided has the RPM's for 1.9.20. The only question I have - after I install all the Gambas2 RPM's is there anything else required. I have development packages for QT,Postgres, and gcc 3.3.5 installed. John On Tuesday 06 September 2005 22:58, Werner wrote: > John Fabiani wrote: > >thanks you are the only person to response. SUSE 9.3, gambas2 1.9.17. > > Also is there a web site or doc available that explains how install > > process? John > > The latest stable version is 1.0.11. The development version is 1.9.20, > I think. The rpm's for suse 9.3 can be found here: > ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/SuSE_9.3/ > Where did you get the rpm's from? > > Gambas is also included in the suse distribution but I hear that one is > hopeless because suse built it all wrong. > > Personally I use gambas 1.0.10 on suse 9.3 at the moment. It works quite > well. I just used Yast to install. It's a good idea to install > gambas-runtime as one of the first packages as some other packages > depend on it. > > Werner > > >On Tuesday 06 September 2005 19:47, Werner wrote: > >>John Fabiani wrote: > >>>Hi, > >>> > >>>I think I was able to install all the RPMS without issue but clicking > >>>on /usr/bin/gambas2 does not start anything (just a bouncing icon) and > >>>from the command I get "Cannot load class "Project":Version to old. > >>>Please recompile." I have checked the site along with the wiki site > >>>without getting much from it. Also I have googled the error message > >>>without any success. If I can't get anyone to help I guess I'll have to > >>>give up. > >>> > >>>John > >>> > >>> > >>>------------------------------------------------------- > >>>SF.Net email is Sponsored by the Better Software Conference & EXPO > >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle > >>>Practices Agile & Plan-Driven Development * Managing Projects & Teams * > >>>Testing & QA Security * Process Improvement & Measurement * > >>>http://www.sqe.com/bsce5sf > >>>_______________________________________________ > >>>Gambas-user mailing list > >>>Gambas-user at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >>>. > >> > >>You need to tell us a little bit more. > >>What distribution / revision level are you using? > >>Which version of Gambas are you trying to install? > >> > >>Regards, > >> > >>Werner > >> > >> > >> > >>------------------------------------------------------- > >>SF.Net email is Sponsored by the Better Software Conference & EXPO > >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle > >> Practices Agile & Plan-Driven Development * Managing Projects & Teams * > >> Testing & QA Security * Process Improvement & Measurement * > >> http://www.sqe.com/bsce5sf > >> _______________________________________________ > >>Gambas-user mailing list > >>Gambas-user at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >------------------------------------------------------- > >SF.Net email is Sponsored by the Better Software Conference & EXPO > >September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices Agile & Plan-Driven Development * Managing Projects & Teams * > > Testing & QA Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >. > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From oczykota at ...988... Wed Sep 7 17:07:42 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Wed, 07 Sep 2005 17:07:42 +0200 Subject: [Gambas-user] When gambas 2.0? Message-ID: <431F023E.6030305@...988...> i'm not tracking developent gambas. So when we can expect gambas 2.0 release? Arek. From igor.furlan at ...626... Wed Sep 7 17:21:02 2005 From: igor.furlan at ...626... (Primorec) Date: Wed, 7 Sep 2005 08:21:02 -0700 Subject: [Gambas-user] When gambas 2.0? In-Reply-To: <431F023E.6030305@...988...> References: <431F023E.6030305@...988...> Message-ID: <54728e7405090708214e878447@...627...> I guess, when it will be ready ;-) On 9/7/05, Arkadiusz Zychewicz wrote: > > i'm not tracking developent gambas. So when we can expect gambas 2.0 > release? > > Arek. > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- There is no such thing as 'knowledge' for the sake of knowledge. Knowledge is power. "I know. You don't know". -------------- next part -------------- An HTML attachment was scrubbed... URL: From werda at ...1000... Wed Sep 7 17:57:57 2005 From: werda at ...1000... (Werner) Date: Wed, 07 Sep 2005 23:57:57 +0800 Subject: [Gambas-user] I need help getting gambas running In-Reply-To: <200509070719.18036.jfabiani@...1109...> References: <200509061550.18925.jfabiani@...1109...> <200509062107.51431.jfabiani@...1109...> <431E818A.5020008@...1000...> <200509070719.18036.jfabiani@...1109...> Message-ID: <431F0E05.8080004@...1000...> It depends on what you want to do, contributing to the development of Gambas or just use it? Version 1.9.xx is a hard hat area so if you are new it might be a good idea to start with a stable version. I assume you are new. You mention a DVD. Presumably that would be the SuSE DVD. For the second time, the Gambas rpm in the SuSE distribution is NO GOOD. An explanation of the reason why can be found in the archive of this mailing list. I suggest to use the 1.0.11 which you can find at the link mentioned below and try this stable version first. Werner John Fabiani wrote: >I could not get gambas1 working using the DVD so I decided to install the >gambas2. The sourceforge has a link to the SUSE 9.3 RPM's. So I just >installed all the Gambas2 RPM's for 1.9.17. But the link you provided has >the RPM's for 1.9.20. The only question I have - after I install all the >Gambas2 RPM's is there anything else required. I have development packages >for QT,Postgres, and gcc 3.3.5 installed. > >John > >On Tuesday 06 September 2005 22:58, Werner wrote: > > >>John Fabiani wrote: >> >> >>>thanks you are the only person to response. SUSE 9.3, gambas2 1.9.17. >>>Also is there a web site or doc available that explains how install >>>process? John >>> >>> >>The latest stable version is 1.0.11. The development version is 1.9.20, >>I think. The rpm's for suse 9.3 can be found here: >>ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/SuSE_9.3/ >>Where did you get the rpm's from? >> >>Gambas is also included in the suse distribution but I hear that one is >>hopeless because suse built it all wrong. >> >>Personally I use gambas 1.0.10 on suse 9.3 at the moment. It works quite >>well. I just used Yast to install. It's a good idea to install >>gambas-runtime as one of the first packages as some other packages >>depend on it. >> >>Werner >> >> >> >>>On Tuesday 06 September 2005 19:47, Werner wrote: >>> >>> >>>>John Fabiani wrote: >>>> >>>> >>>>>Hi, >>>>> >>>>>I think I was able to install all the RPMS without issue but clicking >>>>>on /usr/bin/gambas2 does not start anything (just a bouncing icon) and >>>>> >>>>> >>>>>from the command I get "Cannot load class "Project":Version to old. >>>> >>>> >>>>>Please recompile." I have checked the site along with the wiki site >>>>>without getting much from it. Also I have googled the error message >>>>>without any success. If I can't get anyone to help I guess I'll have to >>>>>give up. >>>>> >>>>>John >>>>> >>>>> >>>>>. >>>>> >>>>> >>>>You need to tell us a little bit more. >>>>What distribution / revision level are you using? >>>>Which version of Gambas are you trying to install? >>>> >>>>Regards, >>>> >>>>Werner >>>> >>>> >>>> >>>> >>>> From sourceforge-raindog2 at ...94... Wed Sep 7 17:57:47 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 7 Sep 2005 11:57:47 -0400 Subject: [Gambas-user] When gambas 2.0? In-Reply-To: <431F023E.6030305@...988...> References: <431F023E.6030305@...988...> Message-ID: <200509071157.48496.sourceforge-raindog2@...94...> On Wed September 7 2005 11:07, Arkadiusz Zychewicz wrote: > i'm not tracking developent gambas. So when we can expect gambas > 2.0 release? "When it's ready", of course, but I can tell you that before that happens we'll see a new IDE, a feature-equivalent gb.gtk component, and probably some other new components as well. Rob From jfabiani at ...1109... Wed Sep 7 18:10:47 2005 From: jfabiani at ...1109... (John Fabiani) Date: Wed, 7 Sep 2005 09:10:47 -0700 Subject: [Gambas-user] I need help getting gambas running In-Reply-To: <431F0E05.8080004@...1000...> References: <200509061550.18925.jfabiani@...1109...> <200509070719.18036.jfabiani@...1109...> <431F0E05.8080004@...1000...> Message-ID: <200509070910.47140.jfabiani@...1109...> Well I download all of the gambas2 stuff. Could we try using that first - since I downloaded it? Should I make an effort to remove the old version first? John On Wednesday 07 September 2005 08:57, Werner wrote: > It depends on what you want to do, contributing to the development of > Gambas or just use it? > > Version 1.9.xx is a hard hat area so if you are new it might be a good > idea to start with a stable version. I assume you are new. > > You mention a DVD. Presumably that would be the SuSE DVD. For the second > time, the Gambas rpm in the SuSE distribution is NO GOOD. An explanation > of the reason why can be found in the archive of this mailing list. > > I suggest to use the 1.0.11 which you can find at the link mentioned > below and try this stable version first. > > Werner > > John Fabiani wrote: > >I could not get gambas1 working using the DVD so I decided to install the > >gambas2. The sourceforge has a link to the SUSE 9.3 RPM's. So I just > >installed all the Gambas2 RPM's for 1.9.17. But the link you provided has > >the RPM's for 1.9.20. The only question I have - after I install all the > >Gambas2 RPM's is there anything else required. I have development > > packages for QT,Postgres, and gcc 3.3.5 installed. > > > >John > > > >On Tuesday 06 September 2005 22:58, Werner wrote: > >>John Fabiani wrote: > >>>thanks you are the only person to response. SUSE 9.3, gambas2 1.9.17. > >>>Also is there a web site or doc available that explains how install > >>>process? John > >> > >>The latest stable version is 1.0.11. The development version is 1.9.20, > >>I think. The rpm's for suse 9.3 can be found here: > >>ftp://ftp.gwdg.de/pub/linux/misc/suser-gbv/rpms/SuSE_9.3/ > >>Where did you get the rpm's from? > >> > >>Gambas is also included in the suse distribution but I hear that one is > >>hopeless because suse built it all wrong. > >> > >>Personally I use gambas 1.0.10 on suse 9.3 at the moment. It works quite > >>well. I just used Yast to install. It's a good idea to install > >>gambas-runtime as one of the first packages as some other packages > >>depend on it. > >> > >>Werner > >> > >>>On Tuesday 06 September 2005 19:47, Werner wrote: > >>>>John Fabiani wrote: > >>>>>Hi, > >>>>> > >>>>>I think I was able to install all the RPMS without issue but clicking > >>>>>on /usr/bin/gambas2 does not start anything (just a bouncing icon) and > >>>>> > >>>>> > >>>>>from the command I get "Cannot load class "Project":Version to old. > >>>>> > >>>>> > >>>>>Please recompile." I have checked the site along with the wiki site > >>>>>without getting much from it. Also I have googled the error message > >>>>>without any success. If I can't get anyone to help I guess I'll have > >>>>> to give up. > >>>>> > >>>>>John > >>>>> > >>>>> > >>>>>. > >>>> > >>>>You need to tell us a little bit more. > >>>>What distribution / revision level are you using? > >>>>Which version of Gambas are you trying to install? > >>>> > >>>>Regards, > >>>> > >>>>Werner > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Wed Sep 7 18:20:20 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 7 Sep 2005 12:20:20 -0400 Subject: [Gambas-user] I need help getting gambas running In-Reply-To: <200509070910.47140.jfabiani@...1109...> References: <200509061550.18925.jfabiani@...1109...> <431F0E05.8080004@...1000...> <200509070910.47140.jfabiani@...1109...> Message-ID: <200509071220.21515.sourceforge-raindog2@...94...> On Wed September 7 2005 12:10, John Fabiani wrote: > Well I download all of the gambas2 stuff. Could we try using that > first - since I downloaded it? Should I make an effort to remove > the old version first? Yes, if you have a version installed from RPM, you should definitely remove that prior to doing "make install" on a version you've compiled from source. Rob From oczykota at ...988... Wed Sep 7 18:34:26 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Wed, 07 Sep 2005 18:34:26 +0200 Subject: [Gambas-user] When gambas 2.0? In-Reply-To: <54728e7405090708214e878447@...627...> References: <431F023E.6030305@...988...> <54728e7405090708214e878447@...627...> Message-ID: <431F1692.2050503@...988...> Primorec napisa?(a): > I guess, when it will be ready ;-) oh. in oder case it wouldn't :) do you known maybe although approximately when? did someone same plans? Arek. From jfabiani at ...1109... Thu Sep 8 00:01:46 2005 From: jfabiani at ...1109... (John Fabiani) Date: Wed, 7 Sep 2005 15:01:46 -0700 Subject: [Gambas-user] I need help getting gambas running In-Reply-To: <200509071220.21515.sourceforge-raindog2@...94...> References: <200509061550.18925.jfabiani@...1109...> <200509070910.47140.jfabiani@...1109...> <200509071220.21515.sourceforge-raindog2@...94...> Message-ID: <200509071501.47111.jfabiani@...1109...> Ok I first removed all YAST entries of gambas. Then I installed all of the gambas2 and get the same error (project needs to be recompiled). Anyway now I will try the gambas1. John On Wednesday 07 September 2005 09:20, Rob Kudla wrote: > On Wed September 7 2005 12:10, John Fabiani wrote: > > Well I download all of the gambas2 stuff. Could we try using that > > first - since I downloaded it? Should I make an effort to remove > > the old version first? > > Yes, if you have a version installed from RPM, you should definitely > remove that prior to doing "make install" on a version you've > compiled from source. > > Rob > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From garrett at ...1118... Thu Sep 8 02:16:53 2005 From: garrett at ...1118... (Garrett) Date: Wed, 07 Sep 2005 17:16:53 -0700 Subject: [Gambas-user] Gambas Rocks! & Newbie Alert! In-Reply-To: <11506639.1126081949392.JavaMail.www@...1116...> References: <11506639.1126081949392.JavaMail.www@...1116...> Message-ID: <1126138613.15665.14.camel@...37...> GAMBAS ROCKS! Ok, yeah, 40 year old Linux/Gambas newb here. I just wanted thank Beno?t Minisini for making Gambas. I'm not a hardcore programmer, so I've been looking for something to program with on Linux that I would be capable of understanding. Coming from the Windows world I was use to programming in a few smaller languages, Visual DialogScript mainly though. So I did have some programming ability before trying out Gambas. Within one night I was able to code and package a program using Gambas (stable version). Now I have no reason once so ever to look back at MS Windope (except maybe the potential for cross platform programming). Also, I recently acquired a web site related to basic programming on linux (http://www.basic4linux.com/). If anyone is interested in adding some reviews and such, drop by the site and see if there's anything might be interested in. I plan on adding info about Gambas, but I need to learn more about it first and get more comfortable with it before I do so. Anyway, just wanted to basically thank Beno?t Minisini for making Gambas, and thanks to everyone who helps him out with Gambas and to those who help others. Best regards, -Garrett From Wsouzap at ...87... Thu Sep 8 23:17:44 2005 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Thu, 08 Sep 2005 17:17:44 -0400 Subject: [Gambas-user] forms with very big controls Message-ID: <2835E3FA.6E04175C.001B903D@...87...> Hi! I'm using gambas2.0.12 and fine work. But when i install the gambas2.0.19 or 20 version, my controls in form now very big. Looking the old form file and new form file (xxx.form), i see the above diferences: In the old form file .form Move(64,96,231,436) In the new form file .form MoveScaled(9.1429,13.7143,33,62.2857) 'Move(64,96,231,436) The MoveScaled command is added in context, but my old program in 0.12 he has crazy. Somebody knows as to correct this that is not manually??? Souza, Wellington From davide.madrisan at ...1119... Fri Sep 9 11:03:11 2005 From: davide.madrisan at ...1119... (Davide Madrisan) Date: Fri, 9 Sep 2005 11:03:11 +0200 Subject: [Gambas-user] gambas-user@lists.sourceforge.net Message-ID: <200509091103.21704.davide.madrisan@...1119...> Hi all, Gambas 1.0.10 build and run with no problem on the QiLinux distribution, version 1.2 (www.qilinux.it). Benoit, could you add an entry in the "Distributions & Operating Systems" page? Thanks. #include --- Davide Madrisan PGP keyID: 0x4B72B0B9 fp: 2B79 BFF1 EE33 EE8C 3258 E43C CDA8 EFF3 4B72 B0B9 PGP public key: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From peski_2k at ...67... Fri Sep 9 12:48:36 2005 From: peski_2k at ...67... (Peski -) Date: Fri, 09 Sep 2005 10:48:36 +0000 Subject: [Gambas-user] When gambas 2.0? In-Reply-To: <431F1692.2050503@...988...> Message-ID: Gambas is free software. Most gambas programers work on gambas in his free time. No date limit exist for new releases. Simply, this releases are published when its are ready. Gambas 2.0 will released when developed version are consider stable, and his author consider that already have all neccesary features implemented. I think that this need some month of work. Why this hurry? The develop of gambas is constantly in progress. When it will be ready, it will be released... Regards, Francisco J. M?rquez (aka Peski) >From: Arkadiusz Zychewicz >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] When gambas 2.0? >Date: Wed, 07 Sep 2005 18:34:26 +0200 > >Primorec napisa?(a): >>I guess, when it will be ready ;-) > >oh. in oder case it wouldn't :) > >do you known maybe although approximately when? > >did someone same plans? > >Arek. > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From oreip at ...1... Fri Sep 9 13:05:47 2005 From: oreip at ...1... (PV) Date: Fri, 09 Sep 2005 13:05:47 +0200 Subject: [Gambas-user] Bug in for..next cycle with negative step? Message-ID: <43216C8B.9040204@...1...> Hi all, I just noticed this doesn't work DIM i as Integer FOR i = 10 TO 1 STEP -1 PRINT "ciao" NEXT The loop is exited immediately, so no "ciao" is printed. Is this a bug or have I missed some syntax changes in the devel version? (by the way, I'm using 1.9.20). Take care, Piero From werda at ...1000... Fri Sep 9 18:34:50 2005 From: werda at ...1000... (Werner) Date: Sat, 10 Sep 2005 00:34:50 +0800 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <43216C8B.9040204@...1...> References: <43216C8B.9040204@...1...> Message-ID: <4321B9AA.8040509@...1000...> PV wrote: > Hi all, > > I just noticed this doesn't work > > DIM i as Integer > > FOR i = 10 TO 1 STEP -1 > PRINT "ciao" > NEXT > > The loop is exited immediately, so no "ciao" is printed. > > Is this a bug or have I missed some syntax changes in the devel > version? (by the way, I'm using 1.9.20). > > > Take care, > Piero > > Doesn't seem to work in 1.0.10 either Werner From na2492 at ...9... Fri Sep 9 23:22:46 2005 From: na2492 at ...9... (Charlie Reinl) Date: Fri, 9 Sep 2005 23:22:46 00200 Subject: [Gambas-user] Bug in for..next cycle with negative step? Message-ID: <4321fd26.2661.0@...9...> >PV wrote: > >> Hi all, >> >> I just noticed this doesn't work >> >> DIM i as Integer >> >> FOR i = 10 TO 1 STEP -1 >> PRINT "ciao" >> NEXT >> >> The loop is exited immediately, so no "ciao" is printed. >> >> Is this a bug or have I missed some syntax changes in the devel >> version? (by the way, I'm using 1.9.20). >> >> >> Take care, >> Piero >> >> Doesn't seem to work in 1.0.10 either > >Werner Salut, on my box no pb. Using: ?- gambas-1.0.10 ?(downloaded, (no more) from the gambas-shrine) ?- X Window System Version 6.8.2 Release Date: 9 February 2005 ? X Protocol Version 11, Revision 0, Release 6.8.2 ? Build Operating System: Linux 2.6.8-gentoo-r3 i686 [ELF] ? Current Operating System: Linux gentoo01 2.6.8-gentoo-r3 #1 SMP ? ?Sun Feb 13 21:57:11 CET 2005 i686 - gentoo 1.4 (last Updated 02.07.2005) on Gentoo Base System version 1.4.16 - Qt: 3.3.4 ?- KDE: 3.4.1 ?- gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, ??? pie-8.7.7.1) ?- mysql ?Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i686) ?- psql (PostgreSQL) 8.0.1 ?- SQLite version 2.8.15 ?- GNU Make 3.80 I'v 10 ciao printed to the console Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From werda at ...1000... Sat Sep 10 07:20:29 2005 From: werda at ...1000... (Werner) Date: Sat, 10 Sep 2005 13:20:29 +0800 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <4321fd26.2661.0@...9...> References: <4321fd26.2661.0@...9...> Message-ID: <43226D1D.6000809@...1000...> Charlie Reinl wrote: >>PV wrote: >> >> >> >>>Hi all, >>> >>>I just noticed this doesn't work >>> >>>DIM i as Integer >>> >>>FOR i = 10 TO 1 STEP -1 >>> PRINT "ciao" >>>NEXT >>> >>>The loop is exited immediately, so no "ciao" is printed. >>> >>>Is this a bug or have I missed some syntax changes in the devel >>>version? (by the way, I'm using 1.9.20). >>> >>> >>>Take care, >>>Piero >>> >>>Doesn't seem to work in 1.0.10 either >>> >>> >>Werner >> >> > >Salut, > >on my box no pb. >Using: > - gambas-1.0.10 (downloaded, (no more) from the gambas-shrine) > - X Window System Version 6.8.2 Release Date: 9 February 2005 > X Protocol Version 11, Revision 0, Release 6.8.2 > Build Operating System: Linux 2.6.8-gentoo-r3 i686 [ELF] > Current Operating System: Linux gentoo01 2.6.8-gentoo-r3 #1 SMP > Sun Feb 13 21:57:11 CET 2005 i686 >- gentoo 1.4 (last Updated 02.07.2005) on Gentoo Base System version >1.4.16 >- Qt: 3.3.4 > - KDE: 3.4.1 > - gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, >ssp-3.3.5.20050130-1, >pie-8.7.7.1) > - mysql Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i686) > - psql (PostgreSQL) 8.0.1 > - SQLite version 2.8.15 > - GNU Make 3.80 > >I'v 10 ciao printed to the console > >Amicalment >Charlie > > Interesting, that. I tried again with the for loop as the first statements in a project and then it worked. Werner From werda at ...1000... Sat Sep 10 10:18:49 2005 From: werda at ...1000... (Werner) Date: Sat, 10 Sep 2005 16:18:49 +0800 Subject: [Gambas-user] Bug in ColumnView Select Event? gambas 1.0.10 Message-ID: <432296E9.8000508@...1000...> An HTML attachment was scrubbed... URL: From gambas at ...1... Sat Sep 10 13:00:04 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 10 Sep 2005 13:00:04 +0200 Subject: [Gambas-user] problem with gb.sdl In-Reply-To: <20050904225301.70950.qmail@...1108...> References: <20050904225301.70950.qmail@...1108...> Message-ID: <200509101300.04791.gambas@...1...> On Monday 05 September 2005 00:53, White Fox wrote: > hello dear friend... > > i have some problem with gb.sdl. > when i use sound player standard example of gambas or > try use some another program like that.. > when program rich to " music.load() " i give and > error like this: > > "Module format not recognize" > > i try it in FedoraCore3 and Debian Sarge 3.1 and i use > gambas 1.0.10 and install it from source > thanks for your help. > > (sorry for my poor english) > > What kind of file did you try to play ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 10 13:00:43 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 10 Sep 2005 13:00:43 +0200 Subject: [Gambas-user] newbie trouble In-Reply-To: <200509042120.35357.jfabiani@...1109...> References: <200509042120.35357.jfabiani@...1109...> Message-ID: <200509101300.43706.gambas@...1...> On Monday 05 September 2005 06:20, John Fabiani wrote: > Hi, > SUSE 9.3, gambas 1.9.17 > I downloaded the suse 9.3 stuff but I can't start gambas2. I get the > following error: > > ERROR: #2: Cannot load class 'Project': Version too old. Please recompile. > > Thanks in advance > > John > > Did you try the non-official SuSE packages ? Otherwise, try to compile from sources. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 10 13:05:56 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 10 Sep 2005 13:05:56 +0200 Subject: [Gambas-user] forms with very big controls In-Reply-To: <2835E3FA.6E04175C.001B903D@...87...> References: <2835E3FA.6E04175C.001B903D@...87...> Message-ID: <200509101305.56666.gambas@...1...> On Thursday 08 September 2005 23:17, Wsouzap at ...87... wrote: > Hi! > > I'm using gambas2.0.12 and fine work. But when i install the gambas2.0.19 > or 20 version, my controls in form now very big. > > Looking the old form file and new form file (xxx.form), i see the above > diferences: > > In the old form file .form > Move(64,96,231,436) > > In the new form file .form > MoveScaled(9.1429,13.7143,33,62.2857) > 'Move(64,96,231,436) > > The MoveScaled command is added in context, but my old program in 0.12 he > has crazy. > > Somebody knows as to correct this that is not manually??? > > Souza, Wellington > > MoveScaled() is a Move whose coordinates are multiplied by half the desktop font size. So you have to open your old project with the new IDE with the same desktop font size that you used the last time you saved the old project. Otherwise the size of the controls will change! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 10 13:07:10 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 10 Sep 2005 13:07:10 +0200 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <43226D1D.6000809@...1000...> References: <4321fd26.2661.0@...9...> <43226D1D.6000809@...1000...> Message-ID: <200509101307.10410.gambas@...1...> On Saturday 10 September 2005 07:20, Werner wrote: > Charlie Reinl wrote: > >>PV wrote: > >>>Hi all, > >>> > >>>I just noticed this doesn't work > >>> > >>>DIM i as Integer > >>> > >>>FOR i = 10 TO 1 STEP -1 > >>> PRINT "ciao" > >>>NEXT > >>> > >>>The loop is exited immediately, so no "ciao" is printed. > >>> > >>>Is this a bug or have I missed some syntax changes in the devel > >>>version? (by the way, I'm using 1.9.20). > >>> > >>> > >>>Take care, > >>>Piero > >>> > >>>Doesn't seem to work in 1.0.10 either > >> > >>Werner > > > >Salut, > > > >on my box no pb. > >Using: > > - gambas-1.0.10 (downloaded, (no more) from the gambas-shrine) > > - X Window System Version 6.8.2 Release Date: 9 February 2005 > > X Protocol Version 11, Revision 0, Release 6.8.2 > > Build Operating System: Linux 2.6.8-gentoo-r3 i686 [ELF] > > Current Operating System: Linux gentoo01 2.6.8-gentoo-r3 #1 SMP > > Sun Feb 13 21:57:11 CET 2005 i686 > >- gentoo 1.4 (last Updated 02.07.2005) on Gentoo Base System version > >1.4.16 > >- Qt: 3.3.4 > > - KDE: 3.4.1 > > - gcc (GCC) 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, > >ssp-3.3.5.20050130-1, > >pie-8.7.7.1) > > - mysql Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i686) > > - psql (PostgreSQL) 8.0.1 > > - SQLite version 2.8.15 > > - GNU Make 3.80 > > > >I'v 10 ciao printed to the console > > > >Amicalment > >Charlie > > Interesting, that. I tried again with the for loop as the first > statements in a project and then it worked. > > Werner > Can I have a complete project that has this bug ? -- Benoit Minisini mailto:gambas at ...1... From oreip at ...1... Sat Sep 10 13:22:17 2005 From: oreip at ...1... (PV) Date: Sat, 10 Sep 2005 13:22:17 +0200 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <200509101307.10410.gambas@...1...> References: <4321fd26.2661.0@...9...> <43226D1D.6000809@...1000...> <200509101307.10410.gambas@...1...> Message-ID: <4322C1E9.7000702@...1...> On 10/09/2005 13:07, Benoit Minisini wrote: > > Can I have a complete project that has this bug ? > In my case (version 1.9.20) the problem shows up even in the simplest project, that is a form with a button which has the click event attached PUBLIC SUB Button1_Click() DIM i as Integer FOR i = 10 TO 1 STEP -1 PRINT "ciao" NEXT END SUB and nothing else. The loop is not entered, seems like it's skipped as if the step was positive. Ciao, Piero From lordheavy at ...512... Sat Sep 10 13:32:57 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 10 Sep 2005 13:32:57 +0200 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <4322C1E9.7000702@...1...> References: <4321fd26.2661.0@...9...> <43226D1D.6000809@...1000...> <200509101307.10410.gambas@...1...> <4322C1E9.7000702@...1...> Message-ID: <4322C469.3030108@...512...> PV a ?crit : > On 10/09/2005 13:07, Benoit Minisini wrote: > >> >> Can I have a complete project that has this bug ? >> > > In my case (version 1.9.20) the problem shows up even in the simplest > project, that is a form with a button which has the click event attached > > PUBLIC SUB Button1_Click() > > DIM i as Integer > > FOR i = 10 TO 1 STEP -1 > PRINT "ciao" > NEXT > > END SUB > > and nothing else. > > The loop is not entered, seems like it's skipped as if the step was > positive. > > > Ciao, > Piero > Does the click event is raised ? add a simple PRINT "Button1_Click" before the loop to test, or a "breakpoint". Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From oreip at ...1... Sat Sep 10 13:42:47 2005 From: oreip at ...1... (PV) Date: Sat, 10 Sep 2005 13:42:47 +0200 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <4322C469.3030108@...512...> References: <4321fd26.2661.0@...9...> <43226D1D.6000809@...1000...> <200509101307.10410.gambas@...1...> <4322C1E9.7000702@...1...> <4322C469.3030108@...512...> Message-ID: <4322C6B7.8080001@...1...> On 10/09/2005 13:32, Laurent Carlier wrote: > Does the click event is raised ? add a simple PRINT "Button1_Click" > before the loop to test, or a "breakpoint". I had the same doubt, so I already verified that the event is raised and, if I set a breakpoint on the FOR line, stepping to the next instruction moves the cursor directly after the NEXT line. Regards, Piero From lordheavy at ...512... Sat Sep 10 13:55:02 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 10 Sep 2005 13:55:02 +0200 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <4322C6B7.8080001@...1...> References: <4321fd26.2661.0@...9...> <43226D1D.6000809@...1000...> <200509101307.10410.gambas@...1...> <4322C1E9.7000702@...1...> <4322C469.3030108@...512...> <4322C6B7.8080001@...1...> Message-ID: <4322C996.7080705@...512...> try the following project regards, -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: test-0.0.1.tar.gz Type: application/x-gzip Size: 626 bytes Desc: not available URL: From oreip at ...1... Sat Sep 10 14:04:19 2005 From: oreip at ...1... (PV) Date: Sat, 10 Sep 2005 14:04:19 +0200 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <4322C996.7080705@...512...> References: <4321fd26.2661.0@...9...> <43226D1D.6000809@...1000...> <200509101307.10410.gambas@...1...> <4322C1E9.7000702@...1...> <4322C469.3030108@...512...> <4322C6B7.8080001@...1...> <4322C996.7080705@...512...> Message-ID: <4322CBC3.1040206@...1...> On 10/09/2005 13:55, Laurent Carlier wrote: > try the following project > > regards, > Yes, it works when i is declared as integer or as short but not if it is declared as byte. Regards, Piero From white_fox_ir at ...43... Sun Sep 11 00:22:34 2005 From: white_fox_ir at ...43... (White Fox) Date: Sat, 10 Sep 2005 15:22:34 -0700 (PDT) Subject: [Gambas-user] problem with gb.sdl In-Reply-To: <200509101300.04791.gambas@...1...> Message-ID: <20050910222235.57196.qmail@...1098...> --- Benoit Minisini wrote: > On Monday 05 September 2005 00:53, White Fox wrote: > > hello dear friend... > > > > i have some problem with gb.sdl. > > when i use sound player standard example of gambas > or > > try use some another program like that.. > > when program rich to " music.load() " i give and > > error like this: > > > > "Module format not recognize" > > > > i try it in FedoraCore3 and Debian Sarge 3.1 and i > use > > gambas 1.0.10 and install it from source > > thanks for your help. > > > > (sorry for my poor english) > > > > > > What kind of file did you try to play ? > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software > Conference & EXPO > September 19-22, 2005 * San Francisco, CA * > Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects > & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Mp3.....even when i trye any another type of file i give a same error message. i don't know why ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ From frjarcock at ...1120... Sun Sep 11 15:02:03 2005 From: frjarcock at ...1120... (Father Jarvis) Date: Sun, 11 Sep 2005 14:02:03 +0100 Subject: [Gambas-user] Base64 encoder routine needed for Yahoo smtp AUTH LOGIN Message-ID: <43242ACB.3030608@...1120...> Hi, I'm trying to write an email client. Yahoo SMTP servers need base64 encrypted username and password for logins. I have it working, by using an online base64 encoder and entering my encrypted username and password into the program, but I'd like to have some way for my program to encode these for the user. I'm not advanced enough yet to do this, can anyone help with a little sub that'll do it? Thanks pezz ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From Karl.Reinl at ...9... Mon Sep 12 00:12:14 2005 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Mon, 12 Sep 2005 00:12:14 +0200 Subject: [Gambas-user] A Question, no two Questions Message-ID: <200509120012.14436.Karl.Reinl@...9...> Salut, I need to know in a commen Function, what is the type of the control, I work with (see GetControlTyp ) . I need to know, if it is a TextBox , a ComboBox or what ever. My way will work till the day, where Benoit changes the Error.Text. I have the same pb. to get the Forms name ( see GetFormName) Any better solutions ? Amicalment Charlie '----------------------------------------------------------------------------------- PUBLIC FUNCTION GetControlTyp(c AS Control) AS String DIM sRet AS String DIM CC AS Component CC = c CATCH sRet = Upper(Error.Text) sRet = Mid(sRet ,Instr(sRet,"GOT")) sRet = Trim(Replace(sRet, "GOT","")) sRet = Trim(Replace(sRet, "INSTEAD","")) RETURN sRet END '----------------------------------------------------------------------------------- PUBLIC FUNCTION GetFormName(f AS Object) AS String DIM sRet AS String sRet = f.Hurga CATCH sRet = Upper(Error.Text) sRet = Mid(sRet ,Instr(sRet,"CLASS") + 5 ) sRet = Trim(Replace(sRet, "'","")) RETURN sRet END '----------------------------------------------------------------------------------- From isy21 at ...1082... Mon Sep 12 06:52:04 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Mon, 12 Sep 2005 11:52:04 +0700 Subject: [Gambas-user] Still need help report Message-ID: <200509121152.05299.isy21@...1082...> HI, all Until now , i still not get report designer for gambas. The report designer i need, like crystal report in win or report manager. I was a VB and Crystal report programmer, thats why i need tools like that. I try Kugar, but i not get a sanple code, how to use it. DBreportDesigner, i try also, but i can run, i cause error in directory ??? Please, i really need help in report designer for my project A simple code, just fine. (i preffer english langguage) Pleaaaasssseeee.... thanks before Ignatius From Wsouzap at ...87... Mon Sep 12 13:15:59 2005 From: Wsouzap at ...87... (Wsouzap at ...87...) Date: Mon, 12 Sep 2005 07:15:59 -0400 Subject: [Gambas-user] forms with very big controls???? Message-ID: <2328398F.0AE8D904.001B903D@...87...> I not modify nothing, once update my gambas .12 to .20. Reguards, On Thursday 08 September 2005 23:17, Wsouzap at ...87... wrote: > Hi! > > I'm using gambas2.0.12 and fine work. But when i install the gambas2.0.19 > or 20 version, my controls in form now very big. > > Looking the old form file and new form file (xxx.form), i see the above > diferences: > > In the old form file .form > Move(64,96,231,436) > > In the new form file .form > MoveScaled(9.1429,13.7143,33,62.2857) > 'Move(64,96,231,436) > > The MoveScaled command is added in context, but my old program in 0.12 he > has crazy. > > Somebody knows as to correct this that is not manually??? > > Souza, Wellington > > MoveScaled() is a Move whose coordinates are multiplied by half the desktop font size. So you have to open your old project with the new IDE with the same desktop font size that you used the last time you saved the old project. Otherwise the size of the controls will change! Regards, From oreip at ...1... Mon Sep 12 13:44:49 2005 From: oreip at ...1... (PV) Date: Mon, 12 Sep 2005 13:44:49 +0200 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <4322C996.7080705@...512...> References: <4321fd26.2661.0@...9...> <43226D1D.6000809@...1000...> <200509101307.10410.gambas@...1...> <4322C1E9.7000702@...1...> <4322C469.3030108@...512...> <4322C6B7.8080001@...1...> <4322C996.7080705@...512...> Message-ID: <43256A31.8030104@...1...> On 10/09/2005 13:55, Laurent Carlier wrote: > try the following project > > regards, > To further clarify the problem I found with the negative step in a for..next loop, I have to say that I made a little confusion. In fact, the problem showed up in my code when I used something like this DIM i as Byte FOR i = 10 TO 1 STEP -1 [do something] NEXT However, I posted a message to the ML stating incorrectly that the variable 'i' was declared as Integer, but instead with an Integer variable everything seems to work just fine. So the bottom line is that with a Byte variable in a for..next loop with a negative step, my code still doesn't work properly. Sorry for the (possible) confusion :) Piero From solex1 at ...1121... Mon Sep 12 22:24:55 2005 From: solex1 at ...1121... (Yankee) Date: Mon, 12 Sep 2005 14:24:55 -0600 Subject: [Gambas-user] Bug in string handling Message-ID: <4325E417.3070707@...1121...> Hi, I think it's a bug: Len("?????") returns 10. It should be 5. The same problem occurs using Mid on UTF-8 strings; positioning fails if the string contains "extra" UTF-8 characters like characters can be found in latin2 charset. I'm using 1.9.20. Cheers From pvera at ...729... Mon Sep 12 14:54:12 2005 From: pvera at ...729... (Pablo Vera) Date: Mon, 12 Sep 2005 07:54:12 -0500 Subject: [Gambas-user] Base64 encoder routine needed for Yahoo smtp AUTH LOGIN In-Reply-To: <43242ACB.3030608@...1120...> References: <43242ACB.3030608@...1120...> Message-ID: <43257A74.9020501@...729...> This is what I use... --code------------------------------------------------------------------------------------ PUBLIC FUNCTION ToBase64(S AS String) AS String DIM L AS Integer DIM I AS Integer DIM P AS Integer DIM B AS Integer DIM SS AS String DIM SSS AS String DIM TB64 AS String DIM Table AS String DIM Buf AS Byte DIM Lim AS Integer TB64 = "" Table = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" P = 1 DO SS = Mid$(S, P, 3) L = Len(SS) SELECT CASE L CASE 0 SSS = "" Lim = 0 B = 0 CASE 1 SSS = "==" Lim = 2 B = Shl(Asc(Mid$(SS, 1, 1)), 4) CASE 2 SSS = "=" Lim = 3 B = Shl(Asc(Mid$(SS, 1, 1)), 12) + Shl(Asc(Mid$(SS, 2, 1)), 2) CASE 3 SSS = "" Lim = 4 B = Shl(Asc(Mid$(SS, 1, 1)), 16) + Shl(Asc(Mid$(SS, 2, 1)), 8) + Asc(Mid$(SS, 3, 1)) END SELECT FOR I = 1 TO Lim Buf = B AND 63 ' 111111 SSS = Mid$(Table, Buf + 1, 1) & SSS B = B \ 64 NEXT TB64 = TB64 & SSS P = P + 3 LOOP UNTIL L < 3 RETURN TB64 END ------------------------------------------------------------------------------------------ Saludos, Pablo Vera Father Jarvis wrote: > Hi, I'm trying to write an email client. Yahoo SMTP servers need base64 > encrypted > username and password for logins. I have it working, by using an online > base64 encoder > and entering my encrypted username and password into the program, but > I'd like to have some way for my program to encode these for the user. > > I'm not advanced enough yet to do this, can anyone help with a little > sub that'll do it? > > Thanks > > pezz From pvera at ...729... Mon Sep 12 15:04:57 2005 From: pvera at ...729... (Pablo Vera) Date: Mon, 12 Sep 2005 08:04:57 -0500 Subject: [Gambas-user] A Question, no two Questions In-Reply-To: <200509120012.14436.Karl.Reinl@...9...> References: <200509120012.14436.Karl.Reinl@...9...> Message-ID: <43257CF9.5030203@...729...> Use the Object.Class function, like this: '----------------------------------------------------------------------------------- PUBLIC FUNCTION GetControlTyp(c AS Control) AS String DIM sRet AS String sRet = Object.Class(c) RETURN sRet END '----------------------------------------------------------------------------------- PUBLIC FUNCTION GetFormName(f AS Object) AS String DIM sRet AS String sRet = Object.Class(f) RETURN sRet END '----------------------------------------------------------------------------------- Saludos, Pablo Vera Charlie Reinl wrote: > Salut, > > I need to know in a commen Function, what is the type of the control, I work > with (see GetControlTyp ) . > I need to know, if it is a TextBox , a ComboBox or what ever. > > My way will work till the day, where Benoit changes the Error.Text. > > I have the same pb. to get the Forms name ( see GetFormName) > > Any better solutions ? > > Amicalment > Charlie > > '----------------------------------------------------------------------------------- > PUBLIC FUNCTION GetControlTyp(c AS Control) AS String > DIM sRet AS String > DIM CC AS Component > CC = c > CATCH > sRet = Upper(Error.Text) > sRet = Mid(sRet ,Instr(sRet,"GOT")) > sRet = Trim(Replace(sRet, "GOT","")) > sRet = Trim(Replace(sRet, "INSTEAD","")) > RETURN sRet > END > '----------------------------------------------------------------------------------- > PUBLIC FUNCTION GetFormName(f AS Object) AS String > DIM sRet AS String > sRet = f.Hurga > CATCH > sRet = Upper(Error.Text) > sRet = Mid(sRet ,Instr(sRet,"CLASS") + 5 ) > sRet = Trim(Replace(sRet, "'","")) > RETURN sRet > END > '----------------------------------------------------------------------------------- > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From solex1 at ...1121... Mon Sep 12 23:40:41 2005 From: solex1 at ...1121... (Yankee) Date: Mon, 12 Sep 2005 15:40:41 -0600 Subject: [Gambas-user] Bug in string handling In-Reply-To: <4325E417.3070707@...1121...> References: <4325E417.3070707@...1121...> Message-ID: <4325F5D9.8040608@...1121...> Hi, If I use String.Mid, String.Len etc. instead of Mid, Len then string handling is correct: String.Len("?????") returns 5. It seems to be a bug, anyway. Cheers Yankee wrote: > Hi, > > I think it's a bug: > Len("?????") returns 10. It should be 5. > The same problem occurs using Mid on UTF-8 strings; positioning fails > if the string contains "extra" UTF-8 characters like characters can be > found in latin2 charset. > I'm using 1.9.20. > > Cheers > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From na2492 at ...9... Mon Sep 12 19:05:13 2005 From: na2492 at ...9... (Charlie Reinl) Date: Mon, 12 Sep 2005 19:05:13 00200 Subject: [Gambas-user] Still need help report Message-ID: <4325b549.3ba0.0@...9...> >HI, all > >Until now , i still not get report designer for gambas. >The report designer i need, like crystal report in win or report manager. >I was a VB and Crystal report programmer, thats why i need tools like that. >I try Kugar, but i not get a sanple code, how to use it. >DBreportDesigner, i try also, but i can run, i cause error in directory ??? > >Please, i really need help in report designer for my project >A simple code, just fine. (i preffer english langguage) > >Pleaaaasssseeee.... > > > >thanks before > >Ignatius Salut Ignatius, you working with gambas, so take the DBreportDesigner or DBReportViewer and open them in the IDE (not with the devel version, use one of gambas-1.0.x) Then you will find the 'error in directory' or there will be no more Error. Both DBreportDesigner and DBReportViewer are gambas-projects. After that play and find out. You can also load the 'project_x_department.xml' to see how it works. Amicalment Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From jscops at ...11... Mon Sep 12 19:23:13 2005 From: jscops at ...11... (jscops) Date: Mon, 12 Sep 2005 19:23:13 +0200 (CEST) Subject: [Gambas-user] Still need help report Message-ID: <10165614.1126545793496.JavaMail.www@...1123...> > Message du 12/09/05 06:52 > De : "isy21 at ...1082..." > A : gambas-user at lists.sourceforge.net > Copie ? : > Objet : [Gambas-user] Still need help report > > HI, all > > Until now , i still not get report designer for gambas. > The report designer i need, like crystal report in win or report manager. > I was a VB and Crystal report programmer, thats why i need tools like that. > I try Kugar, but i not get a sanple code, how to use it. > DBreportDesigner, i try also, but i can run, i cause error in directory ??? > > Please, i really need help in report designer for my project > A simple code, just fine. (i preffer english langguage) > > Pleaaaasssseeee.... > > > > thanks before > > Ignatius > > I have send, in this mailing list, an example spell Kugareportdesigner, but i have lose this program. Is anybody can send it to Ignatius ? ~? Jscops?~ From oczykota at ...988... Mon Sep 12 20:31:50 2005 From: oczykota at ...988... (Arkadiusz Zychewicz) Date: Mon, 12 Sep 2005 20:31:50 +0200 Subject: [Gambas-user] Minimalizing to tray Message-ID: <4325C996.20700@...988...> I found that in gambas1 is no such thing as minimizing to tray icon. Are you plan in gambas2 minimizing to tray? Arek. From gambasfr at ...11... Mon Sep 12 21:05:03 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 12 Sep 2005 21:05:03 +0200 Subject: [Gambas-user] Still need help report In-Reply-To: <200509121152.05299.isy21@...1082...> References: <200509121152.05299.isy21@...1082...> Message-ID: <200509122105.03924.gambasfr@...11...> Le Lundi 12 Septembre 2005 06:52, isy21 at ...1082... a ?crit?: > HI, all > > Until now , i still not get report designer for gambas. > The report designer i need, like crystal report in win or report manager. > I was a VB and Crystal report programmer, thats why i need tools like that. > I try Kugar, but i not get a sanple code, how to use it. > DBreportDesigner, i try also, but i can run, i cause error in directory ??? > > Please, i really need help in report designer for my project > A simple code, just fine. (i preffer english langguage) > > Pleaaaasssseeee.... > > > > thanks before > > Ignatius > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Mon Sep 12 21:08:15 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 12 Sep 2005 21:08:15 +0200 Subject: [Gambas-user] Still need help report In-Reply-To: <200509121152.05299.isy21@...1082...> References: <200509121152.05299.isy21@...1082...> Message-ID: <200509122108.15126.gambasfr@...11...> Le Lundi 12 Septembre 2005 06:52, isy21 at ...1082... a ?crit?: > HI, all > > Until now , i still not get report designer for gambas. > The report designer i need, like crystal report in win or report manager. > I was a VB and Crystal report programmer, thats why i need tools like that. > I try Kugar, but i not get a sanple code, how to use it. > DBreportDesigner, i try also, but i can run, i cause error in directory ??? > > Please, i really need help in report designer for my project > A simple code, just fine. (i preffer english langguage) > > Pleaaaasssseeee.... Hum ... Wait a little bit i've maby done something good... for devel version... A report engine component. But i need to fixe some things and it's really the base.. so wait... Fabien > > > > thanks before > > Ignatius > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From christian.faurebouvard at ...357... Mon Sep 12 15:04:14 2005 From: christian.faurebouvard at ...357... (Christian Faure) Date: Mon, 12 Sep 2005 15:04:14 +0200 Subject: [Gambas-user] Base64 encoder routine needed for Yahoo smtp AUTH LOGIN In-Reply-To: <43242ACB.3030608@...1120...> References: <43242ACB.3030608@...1120...> Message-ID: <200509121504.14832.christian.faurebouvard@...357...> El Domingo, 11 de Septiembre de 2005 15:02, Father Jarvis escribi?: > Hi, I'm trying to write an email client. Yahoo SMTP servers need base64 > encrypted > username and password for logins. I have it working, by using an online > base64 encoder > and entering my encrypted username and password into the program, but > I'd like to have some way for my program to encode these for the user. > > I'm not advanced enough yet to do this, can anyone help with a little > sub that'll do it? > > Thanks > > pezz Hi, xml component also provide base64 encoder/decoder. Regards. Christian From nando_f at ...951... Mon Sep 12 21:18:33 2005 From: nando_f at ...951... (nando) Date: Mon, 12 Sep 2005 15:18:33 -0400 Subject: [Gambas-user] HUP, KILL and other signals Message-ID: <20050912191521.M53865@...951...> Benoit, In respect to KILL, HUP, and other signals that can stop processes, do signals make events happen in GAMBAS like 'form_close' for a graceful close? Are there other events that could happen? -Fernando From gambasfr at ...11... Mon Sep 12 21:31:03 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 12 Sep 2005 21:31:03 +0200 Subject: [Gambas-user] Minimalizing to tray In-Reply-To: <4325C996.20700@...988...> References: <4325C996.20700@...988...> Message-ID: <200509122131.03281.gambasfr@...11...> Le Lundi 12 Septembre 2005 20:31, Arkadiusz Zychewicz a ?crit?: > I found that in gambas1 is no such thing as minimizing to tray icon. > Are you plan in gambas2 minimizing to tray? It exist on gambas 2, yes :) Fabien From sourceforge-raindog2 at ...94... Mon Sep 12 21:28:28 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 12 Sep 2005 15:28:28 -0400 Subject: [Gambas-user] Minimalizing to tray In-Reply-To: <4325C996.20700@...988...> References: <4325C996.20700@...988...> Message-ID: <200509121528.30522.sourceforge-raindog2@...94...> On Mon September 12 2005 14:31, Arkadiusz Zychewicz wrote: > I found that in gambas1 is no such thing as minimizing to tray > icon. Are you plan in gambas2 minimizing to tray? Yeah, that's already in there courtesy of Daniel, I think. Rob From gambasfr at ...11... Mon Sep 12 21:34:22 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 12 Sep 2005 21:34:22 +0200 Subject: [Gambas-user] Bug in string handling In-Reply-To: <4325F5D9.8040608@...1121...> References: <4325E417.3070707@...1121...> <4325F5D9.8040608@...1121...> Message-ID: <200509122134.22699.gambasfr@...11...> Le Lundi 12 Septembre 2005 23:40, Yankee a ?crit?: > Hi, > > If I use String.Mid, String.Len etc. instead of Mid, Len then string > handling is correct: String.Len("?????") returns 5. > It seems to be a bug, anyway. http://www.binara.com/gambas-wiki/bin/view/Gambas10/GbStringMLen You know there is a doc i too part : on internet, on the gambaside... See in your doc first :) Regards, Fabien > Cheers > > Yankee wrote: > > Hi, > > > > I think it's a bug: > > Len("?????") returns 10. It should be 5. > > The same problem occurs using Mid on UTF-8 strings; positioning fails > > if the string contains "extra" UTF-8 characters like characters can be > > found in latin2 charset. > > I'm using 1.9.20. > > > > Cheers > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > > & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From garretthylltun at ...626... Mon Sep 12 23:03:19 2005 From: garretthylltun at ...626... (Garrett R. Hylltun) Date: Mon, 12 Sep 2005 14:03:19 -0700 Subject: [Gambas-user] DrawingArea Question In-Reply-To: <200509122134.22699.gambasfr@...11...> References: <4325E417.3070707@...1121...> <4325F5D9.8040608@...1121...> <200509122134.22699.gambasfr@...11...> Message-ID: <1126558999.10125.3.camel@...37...> Greetings to all, I have a drawing area and I want to put an image as a background to it and then use another image as a sprite moving over the first image. As it is now, when I clear the drawing area to remove the ghost images left over by the sprite, the background image is also cleared. How can I keep the background image glued to the drawing area without having to redraw it after every clear? Any help is appreciated. Thanks in advance, -Garrett From garretthylltun at ...626... Mon Sep 12 23:04:59 2005 From: garretthylltun at ...626... (Garrett R. Hylltun) Date: Mon, 12 Sep 2005 14:04:59 -0700 Subject: [Gambas-user] DrawingArea Question In-Reply-To: <200509122134.22699.gambasfr@...11...> References: <4325E417.3070707@...1121...> <4325F5D9.8040608@...1121...> <200509122134.22699.gambasfr@...11...> Message-ID: <1126559099.10125.5.camel@...37...> Forgot to mention that I'm using Gambas 1.0.11 Thanks, -Garrett From sourceforge-raindog2 at ...94... Mon Sep 12 23:42:14 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 12 Sep 2005 17:42:14 -0400 Subject: [Gambas-user] DrawingArea Question In-Reply-To: <1126558999.10125.3.camel@...37...> References: <4325E417.3070707@...1121...> <200509122134.22699.gambasfr@...11...> <1126558999.10125.3.camel@...37...> Message-ID: <200509121742.15419.sourceforge-raindog2@...94...> On Mon September 12 2005 17:03, Garrett R. Hylltun wrote: > How can I keep the background image glued to the drawing area > without having to redraw it after every clear? You can't. Either everything you draw is cached, or none of it is and you have to redraw it all every time. And with Qt, that's slow enough that you can forget about any kind of game or animation that needs a predictable frame rate. The SDL component in the development version is a better choice, but meanwhile, you might experiment with making sprites out of forms and messing with the Window.Mask property, which would allow you to have your background be static and have non-rectangular shapes move across it with no redrawing. Of course, that is a hideous kludge. Rob From garretthylltun at ...626... Tue Sep 13 00:41:55 2005 From: garretthylltun at ...626... (Garrett R. Hylltun) Date: Mon, 12 Sep 2005 15:41:55 -0700 Subject: [Gambas-user] DrawingArea Question In-Reply-To: <200509121742.15419.sourceforge-raindog2@...94...> References: <4325E417.3070707@...1121...> <200509122134.22699.gambasfr@...11...> <1126558999.10125.3.camel@...37...> <200509121742.15419.sourceforge-raindog2@...94...> Message-ID: <1126564915.12683.1.camel@...37...> On Mon, 2005-09-12 at 17:42 -0400, Rob Kudla wrote: > You can't. Either everything you draw is cached, or none of it is and > you have to redraw it all every time. And with Qt, that's slow [snip] > it with no redrawing. Of course, that is a hideous kludge. > > Rob Thanks Rob. -Garrett From comtux at ...626... Tue Sep 13 00:55:49 2005 From: comtux at ...626... (Steve Starr) Date: Mon, 12 Sep 2005 22:55:49 +0000 Subject: [Gambas-user] Cd to Directory Message-ID: <78f4b76705091215556d8529e3@...627...> I am useing Gambas 1.0.11 and i am trying to: SHELL "cd /root/Projects/PkgManager/build/" FOR READ SHELL "./wolfpkg" Or SHELL "cd build" FOR READ SHELL "./wolfpkg" But neather of these code snipets work i am not able to cd to another dir as root or any ohter user? Thanks :) From pvera at ...729... Tue Sep 13 01:14:24 2005 From: pvera at ...729... (Pablo Vera) Date: Mon, 12 Sep 2005 18:14:24 -0500 Subject: [Gambas-user] Cd to Directory In-Reply-To: <78f4b76705091215556d8529e3@...627...> References: <78f4b76705091215556d8529e3@...627...> Message-ID: <43260BD0.3030807@...729...> You don't need to "cd", you simply run it like this: SHELL "/root/Projects/PkgManager/build/wolfpkg" or SHELL "/root/Projects/PkgManager/build/wolfpkg" FOR READ depending on what the "wolfpkg" executable does. Saludos, Pablo Vera Steve Starr wrote: > I am useing Gambas 1.0.11 and i am trying to: > > SHELL "cd /root/Projects/PkgManager/build/" FOR READ > SHELL "./wolfpkg" > > Or > > SHELL "cd build" FOR READ > SHELL "./wolfpkg" > > But neather of these code snipets work i am not able to cd to another > dir as root or any ohter user? > > Thanks :) > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From abu.syafa at ...626... Tue Sep 13 01:54:03 2005 From: abu.syafa at ...626... (abu syafa) Date: Tue, 13 Sep 2005 06:54:03 +0700 Subject: [Gambas-user] join gambas Message-ID: <46f0b9ad05091216541f47c58f@...627...> hallo... i'm new comer on gambas. first i'd like to tell you that i'v experiences in visual basic. what could i do to join with gambas ? i also familiar with other windows based programs like foxpro and delphi. could i join with you ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Tue Sep 13 02:01:32 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 12 Sep 2005 20:01:32 -0400 Subject: [Gambas-user] Cd to Directory In-Reply-To: <78f4b76705091215556d8529e3@...627...> References: <78f4b76705091215556d8529e3@...627...> Message-ID: <200509122001.33017.sourceforge-raindog2@...94...> On Mon September 12 2005 18:55, Steve Starr wrote: > SHELL "cd build" FOR READ > SHELL "./wolfpkg" > But neather of these code snipets work i am not able to cd to > another dir as root or any ohter user? The SHELL command does just what it says.... starts a shell and executes your command in it. So you're not changing the directory for your program, you're changing it for the shell.... when then immediately exits. Maybe try this? SHELL "cd build && ./wolfpkg" FOR READ Rob From sourceforge-raindog2 at ...94... Tue Sep 13 02:03:54 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 12 Sep 2005 20:03:54 -0400 Subject: [Gambas-user] Cd to Directory In-Reply-To: <43260BD0.3030807@...729...> References: <78f4b76705091215556d8529e3@...627...> <43260BD0.3030807@...729...> Message-ID: <200509122003.55707.sourceforge-raindog2@...94...> On Mon September 12 2005 19:14, Pablo Vera wrote: > You don't need to "cd", you simply run it like this: > SHELL "/root/Projects/PkgManager/build/wolfpkg" > or > SHELL "/root/Projects/PkgManager/build/wolfpkg" FOR READ > depending on what the "wolfpkg" executable does. Well, if the "wolfpkg" executable reads files from relative pathnames, it might very well be need to run from that directory. To this day I can't figure out how to run Azureus without CD'ing to its directory, for example. Rob From sclewin at ...1126... Mon Sep 12 23:46:42 2005 From: sclewin at ...1126... (Scott) Date: Mon, 12 Sep 2005 21:46:42 +0000 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509122003.55707.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <43260BD0.3030807@...729...> <200509122003.55707.sourceforge-raindog2@...94...> Message-ID: <4325F742.4070101@...1126...> Hi, I'm new to Gambas, I use to program simple programs in QBasic before. I read through a few tutorials and I am very pleased with Gambas so far, except for one thing. Is version 2 able to create executables yet or am I doing something horribly wrong? I have tried several times using very simply programs. With the Project/Make executable it looks like it saves a executable file, but one is never saved. I have done a complete search of my file system using find and can't find any files it creates. With the Project/Make Installation Package I go through the simple wizard that ask you to put the description and select the categories and the distribution. I have tried all four on there and come up with the same error "The package build has failed" If anybody can help me, I would greatly appreciate it. This is the only thing stopping me from trying to design some decent programs. -- Your friend, Scott http://www.bmts.com From sourceforge-raindog2 at ...94... Tue Sep 13 04:03:21 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 12 Sep 2005 22:03:21 -0400 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <4325F742.4070101@...1126...> References: <78f4b76705091215556d8529e3@...627...> <200509122003.55707.sourceforge-raindog2@...94...> <4325F742.4070101@...1126...> Message-ID: <200509122203.23604.sourceforge-raindog2@...94...> On Mon September 12 2005 17:46, Scott wrote: > Is version 2 able to create executables yet or am I doing > something horribly wrong? I have tried several times using very > simply programs. With the Project/Make executable it looks like it > saves a executable file, but one is never saved. I have done a The Gambas IDE itself is a Gambas executable, in versions 1 and 2. If Project/Make Executable isn't making an executable, there must be a problem with the Gambas archiver (/usr/bin/gba) or maybe you somehow don't have write permission to the project directory, which wouldn't make a lot of sense. What distribution are you using? Did you get Gambas through official packages, unofficial packages, or by building from source? Rob From comtux at ...626... Tue Sep 13 04:58:32 2005 From: comtux at ...626... (Steve Starr) Date: Tue, 13 Sep 2005 02:58:32 +0000 Subject: [Gambas-user] Re: Cd to Directory In-Reply-To: <200509122003.55707.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <43260BD0.3030807@...729...> <200509122003.55707.sourceforge-raindog2@...94...> Message-ID: <78f4b767050912195850112a21@...627...> This worked. SHELL "cd build && ./wolfpkg" FOR READ What i was trying to do was use the IF Dialog.OpenFile() THEN RETURN TextBox1.Text = Dialog.Path to load a compressed file then load wolfpkg in to textarea ####this is the wolfpkg script #!/bin/bash # Maintainer: Steve Starr name=sqlite version=3.2.5 release=1 pkg=/opt/build rm -r $pkg mkdir $pkg wget $source tar -xvzf $name-$version.tar.gz cd $name-$version ./configure --prefix=/usr make make prefix=$pkg/usr install the compressed package and wolfpkg script are then copyed to the build dir and the wolfpkg script was ran but when i was adding a source=(http://www.comtuxaps.com/packages/source/$name/$name-$version.tar.gz) into the wolfpkg script the compressed file was being downloaded to my project dir instead of the build dir were i excuted the wolfpkg script and i would end up building the package in the project dir instead of the build dir. I am working on a package builder for my personal linux distro. Thanks rob for the solution :) On 9/13/05, Rob Kudla wrote: > On Mon September 12 2005 19:14, Pablo Vera wrote: > > You don't need to "cd", you simply run it like this: > > SHELL "/root/Projects/PkgManager/build/wolfpkg" > > or > > SHELL "/root/Projects/PkgManager/build/wolfpkg" FOR READ > > depending on what the "wolfpkg" executable does. > > Well, if the "wolfpkg" executable reads files from relative pathnames, > it might very well be need to run from that directory. To this day I > can't figure out how to run Azureus without CD'ing to its directory, > for example. > > Rob > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sclewin at ...1126... Tue Sep 13 01:56:46 2005 From: sclewin at ...1126... (Scott) Date: Mon, 12 Sep 2005 23:56:46 +0000 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509122203.23604.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509122003.55707.sourceforge-raindog2@...94...> <4325F742.4070101@...1126...> <200509122203.23604.sourceforge-raindog2@...94...> Message-ID: <432615BE.5030702@...1126...> Rob Kudla wrote: > On Mon September 12 2005 17:46, Scott wrote: > >> Is version 2 able to create executables yet or am I doing >> something horribly wrong? I have tried several times using very >> simply programs. With the Project/Make executable it looks like it >> saves a executable file, but one is never saved. I have done a >> > > If Project/Make Executable isn't making an executable, there must be a > problem with the Gambas archiver (/usr/bin/gba) I can't seem to find the gba, that could be the problem. How do I get it? It does not seem to be part of a package. > What distribution are you using? Kubuntu v5.04, actually I originally installed Ubuntu v5.04 from disk then added Kubuntu. > Did you get Gambas through official > packages I got it from a repository through synaptic. It is version 1.9.20 from linex.org. I was thinking about getting the version one that comes in the standard repository if version two does not work, but I was hoping to learn and get use to version two instead of learning version one then re-learning version 2. > Rob > Thank you for the help. -- Your friend, Scott http://www.bmts.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Tue Sep 13 06:37:15 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 13 Sep 2005 00:37:15 -0400 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <432615BE.5030702@...1126...> References: <78f4b76705091215556d8529e3@...627...> <200509122203.23604.sourceforge-raindog2@...94...> <432615BE.5030702@...1126...> Message-ID: <200509130037.17326.sourceforge-raindog2@...94...> On Mon September 12 2005 19:56, Scott wrote: > I can't seem to find the gba, that could be the problem. How do I > get it? It does not seem to be part of a package. > I got it from a repository through synaptic. It is version 1.9.20 Oh, OK. It would be called /usr/bin/gba2 under 1.9.x. Check that? Rob From rolf.frogs at ...221... Tue Sep 13 10:28:32 2005 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Tue, 13 Sep 2005 10:28:32 +0200 Subject: [Gambas-user] Re: Cd to Directory In-Reply-To: <78f4b767050912195850112a21@...627...> References: <78f4b76705091215556d8529e3@...627...> <200509122003.55707.sourceforge-raindog2@...94...> <78f4b767050912195850112a21@...627...> Message-ID: <200509131028.35345.rolf.frogs@...221...> Hi Steve [ ] > ####this is the wolfpkg script > #!/bin/bash > # Maintainer: Steve Starr > > name=sqlite > version=3.2.5 > release=1 > > pkg=/opt/build > > rm -r $pkg > mkdir $pkg Shouldn't you change into your $pkg directory befor you download and unpack? > wget $source > > tar -xvzf $name-$version.tar.gz > > cd $name-$version > ./configure --prefix=/usr > make > make prefix=$pkg/usr install [ ] Greetings Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From isy21 at ...1082... Tue Sep 13 11:11:27 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Tue, 13 Sep 2005 16:11:27 +0700 Subject: [Gambas-user] ireport Message-ID: <200509131611.28198.isy21@...1082...> Hi, all thanks for all suggest you give. this morning i found ireport from ireport.sourceforge.com -> report designer, i try design one report, and i like it, after compile i get java file --> my source invoice.jrxml --> after compile get invoice.java The question is can i attach to my gambas project? Sample in gambas, written in html file. and i already try dbreportdesigner, nice but if i give more kompleks database in mysql, it return error... like too may string....? But i still try it, to find out how it can be works for me. Anyway, where i can get sample of kugar in gambas (i prefer in english) Thanks a lot Ignatius From gambas at ...1... Tue Sep 13 11:56:13 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 13 Sep 2005 11:56:13 +0200 Subject: [Gambas-user] problem with gb.sdl In-Reply-To: <20050910222235.57196.qmail@...1098...> References: <20050910222235.57196.qmail@...1098...> Message-ID: <200509131156.13689.gambas@...1...> On Sunday 11 September 2005 00:22, White Fox wrote: > --- Benoit Minisini > > wrote: > > On Monday 05 September 2005 00:53, White Fox wrote: > > > hello dear friend... > > > > > > i have some problem with gb.sdl. > > > when i use sound player standard example of gambas > > > > or > > > > > try use some another program like that.. > > > when program rich to " music.load() " i give and > > > error like this: > > > > > > "Module format not recognize" > > > > > > i try it in FedoraCore3 and Debian Sarge 3.1 and i > > > > use > > > > > gambas 1.0.10 and install it from source > > > thanks for your help. > > > > > > (sorry for my poor english) > > > > What kind of file did you try to play ? > > > > -- > > Benoit Minisini > > mailto:gambas at ...1... > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software > > Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * > > Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects > > & Teams * Testing & QA > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > Mp3.....even when i trye any another type of file i > give a same error message. > i don't know why > I don't know. I think the SDL library relies on some libraries to read a sound file, and maybe these needed libraries are not present on your system. Or maybe you did'nt install all needed SDL stuff... Maybe a Fedora user could help you... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Sep 13 11:59:21 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 13 Sep 2005 11:59:21 +0200 Subject: [Gambas-user] Bug in for..next cycle with negative step? In-Reply-To: <43256A31.8030104@...1...> References: <4321fd26.2661.0@...9...> <4322C996.7080705@...512...> <43256A31.8030104@...1...> Message-ID: <200509131159.21116.gambas@...1...> On Monday 12 September 2005 13:44, PV wrote: > On 10/09/2005 13:55, Laurent Carlier wrote: > > try the following project > > > > regards, > > To further clarify the problem I found with the negative step in a > for..next loop, I have to say that I made a little confusion. > > In fact, the problem showed up in my code when I used something like this > > DIM i as Byte > > FOR i = 10 TO 1 STEP -1 > [do something] > NEXT > > However, I posted a message to the ML stating incorrectly that the variable > 'i' was declared as Integer, but instead with an Integer variable > everything seems to work just fine. > > So the bottom line is that with a Byte variable in a for..next loop with a > negative step, my code still doesn't work properly. > > Sorry for the (possible) confusion :) > Piero > *Now* I understand :-) This is a bug... Or a feature, depends what your point of view is :-) Byte is unsigned, so I think the interpreter casts the (-1) step to the datatype of the loop variable, so it becomes 255! I will try to fix that... Don't use Byte loop variable in the meantime :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Sep 13 12:02:49 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 13 Sep 2005 12:02:49 +0200 Subject: [Gambas-user] HUP, KILL and other signals In-Reply-To: <20050912191521.M53865@...951...> References: <20050912191521.M53865@...951...> Message-ID: <200509131202.49810.gambas@...1...> On Monday 12 September 2005 21:18, nando wrote: > Benoit, > > In respect to KILL, HUP, and other signals that can stop processes, > do signals make events happen in GAMBAS like 'form_close' for a graceful > close? > > Are there other events that could happen? > > -Fernando > No. Signals, except for a few ones (SIGCHILD, SIGFPE...) are not handled by the interpreter, nor by the GUI components. Like most of GUI programs I think... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Sep 13 12:05:08 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 13 Sep 2005 12:05:08 +0200 Subject: [Gambas-user] Cd to Directory In-Reply-To: <43260BD0.3030807@...729...> References: <78f4b76705091215556d8529e3@...627...> <43260BD0.3030807@...729...> Message-ID: <200509131205.08955.gambas@...1...> On Tuesday 13 September 2005 01:14, Pablo Vera wrote: > You don't need to "cd", you simply run it like this: > > SHELL "/root/Projects/PkgManager/build/wolfpkg" > > or > > SHELL "/root/Projects/PkgManager/build/wolfpkg" FOR READ > > depending on what the "wolfpkg" executable does. > > Saludos, > Pablo Vera > > Steve Starr wrote: > > I am useing Gambas 1.0.11 and i am trying to: > > > > SHELL "cd /root/Projects/PkgManager/build/" FOR READ > > SHELL "./wolfpkg" > > > > Or > > > > SHELL "cd build" FOR READ > > SHELL "./wolfpkg" > > > > But neather of these code snipets work i am not able to cd to another > > dir as root or any ohter user? > > > > Thanks :) > > If you really needs to 'cd', you can use: SHELL "(cd cd /root/Projects/PkgManager/build/; ./wolfpkg)" FOR READ Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Sep 13 12:07:37 2005 From: gambas at ...1... (Benoit Minisini) Date: Tue, 13 Sep 2005 12:07:37 +0200 Subject: [Gambas-user] join gambas In-Reply-To: <46f0b9ad05091216541f47c58f@...627...> References: <46f0b9ad05091216541f47c58f@...627...> Message-ID: <200509131207.37346.gambas@...1...> On Tuesday 13 September 2005 01:54, abu syafa wrote: > hallo... > i'm new comer on gambas. first i'd like to tell you that i'v experiences in > visual basic. > what could i do to join with gambas ? > i also familiar with other windows based programs like foxpro and delphi. > could i join with you ? What do you mean exactly by 'join with us' ? By using the mailing-list, you have joined with us... Or you mean physically ? :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From christian.faurebouvard at ...357... Tue Sep 13 08:44:02 2005 From: christian.faurebouvard at ...357... (Christian Faure) Date: Tue, 13 Sep 2005 08:44:02 +0200 Subject: [Gambas-user] ireport In-Reply-To: <200509131611.28198.isy21@...1082...> References: <200509131611.28198.isy21@...1082...> Message-ID: <200509130844.02874.christian.faurebouvard@...357...> El Martes, 13 de Septiembre de 2005 11:11, isy21 at ...1082... escribi?: > Hi, all > > thanks for all suggest you give. this morning i found ireport from > ireport.sourceforge.com -> report designer, i try design one report, and i > like it, after compile i get java file --> my source invoice.jrxml --> > after compile get invoice.java > > The question is can i attach to my gambas project? > > Sample in gambas, written in html file. > and i already try dbreportdesigner, nice but if i give more kompleks > database in mysql, it return error... like too may string....? > But i still try it, to find out how it can be works for me. Hi, Please, send me your database structure, and xml report to continue debugging dbreportdesigner. or explain when error is raised. Thanks > > Anyway, where i can get sample of kugar in gambas (i prefer in english) > > Thanks a lot > > Ignatius > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sclewin at ...1126... Tue Sep 13 11:16:13 2005 From: sclewin at ...1126... (Scott) Date: Tue, 13 Sep 2005 09:16:13 +0000 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509130037.17326.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509122203.23604.sourceforge-raindog2@...94...> <432615BE.5030702@...1126...> <200509130037.17326.sourceforge-raindog2@...94...> Message-ID: <432698DD.3050500@...1126...> Rob Kudla wrote: > Oh, OK. It would be called /usr/bin/gba2 under 1.9.x. Check that? > Ok, I did that and I found the gba2 in the /usr/bin like it should. -- Your friend, Scott http://www.bmts.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Tue Sep 13 18:35:59 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 13 Sep 2005 12:35:59 -0400 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <432698DD.3050500@...1126...> References: <78f4b76705091215556d8529e3@...627...> <200509130037.17326.sourceforge-raindog2@...94...> <432698DD.3050500@...1126...> Message-ID: <200509131236.00283.sourceforge-raindog2@...94...> On Tue September 13 2005 05:16, Scott wrote: > Rob Kudla wrote: > > Oh, OK. It would be called /usr/bin/gba2 under 1.9.x. Check > > that? > > Ok, I did that and I found the gba2 in the /usr/bin like it should. If you go to a shell prompt and cd to your project directory and type "gba2", does it make an executable? If not, does it throw an error and if so, what error? Thanks... Rob From sclewin at ...1126... Tue Sep 13 14:58:39 2005 From: sclewin at ...1126... (Scott) Date: Tue, 13 Sep 2005 12:58:39 +0000 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509131236.00283.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509130037.17326.sourceforge-raindog2@...94...> <432698DD.3050500@...1126...> <200509131236.00283.sourceforge-raindog2@...94...> Message-ID: <4326CCFF.6060307@...1126...> Rob Kudla wrote: > If you go to a shell prompt and cd to your project directory and type > "gba2", does it make an executable? If not, does it throw an error > and if so, what error? > It does neither. It just goes to the next line and looks like it did something, but no new files have been produced. I have attached a screen shot if this list allows them. -- Your friend, Scott http://www.bmts.com -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot2.png Type: image/png Size: 14884 bytes Desc: not available URL: From nando_f at ...951... Tue Sep 13 19:13:21 2005 From: nando_f at ...951... (nando) Date: Tue, 13 Sep 2005 13:13:21 -0400 Subject: [Gambas-user] Console limit Message-ID: <20050913171001.M80149@...951...> Benoit, I use the console as a 'real-time' debugging screen. Is there a limit to the number of characters or lines? I have PRINTed for over a week at a time, but get concerned with the program halting because of unknown limits. -Fernando From nando_f at ...951... Tue Sep 13 19:30:52 2005 From: nando_f at ...951... (nando) Date: Tue, 13 Sep 2005 13:30:52 -0400 Subject: [Gambas-user] Serial Port and USB problem Message-ID: <20050913171324.M30282@...951...> Benoit, Daniel, I have a Gambas serial port program that works fine. I have a touch screen display. While the program is running, when I turn on the display, the USB touch screen is activated. The Serial Port program crashes with. [48] Write Error I strongly believe the Serial Component contains the problem. It happens when something USB is plugged in or activated. All other (Non-Gambas USB and Serial) programs do not crash. -Fernando From sourceforge-raindog2 at ...94... Tue Sep 13 19:40:07 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 13 Sep 2005 13:40:07 -0400 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <4326CCFF.6060307@...1126...> References: <78f4b76705091215556d8529e3@...627...> <200509131236.00283.sourceforge-raindog2@...94...> <4326CCFF.6060307@...1126...> Message-ID: <200509131340.08359.sourceforge-raindog2@...94...> On Tue September 13 2005 08:58, Scott wrote: > It does neither. It just goes to the next line and looks like > it did something, but no new files have been produced. I have > attached a screen shot if this list allows them. It came through, thanks. Could you try the following two things while sitting in your project directory? 1. "gba2 -v" 2. "strace gba2" The second one will produce a lot of output, so you may need to use the "script" command to capture that output to a file. Rob From sclewin at ...1126... Tue Sep 13 15:52:33 2005 From: sclewin at ...1126... (Scott) Date: Tue, 13 Sep 2005 13:52:33 +0000 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509131340.08359.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509131236.00283.sourceforge-raindog2@...94...> <4326CCFF.6060307@...1126...> <200509131340.08359.sourceforge-raindog2@...94...> Message-ID: <4326D9A1.6070506@...1126...> Rob Kudla wrote: > O > It came through, thanks. Could you try the following two things while > sitting in your project directory? > > 1. "gba2 -v" > > 2. "strace gba2" > > The second one will produce a lot of output, so you may need to use > the "script" command to capture that output to a file. > I did that and attached the script. -- Your friend, Scott http://www.bmts.com -------------- next part -------------- A non-text attachment was scrubbed... Name: typescript Type: application/octet-stream Size: 8192 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Tue Sep 13 20:27:15 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 13 Sep 2005 14:27:15 -0400 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <4326D9A1.6070506@...1126...> References: <78f4b76705091215556d8529e3@...627...> <200509131340.08359.sourceforge-raindog2@...94...> <4326D9A1.6070506@...1126...> Message-ID: <200509131427.16724.sourceforge-raindog2@...94...> On Tue September 13 2005 09:52, Scott wrote: > > 1. "gba2 -v" > > 2. "strace gba2" > I did that and attached the script. Oh, I just went back and looked at your screenshot. The executable is being written... it's named "Note.gambas". This is a Gambas 2 behavior, if I remember right... by default, the executable has ".gambas" appended to its name. You can rename it to whatever you want before distributing it. What happens if you run "./Note.gambas" while sitting in that directory? Rob From sclewin at ...1126... Tue Sep 13 16:40:53 2005 From: sclewin at ...1126... (Scott) Date: Tue, 13 Sep 2005 14:40:53 +0000 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509131427.16724.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509131340.08359.sourceforge-raindog2@...94...> <4326D9A1.6070506@...1126...> <200509131427.16724.sourceforge-raindog2@...94...> Message-ID: <4326E4F5.5060708@...1126...> Rob Kudla wrote: > Oh, I just went back and looked at your screenshot. The executable is > being written... it's named "Note.gambas". This is a Gambas 2 > behavior, if I remember right... by default, the executable has > ".gambas" appended to its name. You can rename it to whatever you > want before distributing it. What happens if you run "./Note.gambas" > while sitting in that directory? > It works :) I thought about that before and when I clicked on the file in Konqueror it just asked me which program to run it from, so I thought it was one of the files created for Gambas. This is good, at least I can make some sort of executable to give out, thank you very much, but unless I am wrong the Gambas program is required as a dependency in the same was Java is required for jre files. I still would like to be able to create the packages so there will be less dependencies. -- Your friend, Scott http://www.bmts.com From sourceforge-raindog2 at ...94... Tue Sep 13 21:29:30 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 13 Sep 2005 15:29:30 -0400 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <4326E4F5.5060708@...1126...> References: <78f4b76705091215556d8529e3@...627...> <200509131427.16724.sourceforge-raindog2@...94...> <4326E4F5.5060708@...1126...> Message-ID: <200509131529.31527.sourceforge-raindog2@...94...> On Tue September 13 2005 10:40, Scott wrote: > It works :) I thought about that before and when I clicked on > the file in Konqueror it just asked me which program to run it > from, so I thought it was one of the files created for Gambas. Yes, Konqueror sees "#!" at the beginning of the file and prompts you to run it instead of just obeying the "#!". I don't know why it does that, but making the interpreter into a library and putting a real executable stub into the Gambas executables would fix it. > This is good, at least I can make some sort of executable to > give out, thank you very much, but unless I am wrong the Gambas > program is required as a dependency in the same was Java is > required for jre files. I still would like to be able to create > the packages so there will be less dependencies. Yeah, there's no way to make completely stand-alone executables in Gambas yet, and I imagine it'll be some time before it's possible. When it is possible, the executable will be huge, since it will need to include the interpreter and all the components the program uses... basically, the size of a VB program's setup.exe. I wrote a tiny program in Tcl and used "freewrap" to make a standalone executable of it.... it barely fit on a floppy disk, and Tcl is nowhere near as complex as Gambas. Rob From fabrice at ...114... Tue Sep 13 21:46:44 2005 From: fabrice at ...114... (Fabrice Mous) Date: Tue, 13 Sep 2005 21:46:44 +0200 Subject: [Gambas-user] Gambas Tutorial in LXF71 October 2005 Message-ID: <200509132146.44334.fabrice@...114...> page 94 "Gambas Easy Database Access" It is even a series .. so expect more Gambas tutorials .. Ciao' Fab -- KDE Nederland | www.kde.nl | fabrice at ...114... From sclewin at ...1126... Tue Sep 13 17:54:37 2005 From: sclewin at ...1126... (Scott) Date: Tue, 13 Sep 2005 15:54:37 +0000 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509131529.31527.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509131427.16724.sourceforge-raindog2@...94...> <4326E4F5.5060708@...1126...> <200509131529.31527.sourceforge-raindog2@...94...> Message-ID: <4326F63D.3090705@...1126...> Rob Kudla wrote: > to run it instead of just obeying the "#!". I don't know why it does > that, but making the interpreter into a library and putting a real > executable stub into the Gambas executables would fix it. > Ok, thanks. > Yeah, there's no way to make completely stand-alone executables in > Gambas yet Oh, I did not mean complete stand alone executables. I meant making a RPM or DEB package using the project/Make installation package... It does not seem to work and gives me an error message. -- Your friend, Scott http://www.bmts.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Wed Sep 14 04:52:54 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 13 Sep 2005 22:52:54 -0400 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <4326F63D.3090705@...1126...> References: <78f4b76705091215556d8529e3@...627...> <200509131529.31527.sourceforge-raindog2@...94...> <4326F63D.3090705@...1126...> Message-ID: <200509132252.56330.sourceforge-raindog2@...94...> On Tue September 13 2005 11:54, Scott wrote: > Oh, I did not mean complete stand alone executables. I meant > making a RPM or DEB package using the project/Make installation > package... It does not seem to work and gives me an error message. Oh, OK... Yeah, the package wizard is broken in the 1.9.x series. I've been waiting for the 2.0 language to stabilize a bit before trying to fix it, and there's supposed to be a new IDE on the way as well. Rob From edamron at ...776... Wed Sep 14 05:19:19 2005 From: edamron at ...776... (Eric Damron) Date: Tue, 13 Sep 2005 20:19:19 -0700 Subject: [Gambas-user] Gambas2 /usr/bin/gbx2 not available Message-ID: <432796B7.10904@...776...> I would like to install Gambas2 onto my Suse 9.3 box. However when I try Yast tells me: /usr/bin/gbx2 not available I've searched for a package that provides this but no luck. From jfabiani at ...1109... Wed Sep 14 05:40:11 2005 From: jfabiani at ...1109... (John Fabiani) Date: Tue, 13 Sep 2005 20:40:11 -0700 Subject: [Gambas-user] Gambas2 /usr/bin/gbx2 not available In-Reply-To: <432796B7.10904@...776...> References: <432796B7.10904@...776...> Message-ID: <200509132040.12068.jfabiani@...1109...> On Tuesday 13 September 2005 20:19, Eric Damron wrote: > I would like to install Gambas2 onto my Suse 9.3 box. However when I > try Yast tells me: > /usr/bin/gbx2 not available > > I've searched for a package that provides this but no luck. There are packages out there - but I was unable to get any of them to work. However, I was able to compile without issue and that worked very well - so far. John From ariafrancesco at ...86... Wed Sep 14 08:57:53 2005 From: ariafrancesco at ...86... (ariafrancesco@inwind.it) Date: Wed, 14 Sep 2005 08:57:53 +0200 Subject: [Gambas-user] Modbus on serial port Message-ID: I am trying to implement the serial modbus protocol on gambas. Bookcase was my intention to create a class that all could use but I have a problem that I do not succeed to resolve. The instrument with which I try to communicate seems that it understands what I send but does not answer to me . What you know version 1,0,3 of gambas has of the problems with the object of the serial port? In order to create the string to send to the instrument I use: strOutput = Chr$(CByte(Val ("&H "& strNode))) & Chr$(3) & Chr$(CByte(Val ("&H" & Left$(varTemp, 2)))) & Chr$(CByte(Val ("&H "& Right$(varTemp, 2)))) & Chr$(0) & Chr$(1) in order then to send it with: PRINT # Sport, (strOutput & Chr$(CByte(Val("&H "& Right$(strCRC, 2)))) & Chr$(CByte(Val("&H" & Left$(strCRC, 2))))) Is possible that problem is the character set ? Gambas use UTF8 character set so is possible that using the Chr$ function the instrument does not understand? P.S. I sure that the instrument receives the string , in fact it count the message and understand that it is for he (strNode = "1" node 1 of net modbus 485) HELP!! Is possible that I'm successful to write an OCX for the modbus in VB6 and does not succeed to make of the porting on Gambas!!!!! P.S. 2 :-)) where I can find the rpm of last stable gambas for Mandriva? THANKS To ALL From radoslav.dejanovic at ...116... Wed Sep 14 09:36:56 2005 From: radoslav.dejanovic at ...116... (Radoslav =?utf-8?q?Dejanovi=C4=87?=) Date: Wed, 14 Sep 2005 09:36:56 +0200 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509131529.31527.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <4326E4F5.5060708@...1126...> <200509131529.31527.sourceforge-raindog2@...94...> Message-ID: <200509140936.56482.radoslav.dejanovic@...116...> On Tuesday 13 September 2005 21:29, Rob Kudla wrote: > Yes, Konqueror sees "#!" at the beginning of the file and prompts you > to run it instead of just obeying the "#!". I don't know why it does > that, That might be because scripts in Un*x start with shebang (#!) pair of characters to let the system know they are scripts to be executed. ;) Just like DOS or Windows applications start with MZ. Konqueror is set up to recognize file with shebang as an executable script, so you can just click on it to run it. Doesn't make much sense, though. ;) -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From werda at ...1000... Wed Sep 14 09:40:29 2005 From: werda at ...1000... (Werner) Date: Wed, 14 Sep 2005 15:40:29 +0800 Subject: [Gambas-user] Modbus on serial port In-Reply-To: References: Message-ID: <4327D3ED.4040309@...1000...> ariafrancesco at ...86... wrote: >I am trying to implement the serial modbus protocol on gambas. >Bookcase was my intention to create a class that all could use but I have a problem that I do not succeed to resolve. >The instrument with which I try to communicate seems that it understands what I send but does not answer to me . >What you know version 1,0,3 of gambas has of the problems with the object of the serial port? > >In order to create the string to send to the instrument I use: > > strOutput = Chr$(CByte(Val ("&H "& strNode))) & Chr$(3) & Chr$(CByte(Val ("&H" & Left$(varTemp, 2)))) & Chr$(CByte(Val ("&H "& Right$(varTemp, 2)))) & Chr$(0) & Chr$(1) > >in order then to send it with: > >PRINT # Sport, (strOutput & Chr$(CByte(Val("&H "& Right$(strCRC, 2)))) & Chr$(CByte(Val("&H" & Left$(strCRC, 2))))) > >Is possible that problem is the character set ? >Gambas use UTF8 character set so is possible that using the Chr$ function the instrument does not understand? > >P.S. I sure that the instrument receives the string , in fact it count the message and understand that it is for he (strNode = "1" node 1 of net modbus 485) > >HELP!! > >Is possible that I'm successful to write an OCX for the modbus in VB6 and does not succeed to make of the porting on Gambas!!!!! > >P.S. 2 :-)) where I can find the rpm of last stable gambas for Mandriva? > >THANKS To ALL > > > The latest stable version is 1.0.11. The download for all distributions starts here: http://gambas.sourceforge.net/download.html To find out if there is a problem with character conversion you might want to hook up with a second computer using a terminal emulator program that can display SOH DEL ESC NUL and all the other control characters. Alternatively you could write a small gambas program for it simulating modbus simple replies. Just my 2 cents. Regards, Werner From werda at ...1000... Wed Sep 14 09:45:58 2005 From: werda at ...1000... (Werner) Date: Wed, 14 Sep 2005 15:45:58 +0800 Subject: [Gambas-user] Modbus on serial port In-Reply-To: <4327D3ED.4040309@...1000...> References: <4327D3ED.4040309@...1000...> Message-ID: <4327D536.1000602@...1000...> Werner wrote: > ariafrancesco at ...86... wrote: > >> I am trying to implement the serial modbus protocol on gambas. >> Bookcase was my intention to create a class that all could use but I >> have a problem that I do not succeed to resolve. >> The instrument with which I try to communicate seems that it >> understands what I send but does not answer to me . >> What you know version 1,0,3 of gambas has of the problems with the >> object of the serial port? >> In order to create the string to send to the instrument I use: >> >> strOutput = Chr$(CByte(Val ("&H "& strNode))) & Chr$(3) & >> Chr$(CByte(Val ("&H" & Left$(varTemp, 2)))) & Chr$(CByte(Val ("&H "& >> Right$(varTemp, 2)))) & Chr$(0) & Chr$(1) >> in order then to send it with: >> >> PRINT # Sport, (strOutput & Chr$(CByte(Val("&H "& Right$(strCRC, >> 2)))) & Chr$(CByte(Val("&H" & Left$(strCRC, 2))))) >> Is possible that problem is the character set ? >> Gambas use UTF8 character set so is possible that using the Chr$ >> function the instrument does not understand? >> P.S. I sure that the instrument receives the string , in fact it >> count the message and understand that it is for he (strNode = "1" >> node 1 of net modbus 485) >> HELP!! >> >> Is possible that I'm successful to write an OCX for the modbus in VB6 >> and does not succeed to make of the porting on Gambas!!!!! >> P.S. 2 :-)) where I can find the rpm of last stable gambas for >> Mandriva? >> THANKS To ALL >> >> >> > The latest stable version is 1.0.11. The download for all > distributions starts here: http://gambas.sourceforge.net/download.html > To find out if there is a problem with character conversion you might > want to hook up with a second computer using a terminal emulator > program that can display SOH DEL ESC NUL and all the other control > characters. Alternatively you could write a small gambas program for > it simulating modbus simple replies. > > Just my 2 cents. > > Regards, > > Werner > > I just tried Rob Kudla's web site to look up Gambas for Mandriva but > the site just serves an empty page. Tough luck. Werner From werda at ...1000... Wed Sep 14 12:17:20 2005 From: werda at ...1000... (Werner) Date: Wed, 14 Sep 2005 18:17:20 +0800 Subject: [Gambas-user] Underscores in Control Titles Message-ID: <4327F8B0.2020708@...1000...> Hello, using Gambas 1.0.10 on SuSE 9.3. it seems Gambas inserts an underscore to control titles, chosen in a way that each control is using a different character. Clicking a control can then be emulated on the keyboard by typing the equivalent ALT+character combination. Is there a way to turn this off? Thanks, Werner Dahn From ariafrancesco at ...86... Wed Sep 14 14:29:09 2005 From: ariafrancesco at ...86... (ariafrancesco@inwind.it) Date: Wed, 14 Sep 2005 14:29:09 +0200 Subject: [Gambas-user] Modbus on serial port Message-ID: ---------- Initial Header ----------- From sclewin at ...1126... Wed Sep 14 11:11:37 2005 From: sclewin at ...1126... (Scott) Date: Wed, 14 Sep 2005 09:11:37 +0000 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509132252.56330.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509131529.31527.sourceforge-raindog2@...94...> <4326F63D.3090705@...1126...> <200509132252.56330.sourceforge-raindog2@...94...> Message-ID: <4327E949.6000502@...1126...> Rob Kudla wrote: > Yeah, the package wizard is broken in the 1.9.x series. That makes sense. I sent in a bug report for that, hopefully that will help out. -- Your friend, Scott http://www.bmts.com From sourceforge-raindog2 at ...94... Wed Sep 14 19:21:37 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 14 Sep 2005 13:21:37 -0400 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509140936.56482.radoslav.dejanovic@...116...> References: <78f4b76705091215556d8529e3@...627...> <200509131529.31527.sourceforge-raindog2@...94...> <200509140936.56482.radoslav.dejanovic@...116...> Message-ID: <200509141321.38493.sourceforge-raindog2@...94...> On Wed September 14 2005 03:36, Radoslav Dejanovi? wrote: > That might be because scripts in Un*x start with shebang (#!) pair > of characters to let the system know they are scripts to be > executed. ;) Just like DOS or Windows applications start with MZ. > > Konqueror is set up to recognize file with shebang as an executable > script, so you can just click on it to run it. Doesn't make much > sense, though. ;) I think you misunderstand. Konqueror *doesn't* run Gambas applications, despite the shebang. It prompts you for a program with which to open your application, ignoring the shebang line altogether, and displays a generic document icon for the application rather than its icon. This is true as of KDE 3.4, at least. Try it. Yeah, I was a VB programmer, but I was using Unix before VB 1.0 came out ;) Rob From garretthylltun at ...626... Wed Sep 14 21:26:49 2005 From: garretthylltun at ...626... (Garrett R. Hylltun) Date: Wed, 14 Sep 2005 12:26:49 -0700 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509141321.38493.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509131529.31527.sourceforge-raindog2@...94...> <200509140936.56482.radoslav.dejanovic@...116...> <200509141321.38493.sourceforge-raindog2@...94...> Message-ID: <1126726009.2682.2.camel@...37...> On Wed, 2005-09-14 at 13:21 -0400, Rob Kudla wrote: [snip] > I think you misunderstand. Konqueror *doesn't* run Gambas > applications, despite the shebang. It prompts you for a program with > which to open your application, ignoring the shebang line altogether, > and displays a generic document icon for the application rather than > its icon. This is true as of KDE 3.4, at least. Try it. [snip] Nautilus on Gnome also suffers from this issue. Can't run a Gambas compiled app unless it's run from the console or a shortcut. -Garrett From kztyrvlq at ...966... Wed Sep 14 22:58:49 2005 From: kztyrvlq at ...966... (A Person) Date: Wed, 14 Sep 2005 18:28:49 -0230 Subject: [Gambas-user] Re: Underscores in Control Titles Message-ID: <43288F09.9040808@...966...> Good Day . . . Your problem is a 'feature' in KDE. To my knowledge the problem cannot be resolved with KDE or Gambas. KDE told me through a bug report that it was a feature. It can be modified but it is a source code problem. Far above my head! Your project gets these ampersands by using a component called gb.qt.kde. Remove this and the ampersands go away. Unless like me you have a project that uses the DatePicker or other KDE control then you put up with them. Hope this helps. Paul From lordheavy at ...512... Wed Sep 14 23:08:00 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 14 Sep 2005 23:08:00 +0200 Subject: [Gambas-user] Re: Underscores in Control Titles In-Reply-To: <43288F09.9040808@...966...> References: <43288F09.9040808@...966...> Message-ID: <43289130.2050601@...512...> A Person a ?crit : > > Your project gets these ampersands by using a component called > gb.qt.kde. Remove this and the ampersands go away. Unless like me you > have a project that uses the DatePicker or other KDE control then you > put up with them. > > Hope this helps. > > Paul > Does double ampersand solve the prob ? ( && ) -- Laurent Carlier jabber : LordHeavy at ...943... From kztyrvlq at ...966... Thu Sep 15 04:35:36 2005 From: kztyrvlq at ...966... (A Person) Date: Thu, 15 Sep 2005 00:05:36 -0230 Subject: [Gambas-user] Re: Underscores in Control Titles Message-ID: <4328DDF8.8010604@...966...> Good Day . . . Two ampersands do not work. I tried everything possible over a couple of months. The KDE ampersand function has a higher priority than Gambas so it overrides any Gambas choices. (my guess). I had limited success with graphics. Special characters such as '<' and '<<' do not generate ampersands in KDE 3.4.2 although they did in an earlier version or maybe it is the newer Gambas. I tried spaces before and after. I tried quotation marks. I tried using raised labels instead of buttons. I tried . . . I could not find a way around the 'feature' other than removing the earlier mentioned component. This is not really a problem unless you want to use a KDE control such as DatePicker. This has cancelled one of my projects. I was writing a Bingo program that had 150 buttons. It is totally ridiculous to have the underscore show up randomly across the form. I want to try REALbasic when it evolves into a workable environment just to get around this problem (and none graphical indexed controls). Hope this helps. Paul From radoslav.dejanovic at ...116... Thu Sep 15 09:43:03 2005 From: radoslav.dejanovic at ...116... (Radoslav =?utf-8?q?Dejanovi=C4=87?=) Date: Thu, 15 Sep 2005 09:43:03 +0200 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509141321.38493.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509140936.56482.radoslav.dejanovic@...116...> <200509141321.38493.sourceforge-raindog2@...94...> Message-ID: <200509150943.03251.radoslav.dejanovic@...116...> On Wednesday 14 September 2005 19:21, Rob Kudla wrote: > I think you misunderstand. Konqueror *doesn't* run Gambas > applications, despite the shebang. It prompts you for a program with > which to open your application, ignoring the shebang line altogether, > and displays a generic document icon for the application rather than > its icon. This is true as of KDE 3.4, at least. Try it. Yup, you're right. Konqueror disobeys the exec magic. Hm. -- Radoslav Dejanovi? Operacijski sustavi d.o.o. http://www.opsus.hr From christian.faurebouvard at ...357... Thu Sep 15 11:57:21 2005 From: christian.faurebouvard at ...357... (Christian Faure) Date: Thu, 15 Sep 2005 11:57:21 +0200 Subject: [Gambas-user] ireport In-Reply-To: <200509140925.17521.isy21@...1082...> References: <200509131611.28198.isy21@...1082...> <200509130844.02874.christian.faurebouvard@...357...> <200509140925.17521.isy21@...1082...> Message-ID: <200509151157.22309.christian.faurebouvard@...357...> ---------- Mensaje reenviado ---------- Subject: Re: [Gambas-user] ireport Date: Mi?rcoles, 14 de Septiembre de 2005 12:59 From: Christian Faure To: "isy21 at ...1082..." El Mi?rcoles, 14 de Septiembre de 2005 04:25, escribi?: > Hi, > > thanks for your respon, > > last night i found the answer, because i use query like "select > a.ftrxseries,a.ftrxno,a.ftrxdate,b.fqty,c.fstockname from ttrxhdr a,ttrxdtl > b,titem c where a.ftrxseries=b.ftrxseries and a.ftrxno=b.ftrxno and > a.fbranch=b.fbranch and b.fitem=c.fitem and ftrxseries='INVOICE' and > ftrxno=4 and fbranch=4" > > my table like this one (in mysql 4.11) > > table name: ttrxhdr > ftrxseries char(10) > ftrxno integer > fbranch smallint > ftrxdate date > > table name: ttrxdtl > ftrxseries char(10) > ftrxno integer > fbranch smallint > fitem integer > fqty integer > > table name titem > fitem integer > fstockname char(40) > > > i not use recordsource0 and recordsource1, all i set in recordsource0 > but anyway, i see in xml file, i can see mypassword on database > Can i set user and password on gambas. > > I means: > when i clik report in main form modul then i send my user and password, > because some of table can not be access for everyone, like salary > database only can access by selected user. can i do that ? After building and test your report, you can open the xml report in a text editor and remove login and password like this:

...

and save. In report viewer, when you open this xml report, the viewer try to connect to database, if it fail to connect (no username nor password), then it prompt for database connection params. it can help now, but for next version i include this requested feature. > one more question, if you don't mind... > it is true ? Each question help me to write FAQ's :-) > that i only can set new report design by re-run > dbreportdesigner ?. Yes, due to some problem in memory management. It's a workaround and must be solved for ...future version. > By the way, you done a good report designer > thanks for your help > > > Ignatius i need to setup mysql on my machine and compile mysql component of gambas to try your example :-( ...it take a moment... please be pacient. Thanks for your time to help me in debug task :-) ------------------------------------------------------ PD: The SQL clause give : Query failed: Column 'ftrxseries' in where clause is ambiguous using mysql 4.10 From kai at ...1127... Thu Sep 15 22:07:03 2005 From: kai at ...1127... (Kai) Date: Thu, 15 Sep 2005 21:07:03 +0100 Subject: [Gambas-user] Gambas SSH Message-ID: <4329D467.4090503@...1127...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Any one know how to get gambas to use ssh? im stuck im using a socket some thing along the lines of this: DIM command AS String DIM name AS String 'DIM pass AS String DIM ip AS String name = txtUserName.Text ip = txtServerIp.Text command = "/usr/bin/ssh" ' This should make the ssh connection using a client socket protocol ? SELECT CASE sshProtocol CASE 0 ' This will get every thing ready for a connection to server MySock.Host = ip MySock.Port = (22) 'MySock.Id = Val(txtUserName.Text) MySock.Connect() CASE 1 ' This will make a connection to the server MySock.Path = ip MySock.Port = Net.Local MySock.Id = name MySock.Connect(name, "@", ip, command) 'Dont know if this works yet? END SELECT i dont think its working thanks for any help -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDKdRnw4vrCsJF5ScRAvF/AJ0cu76j78o7/iweiNRXDiQvx9frcQCgwgkj 0nzo5YFLzua7Pk+SaXNMSqc= =d+NV -----END PGP SIGNATURE----- From sourceforge-raindog2 at ...94... Thu Sep 15 22:48:21 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 15 Sep 2005 16:48:21 -0400 Subject: [Gambas-user] Gambas SSH In-Reply-To: <4329D467.4090503@...1127...> References: <4329D467.4090503@...1127...> Message-ID: <200509151648.24241.sourceforge-raindog2@...94...> On Thu September 15 2005 16:07, Kai wrote: > Any one know how to get gambas to use ssh? SSH won't run without a TTY, so you need to write a wrapper program (I used perl) to emulate a TTY for it. I don't have the code with me today, but I'll try to remember to post it. Once you do that, it's just SHELL "sshwrapper -u user host" FOR READ WRITE and treat it like any other program. I remember someone saying they were working on TTY emulation for gambas2, but I don't know if it went anywhere. Rob From kai at ...1127... Fri Sep 16 02:30:47 2005 From: kai at ...1127... (Kai) Date: Fri, 16 Sep 2005 01:30:47 +0100 Subject: [Gambas-user] Gambas SSH In-Reply-To: <200509151648.24241.sourceforge-raindog2@...94...> References: <4329D467.4090503@...1127...> <200509151648.24241.sourceforge-raindog2@...94...> Message-ID: <432A1237.6040505@...1127...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Rob Kudla wrote: > On Thu September 15 2005 16:07, Kai wrote: > >> Any one know how to get gambas to use ssh? > > > SSH won't run without a TTY, so you need to write a wrapper program > (I used perl) to emulate a TTY for it. I don't have the code with > me today, but I'll try to remember to post it. > > Once you do that, it's just SHELL "sshwrapper -u user host" FOR > READ WRITE and treat it like any other program. > > I remember someone saying they were working on TTY emulation for > gambas2, but I don't know if it went anywhere. > > Rob > > > > ------------------------------------------------------- SF.Net > email is sponsored by: Tame your development challenges with > Apache's Geronimo App Server. Download it for free - -and be > entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click > here to play: http://sourceforge.net/geronimo.php > _______________________________________________ Gambas-user mailing > list Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hi Thanks for the reply Looks like I'll be relaiy on that post for the TTY wrapper as gambas is the first language i have used, so any help info is greatly apprechiated. Thanks -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDKhI3w4vrCsJF5ScRAvRZAJ4/+XGqYjD4TPXmxmIygKeNebt11ACgxD7I 4Xkvwg/LJkYftvfgxgLUMQs= =yXKg -----END PGP SIGNATURE----- From danielcampos at ...282... Fri Sep 16 09:07:33 2005 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 16 Sep 2005 09:07:33 +0200 Subject: [Gambas-user] Serial Port and USB problem In-Reply-To: <20050913171324.M30282@...951...> References: <20050913171324.M30282@...951...> Message-ID: <1126854453.4908.1.camel@...1128...> Hi: Can't you do a: TRY WRITE #Serial Instead of a WRITE #Serial This way you should catch the error... Regards, D. Campos El mar, 13-09-2005 a las 13:30 -0400, nando escribi?: > Benoit, > Daniel, > > I have a Gambas serial port program that works fine. > I have a touch screen display. > > While the program is running, > when I turn on the display, the USB touch screen is activated. > > The Serial Port program crashes with. > > [48] Write Error > > I strongly believe the Serial Component contains the problem. > It happens when something USB is plugged in or activated. > All other (Non-Gambas USB and Serial) programs do not crash. > > -Fernando > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From werda at ...1000... Fri Sep 16 09:22:10 2005 From: werda at ...1000... (Werner) Date: Fri, 16 Sep 2005 15:22:10 +0800 Subject: [Gambas-user] Re: Underscores in Control Titles In-Reply-To: <43288F09.9040808@...966...> References: <43288F09.9040808@...966...> Message-ID: <432A72A2.5010008@...1000...> A Person wrote: > Good Day . . . > > Your problem is a 'feature' in KDE. To my knowledge the problem cannot > be resolved with KDE or Gambas. KDE told me through a bug report that > it was a feature. It can be modified but it is a source code problem. > Far above my head! > > Your project gets these ampersands by using a component called > gb.qt.kde. Remove this and the ampersands go away. Unless like me you > have a project that uses the DatePicker or other KDE control then you > put up with them. > > Hope this helps. > > Paul > removing the KDE component from the project did the trick! Thank you very much! Best Regards, Werner Dahn From abu.syafa at ...626... Fri Sep 16 11:56:33 2005 From: abu.syafa at ...626... (abu syafa) Date: Fri, 16 Sep 2005 16:56:33 +0700 Subject: [Gambas-user] join gambas In-Reply-To: <200509131207.37346.gambas@...1...> References: <46f0b9ad05091216541f47c58f@...627...> <200509131207.37346.gambas@...1...> Message-ID: <46f0b9ad0509160256ece24b3@...627...> > > What do you mean exactly by 'join with us' ? By using the mailing-list, > you > have joined with us... Or you mean physically ? :-) > ' ----- > i have creating some applications in visual basic. it's like system information for academic in my campus and so on. do i could translate my code to gambas and then send it for you ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From isy21 at ...1082... Fri Sep 16 13:02:13 2005 From: isy21 at ...1082... (isy21 at ...1082...) Date: Fri, 16 Sep 2005 18:02:13 +0700 Subject: [Gambas-user] Report Message-ID: <200509161802.13548.isy21@...1082...> Hi, all The sample report i found in gambas itself, it written to html file. i just want to know, it is same as html tag code ? and can i design in OpenOffice first ? or how can i define the position of printing field ? Right now i already create some of report in DBReportDesigner and view it in DBReportViewer. Much helper, and i like it, only have some trouble..maybe i don't know how to use it. but sometime, i have report that you can't changed in source. I means, at example in gambas, the source for report, written in source itself. DBReportDesigner will create xml file,that i can modify with vi. Like report in some critical report, that i dont want user change it format or result. If i dont miss, last day someone told me it write report with Print object, can i have a little sample code ? Thanks anyway Ignatius From admin at ...1080... Fri Sep 16 13:45:35 2005 From: admin at ...1080... (admin at ...1080...) Date: Fri, 16 Sep 2005 13:45:35 +0200 Subject: [Gambas-user] Report In-Reply-To: <200509161802.13548.isy21@...1082...> Message-ID: <20050916114538.EF3D016C6C4C@...1129...> Hi Ignatius You could use Html-Templates, wich you can edit with vi or better with a Html-Editor. The template has placeholders for your data. Then you work in gambas source, in short: you a template and replace the placeholder with data. As example for a table: open recordset and a template for row, loop trough records and add the template with placeholders replaced to variable. At the end you add the needed stuff bevore and at the end, save or show it in a output-area. Voila Sample-template for rows: %%Col-one%%%%Col-two%% Then Output = & tablebody-variable &
-----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of isy21 at ...1082... Sent: Friday, September 16, 2005 1:02 PM To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Report Hi, all The sample report i found in gambas itself, it written to html file. i just want to know, it is same as html tag code ? and can i design in OpenOffice first ? or how can i define the position of printing field ? Right now i already create some of report in DBReportDesigner and view it in DBReportViewer. Much helper, and i like it, only have some trouble..maybe i don't know how to use it. but sometime, i have report that you can't changed in source. I means, at example in gambas, the source for report, written in source itself. DBReportDesigner will create xml file,that i can modify with vi. Like report in some critical report, that i dont want user change it format or result. If i dont miss, last day someone told me it write report with Print object, can i have a little sample code ? Thanks anyway Ignatius ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From francesco.difusco at ...69... Sat Sep 17 13:09:36 2005 From: francesco.difusco at ...69... (Alonzo Flinston) Date: Sat, 17 Sep 2005 13:09:36 +0200 Subject: [Gambas-user] Why this simple program doesn't work Message-ID: <1126955376.7956.3.camel@...1064...> FUNCTION NumBinario(binario AS String) AS Boolean DIM numbin AS Boolean DIM i AS Integer DIM n AS Integer DIM cifra AS String numbin = TRUE n = Len(binario) FORMMAIN.TextBox1.TEXT = n i = 1 DO WHILE (i <= n AND numbin = TRUE) cifra = Mid$(binario, i, 1) IF (cifra <> "0" OR cifra <> "1") THEN numbin = FALSE ELSE i = i + 1 ENDIF LOOP RETURN numbin END I have a string and I want to check if every character if a binary digit, "0" or "1" Thanks Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From francesco.difusco at ...69... Sat Sep 17 13:06:50 2005 From: francesco.difusco at ...69... (Alonzo Flinston) Date: Sat, 17 Sep 2005 13:06:50 +0200 Subject: [Gambas-user] (no subject) Message-ID: <1126955210.7956.1.camel@...1064...> Why this simple program down't work FUNCTION NumBinario(binario AS String) AS Boolean DIM numbin AS Boolean DIM i AS Integer DIM n AS Integer DIM cifra AS String numbin = TRUE n = Len(binario) FORMMAIN.TextBox1.TEXT = n i = 1 DO WHILE (i <= n AND numbin = TRUE) cifra = Mid$(binario, i, 1) IF (cifra <> "0" OR cifra <> "1") THEN numbin = FALSE ELSE i = i + 1 ENDIF LOOP RETURN numbin END I have a string and I want to check if every character if a binary digit, "0" or "1" Thanks Francesco -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From werda at ...1000... Sat Sep 17 14:38:41 2005 From: werda at ...1000... (Werner) Date: Sat, 17 Sep 2005 20:38:41 +0800 Subject: [Gambas-user] Why this simple program doesn't work In-Reply-To: <1126955376.7956.3.camel@...1064...> References: <1126955376.7956.3.camel@...1064...> Message-ID: <432C0E51.7010006@...1000...> Alonzo Flinston wrote: >FUNCTION NumBinario(binario AS String) AS Boolean >DIM numbin AS Boolean >DIM i AS Integer >DIM n AS Integer >DIM cifra AS String >numbin = TRUE >n = Len(binario) >FORMMAIN.TextBox1.TEXT = n >i = 1 >DO WHILE (i <= n AND numbin = TRUE) >cifra = Mid$(binario, i, 1) >IF (cifra <> "0" OR cifra <> "1") THEN >numbin = FALSE >ELSE >i = i + 1 >ENDIF >LOOP >RETURN numbin >END > >I have a string and I want to check if every character if a binary >digit, "0" or "1" > >Thanks > >Francesco > > > There are a number of reasons why it doesn't work. One is that (cifra <> "0" OR cifra <> "1") will always return true no matter which character cifra contains. Another problem is the way the routine is written i = i + 1 never gets executed and you are stuck in an endless loop. You might recode your function to something like this: ---------------- FUNCTION NumBinario(binario AS String) AS Boolean DIM numbin AS Boolean DIM i AS Integer DIM n AS Integer DIM cifra AS String numbin = TRUE n = Len(binario) FORMMAIN.TextBox1.TEXT = n For i =1 to n cifra = Mid$(binario, i, 1) IF NOT (cifra = "0" OR cifra = "1") THEN numbin = FALSE BREAK END IF NEXT RETURN numbin END ----------------------------- The modified routine will return TRUE if the string is empty. Is that okay? Regards, Werner From comtux at ...626... Sat Sep 17 15:42:00 2005 From: comtux at ...626... (Steve Starr) Date: Sat, 17 Sep 2005 13:42:00 +0000 Subject: [Gambas-user] Re: Cd to Directory In-Reply-To: <200509131028.35345.rolf.frogs@...221...> References: <78f4b76705091215556d8529e3@...627...> <200509122003.55707.sourceforge-raindog2@...94...> <78f4b767050912195850112a21@...627...> <200509131028.35345.rolf.frogs@...221...> Message-ID: <78f4b767050917064239eece12@...627...> No because i use pkg=/opt/build as a install dir. Here is an example lets say we are building sqlite3 from source. You decompress the source package and cd to the source directory. then you ./configure --prefix=/usr && make && make prefix=$pkg/usr install when sqlite is done compileing all binarys and libs are installed to $pkg/usr $pkg/usr = /opt/build/usr you can then cd to /opt/build and tar -czvf sqlite3.tar.gz usr or tar -czvf sqlite3.wolfpkg usr if you want your own package type for your custom distro. then when you want to extract your binary package you. tar xvzf sqlite3.tar.gz -C / or tar xvzf sqlite3.wolfpkg -C / and everything in the sqlite3.tar.gz binary is extracted to / Plus if you do a find * > found.txt in your $pkg dir all file installed are then outputed to a found.txt file just remove any dirs contained in the file like /usr and add a #!/bin/bash and replace everything else with a rm -r and rename found.txt to remove and when you want to remove packages you install you would just exacute ./remove and all installed file pertainging to that remove script are removed. On 9/13/05, Rolf Schmidt wrote: > Hi Steve > > [ ] > > ####this is the wolfpkg script > > #!/bin/bash > > # Maintainer: Steve Starr > > > > name=sqlite > > version=3.2.5 > > release=1 > > > > pkg=/opt/build > > > > rm -r $pkg > > mkdir $pkg > Shouldn't you change into your $pkg directory befor you download and > unpack? > > wget $source > > > > tar -xvzf $name-$version.tar.gz > > > > cd $name-$version > > ./configure --prefix=/usr > > make > > make prefix=$pkg/usr install > [ ] > > Greetings > Rolf > > From francesco.difusco at ...69... Sat Sep 17 16:27:26 2005 From: francesco.difusco at ...69... (Alonzo Flinston) Date: Sat, 17 Sep 2005 16:27:26 +0200 Subject: [Gambas-user] Why this simple program doesn't work In-Reply-To: <432C0E51.7010006@...1000...> References: <1126955376.7956.3.camel@...1064...> <432C0E51.7010006@...1000...> Message-ID: <1126967246.21223.4.camel@...1064...> > > > There are a number of reasons why it doesn't work. > One is that > > (cifra <> "0" OR cifra <> "1") > > will always return true no matter which character cifra contains. Ok, I have understood my mistake. Now I have changed the source, and it works DO WHILE (i <= n AND numbin = TRUE) cifra = Mid$(binario, i, 1) IF (cifra = "0" OR cifra = "1") THEN i = i + 1 ELSE numbin = FALSE ENDIF LOOP > For i =1 to n > cifra = Mid$(binario, i, 1) > IF NOT (cifra = "0" OR cifra = "1") THEN > numbin = FALSE > BREAK > END IF > NEXT > RETURN numbin > END > ----------------------------- > I didn't want to execute a FOR loop, for I don't want to force exiting from the loop, using a BREAK instruction. Thank you very muche for having let me notice my logical mistake. Francesco > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Teaching OnLine Corsi online di programmazione Php, Asp, C, C++, Visual Basic, Delphi Linux Shell Programming ------------------------------------ http://www.teachingonline.it From gambas at ...1... Sat Sep 17 19:35:18 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 17 Sep 2005 19:35:18 +0200 Subject: [Gambas-user] join gambas In-Reply-To: <46f0b9ad0509160256ece24b3@...627...> References: <46f0b9ad05091216541f47c58f@...627...> <200509131207.37346.gambas@...1...> <46f0b9ad0509160256ece24b3@...627...> Message-ID: <200509171935.18339.gambas@...1...> On Friday 16 September 2005 11:56, abu syafa wrote: > > What do you mean exactly by 'join with us' ? By using the mailing-list, > > you > > have joined with us... Or you mean physically ? :-) > > ' ----- > > i have creating some applications in visual basic. it's like system > information for academic in my campus and so on. > do i could translate my code to gambas and then send it for you ? Of course. To me, or anybody else. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 17 19:37:47 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 17 Sep 2005 19:37:47 +0200 Subject: [Gambas-user] Console limit In-Reply-To: <20050913171001.M80149@...951...> References: <20050913171001.M80149@...951...> Message-ID: <200509171937.47605.gambas@...1...> On Tuesday 13 September 2005 19:13, nando wrote: > Benoit, > > I use the console as a 'real-time' debugging screen. > Is there a limit to the number of characters or lines? > I have PRINTed for over a week at a time, but get concerned > with the program halting because of unknown limits. > > -Fernando > > At the moment, the IDE console is a TextArea control. There is normally no limit, but the control is slower and slower when lines are inserted in it. Note that you don't have to use the IDE to run your program. You can use a shell to launch it and redirect the output to a file. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 17 19:42:36 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 17 Sep 2005 19:42:36 +0200 Subject: [Gambas-user] Modbus on serial port In-Reply-To: References: Message-ID: <200509171942.36915.gambas@...1...> On Wednesday 14 September 2005 08:57, ariafrancesco at ...86... wrote: > I am trying to implement the serial modbus protocol on gambas. > Bookcase was my intention to create a class that all could use but I have a > problem that I do not succeed to resolve. The instrument with which I try > to communicate seems that it understands what I send but does not answer to > me . What you know version 1,0,3 of gambas has of the problems with the > object of the serial port? > > In order to create the string to send to the instrument I use: > > strOutput = Chr$(CByte(Val ("&H "& strNode))) & Chr$(3) & Chr$(CByte(Val > ("&H" & Left$(varTemp, 2)))) & Chr$(CByte(Val ("&H "& Right$(varTemp, 2)))) > & Chr$(0) & Chr$(1) > > in order then to send it with: > > PRINT # Sport, (strOutput & Chr$(CByte(Val("&H "& Right$(strCRC, 2)))) & > Chr$(CByte(Val("&H" & Left$(strCRC, 2))))) If you don't end the PRINT with a semicolon, then a Chr$(10) is sent as end of line. Is it what you want? > > Is possible that problem is the character set ? > Gambas use UTF8 character set so is possible that using the Chr$ function > the instrument does not understand? You don't send strings on a serial port, you send bytes. Character set is only used when displaying a byte sequence. And UTF-8 == ASCII when the byte is between 0 and 127. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 17 19:44:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 17 Sep 2005 19:44:25 +0200 Subject: [Gambas-user] Re: Underscores in Control Titles In-Reply-To: <4328DDF8.8010604@...966...> References: <4328DDF8.8010604@...966...> Message-ID: <200509171944.25807.gambas@...1...> On Thursday 15 September 2005 04:35, A Person wrote: > Good Day . . . > > Two ampersands do not work. I tried everything possible over a couple of > months. The KDE ampersand function has a higher priority than Gambas so > it overrides any Gambas choices. (my guess). > > I had limited success with graphics. Special characters such as '<' and > '<<' do not generate ampersands in KDE 3.4.2 although they did in an > earlier version or maybe it is the newer Gambas. I tried spaces before > and after. I tried quotation marks. I tried using raised labels instead > of buttons. I tried . . . > > I could not find a way around the 'feature' other than removing the > earlier mentioned component. This is not really a problem unless you > want to use a KDE control such as DatePicker. > > This has cancelled one of my projects. I was writing a Bingo program > that had 150 buttons. It is totally ridiculous to have the underscore > show up randomly across the form. Why don't you write your own button class? It is not very complicated: you can use a DrawingArea with a border, the mouse events, and draw what you want inside. > > I want to try REALbasic when it evolves into a workable environment just > to get around this problem (and none graphical indexed controls). > > Hope this helps. > > Paul > Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 17 19:45:25 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 17 Sep 2005 19:45:25 +0200 Subject: [Gambas-user] Gambas SSH In-Reply-To: <200509151648.24241.sourceforge-raindog2@...94...> References: <4329D467.4090503@...1127...> <200509151648.24241.sourceforge-raindog2@...94...> Message-ID: <200509171945.25230.gambas@...1...> On Thursday 15 September 2005 22:48, Rob Kudla wrote: > On Thu September 15 2005 16:07, Kai wrote: > > Any one know how to get gambas to use ssh? > > SSH won't run without a TTY, so you need to write a wrapper program (I > used perl) to emulate a TTY for it. I don't have the code with me > today, but I'll try to remember to post it. > > Once you do that, it's just SHELL "sshwrapper -u user host" FOR READ > WRITE and treat it like any other program. > > I remember someone saying they were working on TTY emulation for > gambas2, but I don't know if it went anywhere. > > Rob > In the development version, by using SHELL ... FOR iNPUT OUTPUT, you run your command inside a pseudo-terminal! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Sep 17 20:00:46 2005 From: gambas at ...1... (Benoit Minisini) Date: Sat, 17 Sep 2005 20:00:46 +0200 Subject: [Gambas-user] Re: Gambas book In-Reply-To: <1126457573.6662.4.camel@...1091...> References: <1126457573.6662.4.camel@...1091...> Message-ID: <200509172000.46962.gambas@...1...> On Sunday 11 September 2005 18:52, John W. Rittinghouse wrote: > Hello Benoit, > > Yesterday, I asked Fabien to forward you the first 11 chapters of the > book for you to read/use to work on the foreword. I am going to need > your draft of the foreword in about 2 weeks. If you need help with it, > let me know. I am working on the Draw material this week. Still have > bit operations, database, and event/error management to finish. The > goal is to have this in to the publisher by 1 Oct 05. It should be in > print by mid November if we can make the deadline. I did not send the > file to you directly because it seems your mailbox cannot accept very > large files - this one was 3.7 Meg. Feel free to ask or comment on > anything. Thanks again for your help. > > > kind regards, > > John Rittinghouse (jr) Hi, John. I post this mail to the mailing-list too, as the problem I expose concerns everyone. I quickly read your book, and I noticed you have copied many parts of the online documentation, which may lead to problems. As nothing is specified, the online documentation is not free (like a beer or a speech). It is copyrighted by their respective authors, mainly me. I think we should choose a free (speech) licence for the documentation. Anyway, you can't copy it freely to write a proprietary book. Can you see with your editor if the book could be free (speech) ? It would be just a matter to make a PDF version of the book freely available on the Internet, and to let us including the book inside the online documentation. If the book must remain proprietary, you will have to rewrite the copied parts, but it would be stupid :-( As for the book contents, I think you should remove the 'GB' abbreviation, and use 'Gambas' everywhere. It reminds me 'VB' and gives me buttons :-) Did you plan to write a chapter about internationalization? And a chapter about the future features of Gambas 2 ? I will get your answer maybe Tuesday morning, or next week otherwise. Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Sat Sep 17 20:15:29 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 17 Sep 2005 20:15:29 +0200 Subject: [Gambas-user] Gambas SSH In-Reply-To: <200509171945.25230.gambas@...1...> References: <4329D467.4090503@...1127...> <200509151648.24241.sourceforge-raindog2@...94...> <200509171945.25230.gambas@...1...> Message-ID: <432C5D41.3000503@...512...> Benoit Minisini a ?crit : > > > In the development version, by using SHELL ... FOR iNPUT OUTPUT, you run your > command inside a pseudo-terminal! > Damned ! i've missed this nice (undocumented ?) feature Thanks you ! -- Laurent Carlier jabber : LordHeavy at ...943... From danielcampos at ...282... Sat Sep 17 21:00:26 2005 From: danielcampos at ...282... (danielcampos at ...282...) Date: Sat, 17 Sep 2005 21:00:26 +0200 Subject: [Gambas-user] Gambas SSH Message-ID: >Anyway, you can't copy it freely to write a proprietary book. I agree with that! I do not allow to use any part of the gb.net, gb.compress and gb.xml documentation written by me in a propietary book! So I hope the book will be able to change that license, or remove these parts... Regards, D. Campos ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From sourceforge-raindog2 at ...94... Sat Sep 17 21:36:19 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sat, 17 Sep 2005 15:36:19 -0400 Subject: [Gambas-user] Re: Gambas book In-Reply-To: <200509172000.46962.gambas@...1...> References: <1126457573.6662.4.camel@...1091...> <200509172000.46962.gambas@...1...> Message-ID: <200509171536.20516.sourceforge-raindog2@...94...> On Sat September 17 2005 14:00, Benoit Minisini wrote: > I think we should choose a free (speech) licence for the > documentation. > Anyway, you can't copy it freely to write a proprietary book. Yeah, I regret not changing the default TWiki notice "Copyright ? 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors." to read "Copyright $currentyear by the contributing authors. All material is available under a Creative Commons license (Attribution-ShareAlike.) Some rights reserved." before putting up the wiki. But it's too late for that now. Maybe you could do it in your code for the new.gambasdoc.org wiki. My solution so far for my own book (which I intend to publish under a Creative Commons license as well) has been to start creating my own minimal Gambas documentation from scratch, but the development version has changed so much in the last year that I'm essentially starting over again. And I don't feel it's too much to ask of the authors of books on languages to write their own reference material; authors of VB books have had to do that all along. It's just tedious work that could be better spent coming up with useful practical example code and the like. If anyone would like, I can assemble a list of contributors and which pages they contributed to, so that people who want to seek their permission to include their work in other documentation projects and books can do so. Maybe the dozen or so of us who have done the vast majority of work on the documentation would all be willing to adopt the Attribution-ShareAlike license for our work. Along the same lines, I wonder if the designer of the Gambas mascot (Fabien?) might be willing to offer it under a Creative Commons license. My writing is somewhat whimsical in tone and I hope to have both Tux and the Gambas mascot on the cover. Here is my own preferred Creative Commons license (very similar in intent to the GPL): http://creativecommons.org/licenses/by-sa/2.5/ I prefer the Creative Commons guys' licenses because I'm also a musician and sometimes write fiction, but for documentation they themselves recommend the GNU FDL (basically the GPL for documentation): http://www.gnu.org/copyleft/fdl.html The FDL is more restrictive in that it requires you to have a machine-readable version of your documentation available in a non-proprietary format. The terms of the license say that machine-generated HTML may not be acceptable, and Wiki pages are definitely machine-generated HTML, so I don't know whether we could really use that. Rob From jr at ...1090... Sat Sep 17 22:31:20 2005 From: jr at ...1090... (John Rittinghouse) Date: Sat, 17 Sep 2005 15:31:20 -0500 Subject: [Gambas-user] The Gambas Book Message-ID: <1126989080.12498.10.camel@...1130...> Folks, Just to clarify things about the book I have been working on. It is not a "for profit" book. I have agreed to put the material in the public domain after the book is published, had cleared this with the publisher long before this issue came up. It has NEVER been my intent to write this book for money. In fact, I am fronting most of the cost of publication for this book myself. I simply wanted to create a better set of documentation for the Gambas community as a whole since I feel it is something I can do fairly well. Some have already started flaming me and that is fine. I don't want to upset anyone...if there is anyone out there that feels I have slighted them or may be trying to take advantage, simply send me an email and I will try to respect your wishes about using material you may feel is owned by yourself regarding the book. As an aside, and for general interest, material, any material, copyrighted or not, that is placed in the public domain can be used for any purpose as long as it is properly cited and referenced and credit is given where appropriate (WIPO rules, not mine). I have never intended to do anything other than the best job i can to try and further the Gambas project. I apologize in advance if I have offended anyone. John W. Rittinghouse, Ph.D., CISM From sourceforge-raindog2 at ...94... Sat Sep 17 23:34:23 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sat, 17 Sep 2005 17:34:23 -0400 Subject: [Gambas-user] The Gambas Book In-Reply-To: <1126989080.12498.10.camel@...1130...> References: <1126989080.12498.10.camel@...1130...> Message-ID: <200509171734.25074.sourceforge-raindog2@...94...> On Sat September 17 2005 16:31, John Rittinghouse wrote: > As an aside, and for general interest, material, any material, > copyrighted or not, that is placed in the public domain can be used I know you meant well with this, but "copyrighted" and "public domain" are mutually exclusive terms. Placing something into the public domain means disclaiming any copyright or other proprietary right the author had on the work. And in Berne Convention countries at least, it must be done explicitly, except when a work's copyright expires (which currently means the work was created in 1923 or earlier, and that its author died more than 70 years ago.) While I think most of us who've contributed to the Gambas wiki and thus the Gambas documentation did so intending for it to be spread far and wide along with Gambas itself, all the entries are explicitly copyrighted by the author(s) who created them, using the notice I mentioned in my last post. This could even create problems with the distribution of Gambas, though I can't imagine that happening, and as you've already seen, can create problems for those of us who'd want to incorporate some of that documentation into a book. > for any purpose as long as it is properly cited and referenced and > credit is given where appropriate (WIPO rules, not mine). I have Once a work is in the public domain, you don't need to cite or reference or credit anything or anyone, because no one owns it anymore. It's not a well-regarded practice to claim public domain works as your own, but people incorporate parts of them all the time. However, if an author still holds copyright on a work, and hasn't spelled out terms under which people may automatically use that work, the terms are "all rights reserved". This limits our use of the material to the level of fair use.... quotations and attributed excerpts are fine, but wholesale copying will get us into trouble if someone has a problem with it. I have to think that all the Gambas contributors being from different countries will only complicate matters. To correct a common fallacy (that you yourself haven't used), anything covered by the GPL is not public domain, as the mechanism for enforcing the GPL is a copyright. See the wikipedia entry on public domain for more information: http://en.wikipedia.org/wiki/Public_domain Rob From rospolosco at ...152... Sun Sep 18 00:59:09 2005 From: rospolosco at ...152... (Stefano Palmeri) Date: Sun, 18 Sep 2005 00:59:09 +0200 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509141321.38493.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509140936.56482.radoslav.dejanovic@...116...> <200509141321.38493.sourceforge-raindog2@...94...> Message-ID: <200509180059.09517.rospolosco@...152...> Alle 19:21, mercoled? 14 settembre 2005, Rob Kudla ha scritto: > I think you misunderstand. ?Konqueror *doesn't* run Gambas > applications, despite the shebang. ?It prompts you for a program with > which to open your application, ignoring the shebang line altogether, > and displays a generic document icon for the application rather than > its icon. ?This is true as of KDE 3.4, at least. ?Try it. Hi all. This is a little 3 steps HOWTO to make Konqueror run gambas applications when you click on it. Note: YOURKDE is the installation directory of KDE in your system. In my Slackware 10.0 is /opt/kde. To know yours just type on console: kde-config --prefix. 1) create the text file YOURKDE/share/mimelnk/application/x-gambas.desktop Edit it and add these lines: [Desktop Entry] Encoding=UTF-8 Comment=Gambas Executable Comment[it]=Eseguibile Gambas Icon=binary Type=MimeType MimeType=application/x-gambas 2) create the text file "YOURKDE/share/applnk/.hidden/gbx.desktop" (see the dot before hidden) Edit it and add these lines: [Desktop Entry] Exec=gbx -x InitialPreference=1 MimeType=application/x-gambas Name=gbx Terminal=false Type=Application WARNING: next file already exists!!! You have just to edit it... Be carefull!!! 3) Edit the file "YOURKDE/share/mimelnk/magic" and add this line: 0 string #!/usr/bin/gbx application/x-gambas That's all. Restart your kde session. The gambas executables will have the generic icon "binary" and you will be able to run them just clicking on them. Ciao, Stefano P.S. This is tested with kde 3.2.3 and Slackware 10.0 From garretthylltun at ...626... Sun Sep 18 03:03:22 2005 From: garretthylltun at ...626... (Garrett R. Hylltun) Date: Sat, 17 Sep 2005 18:03:22 -0700 Subject: [Gambas-user] Re: Gambas book In-Reply-To: <200509172000.46962.gambas@...1...> References: <1126457573.6662.4.camel@...1091...> <200509172000.46962.gambas@...1...> Message-ID: <1127005402.26362.0.camel@...37...> On Sat, 2005-09-17 at 20:00 +0200, Benoit Minisini wrote: [snip] > As for the book contents, I think you should remove the 'GB' abbreviation, and [snip] Also reminds me of the now defunct "Gnome Basic". -Garrett From comtux at ...626... Sun Sep 18 06:20:50 2005 From: comtux at ...626... (Steve Starr) Date: Sun, 18 Sep 2005 04:20:50 +0000 Subject: [Gambas-user] Re: Gambas book In-Reply-To: <1127005402.26362.0.camel@...37...> References: <1126457573.6662.4.camel@...1091...> <200509172000.46962.gambas@...1...> <1127005402.26362.0.camel@...37...> Message-ID: <78f4b767050917212020065673@...627...> So if we include this. Copyright (c) 1999-2005 by the contributing authors. All material on this collaboration platform is the property of the contributing authors. And make the what ever documentation project we create open source we are free to use what ever resources in the gambas documentation with out limitation besides what was mentiond above? On 9/18/05, Garrett R. Hylltun wrote: > On Sat, 2005-09-17 at 20:00 +0200, Benoit Minisini wrote: > [snip] > > As for the book contents, I think you should remove the 'GB' abbreviation, > and > [snip] > > Also reminds me of the now defunct "Gnome Basic". > > -Garrett > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Sun Sep 18 08:05:31 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 18 Sep 2005 02:05:31 -0400 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509180059.09517.rospolosco@...152...> References: <78f4b76705091215556d8529e3@...627...> <200509141321.38493.sourceforge-raindog2@...94...> <200509180059.09517.rospolosco@...152...> Message-ID: <200509180205.32687.sourceforge-raindog2@...94...> On Sat September 17 2005 18:59, Stefano Palmeri wrote: > Hi all. This is a little 3 steps HOWTO to make Konqueror run gambas > applications when you click on it. Thanks, I'll try to integrate this into my RPM's in the future. Maybe there's even a GNOME/KDE agnostic way to do it. One thing though... > WARNING: next file already exists!!! You have just to edit it... Be > carefull!!! > 3) Edit the file "YOURKDE/share/mimelnk/magic" and add this line: > 0 string #!/usr/bin/gbx application/x-gambas I wonder if there's any way to get this file to include other files, or a .d directory, or something else that would prevent users from having to edit this file (and prevent my package's postinstall script from having to add the line and the postuninstall script from having to find and remove it.) Rob From sourceforge-raindog2 at ...94... Sun Sep 18 08:09:32 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 18 Sep 2005 02:09:32 -0400 Subject: [Gambas-user] Re: Gambas book In-Reply-To: <78f4b767050917212020065673@...627...> References: <1126457573.6662.4.camel@...1091...> <1127005402.26362.0.camel@...37...> <78f4b767050917212020065673@...627...> Message-ID: <200509180209.33748.sourceforge-raindog2@...94...> On Sun September 18 2005 00:20, Steve Starr wrote: > So if we include this. > Copyright (c) 1999-2005 by the contributing authors. All material [...] > And make the what ever documentation project we create open source > we are free to use what ever resources in the gambas documentation > with out limitation besides what was mentiond above? I think that practically speaking, most or all of us who've contributed to the documentation would have no problem with that, but legally speaking, no, you couldn't do that right now. There's no license grant mentioned in the TWiki default copyright statement that you copied and pasted above, and the default under copyright law is "all rights reserved", meaning no copying allowed. So, that language needs to be changed before we go much further, while we can still count all the major contributors on 2 hands. Rob From oreip at ...1... Sun Sep 18 10:34:23 2005 From: oreip at ...1... (PV) Date: Sun, 18 Sep 2005 10:34:23 +0200 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509180059.09517.rospolosco@...152...> References: <78f4b76705091215556d8529e3@...627...> <200509140936.56482.radoslav.dejanovic@...116...> <200509141321.38493.sourceforge-raindog2@...94...> <200509180059.09517.rospolosco@...152...> Message-ID: <432D268F.6060709@...1...> On 18/09/2005 00:59, Stefano Palmeri wrote: > Alle 19:21, mercoled?? 14 settembre 2005, Rob Kudla ha scritto: > >>I think you misunderstand. ? Konqueror *doesn't* run Gambas >>applications, despite the shebang. ? It prompts you for a program with >>which to open your application, ignoring the shebang line altogether, >>and displays a generic document icon for the application rather than >>its icon. ? This is true as of KDE 3.4, at least. ? Try it. > > > Hi all. This is a little 3 steps HOWTO to make Konqueror run gambas > applications when you click on it. > > Note: YOURKDE is the installation directory of KDE in your system. > In my Slackware 10.0 is /opt/kde. To know yours just type > on console: kde-config --prefix. > > 1) create the text file YOURKDE/share/mimelnk/application/x-gambas.desktop > Edit it and add these lines: > > [Desktop Entry] > Encoding=UTF-8 > Comment=Gambas Executable > Comment[it]=Eseguibile Gambas > Icon=binary > Type=MimeType > MimeType=application/x-gambas > > 2) create the text file "YOURKDE/share/applnk/.hidden/gbx.desktop" (see the > dot before hidden) > Edit it and add these lines: > > [Desktop Entry] > Exec=gbx -x > InitialPreference=1 > MimeType=application/x-gambas > Name=gbx > Terminal=false > Type=Application > > WARNING: next file already exists!!! You have just to edit it... Be > carefull!!! > > 3) Edit the file "YOURKDE/share/mimelnk/magic" and add this line: > 0 string #!/usr/bin/gbx application/x-gambas > > That's all. Restart your kde session. The gambas executables > will have the generic icon "binary" and you will be able > to run them just clicking on them. > > Ciao, > > Stefano > > P.S. This is tested with kde 3.2.3 and Slackware 10.0 Thanks Stefano, that's very useful information! To create an alternative "user" configuration (so that upgrading to a new KDE version won't sweep your changes away) I created the files in point 1) and 2) in my personal KDE dir (simply change YOURKDE from /opt/kde to ~/.kde, Slackware 10.1, KDE 3.4). Regarding point 3), instead of changing the "central" mime magic file, you can safely create a new directory ~/.kde/share/config/magic/. In this new directory, create a text file named gambas.magic with the same line as indicated by Stefano and finally restart the KDE session. This way you won't touch any original conf files and you don't even need root access to make the changes. Hope it helps. Ciao, Piero From lordheavy at ...512... Sun Sep 18 11:09:39 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Sun, 18 Sep 2005 11:09:39 +0200 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <432D268F.6060709@...1...> References: <78f4b76705091215556d8529e3@...627...> <200509140936.56482.radoslav.dejanovic@...116...> <200509141321.38493.sourceforge-raindog2@...94...> <200509180059.09517.rospolosco@...152...> <432D268F.6060709@...1...> Message-ID: <432D2ED3.3000806@...512...> PV a ?crit : > On 18/09/2005 00:59, Stefano Palmeri wrote: > >> Alle 19:21, mercoled?? 14 settembre 2005, Rob Kudla ha scritto: >> >>> I think you misunderstand. ? Konqueror *doesn't* run Gambas >>> applications, despite the shebang. ? It prompts you for a program with >>> which to open your application, ignoring the shebang line altogether, >>> and displays a generic document icon for the application rather than >>> its icon. ? This is true as of KDE 3.4, at least. ? Try it. >> >> >> >> Hi all. This is a little 3 steps HOWTO to make Konqueror run gambas >> applications when you click on it. >> Note: YOURKDE is the installation directory of KDE in your system. In >> my Slackware 10.0 is /opt/kde. To know yours just type on console: >> kde-config --prefix. >> >> 1) create the text file >> YOURKDE/share/mimelnk/application/x-gambas.desktop >> Edit it and add these lines: >> >> [Desktop Entry] >> Encoding=UTF-8 >> Comment=Gambas Executable >> Comment[it]=Eseguibile Gambas >> Icon=binary >> Type=MimeType >> MimeType=application/x-gambas >> >> 2) create the text file "YOURKDE/share/applnk/.hidden/gbx.desktop" >> (see the dot before hidden) Edit it and add these lines: >> >> [Desktop Entry] >> Exec=gbx -x >> InitialPreference=1 >> MimeType=application/x-gambas >> Name=gbx >> Terminal=false >> Type=Application >> >> WARNING: next file already exists!!! You have just to edit it... Be >> carefull!!! >> >> 3) Edit the file "YOURKDE/share/mimelnk/magic" and add this line: >> 0 string #!/usr/bin/gbx application/x-gambas >> >> That's all. Restart your kde session. The gambas executables >> will have the generic icon "binary" and you will be able >> to run them just clicking on them. >> >> Ciao, >> >> Stefano >> >> P.S. This is tested with kde 3.2.3 and Slackware 10.0 > > > Thanks Stefano, that's very useful information! > > To create an alternative "user" configuration (so that upgrading to a > new KDE version won't sweep your changes away) I created the files in > point 1) and 2) in my personal KDE dir (simply change YOURKDE from > /opt/kde to ~/.kde, Slackware 10.1, KDE 3.4). > > Regarding point 3), instead of changing the "central" mime magic file, > you can safely create a new directory ~/.kde/share/config/magic/. > In this new directory, create a text file named gambas.magic with the > same line as indicated by Stefano and finally restart the KDE session. > > This way you won't touch any original conf files and you don't even need > root access to make the changes. > > Hope it helps. > > Ciao, > Piero > And what about submission of this work to the KDE team ? It perhaps will be include in the next major/bugfix release ? Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From kai at ...1127... Sun Sep 18 11:47:03 2005 From: kai at ...1127... (Kai) Date: Sun, 18 Sep 2005 10:47:03 +0100 Subject: [Gambas-user] Gambas SSH In-Reply-To: <432C5D41.3000503@...512...> References: <4329D467.4090503@...1127...> <200509151648.24241.sourceforge-raindog2@...94...> <200509171945.25230.gambas@...1...> <432C5D41.3000503@...512...> Message-ID: <432D3797.60402@...1127...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi after much testing i came up with this: DIM command AS String DIM name AS String DIM pass AS String DIM ipinfo AS String '' make ssh connection to remote server name = txtUserName.Text ipinfo = txtServerIp.Text command = "/usr/bin/ssh " & name & "@" & ipinfo SHELL command pass = txtPassword.Text IF command = TRUE THEN pass END IF when im stepping through the code every thing seems to goto plan then at pass = txtPassword.Text i get a console showing with the following and im not too sure what to make of it Pseudo-terminal will not be allocated because stdin is not a terminal Any one know what that means ? Thanks -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDLTeXw4vrCsJF5ScRAqj1AKDjGCi1PbgtEpjcTk/MuNgJXQUIKwCePc5q paPbD/7su+cxOJ7/yp2OrBg= =vohs -----END PGP SIGNATURE----- From stefanopalmeri at ...152... Mon Sep 19 01:17:29 2005 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 19 Sep 2005 01:17:29 +0200 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <432D268F.6060709@...1...> References: <78f4b76705091215556d8529e3@...627...> <200509180059.09517.rospolosco@...152...> <432D268F.6060709@...1...> Message-ID: <200509190117.29305.stefanopalmeri@...152...> Alle 10:34, domenica 18 settembre 2005, PV ha scritto: > Thanks Stefano, that's very useful information! > > To create an alternative "user" configuration (so that upgrading to a new > KDE version won't sweep your changes away) I created the files in point 1) > and 2) in my personal KDE dir (simply change YOURKDE from /opt/kde to > ~/.kde, Slackware 10.1, KDE 3.4). > > Regarding point 3), instead of changing the "central" mime magic file, you > can safely create a new directory ~/.kde/share/config/magic/. > In this new directory, create a text file named gambas.magic with the same > line as indicated by Stefano and finally restart the KDE session. > > This way you won't touch any original conf files and you don't even need > root access to make the changes. > > Hope it helps. > > Ciao, > Piero Ciao, Piero. I know that is possible to do the job in $HOME./kde, but with my kde 3.2.3 on Slackware 10.0 the local "magic" overwrites the general "magic" and all mime types and their relative icons were lost. I don't know if this is a bug of my kde version or what else. I was forced to do a system wide configuration... I think it's time that the KDE team provides a magic file with support for Gambas... Stefano From stefanopalmeri at ...152... Mon Sep 19 01:20:35 2005 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 19 Sep 2005 01:20:35 +0200 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <200509180205.32687.sourceforge-raindog2@...94...> References: <78f4b76705091215556d8529e3@...627...> <200509180059.09517.rospolosco@...152...> <200509180205.32687.sourceforge-raindog2@...94...> Message-ID: <200509190120.35128.stefanopalmeri@...152...> Alle 08:05, domenica 18 settembre 2005, Rob Kudla ha scritto: > I wonder if there's any way to get this file to include other files, > or a .d directory, or something else that would prevent users from > having to edit this file (and prevent my package's postinstall script > from having to add the line and the postuninstall script from having > to find and remove it.) > > Rob I'm investigating... Stefano From stefanopalmeri at ...152... Mon Sep 19 01:54:50 2005 From: stefanopalmeri at ...152... (Stefano Palmeri) Date: Mon, 19 Sep 2005 01:54:50 +0200 Subject: [Gambas-user] Creating excutibles in version 2 In-Reply-To: <432D268F.6060709@...1...> References: <78f4b76705091215556d8529e3@...627...> <200509180059.09517.rospolosco@...152...> <432D268F.6060709@...1...> Message-ID: <200509190154.50486.stefanopalmeri@...152...> Alle 10:34, domenica 18 settembre 2005, PV ha scritto: > Regarding point 3), instead of changing the "central" mime magic file, you > can safely create a new directory ~/.kde/share/config/magic/. > In this new directory, create a text file named gambas.magic with the same > line as indicated by Stefano and finally restart the KDE session. > > This way you won't touch any original conf files and you don't even need > root access to make the changes. > > Hope it helps. > > Ciao, > Piero Hey, this is a very good solution for Rob Kudla RPMs. No need to touch general kde magic!!! He could just create the file gambas.magic in KDE_INST_DIR/share/config/magic/ with the postinstall script... Ciao, Stefano From paulo.figueiredo at ...1094... Mon Sep 19 15:25:49 2005 From: paulo.figueiredo at ...1094... (Figueiredo) Date: Mon, 19 Sep 2005 10:25:49 -0300 Subject: [Gambas-user] DB Transaction (MYSQL) Message-ID: <002501c5bd1d$a6a4b300$3b01010a@...1094...> Hi, I'm trying to use "db.begin" with mysql database and it doesn't work, is this feature ok ? Please if someone have any tips.... In fact i need to recovery the id of an autoincrement field and I'm using the last_insert_id() in a transaction Insert, an i have no success, not yet. thank you all Paulo Figueiredo -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariafrancesco at ...86... Mon Sep 19 15:27:56 2005 From: ariafrancesco at ...86... (ariafrancesco@inwind.it) Date: Mon, 19 Sep 2005 15:27:56 +0200 Subject: [Gambas-user] Convert an Hex To integer (Val Function) Message-ID: Why the function : Val("&HC3C2") respond with -15422 (a short) when the correct value is 50114 (an integer) ?? How can I convert an Hex like C3C2 in an Integer ?? From pvera at ...729... Mon Sep 19 15:53:31 2005 From: pvera at ...729... (Pablo Vera) Date: Mon, 19 Sep 2005 08:53:31 -0500 Subject: [Gambas-user] Convert an Hex To integer (Val Function) In-Reply-To: References: Message-ID: <432EC2DB.3020006@...729...> Put an ampersand at the end, like this: Val("&HC3C2&") it returns 50114. Saludos, Pablo Vera __________________________________________________________1 ariafrancesco at ...86... wrote: > Why the function : > > Val("&HC3C2") respond with -15422 (a short) > when the correct value is 50114 (an integer) ?? > > How can I convert an Hex like C3C2 in an Integer ?? > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From ariafrancesco at ...86... Mon Sep 19 22:14:25 2005 From: ariafrancesco at ...86... (ariafrancesco@inwind.it) Date: Mon, 19 Sep 2005 22:14:25 +0200 Subject: [Gambas-user] Convert an Hex To integer (Val Function) Message-ID: Thaks Pablo . Now my program works . I'm near to implemts the modbus protocol on Gambas. For the moment i can read from a Serial modbus net (RS485). Last step is implemt write OP (50% of the work is done) Thanks to all :-)) ---------- Initial Header ----------- From andre.gambas at ...626... Tue Sep 20 00:19:52 2005 From: andre.gambas at ...626... (Andre Saccomani) Date: Mon, 19 Sep 2005 19:19:52 -0300 Subject: [Gambas-user] Reading international character from a file Message-ID: <4d3e143605091915193a3f71f3@...627...> Hi guys, I'm trying to make a subtitle adjuster using gambas. until now I succeed in open the file, put it into a listview and on. The problem is that international characters, like ?,?.. and on are showing as blocks and not as I expected. Can someone help me with this? Regards Andre -------------- next part -------------- An HTML attachment was scrubbed... URL: From nigel at ...38... Tue Sep 20 10:51:04 2005 From: nigel at ...38... (nigel at ...38...) Date: Tue, 20 Sep 2005 10:51:04 +0200 (CEST) Subject: [Gambas-user] DB Transaction (MYSQL) Message-ID: <11209507.1127206264621.JavaMail.www@...1133...> MySQL only supports transactions for table type innoDB. Are you sure that the tables you wish to rollback are this type? The sql command 'show table status' will list tables and show their types. Regards Nigel > Message Received: Sep 19 2005, 02:27 PM > From: "Figueiredo" > To: gambas-user at lists.sourceforge.net > Cc: > Subject: [Gambas-user] DB Transaction (MYSQL) > > Hi, I'm trying to use "db.begin" with mysql database and it doesn't work, is this feature ok ? Please if someone have any tips.... In fact i need to recovery the id of an autoincrement field and I'm using the last_insert_id() in a transaction Insert, an i have no success, not yet. thank you all Paulo Figueiredo > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ariafrancesco at ...86... Tue Sep 20 18:07:58 2005 From: ariafrancesco at ...86... (ariafrancesco@inwind.it) Date: Tue, 20 Sep 2005 18:07:58 +0200 Subject: [Gambas-user] Convert an Hex To integer (Val Function) Message-ID: :-(( Work but only unsigned . :-(( ---------- Initial Header ----------- From pvera at ...729... Tue Sep 20 18:22:11 2005 From: pvera at ...729... (Pablo Vera) Date: Tue, 20 Sep 2005 11:22:11 -0500 Subject: [Gambas-user] Convert an Hex To integer (Val Function) In-Reply-To: References: Message-ID: <43303733.6030605@...729...> What ??? Did you try to convert a negative hex number ?, like: Val("-&HC3C2&") this returns: -50114 Or what do you mean ? Saludos, Pablo Vera ariafrancesco at ...86... wrote: > :-(( > > Work but only unsigned . > > :-(( > > ---------- Initial Header ----------- > >>Thaks Pablo . >>Now my program works . >> >>I'm near to implemts the modbus protocol on Gambas. >>For the moment i can read from a Serial modbus net (RS485). >>Last step is implemt write OP (50% of the work is done) >> >>Thanks to all :-)) >> >>---------- Initial Header ----------- >> >>>Put an ampersand at the end, like this: >>> >>> Val("&HC3C2&") >>> >>>it returns 50114. >>> >>>Saludos, >>>Pablo Vera >>>__________________________________________________________1 >>> >>>ariafrancesco at ...86... wrote: >>> >>>>Why the function : >>>> >>>>Val("&HC3C2") respond with -15422 (a short) >>>>when the correct value is 50114 (an integer) ?? >>>> >>>>How can I convert an Hex like C3C2 in an Integer ?? From ariafrancesco at ...86... Tue Sep 20 22:34:58 2005 From: ariafrancesco at ...86... (ariafrancesco@inwind.it) Date: Tue, 20 Sep 2005 22:34:58 +0200 Subject: [Gambas-user] Convert an Hex To integer (Val Function) Message-ID: I find this in the Gambas help +------------------------------------+--------------------------+ ! Hexadecimal short signed integers. ! &H1F5, &HFFFF, &FFFF ! ! Hexadecimal signed integers. ! &H10BF332E, &10BF332E ! <== ! Hexadecimal unsigned integers. ! &H8000&, &HFFFF& ! +------------------------------------+--------------------------+ I think that probably the 3rd line is the solution of my problem. I'll try it and then say you if it work. I find it searcing "Costants" in the Gambas Help Asta manana Pablo :-) me falta la egne Saludos , de Italia ---------- Initial Header ----------- From eilert-sprachen at ...221... Wed Sep 21 09:56:08 2005 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 21 Sep 2005 09:56:08 +0200 Subject: [Gambas-user] Find an item in a TreeView Message-ID: <43311218.8030404@...221...> Hi folks, there is a TreeView in a dialog in my application that lets the user pick a printing form. When the user calls the dialog a second time, I would like to have it expanded and marked at the previous position, so the user would not have to search the form again. The dialog saves the paths to the printing forms as keys in the TreeView, so they are unique and would give a good starting point for this. But I cannot make out where to put a key string (or whatever) to make the TreeView expand the branch and mark the item. There is "find", but it takes X/Y coordinates, and it reports Boolean only. So, can someone help? Thanks in advance. Rolf From nigel at ...38... Wed Sep 21 13:55:25 2005 From: nigel at ...38... (nigel at ...38...) Date: Wed, 21 Sep 2005 13:55:25 +0200 (CEST) Subject: [Gambas-user] Find an item in a TreeView Message-ID: <19824007.1127303725814.JavaMail.www@...718...> Eilert, Try using TreeView.MoveTo(key) TreeView.Item.Selected = TRUE TreeView.Item.Expanded = TRUE regards Nigel > Message Received: Sep 21 2005, 08:58 AM > From: "Eilert" > To: gambas-user at lists.sourceforge.net > Cc: > Subject: [Gambas-user] Find an item in a TreeView > > Hi folks, > > there is a TreeView in a dialog in my application that lets the user > pick a printing form. > > When the user calls the dialog a second time, I would like to have it > expanded and marked at the previous position, so the user would not have > to search the form again. > > The dialog saves the paths to the printing forms as keys in the > TreeView, so they are unique and would give a good starting point for this. > > But I cannot make out where to put a key string (or whatever) to make > the TreeView expand the branch and mark the item. > > There is "find", but it takes X/Y coordinates, and it reports Boolean > only. So, can someone help? > > Thanks in advance. > > Rolf > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eilert-sprachen at ...221... Wed Sep 21 16:33:50 2005 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 21 Sep 2005 16:33:50 +0200 Subject: [Gambas-user] Find an item in a TreeView In-Reply-To: <19824007.1127303725814.JavaMail.www@...718...> References: <19824007.1127303725814.JavaMail.www@...718...> Message-ID: <43316F4E.2050709@...221...> Hi Nigel, thanks for your tip. It works, but > TreeView.MoveTo(key) > > TreeView.Item.Selected = TRUE > > TreeView.Item.Expanded = TRUE instead of .Expanded I had to use .EnsureVisible to make the entry show up. Regards Rolf From garretthylltun at ...626... Thu Sep 22 01:11:53 2005 From: garretthylltun at ...626... (Garrett) Date: Wed, 21 Sep 2005 16:11:53 -0700 Subject: [Gambas-user] DirView and FileView Props Message-ID: <200509211611.53813.garretthylltun@...626...> What are the properties to get and set the directory for these components? Thanks in advance, -Garrett From orven_llantos at ...43... Thu Sep 22 10:06:01 2005 From: orven_llantos at ...43... (Orven Llantos) Date: Thu, 22 Sep 2005 09:06:01 +0100 (BST) Subject: [Gambas-user] odbc driver installation Message-ID: <20050922080602.83102.qmail@...1136...> hi guys, i have compiled gambas and was able to get oriented to it for a while. but i got problems when connecting to postgresql database. i have installed the postgre database on my system and when i do the ./configure command some are disabled (s.a., mysql...) except of course for postgre. but the question in my mind is why is it that gb.db.odbc is disabled? what went wrong? how can i install the odbc driver in gambas? for a detailed description of my system. i am using fedora core 4 os, which by the way doesn't support the yum install gambas command. guys, i need help on this. pls.... sincerely, Orven E. Llantos Send instant messages to your online friends http://uk.messenger.yahoo.com From orven_llantos at ...43... Thu Sep 22 10:35:09 2005 From: orven_llantos at ...43... (Orven Llantos) Date: Thu, 22 Sep 2005 09:35:09 +0100 (BST) Subject: [Gambas-user] support to revious question Message-ID: <20050922083509.59683.qmail@...739...> hi guys, this is the ./config message telling me the reason why ODBC driver is disabled. : : checking for ODBC driver headers... no (1) checking for ODBC driver libraries... /usr/lib WARNING: *** ODBC driver is disabled Send instant messages to your online friends http://uk.messenger.yahoo.com From orven_llantos at ...43... Thu Sep 22 10:38:29 2005 From: orven_llantos at ...43... (Orven Llantos) Date: Thu, 22 Sep 2005 09:38:29 +0100 (BST) Subject: [Gambas-user] support to revious question Message-ID: <20050922083829.11033.qmail@...1137...> hi guys, this is the ./configure message telling me the reason why ODBC driver is disabled. : : checking for ODBC driver headers... no (1) checking for ODBC driver libraries... /usr/lib WARNING: *** ODBC driver is disabled : : in (1), i interpreted it as gambas didn't find the driver headers. isn't it included in the package? if not, where can i download it? what do i need to do to solve this problem? Sincerely, Orven E. Llantos Send instant messages to your online friends http://uk.messenger.yahoo.com From danielcampos at ...282... Thu Sep 22 14:18:45 2005 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 22 Sep 2005 14:18:45 +0200 Subject: [Gambas-user] gambas-devel@lists.sourceforge.net Message-ID: <1127391525.21549.9.camel@...1128...> Hi: It took a time, but here's a new update of the gb.gtk component, still alpha and weak but useable :-) http://gambas.gnulinex.org/gtk/ Main Changes (Benoit, take a look, please): * NEW: "Separator" widget added. A simple widget which shows an horizontal or vertical separator line (it depends on the Width and Height of the control). this is very useful, to separate buttons in a toolbar, for example. It shows the line according with the use theme. Note that this implementation can do no more: no way to change border style, and things like this. * NEW: "Label" and "TextLabel" controls have a "Transparent" property now. it is very useful for interfaces using windows with a mask. to implement it, I just draw the text twice: the first one in the control and the second one in a mask, that I combine with the widget. I suppose QT can do the same... * NEW: "Button" and "ToggleButton" have a new boolean property "Vertical". If set, the picture is shown in the Top side instead of the Left side of the button. I'm not sure about the name of that property, however using "Arrangement" with two constants: LeftRigth and TopLeft for that seems to be more complicated... What does Benoit think about that? :-) * NEW: "TextLabel" and "Message" are able handle some HTML tags: ,,,,,,,,,

...

,

,
, and are able to ignore unrecognized tags and to parse not XML formatted strings. * NEW: "Lang","Timer", and "Error" hooks implemented. * NEW: "Label.Autoresize" property implemented. * FIXED: "ScrollBar" is aligned at top or left of the control when there's extra space, as gb.qt does. * FIXED: Some "Container" arrangement problems. * FIXED: "HSplit" and "VSplit" arrangement fixed. * FIXED: "TextLabel" horizontal alignment was wrong. * FIXED: "Stock" icons take the current theme in account. * FIXED: "ToolButton" click event is working now. * FIXED: "Label" and "TextLabel" controls redesigned. * FIXED: Segmentation fault in the "Stock" class. * FIXED: "Window" size is working in transitions from border resizable to fixed. * FIXED: "Picture" cache redesigned. * FIXED: "ComboBox" background and foreground colors fixed. Regards, D. Campos From sourceforge-raindog2 at ...94... Thu Sep 22 14:52:16 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Thu, 22 Sep 2005 08:52:16 -0400 Subject: [Gambas-user] support to revious question In-Reply-To: <20050922083829.11033.qmail@...1137...> References: <20050922083829.11033.qmail@...1137...> Message-ID: <200509220852.17580.sourceforge-raindog2@...94...> On Thu September 22 2005 04:38, Orven Llantos wrote: > checking for ODBC driver headers... no (1) > in (1), i interpreted it as gambas didn't find the > driver headers. isn't it included in the package? if > not, where can i download it? what do i need to do to > solve this problem? If the Linux ODBC package is called "libunixODBC1", as it is on Mandriva, try "yum install libunixODBC1-devel". If it's called something else, adjust as appropriate. I'm not sure why yum install gambas doesn't work for you, since it seems to be out there: http://fedoraproject.org/extras/4/i386/repodata/repoview/gambas-0-1.0.11-1.fc4.html But it doesn't matter because the ODBC support is in gambas2, not gambas, and I can't find that in the standard Fedora repositories. Rob From eilert-sprachen at ...221... Thu Sep 22 15:41:22 2005 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 22 Sep 2005 15:41:22 +0200 Subject: [Gambas-user] Gambas 2 on Suse 9.1 doesn't compile Message-ID: <4332B482.7050805@...221...> Hi folks, I was just curious to try Gambas 2, but on my Suse 9.1 configure produces this error THESE COMPONENTS ARE DISABLED: - gb.db.mysql - gb.db.odbc - gb.db.postgresql - gb.db.sqlite - gb.db.sqlite3 - gb.gtk - gb.net.curl - gb.sdl - gb.sdl.opengl and when I start make, it will stop after a minute saying gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -Wno-unused-value -g -Os -MT regexp.lo -MD -MP -MF .deps/regexp.Tpo -c regexp.c -fPIC -DPIC -o .libs/regexp.o regexp.c:368: error: `PCRE_ERROR_BADUTF8_OFFSET' undeclared here (not in a function) regexp.c:368: error: initializer element is not constant regexp.c:368: error: (near initialization for `CRegexpDesc[29].val2') regexp.c:368: error: initializer element is not constant regexp.c:368: error: (near initialization for `CRegexpDesc[29]') regexp.c:370: error: initializer element is not constant regexp.c:370: error: (near initialization for `CRegexpDesc[30]') regexp.c:371: error: initializer element is not constant regexp.c:371: error: (near initialization for `CRegexpDesc[31]') regexp.c:372: error: initializer element is not constant regexp.c:372: error: (near initialization for `CRegexpDesc[32]') regexp.c:374: error: initializer element is not constant regexp.c:374: error: (near initialization for `CRegexpDesc[33]') make[4]: *** [regexp.lo] Fehler 1 make[4]: Leaving directory `/home/tester/Downloads/gambas2/gambas2-1.9.20/gb.pcre/src' make[3]: *** [all-recursive] Fehler 1 make[3]: Leaving directory `/home/tester/Downloads/gambas2/gambas2-1.9.20/gb.pcre' make[2]: *** [all] Fehler 2 make[2]: Leaving directory `/home/tester/Downloads/gambas2/gambas2-1.9.20/gb.pcre' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/tester/Downloads/gambas2/gambas2-1.9.20' make: *** [all] Fehler 2 Is there a chance to make it run on my system? Regards Rolf From andrea_bortolan at ...325... Thu Sep 22 17:04:36 2005 From: andrea_bortolan at ...325... (Andrea Bortolan) Date: Thu, 22 Sep 2005 17:04:36 +0200 (CEST) Subject: [Gambas-user] odbc driver installation In-Reply-To: <20050922080602.83102.qmail@...1136...> Message-ID: <20050922150436.78240.qmail@...1138...> In order to compile the odbc support in Gambas you need to install and compile the unixodbc package. It is available at www.unixodbc.org. I hope this can help. Orven Llantos ha scritto: hi guys, i have compiled gambas and was able to get oriented to it for a while. but i got problems when connecting to postgresql database. i have installed the postgre database on my system and when i do the ./configure command some are disabled (s.a., mysql...) except of course for postgre. but the question in my mind is why is it that gb.db.odbc is disabled? what went wrong? how can i install the odbc driver in gambas? for a detailed description of my system. i am using fedora core 4 os, which by the way doesn't support the yum install gambas command. guys, i need help on this. pls.... sincerely, Orven E. Llantos Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user --------------------------------- Yahoo! Messenger: chiamate gratuite in tutto il mondo -------------- next part -------------- An HTML attachment was scrubbed... URL: From orven_llantos at ...43... Fri Sep 23 10:40:30 2005 From: orven_llantos at ...43... (Orven Llantos) Date: Fri, 23 Sep 2005 09:40:30 +0100 (BST) Subject: [Gambas-user] not enough? Message-ID: <20050923084030.33796.qmail@...1136...> Rob and Andrea, Thanks for answering my previous query, i did all you asked me to do. but i don't what's wrong, it seemed that gambas2 still generates the following runtime message when i try to connect to postgresql: cannot find driver for database: postgresql. for you to understand what i did, i will be writing it here; when i compile the postgreSQL 8 database i added the option --with-odbc. but since it didn't worked i posted a "help" message here. next, i downloaded the unixODBC and successfully compiled it. since the --with-odbc option doesn't work i downloaded the psqlODBC8.00.0100 and compiled it on my system and everything went ok. since i'm using gambas2...18 i downloaded the gambas2...20 and compiled it. i didn't make any uninstall to the previous installation. everything went ok. but i still cannot connect to postgre server. when i used the gambas database manager to search for active database servers, it detected the postgresql database. but again it cannot connect. :-( the question now on my mind is "how can i get over it?" i'm desperate..... Sincerely, Orven E. Llantos Send instant messages to your online friends http://uk.messenger.yahoo.com From josemar_mariano at ...494... Fri Sep 23 12:52:13 2005 From: josemar_mariano at ...494... (Josemar) Date: Fri, 23 Sep 2005 07:52:13 -0300 Subject: [Gambas-user] menu popup In-Reply-To: <20050923030813.7203088F15@...763...> References: <20050923030813.7203088F15@...763...> Message-ID: <4333DE5D.8040609@...494...> hi please, how to, make menu popup ? tanks --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0538-6, 21/09/2005 Tested on: 23/9/2005 07:52:20 avast! - copyright (c) 1988-2004 ALWIL Software. http://www.avast.com _______________________________________________________ Novo Yahoo! Messenger com voz: liga??es, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! www.yahoo.com.br/messenger/ From danielcampos at ...282... Fri Sep 23 12:58:02 2005 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 23 Sep 2005 12:58:02 +0200 Subject: [Gambas-user] menu popup In-Reply-To: <4333DE5D.8040609@...494...> References: <20050923030813.7203088F15@...763...> <4333DE5D.8040609@...494...> Message-ID: <1127473082.9774.0.camel@...1128...> menu.Popup() Regards, D. Campos El vie, 23-09-2005 a las 07:52 -0300, Josemar escribi?: > hi > > please, how to, make menu popup ? > > tanks > > > --- > avast! Antivirus: Outbound message clean. > Virus Database (VPS): 0538-6, 21/09/2005 > Tested on: 23/9/2005 07:52:20 > avast! - copyright (c) 1988-2004 ALWIL Software. > http://www.avast.com > > > > > > > > > _______________________________________________________ > Novo Yahoo! Messenger com voz: liga??es, Yahoo! Avatars, novos emoticons e muito mais. Instale agora! > www.yahoo.com.br/messenger/ > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Fri Sep 23 18:32:10 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 23 Sep 2005 12:32:10 -0400 Subject: [Gambas-user] not enough? In-Reply-To: <20050923084030.33796.qmail@...1136...> References: <20050923084030.33796.qmail@...1136...> Message-ID: <200509231232.11446.sourceforge-raindog2@...94...> On Fri September 23 2005 04:40, Orven Llantos wrote: > the question now on my mind is "how can i get over > it?" i'm desperate..... I think you should just be using the native Gambas Postgres component, but since you're building everything from source any number of things could be wrong. Missing postgres headers, wrong version of unixODBC, problem with your unixODBC installation (have you successfully connected to Postgres via ODBC from any other program on this machine?) etc.... Is this a FC4 RPM? It was one of the few hits when I googled for gambas2 fc4. http://www.lucaporcu.com/modules/mydownloads/visit.php?cid=2&lid=10 from page http://www.lucaporcu.com/modules/mydownloads/singlefile.php?cid=2&lid=10 Rob From peski_2k at ...67... Sat Sep 24 21:26:16 2005 From: peski_2k at ...67... (Peski -) Date: Sat, 24 Sep 2005 19:26:16 +0000 Subject: [Gambas-user] Gambas 2 on Suse 9.1 doesn't compile In-Reply-To: <4332B482.7050805@...221...> Message-ID: I think that you haven't a lot of necessary dependencies. On my system (suse 9.3) I (and some people) only can't use gtk, sqlite and postgresql components (I don't know the cause), but the rest you should can use without problems if you have neccessary files installed. Regards, Francisco J. M?rquez (aka Peski) >From: Eilert >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: [Gambas-user] Gambas 2 on Suse 9.1 doesn't compile >Date: Thu, 22 Sep 2005 15:41:22 +0200 > >Hi folks, I was just curious to try Gambas 2, but on my Suse 9.1 configure >produces this error > >THESE COMPONENTS ARE DISABLED: > >- gb.db.mysql >- gb.db.odbc >- gb.db.postgresql >- gb.db.sqlite >- gb.db.sqlite3 >- gb.gtk >- gb.net.curl >- gb.sdl >- gb.sdl.opengl > >and when I start make, it will stop after a minute saying > > gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing >-Wno-unused-value -g -Os -MT regexp.lo -MD -MP -MF .deps/regexp.Tpo -c >regexp.c -fPIC -DPIC -o .libs/regexp.o >regexp.c:368: error: `PCRE_ERROR_BADUTF8_OFFSET' undeclared here (not in a >function) >regexp.c:368: error: initializer element is not constant >regexp.c:368: error: (near initialization for `CRegexpDesc[29].val2') >regexp.c:368: error: initializer element is not constant >regexp.c:368: error: (near initialization for `CRegexpDesc[29]') >regexp.c:370: error: initializer element is not constant >regexp.c:370: error: (near initialization for `CRegexpDesc[30]') >regexp.c:371: error: initializer element is not constant >regexp.c:371: error: (near initialization for `CRegexpDesc[31]') >regexp.c:372: error: initializer element is not constant >regexp.c:372: error: (near initialization for `CRegexpDesc[32]') >regexp.c:374: error: initializer element is not constant >regexp.c:374: error: (near initialization for `CRegexpDesc[33]') >make[4]: *** [regexp.lo] Fehler 1 >make[4]: Leaving directory >`/home/tester/Downloads/gambas2/gambas2-1.9.20/gb.pcre/src' >make[3]: *** [all-recursive] Fehler 1 >make[3]: Leaving directory >`/home/tester/Downloads/gambas2/gambas2-1.9.20/gb.pcre' >make[2]: *** [all] Fehler 2 >make[2]: Leaving directory >`/home/tester/Downloads/gambas2/gambas2-1.9.20/gb.pcre' >make[1]: *** [all-recursive] Fehler 1 >make[1]: Leaving directory `/home/tester/Downloads/gambas2/gambas2-1.9.20' >make: *** [all] Fehler 2 > > >Is there a chance to make it run on my system? > >Regards >Rolf > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. >Download it for free - -and be entered to win a 42" plasma tv or your very >own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From m0nty at ...31... Sun Sep 25 15:20:51 2005 From: m0nty at ...31... (monty) Date: Sun, 25 Sep 2005 14:20:51 +0100 Subject: [Gambas-user] sdl component Message-ID: <200509251420.51500.m0nty@...31...> Hello. Is it possible to play 2 mp3-files at the same Time (mix) ? I tried Music.play, but it only can play one file because its static. Channel.play only plays Wave-Files. What i want to do is a simple mp3-dj Software as you can see here: http://www.madq3clan.de/monty/phpkit/include.php?path=content/content.php&contentid=15&catid=5&themeid=0&PHPKITSID=c46371d7dbda65bb914ca419c74e2afa Thanks for any help, monty ------------------------------------------------ http://www.m0nty.de.gg From ngcsch at ...614... Sun Sep 25 15:25:08 2005 From: ngcsch at ...614... (Joe Boby) Date: Sun, 25 Sep 2005 15:25:08 +0200 (CEST) Subject: [Gambas-user] FTP example with Net component Message-ID: <20050925132508.30733.qmail@...1041...> Hello and Welcome! Here is a new project started to introduce a small connection code to get an FTP client. The aim of this example is to get an FTP data transfert. There is a need of 2 connections, a Command thread; where you send "get this file now"; and a data thread; where you send the real file. And I'm sending this message because there is an huge problem I can't resolve! This is when uploading a file, just one file. I think the gbx interpreter is spammed by the transfert, because while uploading you can't use the soft again. You have to wait till the end of the transfer. That's not as smooth as it should be. Could please someone take a look at this and tell me if it is needed to send the datas throw; let's say; some C++ code ? Here is the Gambas project code (developed with 1.0.10): http://www.bobyjoe.free.fr/Koop_FTPtestingGround-0.1.1.tar.gz (7116 bytes) NB: Need to get a way of doing an upload of huge files (in the test you will need 2M free space on your ftp adress) without breaking the application usability while uploading. Even if you don't know how FTP connections are handled, you will be usefull. Have a nice day! ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez cette version sur http://fr.messenger.yahoo.com From gambas at ...1... Sun Sep 25 16:05:55 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 25 Sep 2005 16:05:55 +0200 Subject: [Gambas-user] The Gambas Book In-Reply-To: <1126989080.12498.10.camel@...1130...> References: <1126989080.12498.10.camel@...1130...> Message-ID: <200509251605.55740.gambas@...1...> On Saturday 17 September 2005 22:31, John Rittinghouse wrote: > Folks, > > Just to clarify things about the book I have been working on. It is not > a "for profit" book. I have agreed to put the material in the public > domain after the book is published, had cleared this with the publisher > long before this issue came up. It has NEVER been my intent to write > this book for money. In fact, I am fronting most of the cost of > publication for this book myself. I simply wanted to create a better > set of documentation for the Gambas community as a whole since I feel it > is something I can do fairly well. > > Some have already started flaming me and that is fine. I don't want to > upset anyone...if there is anyone out there that feels I have slighted > them or may be trying to take advantage, simply send me an email and I > will try to respect your wishes about using material you may feel is > owned by yourself regarding the book. > > As an aside, and for general interest, material, any material, > copyrighted or not, that is placed in the public domain can be used for > any purpose as long as it is properly cited and referenced and credit is > given where appropriate (WIPO rules, not mine). I have never intended > to do anything other than the best job i can to try and further the > Gambas project. I apologize in advance if I have offended anyone. > > > John W. Rittinghouse, Ph.D., CISM > > Hi, John. I apologize for letting people think that you could "steal" the documentation. I just wanted things to be clear for everybody around there. My fault was that I didn't think about the documentation licence, which is by default copyrighted by their respective authors. And I think it will be cool if the chapters of your book could be integrated in the online documentation. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Sep 25 16:07:35 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 25 Sep 2005 16:07:35 +0200 Subject: [Gambas-user] Reading international character from a file In-Reply-To: <4d3e143605091915193a3f71f3@...627...> References: <4d3e143605091915193a3f71f3@...627...> Message-ID: <200509251607.35751.gambas@...1...> On Tuesday 20 September 2005 00:19, Andre Saccomani wrote: > Hi guys, > > I'm trying to make a subtitle adjuster using gambas. until now I succeed in > open the file, put it into a listview and on. The problem is that > international characters, like ?,?.. and on are showing as blocks and not > as I expected. > Can someone help me with this? > > Regards > Andre You must convert the characters of your file from their charset to the charset used by the desktop (UTF-8). See the Conv$() function. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Sep 25 16:08:51 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 25 Sep 2005 16:08:51 +0200 Subject: [Gambas-user] DirView and FileView Props In-Reply-To: <200509211611.53813.garretthylltun@...626...> References: <200509211611.53813.garretthylltun@...626...> Message-ID: <200509251608.52008.gambas@...1...> On Thursday 22 September 2005 01:11, Garrett wrote: > What are the properties to get and set the directory for these components? > > Thanks in advance, > -Garrett > Wasnt'it Path, or Dir ? You can see them directly in the sources anyway :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Sep 25 16:14:36 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 25 Sep 2005 16:14:36 +0200 Subject: [Gambas-user] sdl component In-Reply-To: <200509251420.51500.m0nty@...31...> References: <200509251420.51500.m0nty@...31...> Message-ID: <200509251614.36932.gambas@...1...> On Sunday 25 September 2005 15:20, monty wrote: > Hello. > > Is it possible to play 2 mp3-files at the same Time (mix) ? > > I tried Music.play, but it only can play one file because its static. > Channel.play only plays Wave-Files. > > What i want to do is a simple mp3-dj Software as you can see here: > > http://www.madq3clan.de/monty/phpkit/include.php?path=content/content.php&c >ontentid=15&catid=5&themeid=0&PHPKITSID=c46371d7dbda65bb914ca419c74e2afa > > > Thanks for any help, monty > Ha! Already thought about that... SDL can only play one music track at once, and won't be useful for that :-( Channel only plays sounds located in memory, which is not practical with big MP3 songs... There is no simple way for doing that - Except finding a library that could play several sound files at the same time from disk, or hacking in the SDL source code (After all, SDL can play one MP3 from disk, and several waves from memory...) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Sep 25 16:46:48 2005 From: gambas at ...1... (Benoit Minisini) Date: Sun, 25 Sep 2005 16:46:48 +0200 Subject: [Gambas-user] gambas-devel@lists.sourceforge.net In-Reply-To: <1127391525.21549.9.camel@...1128...> References: <1127391525.21549.9.camel@...1128...> Message-ID: <200509251646.48774.gambas@...1...> On Thursday 22 September 2005 14:18, Daniel Campos wrote: > Hi: > > It took a time, but here's a new update of the gb.gtk component, still > alpha and weak but useable :-) > > http://gambas.gnulinex.org/gtk/ > > Main Changes (Benoit, take a look, please): I will, I will... :-) > > > * NEW: "Separator" widget added. A simple widget which shows an > horizontal or vertical separator line (it depends on the Width and > Height of the control). this is very useful, to separate buttons in a > toolbar, for example. It shows the line according with the use theme. > Note that this implementation can do no more: no way to change border > style, and things like this. Why not? But I hate separators. It is the only big thing I hate in KDE is all these separators lines everywhere... I prefer the Gnome way of not using them. > > * NEW: "Label" and "TextLabel" controls have a "Transparent" property > now. it is very useful for interfaces using windows with a mask. to > implement it, I just draw the text twice: the first one in the control > and the second one in a mask, that I combine with the widget. I suppose > QT can do the same... > I think so. But they advice not doing that in the QT documentation. It is not a good idea at the moment, as masks don't have antialiasing in X11 at the moment. So your transparent label will be drawn without antialiasing. > * NEW: "Button" and "ToggleButton" have a new boolean property > "Vertical". If set, the picture is shown in the Top side instead of the > Left side of the button. I'm not sure about the name of that property, > however using "Arrangement" with two constants: LeftRigth and TopLeft > for that seems to be more complicated... What does Benoit think about > that? :-) This is a QT limitation: button picture is always aligned to the left, even if the language is rtl written!. I don't know if it is different in QT4, but I can't implement that at the moment. > > * NEW: "TextLabel" and "Message" are able handle some HTML tags: > ,,,,,,,,,

...
,

,
, and > are able to ignore unrecognized tags and to parse not XML formatted > strings. You don't have to handle all the tags QT uses. Just the presentation ones are useful. It seems that you did that... > > * NEW: "Lang","Timer", and "Error" hooks implemented. > > * NEW: "Label.Autoresize" property implemented. > > * FIXED: "ScrollBar" is aligned at top or left of the control when > there's extra space, as gb.qt does. > > * FIXED: Some "Container" arrangement problems. > > * FIXED: "HSplit" and "VSplit" arrangement fixed. > > * FIXED: "TextLabel" horizontal alignment was wrong. > > * FIXED: "Stock" icons take the current theme in account. > > * FIXED: "ToolButton" click event is working now. > > * FIXED: "Label" and "TextLabel" controls redesigned. > > * FIXED: Segmentation fault in the "Stock" class. > > * FIXED: "Window" size is working in transitions from border resizable > to fixed. > > * FIXED: "Picture" cache redesigned. > > * FIXED: "ComboBox" background and foreground colors fixed. > > > Regards, > > D. Campos > Here are the few things I modified since 1.9.19: * I added a "ToolBox" boolean property to the Window class. When this property is true, the NET WM window type property is set to "utility", and the KDE window manager displays a small window title box instead of a normal one. And the tool window is iconified with the main window. This is managed by the QT library. If you don't that this feature in GTK+, I added a function in the x11.c file to do that by setting directly the window manager property. * I added a "EndOfLine" property in the stream class, so that we can choose if a stream uses a Unix end of line ('\n'), a Macintosh one ('\t') or a Windows one ('\r\n'). This end of line feature is used by PRINT, and LINE INPUT. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Sun Sep 25 20:08:47 2005 From: danielcampos at ...282... (danielcampos at ...282...) Date: Sun, 25 Sep 2005 20:08:47 +0200 Subject: [Gambas-user] Gambas 2 on Suse 9.1 doesn't compile Message-ID: Hola: >Te quer?a preguntar si tienes ya alguna forma de pasar la documentaci?n del >antiguo wiki al nuevo. Yo ya estoy registrado desde hace un tiempo. Finalmente las cosas han cambiado (o est?n cambiando mucho) de la 1.0 a la 2.0, por lo que no voy a automatizar el paso de documentaci?n. La mejor soluci?n que he visto es ir tomando del antiguo a mano cosas, y si coinciden con lo que hay en el nuevo, meterlas all?. Si no coinciden, hay que reescribirlas. Por otra parte el nuevo formato me ha resultado muy dificil de adaptar autom?ticamente desde el de gnulinex (basado en Squeak)... as? que, malas noticias, hay que ir haci?ndolo a mano... :-(( >PD: ?C?mo va el desarrollo de Gambas? La ?ltima versi?n que us? fue la >1.9.14 pero ahora estoy instalando la 1.9.20, y veo que est? un poco m?s >parado el desarrollo que durante el verano. ?Est?is arreglando cosas o >simplemente es que est?is m?s ocupados? Un poco de las dos cosas, pero si miras, por ejemplo la ?ltima versi?n de gb.gtk (http://gambas.gnulinex.org/gtk), ver?s que he metido bastantes cosas nuevas. Saludos Daniel ------------------------------------------------------------- NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Web/Wap : www.netcourrier.com T?l?phone/Fax : 08 92 69 00 21 (0,34 ? TTC/min) Minitel: 3615 NETCOURRIER (0,16 ? TTC/min) From gambasfr at ...11... Sun Sep 25 20:58:42 2005 From: gambasfr at ...11... (Fabien Bodard) Date: Sun, 25 Sep 2005 20:58:42 +0200 Subject: [Gambas-user] Reading international character from a file In-Reply-To: <4d3e143605091915193a3f71f3@...627...> References: <4d3e143605091915193a3f71f3@...627...> Message-ID: <200509252058.42861.gambasfr@...11...> Le Mardi 20 Septembre 2005 00:19, Andre Saccomani a ?crit?: > Hi guys, > > I'm trying to make a subtitle adjuster using gambas. until now I succeed in > open the file, put it into a listview and on. The problem is that > international characters, like ?,?.. and on are showing as blocks and not > as I expected. > Can someone help me with this? the file use one charset (generally system one) and qt another Use the conv$ function like that : MyList.add(conv(sText, System.Charset, Desktop.Charset) or under Gambas2 MyList.Add(DConv(sText)) Regards, Fabien Bodard From sclewin at ...1126... Sun Sep 25 16:59:56 2005 From: sclewin at ...1126... (Scott) Date: Sun, 25 Sep 2005 14:59:56 +0000 Subject: [Gambas-user] Saving multiple variables In-Reply-To: <4328DDF8.8010604@...966...> References: <4328DDF8.8010604@...966...> Message-ID: <4336BB6C.1000309@...1126...> Hi, I am writing a simple strategy game and I would like to have a save/load feature. I have been reading up on file.save and file.load and it looks like I can only save a single variable using that. The problem is I need to save a small list of variables and would like to save all of them to the same file, how would I do this? I am using version 1.9.20 of GamBas, thanks -- Your friend, Scott http://www.bmts.com From sourceforge-raindog2 at ...94... Sun Sep 25 21:34:53 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 25 Sep 2005 15:34:53 -0400 Subject: [Gambas-user] Saving multiple variables In-Reply-To: <4336BB6C.1000309@...1126...> References: <4328DDF8.8010604@...966...> <4336BB6C.1000309@...1126...> Message-ID: <200509251534.54194.sourceforge-raindog2@...94...> On Sun September 25 2005 10:59, Scott wrote: > that. The problem is I need to save a small list of variables and > would like to save all of them to the same file, how would I do > this? File.Save("filename.txt", var1 & "\n" & var2 & "\n" & var3) I mean, use whatever delimiter you like, it's just a matter of putting all the variables into one string. Rob From markobj at ...1140... Mon Sep 26 07:18:52 2005 From: markobj at ...1140... (deki) Date: Sun, 25 Sep 2005 22:18:52 -0700 Subject: [Gambas-user] Gambas Interbase/Firebird driver over IBPP classes Message-ID: <1127711932.5578.6.camel@...861...> Hello! Is is possible to design a Interbase/Firebird driver for Gambas who will be using classes directly form within libibpp.so library? I suppose that is required to build a library wrapper around libibpp.so, but what about exporting API classes and using them directly in Basic? Could anyone give me a shortest possible example on how to do this? (I know,this question sounds very opportunistic but we are here to ask and Firebird driver in Gambas would be soooo nice thing!) From sclewin at ...1126... Sun Sep 25 18:27:47 2005 From: sclewin at ...1126... (Scott) Date: Sun, 25 Sep 2005 16:27:47 +0000 Subject: [Gambas-user] Saving multiple variables In-Reply-To: <200509251534.54194.sourceforge-raindog2@...94...> References: <4328DDF8.8010604@...966...> <4336BB6C.1000309@...1126...> <200509251534.54194.sourceforge-raindog2@...94...> Message-ID: <4336D003.3000002@...1126...> Rob Kudla wrote: > File.Save("filename.txt", var1 & "\n" & var2 & "\n" & var3) > > I mean, use whatever delimiter you like, it's just a matter of putting > all the variables into one string. > Thank you. I apologize for my ignorance, before using Gambas I only knew how to program a bit in Qbasic, but how do I load and split up the variables to be used in the program? -- Your friend, Scott http://www.bmts.com From sourceforge-raindog2 at ...94... Sun Sep 25 22:47:15 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 25 Sep 2005 16:47:15 -0400 Subject: [Gambas-user] Gambas Interbase/Firebird driver over IBPP classes In-Reply-To: <1127711932.5578.6.camel@...861...> References: <1127711932.5578.6.camel@...861...> Message-ID: <200509251647.16736.sourceforge-raindog2@...94...> On Mon September 26 2005 01:18, deki wrote: > Is is possible to design a Interbase/Firebird driver for Gambas who > will be using classes directly form within libibpp.so library? > I suppose that is required to build a library wrapper around > libibpp.so, but what about exporting API classes and using them > directly in Basic? Could anyone give me a shortest possible example The API support is new, and there isn't much example code out there. Maybe have a look here: http://gambas.gnulinex.org/api/ You haven't gotten IB/FB to work with gb.db.odbc, I take it? Rob From sourceforge-raindog2 at ...94... Sun Sep 25 22:47:07 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Sun, 25 Sep 2005 16:47:07 -0400 Subject: [Gambas-user] Saving multiple variables In-Reply-To: <4336D003.3000002@...1126...> References: <4328DDF8.8010604@...966...> <200509251534.54194.sourceforge-raindog2@...94...> <4336D003.3000002@...1126...> Message-ID: <200509251647.09086.sourceforge-raindog2@...94...> On Sun September 25 2005 12:27, Scott wrote: > Thank you. I apologize for my ignorance, before using Gambas I > only knew how to program a bit in Qbasic, but how do I load and > split up the variables to be used in the program? dim arr as new String[] arr = Split(File.Load(filename.txt), "\n") var1 = arr[0] var2 = arr[1] var3 = arr[2] You could, of course, do both the save and the load almost the same way you did it in Qbasic, with OPEN and PRINT# and LINE INPUT# and CLOSE, but I think this syntax is a lot easier to type. Rob From sclewin at ...1126... Sun Sep 25 19:59:49 2005 From: sclewin at ...1126... (Scott) Date: Sun, 25 Sep 2005 17:59:49 +0000 Subject: [Gambas-user] Saving multiple variables In-Reply-To: <200509251647.09086.sourceforge-raindog2@...94...> References: <4328DDF8.8010604@...966...> <200509251534.54194.sourceforge-raindog2@...94...> <4336D003.3000002@...1126...> <200509251647.09086.sourceforge-raindog2@...94...> Message-ID: <4336E595.3030103@...1126...> Rob Kudla wrote: > On Sun September 25 2005 12:27, Scott wrote: > > dim arr as new String[] > > arr = Split(File.Load(filename.txt), "\n") > var1 = arr[0] > var2 = arr[1] > var3 = arr[2] > Thank you very much! That works perfectly. > but I think this syntax is a lot easier to type. > True, I like easier :) -- Your friend, Scott http://www.bmts.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From comtux at ...626... Mon Sep 26 19:21:16 2005 From: comtux at ...626... (Steve Starr) Date: Mon, 26 Sep 2005 17:21:16 +0000 Subject: [Gambas-user] Re: The Gambas Book In-Reply-To: <200509251605.55740.gambas@...1...> References: <1126989080.12498.10.camel@...1130...> <200509251605.55740.gambas@...1...> Message-ID: <78f4b76705092610215abb8c4d@...627...> If you look in the book you will notice that the crystal icons are used. Legal Info. All material on this website is protected by copyright with the owner being Everaldo.com. One hard copy can be made and used strictly for personal reference only. You may not otherwise reproduce, distribute, transmit or sell this information to any person or body in any way incorporated into any transmittable medium or document. Nor are you permitted to modify, alter or misappropriate this information without the prior written permission of Everaldo. Elements of this website covered by copyright include images, graphics, icons, and HTML coding. You may not reproduce, distribute, transmit or sell these elements to any person or body incorporated into any transmittable medium or document. No icon image or any other graphics found in this site may be use under any circumstance, in any situation nor in any media without prior consent of the author via email. Everaldo.com will defend its intellectual property rights to the fullest extent of the law. And with the combunation of the copyrighted online gambas documentation i would say that make's it really hard for people to take any short cuts when developing for profit or for anything other than personal use. Boy if writeing a book is this hard on linux i could only imagen what kinda hoops windows developers have to jump threw. Basicly this poor guy has no other choice but to give a digital copy of this book away for free. On 9/25/05, Benoit Minisini wrote: > On Saturday 17 September 2005 22:31, John Rittinghouse wrote: > > Folks, > > > > Just to clarify things about the book I have been working on. It is not > > a "for profit" book. I have agreed to put the material in the public > > domain after the book is published, had cleared this with the publisher > > long before this issue came up. It has NEVER been my intent to write > > this book for money. In fact, I am fronting most of the cost of > > publication for this book myself. I simply wanted to create a better > > set of documentation for the Gambas community as a whole since I feel it > > is something I can do fairly well. > > > > Some have already started flaming me and that is fine. I don't want to > > upset anyone...if there is anyone out there that feels I have slighted > > them or may be trying to take advantage, simply send me an email and I > > will try to respect your wishes about using material you may feel is > > owned by yourself regarding the book. > > > > As an aside, and for general interest, material, any material, > > copyrighted or not, that is placed in the public domain can be used for > > any purpose as long as it is properly cited and referenced and credit is > > given where appropriate (WIPO rules, not mine). I have never intended > > to do anything other than the best job i can to try and further the > > Gambas project. I apologize in advance if I have offended anyone. > > > > > > John W. Rittinghouse, Ph.D., CISM > > > > > > Hi, John. > > I apologize for letting people think that you could "steal" the > documentation. > I just wanted things to be clear for everybody around there. > > My fault was that I didn't think about the documentation licence, which is > by > default copyrighted by their respective authors. > > And I think it will be cool if the chapters of your book could be integrated > > in the online documentation. > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sourceforge-raindog2 at ...94... Mon Sep 26 19:35:22 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 26 Sep 2005 13:35:22 -0400 Subject: [Gambas-user] Re: The Gambas Book In-Reply-To: <78f4b76705092610215abb8c4d@...627...> References: <1126989080.12498.10.camel@...1130...> <200509251605.55740.gambas@...1...> <78f4b76705092610215abb8c4d@...627...> Message-ID: <200509261335.24526.sourceforge-raindog2@...94...> On Mon September 26 2005 13:21, Steve Starr wrote: > If you look in the book you will notice that the crystal icons are > used. I'm pretty sure that those icons shipped with Qt and KDE are available under a less restrictive license, but I haven't looked into it. Certainly Linspire, SuSE, Mandrake and others have used the Crystal icons in their promotional materials, but who knows, they may have negotiated separately. I haven't requested a copy of the book because I don't want to unintentionally imitate John in my own Gambas writing. Rob From sclewin at ...1126... Mon Sep 26 20:46:29 2005 From: sclewin at ...1126... (Scott) Date: Mon, 26 Sep 2005 18:46:29 +0000 Subject: [Gambas-user] Saving multiple variables In-Reply-To: <4336E595.3030103@...1126...> References: <4328DDF8.8010604@...966...> <200509251534.54194.sourceforge-raindog2@...94...> <4336D003.3000002@...1126...> <200509251647.09086.sourceforge-raindog2@...94...> <4336E595.3030103@...1126...> Message-ID: <43384205.2020602@...1126...> Scott wrote: > Thank you very much! That works perfectly. When I tested it it worked perfectly, but now when I try to implement this into my game I get this weird error, "unknown symbol 'save' in class 'menu'". Am i doing something wrong or did I find a bug in v1.9.20? Below I have placed the code that I am using for the save. PUBLIC SUB Save_Click() DIM destination AS String Dialog.Title = "Please select a name to save" Dialog.Filter = ["OpenHotels Save Game (*.save)"] IF NOT Dialog.SaveFile() THEN destination = Dialog.Path file.Save(destination, mstart.funds & "\n" & mstart.rooms & "\n" & mstart.status & "\n" & mstart.guest & "\n" & mstart.visibility & "\n" & mstart.wk & "\n" & mstart.yr & "\n" & mstart.totalmarket & "\n" & mstart.cp1 & "\n" & mstart.cp2 & "\n" & mstart.cp3 & "\n" & mstart.cp4 & "\n" & mstart.cp1funds & "\n" & mstart.cp2funds & "\n" & mstart.cp3funds & "\n" & mstart.cp4funds & "\n" & mstart.cp1rooms & "\n" & mstart.cp2rooms & "\n" & mstart.cp3rooms & "\n" & mstart.cp4rooms & "\n" & mstart.cp1status & "\n" & mstart.cp2status & "\n" & mstart.cp3status & "\n" & mstart.cp4status & "\n" & mstart.cp1guest) END IF END -- Your friend, Scott http://www.bmts.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From comtux at ...626... Tue Sep 27 09:22:33 2005 From: comtux at ...626... (Steve Starr) Date: Tue, 27 Sep 2005 07:22:33 +0000 Subject: [Gambas-user] Re: The Gambas Book In-Reply-To: <200509261335.24526.sourceforge-raindog2@...94...> References: <1126989080.12498.10.camel@...1130...> <200509251605.55740.gambas@...1...> <78f4b76705092610215abb8c4d@...627...> <200509261335.24526.sourceforge-raindog2@...94...> Message-ID: <78f4b767050927002211a02f32@...627...> I would like to see your book rob. pleeeeeeeeease :) On 9/26/05, Rob Kudla wrote: > On Mon September 26 2005 13:21, Steve Starr wrote: > > If you look in the book you will notice that the crystal icons are > > used. > > I'm pretty sure that those icons shipped with Qt and KDE are available > under a less restrictive license, but I haven't looked into it. > Certainly Linspire, SuSE, Mandrake and others have used the Crystal > icons in their promotional materials, but who knows, they may have > negotiated separately. > > I haven't requested a copy of the book because I don't want to > unintentionally imitate John in my own Gambas writing. > > Rob > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From comtux at ...626... Tue Sep 27 09:43:58 2005 From: comtux at ...626... (Steve Starr) Date: Tue, 27 Sep 2005 07:43:58 +0000 Subject: [Gambas-user] Re: sdl component In-Reply-To: <200509251614.36932.gambas@...1...> References: <200509251420.51500.m0nty@...31...> <200509251614.36932.gambas@...1...> Message-ID: <78f4b76705092700436db29e35@...627...> Hmm i can play two sound files at once ' Gambas class file PUBLIC StartSound AS Sound PUBLIC StartSound1 AS Sound PUBLIC SUB Form_Open() StartSound = NEW Sound("warp01.ogg") StartSound1 = NEW Sound("bassdrum01.ogg") startsound.Play() startsound1.Play() END On 9/25/05, Benoit Minisini wrote: > On Sunday 25 September 2005 15:20, monty wrote: > > Hello. > > > > Is it possible to play 2 mp3-files at the same Time (mix) ? > > > > I tried Music.play, but it only can play one file because its static. > > Channel.play only plays Wave-Files. > > > > What i want to do is a simple mp3-dj Software as you can see here: > > > > > http://www.madq3clan.de/monty/phpkit/include.php?path=content/content.php&c > >ontentid=15&catid=5&themeid=0&PHPKITSID=c46371d7dbda65bb914ca419c74e2afa > > > > > > Thanks for any help, monty > > > > Ha! Already thought about that... > > SDL can only play one music track at once, and won't be useful for that :-( > Channel only plays sounds located in memory, which is not practical with big > > MP3 songs... > > There is no simple way for doing that - Except finding a library that could > > play several sound files at the same time from disk, or hacking in the SDL > source code (After all, SDL can play one MP3 from disk, and several waves > from memory...) > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From itadmin at ...1141... Tue Sep 27 11:00:35 2005 From: itadmin at ...1141... (felix) Date: Tue, 27 Sep 2005 17:00:35 +0800 Subject: [Gambas-user] Installing gambas on Fedora Core 4 Message-ID: <43390A33.4050502@...1141...> Hi all, I installed gambas on Fedora 4 by running "yum install gambas." It brought in a couple of other packages. So far so good. However, when I tried to run a project somebody else sent to me, nothing happened. When I double clicked on a form I got this error message: -------------------------------------------- Cannot open file. Component missing FForm.CreateControl.833 ------------------------------------------- I have installed qt. What am I missing? TIA From soroush_mh at ...43... Tue Sep 27 22:59:20 2005 From: soroush_mh at ...43... (soroush mohammad nia) Date: Tue, 27 Sep 2005 13:59:20 -0700 (PDT) Subject: [Gambas-user] Installing gambas on Fedora Core 4 In-Reply-To: <43390A33.4050502@...1141...> Message-ID: <20050927205920.33995.qmail@...1142...> Hi all and felix But i installed gambas on Fedora Core4 and havn't and problem I tryed with #./configure #make #make install you must install QT library at first --- felix wrote: > Hi all, > > I installed gambas on Fedora 4 by running "yum > install gambas." It > brought in a couple of other packages. So far so > good. > > However, when I tried to run a project somebody else > sent to me, nothing > happened. When I double clicked on a form I got this > error message: > > > -------------------------------------------- > Cannot open file. > > Component missing > FForm.CreateControl.833 > ------------------------------------------- > > I have installed qt. What am I missing? > > TIA > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's > Geronimo App Server. > Download it for free - -and be entered to win a 42" > plasma tv or your very > own Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From naveenagrawal at ...43... Wed Sep 28 04:24:24 2005 From: naveenagrawal at ...43... (Naveen Agarawal) Date: Tue, 27 Sep 2005 19:24:24 -0700 (PDT) Subject: [Gambas-user] Installing gambas on Fedora Core 4 In-Reply-To: <20050927205920.33995.qmail@...1142...> Message-ID: <20050928022424.8120.qmail@...1143...> Hi all! I have also got the same message i.e. component missing fform.createcontrol.833. The terminal window also shows following messages: Warning: cannot find /usr/share/gambas/info/gb.info Warning: cannot find /usr/share/gambas/info/gb.qt.info Warning: cannot find /usr/share/gambas/info/gb.qt.info Warning: cannot find /usr/share/gambas/info/gb.qt.info What could be the reason? I installed using the command yum install gambas. Regards! --- soroush mohammad nia wrote: > Hi all and felix > > But i installed gambas on Fedora Core4 and havn't > and > problem > I tryed with > #./configure > #make > #make install > you must install QT library at first > > > --- felix wrote: > > > Hi all, > > > > I installed gambas on Fedora 4 by running "yum > > install gambas." It > > brought in a couple of other packages. So far so > > good. > > > > However, when I tried to run a project somebody > else > > sent to me, nothing > > happened. When I double clicked on a form I got > this > > error message: > > > > > > -------------------------------------------- > > Cannot open file. > > > > Component missing > > FForm.CreateControl.833 > > ------------------------------------------- > > > > I have installed qt. What am I missing? > > > > TIA > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's > > Geronimo App Server. > > Download it for free - -and be entered to win a > 42" > > plasma tv or your very > > own Sony(tm)PSP. Click here to play: > > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, > downloads, discussions, > and more. > http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Every body has his shares of ups and downs but one should never say no to life. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com From orven_llantos at ...43... Wed Sep 28 04:58:14 2005 From: orven_llantos at ...43... (Orven Llantos) Date: Wed, 28 Sep 2005 03:58:14 +0100 (BST) Subject: [Gambas-user] missing something? Message-ID: <20050928025815.44401.qmail@...743...> hi guys, i've been quite for a while in posting help messages since i've tried my very best in connecting gambas to postgresql. to the point that i check out the source code for me to know "what's going on" in linking the program to postgresql. prerequisites first. i've installed unix odbc on my system was able to create a test dsn for postgre. and it was successful. i was able to connect. but the sad thing is when i run gambas2 still the error was "Cannot find driver for: postgresql." since gambas searches for its drivers in a default location i've copied the gambas2 folder (which contains .so's... etc, usr/local/lib/gambas2) to the default folder (/usr/lib) so that gambas can "see" it. but still i see the same error message. as a desperate attempt, i tried to examine the different files responsible for the implementation of gambas2<-->postgre communication. 'til i found DB_GetDriver. i noticed the code strcpy(comp, "gb.db."); (1) strcat(comp, type); (2) Q1: the question that was raised on my mind is what is it looking; a folder or a .so file? because when (2) is executed comp would contain "gb.db.postgresql" am i right or am i missing something? and when i followed the functions that were called i also noticed that there was no operation to add a .so to comp to make it "gb.db.postgresql.so" that is why Q1 was on my mind by that time. after copying the .so's to /usr/lib, i attempted to change (1) to strcpy(comp, "/usr/local/lib/gambas2/gb.db."); what i did is that i specified the location. the result? still i cannot connect..... question Q1 remains. guys, i know that gambas has no warranty whatsoever. but since gambas claimed to be able to connect to postgresql and other databases. can you guys tell us what to do in order to effectively link gambas to any database that we like? also include some tricks that we need to learn. please... please.... sincerely, Orven E. Llantos Send instant messages to your online friends http://uk.messenger.yahoo.com From markobj at ...1140... Wed Sep 28 22:05:48 2005 From: markobj at ...1140... (deki) Date: Wed, 28 Sep 2005 13:05:48 -0700 Subject: [Gambas-user] Gambas Interbase/Firebird driver over IBPP classes Message-ID: <1127937948.5522.6.camel@...861...> Hello! I run SuSE 9.2 on my box...acutually I forgot to check out the SuSE 9.3 FTP dir, so I overlooked the gambas2 packages within, including db.odbc. Thank you for the gb.api link anyway! From jr at ...1090... Wed Sep 28 13:48:27 2005 From: jr at ...1090... (John Rittinghouse) Date: Wed, 28 Sep 2005 06:48:27 -0500 Subject: [Gambas-user] Gambas book Message-ID: <1127908107.6395.8.camel@...1091...> Hi folks, Good points made about the icons used in the book. I am working with evaraldo.com presently to secure permission to use those screenshots with the book. The book itself is nearly complete, only two chapters remain. The use of the book with the online Gambas docs is desirable and I hope found to be worthy. It will be ready as soon as i finish these last two chapters (database and networking) and get the foreword back (hint)... jr -------------- next part -------------- An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Wed Sep 28 16:40:32 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 28 Sep 2005 10:40:32 -0400 Subject: [Gambas-user] Gambas book In-Reply-To: <1127908107.6395.8.camel@...1091...> References: <1127908107.6395.8.camel@...1091...> Message-ID: <200509281040.32246.sourceforge-raindog2@...94...> On Wed September 28 2005 07:48, John Rittinghouse wrote: > Good points made about the icons used in the book. I am working > with evaraldo.com presently to secure permission to use those > screenshots with the book. The book itself is nearly complete, The icons Steve was talking about are within screenshots of free software? It boggles the mind that you'd need permission for that... it would preclude screenshots of KDE, for example, which proprietary books and magazines have been doing for years. Rob From sourceforge-raindog2 at ...94... Wed Sep 28 16:56:29 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 28 Sep 2005 10:56:29 -0400 Subject: [Gambas-user] Gambas book In-Reply-To: <1127908107.6395.8.camel@...1091...> References: <1127908107.6395.8.camel@...1091...> Message-ID: <200509281056.29654.sourceforge-raindog2@...94...> On Wed September 28 2005 07:48, John Rittinghouse wrote: > Good points made about the icons used in the book. I am working > with evaraldo.com presently to secure permission to use those > screenshots with the book. The book itself is nearly complete, As I suspected, the crystalsvg icon set is licensed under the LGPL: http://webcvs.kde.org/kdelibs/pics/LICENSE.crystalsvg?rev=1.3&view=markup So even if you were using the icons themselves instead of just screenshots, unless you're using some extra Crystal icons that aren't part of crystalsvg, all you need to do is include that license and offer people the "source code" (the crystalsvg tarball itself) for the cost of media. If you just point them at the original crystalsvg tarball on the web, I'm guessing no one will ever take you up on that offer. OTOH, if your book is going to contain a CD, bang, you don't even need to make the media offer as long as you put the tarball on the CD. I'm not a lawyer, but I am pedantic enough that I probably could have been one in some alternate universe. Rob From markobj at ...1140... Thu Sep 29 02:58:30 2005 From: markobj at ...1140... (deki) Date: Wed, 28 Sep 2005 17:58:30 -0700 Subject: [Gambas-user] Re: Gambas Interbase/Firebird driver over IBPP classes Message-ID: <1127955510.5813.1.camel@...861...> Hello! I run SuSE 9.2 on my box...acutually I forgot to check out the SuSE 9.3 FTP dir, so I overlooked the gambas2 packages within, including db.odbc. Thank you for the gb.api link anyway! From nigel at ...38... Wed Sep 28 18:36:47 2005 From: nigel at ...38... (nigel at ...38...) Date: Wed, 28 Sep 2005 18:36:47 +0200 (CEST) Subject: [Gambas-user] missing something? Message-ID: <7847873.1127925407730.JavaMail.www@...792...> Orven, The postgresql driver is not the odbc driver. If you cannot locate gb.db.postgresql.so within one of your folders then you have not compiled the driver. To compile the driver you need the postgresql development package. In theory you could access postgresql using the odbc driver but then you would need to ensure that you pass the DSN etc. to the driver. Note: This driver is not available through the datamanager, so if you are using that to access your data then you will have a problem. Nigel > Message Received: Sep 28 2005, 04:00 AM > From: "Orven Llantos" > To: gambas-user at lists.sourceforge.net > Cc: > Subject: [Gambas-user] missing something? > > hi guys, > > i've been quite for a while in posting help messages > since i've tried my very best in connecting gambas to > postgresql. to the point that i check out the source > code for me to know "what's going on" in linking the > program to postgresql. > prerequisites first. i've installed unix odbc on my > system was able to create a test dsn for postgre. and > it was successful. i was able to connect. but the sad > thing is when i run gambas2 still the error was > "Cannot find driver for: postgresql." since gambas > searches for its drivers in a default location i've > copied the gambas2 folder (which contains .so's... > etc, usr/local/lib/gambas2) to the default folder > (/usr/lib) so that gambas can "see" it. but still i > see the same error message. > as a desperate attempt, i tried to examine the > different files responsible for the implementation of > gambas2<-->postgre communication. 'til i found > DB_GetDriver. i noticed the code > > strcpy(comp, "gb.db."); (1) > strcat(comp, type); (2) > > Q1: the question that was raised on my mind is what is > it looking; a folder or a .so file? because when (2) > is executed comp would contain "gb.db.postgresql" am i > right or am i missing something? and when i followed > the functions that were called i also noticed that > there was no operation to add a .so to comp to make it > "gb.db.postgresql.so" that is why Q1 was on my mind by > that time. after copying the .so's to /usr/lib, i > attempted to change (1) to > > strcpy(comp, "/usr/local/lib/gambas2/gb.db."); > > what i did is that i specified the location. the > result? still i cannot connect..... question Q1 > remains. > guys, i know that gambas has no warranty whatsoever. > but since gambas claimed to be able to connect to > postgresql and other databases. can you guys tell us > what to do in order to effectively link gambas to any > database that we like? also include some tricks that > we need to learn. please... please.... > > sincerely, > > Orven E. Llantos > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From akubukanspy at ...43... Wed Sep 28 20:56:34 2005 From: akubukanspy at ...43... (Yudi Astira) Date: Wed, 28 Sep 2005 11:56:34 -0700 (PDT) Subject: [Gambas-user] I have made example to make a bar chart, please check attachment Message-ID: <20050928185634.18456.qmail@...1146...> Dear all gambas users I have made example to make a bar chart using DrawingArea. Hope you will be helped to make chart for your application. Check attachment. Best regard, Yudi Astira Yudi Astira, http://www.hdteam.net ______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ -------------- next part -------------- A non-text attachment was scrubbed... Name: chart.tar.bz2 Type: application/x-bzip Size: 5923 bytes Desc: 2461626603-chart.tar.bz2 URL: From danielcampos at ...282... Thu Sep 29 14:08:36 2005 From: danielcampos at ...282... (Daniel Campos) Date: Thu, 29 Sep 2005 14:08:36 +0200 Subject: [Gambas-user] gb.gtk / gb.gtk.pdf / pdfgambas Message-ID: <1127995716.21067.5.camel@...1128...> Hi: ->New version of the gb.gtk.component ( http://gambas.gnulinex.org/gtk ) ->this version comes with the first extension of the gb.gtk component, called gb.gtk.pdf. This component is able to extract images from PDF documents, scan the PDF index, search and extract text, and manage PDF links. It is based on "Poppler": http://poppler.freedesktop.org , that also has a QT binding, so a gb.qt.pdf component would be possilbe. ( http://gambas.gnulinex.org/gtkpdf ) ->As a product of testing, you have here a powerful PDF document viewer called "PDFGambas" (original, isn't it?), that I think is more comfortable than gpdf or kpdf. ( http://gambas.gnulinex.org/pdfgambas ) Regards, Daniel Campos From orven_llantos at ...43... Thu Sep 29 14:37:37 2005 From: orven_llantos at ...43... (Orven Llantos) Date: Thu, 29 Sep 2005 13:37:37 +0100 (BST) Subject: [Gambas-user] Re: Re: missing something? Message-ID: <20050929123737.39556.qmail@...769...> thanks nigel for that clarification. i have the file that you are referring to: gb.db.postgresql.so but the problem is still i cannot connect. :( any tips on what should i do? Send instant messages to your online friends http://uk.messenger.yahoo.com From lordheavy at ...512... Thu Sep 29 19:15:13 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 29 Sep 2005 19:15:13 +0200 Subject: [Gambas-user] gb.gtk / gb.gtk.pdf / pdfgambas In-Reply-To: <1127995716.21067.5.camel@...1128...> References: <1127995716.21067.5.camel@...1128...> Message-ID: <433C2121.6090601@...512...> Daniel Campos a ?crit : > Hi: > > ->New version of the gb.gtk.component ( http://gambas.gnulinex.org/gtk ) > > ->this version comes with the first extension of the gb.gtk component, > called gb.gtk.pdf. This component is able to extract images from PDF > documents, scan the PDF index, search and extract text, and manage PDF > links. It is based on "Poppler": http://poppler.freedesktop.org , that > also has a QT binding, so a gb.qt.pdf component would be possilbe. > ( http://gambas.gnulinex.org/gtkpdf ) > > > ->As a product of testing, you have here a powerful PDF document viewer > called "PDFGambas" (original, isn't it?), that I think is more > comfortable than gpdf or kpdf. ( http://gambas.gnulinex.org/pdfgambas ) > > Regards, > > Daniel Campos > It work great ! Attached the french translation :) That would be great if a opengl widget will be available :) Someone ask me about it to do an povray modeler : http://ebmodel3.atari.org. Regards, -- Laurent Carlier jabber : LordHeavy at ...943... From lordheavy at ...512... Thu Sep 29 19:17:45 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 29 Sep 2005 19:17:45 +0200 Subject: [Gambas-user] gb.gtk / gb.gtk.pdf / pdfgambas In-Reply-To: <1127995716.21067.5.camel@...1128...> References: <1127995716.21067.5.camel@...1128...> Message-ID: <433C21B9.2090301@...512...> Forgot the file :) -- Laurent Carlier jabber : LordHeavy at ...943... -------------- next part -------------- A non-text attachment was scrubbed... Name: fr.mo Type: application/octet-stream Size: 3626 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fr.po Type: text/x-gettext-translation Size: 6995 bytes Desc: not available URL: From a.ciric at ...1147... Thu Sep 29 21:25:26 2005 From: a.ciric at ...1147... (Alex Ciric) Date: Thu, 29 Sep 2005 21:25:26 +0200 Subject: [Gambas-user] Exotic Mysql Problem Message-ID: <433C3FA6.2090603@...1147...> Hi. In my application i have to use the mysql-macro max(). If i do a query like "select * from table" this works very good with gambas and i am able to use the results for further stuff. But if i do a query like "select max(field) from table" i get an error message "field not found in myqsl table" Does anyone know this behavior or have a workaround? Sincerely alex Ciric From pastrano at ...431... Thu Sep 29 22:52:08 2005 From: pastrano at ...431... (Gianni Piccini) Date: Thu, 29 Sep 2005 22:52:08 +0200 Subject: [Gambas-user] Problems installing on a Debian Message-ID: <1128027150.13166742.433c540e@...432...> I was just wondering about my problems of installation on my Debian. It seems to install all packages from Synaptic without errors, but at the end, I can't find a "gambas" to run... is there any know issue about installing? Actually, I see packages gambas and gambas-runtime on 1.9.20-4, the others version 1.9.20-1/2. From lordheavy at ...512... Thu Sep 29 23:34:33 2005 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 29 Sep 2005 23:34:33 +0200 Subject: [Gambas-user] Problems installing on a Debian In-Reply-To: <1128027150.13166742.433c540e@...432...> References: <1128027150.13166742.433c540e@...432...> Message-ID: <433C5DE9.3070706@...512...> Gianni Piccini a ?crit : > I was just wondering about my problems of installation on my Debian. It > seems to install all packages from Synaptic without errors, but at the end, > I can't find a "gambas" to run... is there any know issue about installing? > Actually, I see packages gambas and gambas-runtime on 1.9.20-4, the others > version 1.9.20-1/2. > You should try with "gambas2" With synaptic you can know the content of packages if installed. -- Laurent Carlier jabber : LordHeavy at ...943... From pastrano at ...431... Fri Sep 30 00:07:44 2005 From: pastrano at ...431... (Gianni) Date: Fri, 30 Sep 2005 00:07:44 +0200 Subject: [Gambas-user] Problems installing on a Debian In-Reply-To: <433C5DE9.3070706@...512...> References: <1128027150.13166742.433c540e@...432...> <433C5DE9.3070706@...512...> Message-ID: On Thu, 29 Sep 2005 23:34:33 +0200, you wrote: > You should try with "gambas2" I feel so stupid :-) It has been specified a lot of times on this list! From gael.le-hech at ...357... Thu Sep 29 23:40:11 2005 From: gael.le-hech at ...357... (=?ISO-8859-1?Q?Ga=EBl_Le_Hec=27H?=) Date: Thu, 29 Sep 2005 23:40:11 +0200 Subject: [Gambas-user] compilation error on gb.v4l Message-ID: <433C5F3B.20505@...357...> Hi, When I try to compile gambas 1.9.20 on a fresh full install of slackware 10.2 I get this error during compilation : gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -fno-strict-aliasing -Wno-unused-v alue -g -Os -MT CWebcam.lo -MD -MP -MF .deps/CWebcam.Tpo -c CWebcam.c -fPIC -DP IC -o .libs/CWebcam.o CWebcam.c: In function `CFEATURES_driver': CWebcam.c:927: error: storage size of `vcap' isn't known CWebcam.c:929: error: `VIDIOC_QUERYCAP' undeclared (first use in this function) CWebcam.c:929: error: (Each undeclared identifier is reported only once CWebcam.c:929: error: for each function it appears in.) CWebcam.c:927: warning: unused variable `vcap' CWebcam.c: In function `CFEATURES_bus': CWebcam.c:942: error: storage size of `vcap' isn't known CWebcam.c:944: error: `VIDIOC_QUERYCAP' undeclared (first use in this function) CWebcam.c:942: warning: unused variable `vcap' CWebcam.c: In function `CFEATURES_version': CWebcam.c:958: error: storage size of `vcap' isn't known CWebcam.c:960: error: `VIDIOC_QUERYCAP' undeclared (first use in this function) CWebcam.c:958: warning: unused variable `vcap' CWebcam.c: In function `CTUNER_low': CWebcam.c:1040: error: storage size of `vfreq' isn't known CWebcam.c:1046: error: `VIDIOC_G_FREQUENCY' undeclared (first use in this functi on) CWebcam.c:1051: error: `V4L2_TUNER_CAP_LOW' undeclared (first use in this functi on) CWebcam.c:1040: warning: unused variable `vfreq' CWebcam.c: In function `CTUNER_frequency': CWebcam.c:1070: error: storage size of `vfreq' isn't known CWebcam.c:1077: error: `VIDIOC_G_FREQUENCY' undeclared (first use in this functi on) CWebcam.c:1088: error: `VIDIOC_S_FREQUENCY' undeclared (first use in this functi on) CWebcam.c:1070: warning: unused variable `vfreq' make[4]: *** [CWebcam.lo] Error 1 make[4]: Leaving directory `/usr/src/gambas2-1.9.20/gb.v4l/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/gambas2-1.9.20/gb.v4l' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/gambas2-1.9.20/gb.v4l' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/gambas2-1.9.20' make: *** [all] Error 2 If I disable-v4l the compilation succed. From christian.faurebouvard at ...357... Thu Sep 29 19:41:51 2005 From: christian.faurebouvard at ...357... (Christian Faure) Date: Thu, 29 Sep 2005 19:41:51 +0200 Subject: [Gambas-user] Re: Re: missing something? In-Reply-To: <20050929123737.39556.qmail@...769...> References: <20050929123737.39556.qmail@...769...> Message-ID: <200509291941.52006.christian.faurebouvard@...357...> El Jueves, 29 de Septiembre de 2005 14:37, Orven Llantos escribi?: > thanks nigel for that clarification. i have the file > that you are referring to: gb.db.postgresql.so but the > problem is still i cannot connect. :( > > any tips on what should i do? > Hi, If you are using suse 9.3 (for example) NOT use included version of Gambas (is installed in /opt/kde/...) and database drivers NOT WORK. Download Gambas source, If you want compile gambas 1.0.x you need PostgreSQL devel packages 7.x (Version 8.x not work) If you want compile gambas2 you need PostgreSQL devel packages 8.x Once compiled, both work well with PostgreSQL 7 and 8. Regards, Christian From danielcampos at ...282... Fri Sep 30 09:22:49 2005 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 30 Sep 2005 09:22:49 +0200 Subject: [Gambas-user] gb.gtk / gb.gtk.pdf / pdfgambas In-Reply-To: <433C21B9.2090301@...512...> References: <1127995716.21067.5.camel@...1128...> <433C21B9.2090301@...512...> Message-ID: <1128064969.4872.0.camel@...1128...> Thanks! I will include it for the next vesion Regards, D. Campos El jue, 29-09-2005 a las 19:17 +0200, Laurent Carlier escribi?: > Forgot the file :) > From nigel at ...38... Fri Sep 30 10:55:31 2005 From: nigel at ...38... (nigel at ...38...) Date: Fri, 30 Sep 2005 10:55:31 +0200 (CEST) Subject: [Gambas-user] Exotic Mysql Problem Message-ID: <11926510.1128070531384.JavaMail.www@...796...> Alex, Not sure how you are using this but I have successfully tested the following: rResult = hConn.Exec("Select max(field) as maxfield from table") . . . PRINT rResult!maxfield Does this help? Nigel > Message Received: Sep 29 2005, 08:27 PM > From: "Alex Ciric" > To: gambas-user at lists.sourceforge.net > Cc: > Subject: [Gambas-user] Exotic Mysql Problem > > Hi. > > In my application i have to use the mysql-macro max(). > If i do a query like "select * from table" this works very good with > gambas and i am able to use the results for further stuff. > But if i do a query like "select max(field) from table" i get an error > message "field not found in myqsl table" > > Does anyone know this behavior or have a workaround? > > Sincerely > > alex Ciric > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From oreip at ...1... Fri Sep 30 15:03:56 2005 From: oreip at ...1... (PV) Date: Fri, 30 Sep 2005 15:03:56 +0200 Subject: [Gambas-user] Firebird driver Message-ID: <433D37BC.9090806@...1...> Hi all, is anyone successfully using the Firebird driver? I could compile it from source but every time I try to connect to an existing database, Gambas crashes and exits with a signal #6. Ciao, Piero From felice.cafarelli at ...324... Fri Sep 30 17:26:53 2005 From: felice.cafarelli at ...324... (Felice Cafarelli) Date: Fri, 30 Sep 2005 17:26:53 +0200 Subject: [Gambas-user] KUDLA.ORG??? In-Reply-To: <433D37BC.9090806@...1...> References: <433D37BC.9090806@...1...> Message-ID: <200509301726.53995.felice.cafarelli@...324...> Hi all, but where is www.kudla.org??? it's some time that i can only view a blank page... where can i find updated mandriva packages now? Greets Felix -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Email.it Phone Card: chiami in tutto il mondo a tariffe imbattibili da tutti i telefoni fissi e cellulari! Clicca e scopri come Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2686&d=30-9 From daniel at ...889... Fri Sep 30 17:36:05 2005 From: daniel at ...889... (Daniel) Date: Fri, 30 Sep 2005 17:36:05 +0200 Subject: [Gambas-user] Firebird driver In-Reply-To: <433D37BC.9090806@...1...> References: <433D37BC.9090806@...1...> Message-ID: <433D5B65.2070603@...889...> PV wrote: > Hi all, > > is anyone successfully using the Firebird driver? > I could compile it from source but every time I try to connect to an > existing database, Gambas crashes and exits with a signal #6. > > > Ciao, > Piero > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > yes i write this driver the library is the ibpp 2.3.5 ? you give the correct name, password ... etc ? you have access to the server with isql ? you have a login and password config. in firebird ? daniel From comtux at ...626... Fri Sep 30 18:47:35 2005 From: comtux at ...626... (Steve Starr) Date: Fri, 30 Sep 2005 16:47:35 +0000 Subject: [Gambas-user] (no subject) Message-ID: <78f4b7670509300947g6efee60m5c1a0f319c3483dd@...627...> Anyone wan't to tell me how i get a QuoteDbl into TextArea? The gambas code editor gets mad if i try to do thid TextArea.Text = (" " ") Thanks From oreip at ...1... Fri Sep 30 19:53:34 2005 From: oreip at ...1... (PV) Date: Fri, 30 Sep 2005 19:53:34 +0200 Subject: [Gambas-user] Firebird driver In-Reply-To: <433D5B65.2070603@...889...> References: <433D37BC.9090806@...1...> <433D5B65.2070603@...889...> Message-ID: <433D7B9E.8050609@...1...> On 30/09/2005 17:36, Daniel wrote: > yes > i write this driver > the library is the ibpp 2.3.5 ? yes, no problems or complaints from the compiler during compilation. > you give the correct name, password ... etc ? yes. > you have access to the server with isql ? hmm... this makes me think. Does the driver work both with a SS Firebird and with a CS one? I run a Classic one: any problems with it? On my box anyway, no problems to access the db through isql. > you have a login and password config. in firebird ? yes Ciao, Piero From sourceforge-raindog2 at ...94... Fri Sep 30 20:09:25 2005 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 30 Sep 2005 14:09:25 -0400 Subject: [Gambas-user] KUDLA.ORG??? In-Reply-To: <200509301726.53995.felice.cafarelli@...324...> References: <433D37BC.9090806@...1...> <200509301726.53995.felice.cafarelli@...324...> Message-ID: <200509301409.26185.sourceforge-raindog2@...94...> On Fri September 30 2005 11:26, Felice Cafarelli wrote: > but where is www.kudla.org??? > it's some time that i can only view a blank page... > where can i find updated mandriva packages now? My server's motherboard died a couple weeks ago, and while I bought a replacement machine, I haven't had the free half a day to wipe windows, install mandriva and get my site back online. That blank page is served from my laptop, on which I'm typing this. Today is the last business day of the month so I'm hoping this weekend I'll be able to do it. Sorry for the trouble. Rob From werda at ...1000... Fri Sep 30 19:42:57 2005 From: werda at ...1000... (Werner) Date: Sat, 01 Oct 2005 01:42:57 +0800 Subject: [Gambas-user] (no subject) In-Reply-To: <78f4b7670509300947g6efee60m5c1a0f319c3483dd@...627...> References: <78f4b7670509300947g6efee60m5c1a0f319c3483dd@...627...> Message-ID: <433D7921.2000707@...1000...> Steve Starr wrote: >Anyone wan't to tell me how i get a QuoteDbl into TextArea? >The gambas code editor gets mad if i try to do thid TextArea.Text = (" " ") > >Thanks > > > Assuming you want to display this: " have you tried " \" " this? The backslash is the escape character. Werner From daniel at ...889... Fri Sep 30 23:55:55 2005 From: daniel at ...889... (Daniel) Date: Fri, 30 Sep 2005 23:55:55 +0200 Subject: [Gambas-user] Firebird driver In-Reply-To: <433D7B9E.8050609@...1...> References: <433D37BC.9090806@...1...> <433D5B65.2070603@...889...> <433D7B9E.8050609@...1...> Message-ID: <433DB46B.4070206@...889...> PV wrote: > On 30/09/2005 17:36, Daniel wrote: > >> yes >> i write this driver >> the library is the ibpp 2.3.5 ? > > > yes, no problems or complaints from the compiler during compilation. > >> you give the correct name, password ... etc ? > > > yes. > >> you have access to the server with isql ? > > > hmm... this makes me think. > Does the driver work both with a SS Firebird and with a CS one? > I run a Classic one: any problems with it? > On my box anyway, no problems to access the db through isql. > >> you have a login and password config. in firebird ? > > > yes > > > Ciao, > Piero > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ok after you have installed gb.db.firebird, you make this command 1) ./reconfig _#### significant #### _1.a) rm makefile in ./gb.db.firebird and in ./gb.db.firebird/src 2) ./configure 3) make clean 4) make 5) move the libs ./src/.libs/gb.db.firebird.so gb.db.firebird.so.0 and gb.db.firebird.so.0.0.0 in /usr/lib daniel From kai at ...1127... Fri Sep 30 23:38:40 2005 From: kai at ...1127... (K Windle) Date: Fri, 30 Sep 2005 22:38:40 +0100 Subject: [Gambas-user] Gambas 2 install files In-Reply-To: <200509301409.26185.sourceforge-raindog2@...94...> References: <433D37BC.9090806@...1...> <200509301726.53995.felice.cafarelli@...324...> <200509301409.26185.sourceforge-raindog2@...94...> Message-ID: <433DB060.3070303@...1127...> Hi Gambas 2 wont make install files ie .rpm .deb etc etc. Im using debain have all devel files for rpm debian etc installed here is what gambas says Creating package for Debian. Initializing ~/RPM directory. Creating source package. Creating .spec file. Creating RPM packages. The package build has failed. and here is the shell out put to that drakx at ...1151...:~$ gambas2 Executing(%prep): /bin/sh -e /home/drakx/RPM/tmp/rpm-tmp.47823 + umask 022 + cd /home/drakx/RPM/BUILD + rm -rf /home/drakx/RPM/tmp/hi-buildroot + cd /home/drakx/RPM/BUILD + rm -rf hi + /usr/bin/bzip2 -dc /home/drakx/RPM/SOURCES/hi-0.0.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd hi + exit 0 Executing(%build): /bin/sh -e /home/drakx/RPM/tmp/rpm-tmp.47823 + umask 022 + cd /home/drakx/RPM/BUILD + cd hi + /usr/bin/gbc2 -a OK + gba /home/drakx/RPM/tmp/rpm-tmp.47823: line 23: gba: command not found error: Bad exit status from /home/drakx/RPM/tmp/rpm-tmp.47823 (%build) RPM build errors: Bad exit status from /home/drakx/RPM/tmp/rpm-tmp.47823 (%build) any one know how to fix this ? Thanks