From j.m.curl at ...17... Thu Jul 1 00:08:18 2004 From: j.m.curl at ...17... (Jason Curl) Date: Thu, 1 Jul 2004 00:08:18 +0200 Subject: [Gambas-user] About rpm generated by the IDE In-Reply-To: <200406302049.38366.gambasfr@...11...> Message-ID: <000c01c45eee$c7fde870$b7e3fea9@...511...> Just an idea, it's difficult to distribute a lot of small libraries. An end-user might expect only one RPM, and that it contains the files that require it to run. So, would it be possible that there be one or two RPMs installed with an application? The application itself (the first RPM of a two RPM install), and the other RPM containing the shared libraries that are needed to make it run (that would only be installed if Gambas is not installed). A one RPM system would include everything (but would take longer to download). The component packages already have dependency information (probably not enough though, as library information might also need to be included for some specific components, e.g. MySQL depending on MySQL already being installed). It would require extra work for the RPM build, because when installing the RPM I could envisage an executable that would run to actually install the libraries based on the dependencies and a local dependency file being maintained only for Gamba's components. In effect though this idea would probably require a Gambas only package manager for installing. But if carefully thought out the package descriptions could manage all of this with a few extensions? Cheers, Jason. Le mercredi 30 Juin 2004 15:16, drovar a ?crit : > danielcampos at ...282... wrote: > >>This is not a good idea, as installing a gambas application will >require > >> each component, > > > >Well, VB installs lot of libraries, so the user knows he has a complete > > developement environment and he can run all VB projects. > > But to actually run a VB app you only need the runtime DLL not the > entire development environment. The less that needs to be installed to > run a Gambas application the better I would think. > > Carl to run a gambas application, you need at less gb.qt, and more who require qt, or curl, or anything else.... gambas is not vb and we are not on windows.... fabien From genone at ...89... Thu Jul 1 20:08:43 2004 From: genone at ...89... (Marius Mauch) Date: Thu, 1 Jul 2004 20:08:43 +0200 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <200406251747.53461.gambas@...1...> References: <200406251747.53461.gambas@...1...> Message-ID: <20040701200843.1540156e@...388...> On 06/25/04 Benoit Minisini wrote: > Hi, > > I have just uploaded a updated version of 0.94 that replaces the > previous one. Hmm, did you link gambas-0.94.tar.bz2 to the 0.94a release? It's IMO a bad thing if a release tarball with the same name changes, this breaks our packaging system for instance (as the md5sum used for verification is different). If you don't want anyone to use a broken release please remove it, but don't link it to a new one. Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From bwells at ...475... Thu Jul 1 20:45:47 2004 From: bwells at ...475... (Brant Wells) Date: Thu, 01 Jul 2004 14:45:47 -0400 Subject: [Gambas-user] Immediate Pane Message-ID: <40E45BDB.8030208@...475...> Hi All... I was just wondering if there were any plans for implementing an immediate window? It's hard to have to start and stop my program just to try and figure out what exactly my errors are... It'd be a lot easier if I could just run one of my Subs while the program is stopped in Debug mode... If there are plans, that is great... If there are not... Please consider it... Until then, I have lots of pen & paper to burn... ;-) Thanks Guys! Gambas Rox! ~Brant From oxleyd at ...364... Thu Jul 1 20:36:58 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 1 Jul 2004 19:36:58 +0100 Subject: [Gambas-user] mySQL In-Reply-To: <001701c45c95$cc2c8a10$e53c4254@...360...> References: <40D1DA82.9070304@...475...> <40DC4A30.5050207@...475...> <20040625134931.M62730@...364...> <200406251443.47863.sourceforge-raindog2@...94...> <20040627191621.M53680@...364...> <001701c45c95$cc2c8a10$e53c4254@...360...> Message-ID: <20040701173604.M35902@...364...> Ahhhh, thats what I didn't do! Is it too late to compile the driver into gambas once gambas is installed? P.S. Do i need to remove Gambas before installing a new version? If so, how? Thanks ---------- Original Message ----------- From: "Nigel Gerrard" To: Sent: Sun, 27 Jun 2004 23:26:22 +0100 Subject: Re: [Gambas-user] mySQL > Daniel, > > Have you compiled the mysql driver? Check in gambas-0.94/src/lib/db/mysql > that > lib.gb.db.mysql.la exists. Tail the file to see the location the library > needs to be installed in. > e.g. /opt/gambas/lib/gambas. > > Then cd /opt/gambas/lib/gambas and ls *mysql*. If you have > lib.gb.db.mysql.so.0.0.0 > then you have compiled the driver. > > Remember you need the MySQL development packages to compile the driver. > > I suspect that you will not have compiled the driver. > > Let me know. > > Nigel > > ----- Original Message ----- > From: "Daniel Oxley" > To: > Sent: Sunday, June 27, 2004 9:20 PM > Subject: [Gambas-user] mySQL > > > Hi all, another question from me, but I promise it will be the last for a > > few days! > > > > "Cannot find driver for database: mysql" is the error message I receive. > > > > When I try the example database programs I get the same message so I don't > > think it is my code. My added components are: gb, gb.db & gb.qt > > > > Does anybody know what this means and how to fix it? I have mySQL running > > on Suse 9.1 > > > > I can access the db via MySQLcc so it is not permissions either. > > > > Thanks to everyone for the prompt help. > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.com > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambasfr at ...11... Thu Jul 1 22:29:03 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Thu, 1 Jul 2004 22:29:03 +0200 Subject: [Gambas-user] mySQL In-Reply-To: <20040701173604.M35902@...364...> References: <40D1DA82.9070304@...475...> <001701c45c95$cc2c8a10$e53c4254@...360...> <20040701173604.M35902@...364...> Message-ID: <200407012229.03733.gambasfr@...11...> Le jeudi 1 Juillet 2004 20:36, Daniel Oxley a ?crit : > Ahhhh, thats what I didn't do! > > Is it too late to compile the driver into gambas once gambas is installed? > > > P.S. Do i need to remove Gambas before installing a new version? If so, > how? > > Thanks > No it's not to late.... install the mysql-devel package and then go in the gambas directory type : ./reconf ./configure ./make ./make install Fabien From oxleyd at ...364... Thu Jul 1 21:11:33 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Thu, 1 Jul 2004 20:11:33 +0100 Subject: [Gambas-user] mySQL In-Reply-To: <200407012229.03733.gambasfr@...11...> References: <40D1DA82.9070304@...475...> <001701c45c95$cc2c8a10$e53c4254@...360...> <20040701173604.M35902@...364...> <200407012229.03733.gambasfr@...11...> Message-ID: <20040701181120.M54674@...364...> excellent, thank you. will do that. and how can I remove a Gambas install in order to install a newer version? AFAIK (or thought anyway) I could just delete the Gambas folder in /opt/gambas.....? ---------- Original Message ----------- From: Fabien Bodard To: gambas-user at lists.sourceforge.net Sent: Thu, 1 Jul 2004 22:29:03 +0200 Subject: Re: [Gambas-user] mySQL > Le jeudi 1 Juillet 2004 20:36, Daniel Oxley a ?crit : > > Ahhhh, thats what I didn't do! > > > > Is it too late to compile the driver into gambas once gambas is installed? > > > > > > P.S. Do i need to remove Gambas before installing a new version? If so, > > how? > > > > Thanks > > > > No it's not to late.... install the mysql-devel package > > and then go in the gambas directory > > type : > > ./reconf > ./configure > ./make > ./make install > > Fabien > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambasfr at ...11... Thu Jul 1 23:15:23 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Thu, 1 Jul 2004 23:15:23 +0200 Subject: [Gambas-user] mySQL In-Reply-To: <20040701181120.M54674@...364...> References: <40D1DA82.9070304@...475...> <200407012229.03733.gambasfr@...11...> <20040701181120.M54674@...364...> Message-ID: <200407012315.24286.gambasfr@...11...> Le jeudi 1 Juillet 2004 21:11, Daniel Oxley a ?crit : > excellent, thank you. ?will do that. > ? > and how can I remove a Gambas install in order to install a newer version? > ? AFAIK (or thought anyway) I could just delete the Gambas folder > in /opt/gambas.....? > ? just do a 'make uninstall' in the gambas directory are you a new linux user ? Fabien From oxleyd at ...364... Fri Jul 2 09:03:50 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 2 Jul 2004 09:03:50 +0200 Subject: [Gambas-user] mySQL In-Reply-To: <200407012315.24286.gambasfr@...11...> Message-ID: <200407020447.i624l4Ou008058@...364...> Not really, but one of the things I never learnt was how to uninstall a program! Thanks -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Fabien Bodard Sent: 01 July 2004 23:15 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] mySQL Le jeudi 1 Juillet 2004 21:11, Daniel Oxley a ?crit : > excellent, thank you. ?will do that. > ? > and how can I remove a Gambas install in order to install a newer version? > ? AFAIK (or thought anyway) I could just delete the Gambas folder > in /opt/gambas.....? > ? just do a 'make uninstall' in the gambas directory are you a new linux user ? Fabien ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From olinux at ...289... Fri Jul 2 16:00:18 2004 From: olinux at ...289... (olivier coquet) Date: Fri, 02 Jul 2004 16:00:18 +0200 Subject: [Gambas-user] Gambas in fedora core 2 distrib Message-ID: <1088776818.3492.1.camel@...37...> Howwwww marvelous Gambas 0.93b is automatiquely installed in fedora core2 when you use synaptic packet manager. regards Olivier From gambas at ...1... Fri Jul 2 23:52:48 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 2 Jul 2004 23:52:48 +0200 Subject: [Gambas-user] Gambas in fedora core 2 distrib In-Reply-To: <1088776818.3492.1.camel@...37...> References: <1088776818.3492.1.camel@...37...> Message-ID: <200407022352.48672.gambas@...1...> On Friday 02 July 2004 16:00, olivier coquet wrote: > Howwwww marvelous > > Gambas 0.93b is automatiquely installed in fedora core2 when you use > synaptic packet manager. > > regards > Olivier > > Could you be more precise ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jul 2 23:53:51 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 2 Jul 2004 23:53:51 +0200 Subject: [Gambas-user] Immediate Pane In-Reply-To: <40E45BDB.8030208@...475...> References: <40E45BDB.8030208@...475...> Message-ID: <200407022353.51102.gambas@...1...> On Thursday 01 July 2004 20:45, Brant Wells wrote: > Hi All... > > I was just wondering if there were any plans for implementing an > immediate window? It's hard to have to start and stop my program just > to try and figure out what exactly my errors are... It'd be a lot > easier if I could just run one of my Subs while the program is stopped > in Debug mode... > > If there are plans, that is great... If there are not... Please > consider it... Until then, I have lots of pen & paper to burn... ;-) > > Thanks Guys! > Gambas Rox! > ~Brant > > Alas this is too complicated at the moment... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jul 2 23:57:02 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 2 Jul 2004 23:57:02 +0200 Subject: [Gambas-user] About rpm generated by the IDE In-Reply-To: References: Message-ID: <200407022357.02801.gambas@...1...> On Wednesday 30 June 2004 18:11, danielcampos at ...282... wrote: > >This is not a good idea, as installing a gambas application will >require > > each component, > > Well, VB installs lot of libraries, so the user knows he has a complete > developement environment and he can run all VB projects. Why do you want to > puzzle programmers installing a lot of small pieces of a complete > environment? It sounds to me like Gnome hell... > > Regards, > > Daniel Campos > With something like urpmi on Mandrake, everything is automatic. And you can't compelled the user to install every library needed by every component just to run a little Gambas program. I understand that it is more work for the packagers. But I don't see any other solution. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jul 2 23:57:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 2 Jul 2004 23:57:27 +0200 Subject: [Gambas-user] About rpm generated by the IDE In-Reply-To: <40E2BD19.5010503@...3...> References: <40E2BD19.5010503@...3...> Message-ID: <200407022357.27640.gambas@...1...> On Wednesday 30 June 2004 15:16, drovar wrote: > danielcampos at ...282... wrote: > >>This is not a good idea, as installing a gambas application will >require > >> each component, > > > >Well, VB installs lot of libraries, so the user knows he has a complete > > developement environment and he can run all VB projects. > > But to actually run a VB app you only need the runtime DLL not the > entire development environment. The less that needs to be installed to > run a Gambas application the better I would think. > Yes, of course. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Jul 3 00:03:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Jul 2004 00:03:03 +0200 Subject: [Gambas-user] About rpm generated by the IDE In-Reply-To: <000c01c45eee$c7fde870$b7e3fea9@...511...> References: <000c01c45eee$c7fde870$b7e3fea9@...511...> Message-ID: <200407030003.03861.gambas@...1...> On Thursday 01 July 2004 00:08, Jason Curl wrote: > Just an idea, it's difficult to distribute a lot of small libraries. An > end-user might expect only one RPM, and that it contains the files that > require it to run. > With tools like urpmi (on Mandrake), or others (on Fedora, Debian), having many little rpms is not a problem. It is just more work for the packager. > So, would it be possible that there be one or two RPMs installed with an > application? The application itself (the first RPM of a two RPM > install), and the other RPM containing the shared libraries that are > needed to make it run (that would only be installed if Gambas is not > installed). A one RPM system would include everything (but would take > longer to download). Having one rpm for each component solves the problem. And you can make a virtual gambas-all rpm that loads every rpm component AND the rpm including the IDE (which is just a Gambas application. So its package can be made directly from the IDE!) > > The component packages already have dependency information (probably not > enough though, as library information might also need to be included for > some specific components, e.g. MySQL depending on MySQL already being > installed). > > It would require extra work for the RPM build, because when installing > the RPM I could envisage an executable that would run to actually > install the libraries based on the dependencies and a local dependency > file being maintained only for Gamba's components. In effect though this > idea would probably require a Gambas only package manager for > installing. But if carefully thought out the package descriptions could > manage all of this with a few extensions? I don't understand the need of that. RPM was designed for that, why not use it ? Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sat Jul 3 00:04:07 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 2 Jul 2004 18:04:07 -0400 Subject: [Gambas-user] About rpm generated by the IDE In-Reply-To: <200407022357.02801.gambas@...1...> References: <200407022357.02801.gambas@...1...> Message-ID: <200407021804.07841.sourceforge-raindog2@...94...> On Friday 02 July 2004 17:57, Benoit Minisini wrote: > > projects. Why do you want to puzzle programmers installing a > > lot of small pieces of a complete environment? It sounds to > > me like Gnome hell... > With something like urpmi on Mandrake, everything is > automatic. Only if the user has an appropriate urpmi source set up. Even with a pointer to instructions in every article on my site, most people could never figure out how to do that which is why I started making the gambas-complete package as well (and will continue to do so.) Naturally, when gambas eventually gets into contrib and becomes desirable enough that they actually update their packages more than a couple times a year, that won't be a problem anymore. Rob From olinux at ...289... Sat Jul 3 08:09:09 2004 From: olinux at ...289... (Olivier Coquet) Date: Sat, 03 Jul 2004 08:09:09 +0200 Subject: [Gambas-user] Gambas in fedora core 2 distrib In-Reply-To: <200407022352.48672.gambas@...1...> References: <1088776818.3492.1.camel@...37...> <200407022352.48672.gambas@...1...> Message-ID: <1088834949.12246.3.camel@...460...> gambas 0.93b rpm is in the list of fresh updates for fedora core 2 with synaptic (the paquet manager) you can install it when you update fedora. regards olivier Le ven 02/07/2004 ?? 23:52, Benoit Minisini a ??crit : > On Friday 02 July 2004 16:00, olivier coquet wrote: > > Howwwww marvelous > > > > Gambas 0.93b is automatiquely installed in fedora core2 when you use > > synaptic packet manager. > > > > regards > > Olivier > > > > > > Could you be more precise ? From gambas at ...1... Sat Jul 3 10:07:09 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Jul 2004 10:07:09 +0200 Subject: [Gambas-user] TabStrip question In-Reply-To: <40DEEC04.5060304@...69...> References: <40DD247F.1070904@...451...> <200406271048.54876.gambas@...1...> <40DEEC04.5060304@...69...> Message-ID: <200407031007.09793.gambas@...1...> On Sunday 27 June 2004 17:47, Paolo Saudin wrote: > Benoit Minisini wrote: > >On Saturday 26 June 2004 09:44, Paolo Saudin wrote: > >>Hi all, > >> > >>I've got a TabStrip control with two tabs. The default Enabled property > >>is set to false. When upon a user action I activate it, only the child > >>control on the first tab become active while the ones on the second tab > >>are still not enabled. Any idea? > >> > >>Thanks > >>Paolo > > > >Can you send some code that shows the problem ? > > Hi, attached there is the code that show the problem. > Reagrds, > Paolo Saudin OK. I fixed it. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Jul 3 10:07:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Jul 2004 10:07:35 +0200 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <20040701200843.1540156e@...388...> References: <200406251747.53461.gambas@...1...> <20040701200843.1540156e@...388...> Message-ID: <200407031007.35168.gambas@...1...> On Thursday 01 July 2004 20:08, Marius Mauch wrote: > On 06/25/04 Benoit Minisini wrote: > > Hi, > > > > I have just uploaded a updated version of 0.94 that replaces the > > previous one. > > Hmm, did you link gambas-0.94.tar.bz2 to the 0.94a release? It's IMO a > bad thing if a release tarball with the same name changes, this breaks > our packaging system for instance (as the md5sum used for verification > is different). If you don't want anyone to use a broken release please > remove it, but don't link it to a new one. > > Marius OK. I won't do that anymore. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Jul 3 10:08:33 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 3 Jul 2004 10:08:33 +0200 Subject: [Gambas-user] INHERITS, name resolution In-Reply-To: <200406241424.31042.christian.faurebouvard@...357...> References: <200406241424.31042.christian.faurebouvard@...357...> Message-ID: <200407031008.33214.gambas@...1...> On Thursday 24 June 2004 20:24, Christian Faure wrote: > Hi All, > Before all, The Gambas is VERY GOOD, thanks. > > I have a small test for objet inheritance based on 2 classes: > > --------BEGIN FILE Class1------------- > ' Gambas class file > PRIVATE d1 AS String > > PUBLIC SUB m1() > PRINT "C1::m1 " > END > -------- END FILE Class1------------- > --------BEGIN FILE Class2------------- > ' Gambas class file > INHERITS Class1 > PRIVATE d2 AS String > > PUBLIC SUB m2() > PRINT "C2::m2 " > END > -------- END FILE Class2------------- > -------- In a form i have a button1--- > PUBLIC SUB Button1_Click() > DIM c AS Object > c=NEW class2 > c.m1() > END > ------- END source code ----------- > > The Problem: > when click the button > i expect in console "C1::m1" > > but, i see "C2::m2" > > :-( > > It is a bug ? > > I have two workaround's > workaround 1: > -------- In a form i have a button1--- > PUBLIC SUB Button1_Click() > DIM c AS Object > dim d as Class1 > c=NEW class2 > d=c ' d and c references the same object, but d as declared as Class1 > d.m1() > END > ------- end source ---- > workaround 2: > In the class2 use a "ancestor" variable and re-declare method m1 to call > ancestor.m1() > --------BEGIN FILE Class2------------- > ' Gambas class file > INHERITS Class1 > PRIVATE d2 AS String > > PUBLIC SUB m1() > dim ancestor as Class1 > ancestor=me > ancestor.m1() > END > > PUBLIC SUB m2() > PRINT "C2::m2 " > END > -------- END FILE Class2------------- > > i think it is a small bug :->, i are interesting to solve it, > Can help me to find the algorithm of name resolution > of methods in gambas source code? > > Thanks. > > I finally fixed it. But you must wait for the next version. Regards, -- Benoit Minisini mailto:gambas at ...1... From bundeshund at ...467... Sun Jul 4 00:24:39 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sun, 4 Jul 2004 00:24:39 +0200 Subject: [Gambas-user] TextArea positioning to bottom after adding text Message-ID: <200407040024.39112.bundeshund@...467...> Salute! I wrote a little chat-application using mysql (nice, because this app uses already mysql-support, so I dont need any net-code for communication ;) ) . But one problem ist still left: After a user inserts and send a message-text, I add this text to the TextArea where all message-text from all users is shown. But the TextArea don't know that the new text is hidden and now it has to scroll to the bottom showing the new incoming text. Any suggestions how to? Thanks and best regards, HM From gambas at ...1... Sun Jul 4 01:32:02 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 4 Jul 2004 01:32:02 +0200 Subject: [Gambas-user] TextArea positioning to bottom after adding text In-Reply-To: <200407040024.39112.bundeshund@...467...> References: <200407040024.39112.bundeshund@...467...> Message-ID: <200407040132.02215.gambas@...1...> On Sunday 04 July 2004 00:24, Hans-Martin Bundeshund wrote: > Salute! > > I wrote a little chat-application using mysql (nice, because this app uses > already mysql-support, so I dont need any net-code for communication ;) ) > . > > But one problem ist still left: > After a user inserts and send a message-text, I add this text to the > TextArea where all message-text from all users is shown. But the TextArea > don't know that the new text is hidden and now it has to scroll to the > bottom showing the new incoming text. > > Any suggestions how to? > > Thanks and best regards, > > HM > > I will add a "EnsureVisible" method to the TextArea control in the next version, that will scroll the text so that the cursor is visible. Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Sun Jul 4 11:07:08 2004 From: lordheavy at ...512... (lordheavy) Date: Sun, 4 Jul 2004 11:07:08 +0200 Subject: [Gambas-user] "locking" of a textbox Message-ID: <200407041107.08782.lordheavy@...512...> Is there any way to "lock" a textbox with only numeric input ? like QLineEdit with QValidator ? Thanks ! Lordheavy From bundeshund at ...467... Sun Jul 4 11:18:20 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sun, 4 Jul 2004 11:18:20 +0200 Subject: [Gambas-user] "locking" of a textbox In-Reply-To: <200407041107.08782.lordheavy@...512...> References: <200407041107.08782.lordheavy@...512...> Message-ID: <200407041118.21007.bundeshund@...467...> Am Sonntag, 4. Juli 2004 11:07 schrieb lordheavy: > Is there any way to "lock" a textbox with only numeric input ? Try this: PUBLIC SUB TextBox_KeyPress() 'message.Info(Str(key.code)) 'with this unmarked you can easy see the codes IF key.code < 48 OR key.Code > 57 THEN message.Info("Please enter figures only!") ENDIF END > > like QLineEdit with QValidator ? I don't know this :( > > Thanks ! HTH > > Lordheavy HM From gambasfr at ...11... Sun Jul 4 11:30:39 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Sun, 4 Jul 2004 11:30:39 +0200 Subject: [Gambas-user] "locking" of a textbox In-Reply-To: <200407041107.08782.lordheavy@...512...> References: <200407041107.08782.lordheavy@...512...> Message-ID: <200407041130.40487.gambasfr@...11...> Le dimanche 4 Juillet 2004 11:07, lordheavy a ?crit : > Is there any way to "lock" a textbox with only numeric input ? > > like QLineEdit with QValidator ? > > Thanks ! > > Lordheavy > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Yes it's possible and simply in gambas : PUBLIC SUB TextBox1_KeyPress() IF Instr("0123456789", key.Text ) = 0 THEN STOP EVENT END It's a workaround that work well Fabien Bodard From lordheavy at ...512... Sun Jul 4 12:10:44 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Sun, 4 Jul 2004 12:10:44 +0200 Subject: [Gambas-user] "locking" of a textbox In-Reply-To: <200407041130.40487.gambasfr@...11...> References: <200407041107.08782.lordheavy@...512...> <200407041130.40487.gambasfr@...11...> Message-ID: <200407041210.45422.lordheavy@...512...> >PUBLIC SUB TextBox_KeyPress() > > 'message.Info(Str(key.code)) 'with this unmarked you can easy see the codes > IF key.code < 48 OR key.Code > 57 THEN > message.Info("Please enter figures only!") > ENDIF >END > > Yes it's possible and simply in gambas : > > PUBLIC SUB TextBox1_KeyPress() > > IF Instr("0123456789", key.Text ) = 0 THEN STOP EVENT > > END > thanks for pieces of code ! From lordheavy at ...512... Sun Jul 4 15:38:22 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Sun, 4 Jul 2004 15:38:22 +0200 Subject: [Gambas-user] my first piece of gambas coding .... Message-ID: <200407041538.22503.lordheavy@...512...> Here my first piece of code : hano? towers, release under gpl v2 or later. It is a transcription of Linux Magazine France tutorial python coding from Yves Bailly. It need improvement and graphics enhancement but it seem bugfree. Carlier Laurent http://lordheavy.chez.tiscali.fr/files/gambas/hanoi-0.5.tar.gz From daniel.campos at ...338... Sun Jul 4 16:59:33 2004 From: daniel.campos at ...338... (Daniel) Date: Sun, 04 Jul 2004 16:59:33 +0200 Subject: [Gambas-user] my first piece of gambas coding .... In-Reply-To: <200407041538.22503.lordheavy@...512...> References: <200407041538.22503.lordheavy@...512...> Message-ID: <1088953173.3229.10.camel@...40...> Cool! Here's spanish translation for Hano? 0.5 Regards, Daniel Campos El dom, 04-07-2004 a las 15:38, Carlier Laurent escribi?: > Here my first piece of code : hano? towers, release under gpl v2 or later. > > It is a transcription of Linux Magazine France tutorial python coding from > Yves Bailly. > > It need improvement and graphics enhancement but it seem bugfree. > > Carlier Laurent > > http://lordheavy.chez.tiscali.fr/files/gambas/hanoi-0.5.tar.gz > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: hanoi-es.po Type: text/x-po Size: 1353 bytes Desc: not available URL: From lordheavy at ...512... Sun Jul 4 23:07:55 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Sun, 4 Jul 2004 23:07:55 +0200 Subject: [Gambas-user] my first piece of gambas coding .... In-Reply-To: <1088953173.3229.10.camel@...40...> References: <200407041538.22503.lordheavy@...512...> <1088953173.3229.10.camel@...40...> Message-ID: <200407042307.55771.lordheavy@...512...> Thanks, here a new release (0.5.1rc1) with complete "translatable" strings A bugfix with mouvement calculation, added licence.txt. here : http://lordheavy.chez.tiscali.fr/files/gambas/ Laurent Carlier From lordheavy at ...512... Mon Jul 5 00:35:22 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Mon, 5 Jul 2004 00:35:22 +0200 Subject: [Gambas-user] my first piece of gambas coding .... In-Reply-To: <200407042307.55771.lordheavy@...512...> References: <200407041538.22503.lordheavy@...512...> <1088953173.3229.10.camel@...40...> <200407042307.55771.lordheavy@...512...> Message-ID: <200407050035.23290.lordheavy@...512...> oups : http://lordheavy.chez.tiscali.fr/files/gambas/hanoi-0.5.1rc1.tar.gz From na2492 at ...9... Sun Jul 4 19:39:46 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sun, 4 Jul 2004 19:39:46 00200 Subject: [Gambas-user] suse 9.1 Message-ID: <40e840e2.5c55.0@...9...> >Hi :) >Up to now i heard a lot about suse... Which i didn't believe ... >But when i run their cdrom live I think it deserved what has been said !!! >test it :) >HG >(sorry that has nothing to do with gambas... but it can help if any one is >looking for gambas on a clean distro) > Salut, dit you remark that you are still living in 2002 Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From girardhenri at ...67... Mon Jul 5 07:45:08 2004 From: girardhenri at ...67... (Henri Girard) Date: Mon, 5 Jul 2004 07:45:08 +0200 Subject: [Gambas-user] suse 9.1 References: <40e840e2.5c55.0@...9...> Message-ID: I don't understand why ? give me the clue ? thanks HG ----- Original Message ----- From: To: Sent: Sunday, July 04, 2004 7:39 PM Subject: Re: [Gambas-user] suse 9.1 > >Hi :) > >Up to now i heard a lot about suse... Which i didn't believe ... > >But when i run their cdrom live I think it deserved what has been said !!! > > >test it :) > >HG > >(sorry that has nothing to do with gambas... but it can help if any one is > > >looking for gambas on a clean distro) > > > Salut, > > dit you remark that you are still living in 2002 > > Amicalement > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From system at ...515... Mon Jul 5 11:12:10 2004 From: system at ...515... (Pierluigi) Date: Mon, 05 Jul 2004 11:12:10 +0200 Subject: [Gambas-user] problem compiling gambas on redhat 7.3 Message-ID: <40E91B6A.6080804@...515...> I'm, tryng to compile gambas on a redhat 7.3 but I'm having some problems.. Here is the error: c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/lib/qt-3.0.5/in clude/ -D_REENTRANT -g -O2 -pipe -Wall -fno-exceptions -g -Os -c qeditor.cpp -fPIC -DPIC -o qeditor.lo qeditor.cpp: In method `void QEditor::delAux ()': qeditor.cpp:3052: warning: unused variable `QRect oldContents' qeditor.cpp: In method `void QEditor::pasteSubType (const QCString &)': /usr/lib/qt-3.0.5/include/qstring.h:607: `QString &QString::replace (const QString &, co nst QString &)' is private qeditor.cpp:3896: within this context make[5]: *** [qeditor.lo] Error 1 make[5]: Leaving directory `/usr/local/src/gambas-0.94a/src/lib/qt/editor' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/local/src/gambas-0.94a/src/lib/qt' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/gambas-0.94a/src/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/gambas-0.94a/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/gambas-0.94a' make: *** [all-recursive-am] Error 2 Gcc version is: [root at ...516... gambas-0.94a]# gcc --version 2.96 Someone can help me please? Thank's in advance, Pierluigi Di Lorenzo From gambas at ...1... Mon Jul 5 12:01:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 5 Jul 2004 12:01:55 +0200 Subject: [Gambas-user] problem compiling gambas on redhat 7.3 In-Reply-To: <40E91B6A.6080804@...515...> References: <40E91B6A.6080804@...515...> Message-ID: <200407051202.01239.gambas@...1...> On Monday 05 July 2004 11:12, Pierluigi wrote: > I'm, tryng to compile gambas on a redhat 7.3 but I'm having some problems.. > Here is the error: > > c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share > -I/usr/lib/qt-3.0.5/in > clude/ -D_REENTRANT -g -O2 -pipe -Wall -fno-exceptions -g -Os -c > qeditor.cpp -fPIC -DPIC -o qeditor.lo > qeditor.cpp: In method `void QEditor::delAux ()': > qeditor.cpp:3052: warning: unused variable `QRect oldContents' > qeditor.cpp: In method `void QEditor::pasteSubType (const QCString &)': > /usr/lib/qt-3.0.5/include/qstring.h:607: `QString &QString::replace > (const QString &, co > nst QString &)' > is private > qeditor.cpp:3896: within this context > make[5]: *** [qeditor.lo] Error 1 > make[5]: Leaving directory `/usr/local/src/gambas-0.94a/src/lib/qt/editor' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory `/usr/local/src/gambas-0.94a/src/lib/qt' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/usr/local/src/gambas-0.94a/src/lib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/usr/local/src/gambas-0.94a/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/gambas-0.94a' > make: *** [all-recursive-am] Error 2 > > Gcc version is: > [root at ...516... gambas-0.94a]# gcc --version > 2.96 > > Someone can help me please? Thank's in advance, Pierluigi Di Lorenzo > > Hi, You must use at least qt 3.2 to compile gambas. Read the important notes on the web site to get the details. I suggest you upgrade to a recent distribution. Regards, -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Mon Jul 5 12:32:26 2004 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 05 Jul 2004 12:32:26 +0200 Subject: [Gambas-user] Gambas on Suse 8.2 - problem... Message-ID: <40E92E3A.30305@...221...> Hi, On my notebook there is a Suse 8.2. Due to limited RAM and HD space, I won't be able to install a newer version (I tried 9.1 I have here with Gambas running on it, but it's way too large and needs too much RAM). So, I tried to put Gambas 0.92a onto that machine, for I've got that very version here up and running on the Suse 9.1 system as said above. configure tells me it's missing some things like database and other stuff, most important it warns KDE is missing - although KDE 3 is on that machine and running. And I've KDevelop installed on it, too, without complaints. Configure complaints about the KDE header files missing - but I thought when KDevelop is installed, the necessary libraries should be there. When doing make, it is ready after rather short time, say 3 minutes, very unusual for such a system :-) And when installing it and starting, it says it cannot start due to some KDE stuff missing. Sorry, I don't have the notebook here and left the paper I noted at home, so I'm writing this from memory... I do remember that it was some qb.qt...so missing amongst others... Maybe someone can help who knows spontaneously what it is - but if you need further details, I could try to quote the configure text or something... Thanks! Rolf From bwells at ...475... Mon Jul 5 14:50:14 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 05 Jul 2004 08:50:14 -0400 Subject: [Gambas-user] Gambas on Suse 8.2 - problem... In-Reply-To: <40E92E3A.30305@...221...> References: <40E92E3A.30305@...221...> Message-ID: <40E94E86.4030804@...475...> Hey Eilert: You need to install the development libraries for KDE, it appears... You need to use the package manager for Suse, and install the libkdexxxx-devel libraries... [somebody correct me if I'm wrong!] Packages such as: libkdebase-devel, libkdegames-devel, etc, etc... You may also have to upgrade some of the other packages on your system, such as the QT Libraries, etc... Hopefully That is all you need, though! See Ya! ~Brant Eilert wrote: > Hi, > > On my notebook there is a Suse 8.2. Due to limited RAM and HD space, I > won't be able to install a newer version (I tried 9.1 I have here with > Gambas running on it, but it's way too large and needs too much RAM). > > So, I tried to put Gambas 0.92a onto that machine, for I've got that > very version here up and running on the Suse 9.1 system as said above. > > configure tells me it's missing some things like database and other > stuff, most important it warns KDE is missing - although KDE 3 is on > that machine and running. And I've KDevelop installed on it, too, > without complaints. Configure complaints about the KDE header files > missing - but I thought when KDevelop is installed, the necessary > libraries should be there. > > When doing make, it is ready after rather short time, say 3 minutes, > very unusual for such a system :-) > > And when installing it and starting, it says it cannot start due to > some KDE stuff missing. > > Sorry, I don't have the notebook here and left the paper I noted at > home, so I'm writing this from memory... > > I do remember that it was some qb.qt...so missing amongst others... > > Maybe someone can help who knows spontaneously what it is - but if you > need further details, I could try to quote the configure text or > something... > > Thanks! > > Rolf > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bwells at ...475... Mon Jul 5 14:42:37 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 05 Jul 2004 08:42:37 -0400 Subject: [Gambas-user] TextArea positioning to bottom after adding text In-Reply-To: <200407040024.39112.bundeshund@...467...> References: <200407040024.39112.bundeshund@...467...> Message-ID: <40E94CBD.8000500@...475...> Hey Hans: You could just insert this one line in the TextArea_CHANGE event... textarea1.Select(Len(txtlog.text),1) It moves it to the end of the text area. HTH! [Hope That Helps!] ~Brant Hans-Martin Bundeshund wrote: >Salute! > >I wrote a little chat-application using mysql (nice, because this app uses >already mysql-support, so I dont need any net-code for communication ;) ) . > >But one problem ist still left: >After a user inserts and send a message-text, I add this text to the TextArea >where all message-text from all users is shown. But the TextArea don't know >that the new text is hidden and now it has to scroll to the bottom showing >the new incoming text. > >Any suggestions how to? > >Thanks and best regards, > >HM > > > > From bundeshund at ...467... Mon Jul 5 15:41:49 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Mon, 5 Jul 2004 15:41:49 +0200 Subject: [Gambas-user] TextArea positioning to bottom after adding text In-Reply-To: <40E94CBD.8000500@...475...> References: <200407040024.39112.bundeshund@...467...> <40E94CBD.8000500@...475...> Message-ID: <200407051541.49135.bundeshund@...467...> Am Montag, 5. Juli 2004 14:42 schrieb Brant Wells: > textarea1.Select(Len(txtlog.text),1) Thanks for the answer. But... Maybe I use it wrong but it has no effect. ChatTextArea.Text = ChatTextArea.Text & "\n" & user & ": " & sndTextBox.Text ChatTextArea.Select(Len(ChatTextArea,Text),1) 'ChatTextArea.Refresh me.refresh regards, HM From lordheavy at ...512... Mon Jul 5 16:43:46 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Mon, 5 Jul 2004 16:43:46 +0200 Subject: [Gambas-user] bug ? Message-ID: <200407051643.46426.lordheavy@...512...> I cannot put the character '<' in a textLabel. It doesn't appear. it seems there's no prob with others characters. ex : textlabel1.text = "test <<>>" doesn't show '<' characters ! Carlier Laurent From sourceforge-raindog2 at ...94... Mon Jul 5 16:52:11 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 5 Jul 2004 10:52:11 -0400 Subject: [Gambas-user] bug ? In-Reply-To: <200407051643.46426.lordheavy@...512...> References: <200407051643.46426.lordheavy@...512...> Message-ID: <200407051052.11303.sourceforge-raindog2@...94...> On Monday 05 July 2004 10:43, Carlier Laurent wrote: > I cannot put the character '<' in a textLabel. It doesn't > appear. it seems there's no prob with others characters. TextLabel is an HTML displaying label. So you need to use < for the less than sign, otherwise it's interpreted as a tag opening. Rob From bwells at ...475... Mon Jul 5 16:58:03 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 05 Jul 2004 10:58:03 -0400 Subject: [Gambas-user] TextArea positioning to bottom after adding text In-Reply-To: <200407051541.49135.bundeshund@...467...> References: <200407040024.39112.bundeshund@...467...> <40E94CBD.8000500@...475...> <200407051541.49135.bundeshund@...467...> Message-ID: <40E96C7B.4010401@...475...> An HTML attachment was scrubbed... URL: From lordheavy at ...512... Mon Jul 5 17:06:54 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Mon, 5 Jul 2004 17:06:54 +0200 Subject: [Gambas-user] bug ? In-Reply-To: <200407051052.11303.sourceforge-raindog2@...94...> References: <200407051643.46426.lordheavy@...512...> <200407051052.11303.sourceforge-raindog2@...94...> Message-ID: <200407051706.54970.lordheavy@...512...> Le lundi 5 Juillet 2004 16:52, Rob a ?crit?: > On Monday 05 July 2004 10:43, Carlier Laurent wrote: > > I cannot put the character '<' in a textLabel. It doesn't > > appear. it seems there's no prob with others characters. > > TextLabel is an HTML displaying label. So you need to use < > for the less than sign, otherwise it's interpreted as a tag > opening. > > Rob thanks ! it isn't in gambas docs :) From sourceforge-raindog2 at ...94... Mon Jul 5 17:41:32 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 5 Jul 2004 11:41:32 -0400 Subject: [Gambas-user] bug ? In-Reply-To: <200407051706.54970.lordheavy@...512...> References: <200407051643.46426.lordheavy@...512...> <200407051052.11303.sourceforge-raindog2@...94...> <200407051706.54970.lordheavy@...512...> Message-ID: <200407051141.32161.sourceforge-raindog2@...94...> On Monday 05 July 2004 11:06, Carlier Laurent wrote: > thanks ! it isn't in gambas docs :) It is now ;) Rob From karl.reinl at ...9... Sun Jul 4 18:22:25 2004 From: karl.reinl at ...9... (Charlie) Date: Sun, 04 Jul 2004 18:22:25 +0200 Subject: [Gambas-user] suse 9.1 References: <40e840e2.5c55.0@...9...> Message-ID: <40E82EC1.6060902@...9...> Henri Girard schrieb: >I don't understand why ? >give me the clue ? >thanks >HG >----- Original Message ----- >From: >To: >Sent: Sunday, July 04, 2004 7:39 PM >Subject: Re: [Gambas-user] suse 9.1 > > > > >>>Hi :) >>>Up to now i heard a lot about suse... Which i didn't believe ... >>>But when i run their cdrom live I think it deserved what has been said >>> >>> >!!! > > >>>test it :) >>>HG >>>(sorry that has nothing to do with gambas... but it can help if any one >>> >>> >is > > >>>looking for gambas on a clean distro) >>> >>> >>> >>Salut, >> >>dit you remark that you are still living in 2002 >> >>Amicalement >>Charlie >>* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * >> >> >> Salut Henri, I attached your last 4 mails as screenshot, they where all posted in 2002 Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Schnappschuss2.png Type: image/png Size: 17279 bytes Desc: not available URL: From gambas at ...1... Mon Jul 5 20:54:16 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 5 Jul 2004 20:54:16 +0200 Subject: [Gambas-user] About workspace and MDI applications Message-ID: <200407052054.16532.gambas@...1...> Hi, everybody. I tried to transform the Gambas IDE in a fully MDI application base on the Workspace control. Alas I failed to make a really useful and functional Workspace control to do that, because the QWorkspace Qt widget is very poorly designed. So, I think I won't do that for the 1.0. But don't worry, I will find another way of having everything in one window, like KMail does. At the moment, I think that the Workspace control is a bit useless. Will somebody be annoyed if I removed it in the next version ? Regards, -- Benoit Minisini mailto:gambas at ...1... From girardhenri at ...67... Mon Jul 5 21:45:42 2004 From: girardhenri at ...67... (Henri Girard) Date: Mon, 5 Jul 2004 21:45:42 +0200 Subject: [Gambas-user] i didn't notice it... References: <40e840e2.5c55.0@...9...> <40E82EC1.6060902@...9...> Message-ID: Hi :) I had a virus on xp and I think i had to set the clock back.. time to get it away.. But i forget to set it the right time... thanks :) Henri From na2492 at ...9... Mon Jul 5 21:44:44 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 5 Jul 2004 21:44:44 00200 Subject: [Gambas-user] About workspace and MDI applications Message-ID: <40e9afac.1001.0@...9...> >Hi, everybody. > >I tried to transform the Gambas IDE in a fully MDI application base on the >Workspace control. > >Alas I failed to make a really useful and functional Workspace control to do >that, because the QWorkspace Qt widget is very poorly designed. > >So, I think I won't do that for the 1.0. But don't worry, I will find another >way of having everything in one window, like KMail does. > >At the moment, I think that the Workspace control is a bit useless. Will >somebody be annoyed if I removed it in the next version ? > >Regards, > >-- >Benoit Minisini Salut, don't you use it in the database-manager ? Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From bundeshund at ...467... Mon Jul 5 21:55:41 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Mon, 5 Jul 2004 21:55:41 +0200 Subject: [Gambas-user] TextArea positioning to bottom after adding text :)) In-Reply-To: <40E96C7B.4010401@...475...> References: <200407040024.39112.bundeshund@...467...> <200407051541.49135.bundeshund@...467...> <40E96C7B.4010401@...475...> Message-ID: <200407052155.41855.bundeshund@...467...> Am Montag, 5. Juli 2004 16:58 schrieb Brant Wells: > You are using it right... just in the wrong spot...? In my apps, I put > that in the CHANGE event for the text area...? > So on the form with ChatTextArea, right click on it, and choose the > CHANGE event...? and putChatTextArea.Select(Len(ChatTextArea,Text),1) > in there... and see what happens. :)) Looks pretty well! Did what it have to. Thanks a lot! (Since I discoverd gambas, I have so much ideas for some little tools. I like the thought or idea using gambas-apps as a frontend for command-line-tools, or a frontend for storing data into a sql-db. Or just write a little tool like a shoppinglist-administration or whatever) By the way, where is a good start, when I want to write a chat-app with real net-code using gambas? > See ya! > > ~Brant HM From gambas at ...1... Mon Jul 5 21:59:11 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 5 Jul 2004 21:59:11 +0200 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: <40e9afac.1001.0@...9...> References: <40e9afac.1001.0@...9...> Message-ID: <200407052159.11899.gambas@...1...> On Monday 05 July 2004 23:44, na2492 at ...9... wrote: > >Hi, everybody. > > > >I tried to transform the Gambas IDE in a fully MDI application base on the > > > >Workspace control. > > > >Alas I failed to make a really useful and functional Workspace control to > > do > > > >that, because the QWorkspace Qt widget is very poorly designed. > > > >So, I think I won't do that for the 1.0. But don't worry, I will find > > another > > > >way of having everything in one window, like KMail does. > > > >At the moment, I think that the Workspace control is a bit useless. Will > >somebody be annoyed if I removed it in the next version ? > > > >Regards, > > > >-- > >Benoit Minisini > > Salut, > > don't you use it in the database-manager ? > > Amicalement > Charlie > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > Yes... Maybe I will turn the database manager back to a SDI interface. Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Mon Jul 5 22:31:53 2004 From: daniel.campos at ...338... (Daniel) Date: Mon, 05 Jul 2004 22:31:53 +0200 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: <200407052054.16532.gambas@...1...> References: <200407052054.16532.gambas@...1...> Message-ID: <1089059513.3225.6.camel@...40...> El lun, 05-07-2004 a las 20:54, Benoit Minisini escribi?: > Hi, everybody. > > I tried to transform the Gambas IDE in a fully MDI application base on the > Workspace control. > > Alas I failed to make a really useful and functional Workspace control to do > that, because the QWorkspace Qt widget is very poorly designed. > > So, I think I won't do that for the 1.0. But don't worry, I will find another > way of having everything in one window, like KMail does. > > At the moment, I think that the Workspace control is a bit useless. Will > somebody be annoyed if I removed it in the next version ? I'd love it, as GTK+ people seems to hate MDI, however Fabien did some work with an IRC client using that Workspace control... Regards, Daniel Campos > > Regards, From gambas at ...1... Mon Jul 5 22:43:13 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 5 Jul 2004 22:43:13 +0200 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: <1089059513.3225.6.camel@...40...> References: <200407052054.16532.gambas@...1...> <1089059513.3225.6.camel@...40...> Message-ID: <200407052243.13775.gambas@...1...> On Monday 05 July 2004 22:31, Daniel wrote: > El lun, 05-07-2004 a las 20:54, Benoit Minisini escribi?: > > Hi, everybody. > > > > I tried to transform the Gambas IDE in a fully MDI application base on > > the Workspace control. > > > > Alas I failed to make a really useful and functional Workspace control to > > do that, because the QWorkspace Qt widget is very poorly designed. > > > > So, I think I won't do that for the 1.0. But don't worry, I will find > > another way of having everything in one window, like KMail does. > > > > At the moment, I think that the Workspace control is a bit useless. Will > > somebody be annoyed if I removed it in the next version ? > > I'd love it, as GTK+ people seems to hate MDI, however Fabien did some > work with an IRC client using that Workspace control... > > Regards, > > Daniel Campos > The problem is that there are many inconsistencies (should I say design flaws ?) in the way MDI windows are handles. I couldn't succeed in having MDI child windows that raise their events correctly. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Mon Jul 5 23:14:45 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 5 Jul 2004 23:14:45 +0200 Subject: [Gambas-user] Gambas VS VB Message-ID: <200407052314.45910.gambasfr@...11...> Does someOne have take time to compare gambas and visual basic... make a bench on simple thing, like String concataination Math, etc... for exemple, on a amd xp2100 256 mo RAM I fill a tree with 10000 entry on 2 level in gambas -> 0.2 sec in vb -> 1,2 sec... funny Please if you use Visual basic 7 or 8 and have a little bite time... Send your bench. I will had them on my site, (only if gambas is better.... Don't worry i'm not serious) But by this way, we can know where gambas, can take his place, in the language collection. To benoit : i don't really know python, but i think it's a script language too. Does it work at the same as gambas, via a pCode. And in this case, can we compare the too language. Because python is a very good language, and have a good power (can drive games, and can be embedded). Fabien From gambasfr at ...11... Mon Jul 5 23:32:08 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 5 Jul 2004 23:32:08 +0200 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: <200407052243.13775.gambas@...1...> References: <200407052054.16532.gambas@...1...> <1089059513.3225.6.camel@...40...> <200407052243.13775.gambas@...1...> Message-ID: <200407052332.08886.gambasfr@...11...> Le lundi 5 Juillet 2004 22:43, Benoit Minisini a ?crit : > On Monday 05 July 2004 22:31, Daniel wrote: > > El lun, 05-07-2004 a las 20:54, Benoit Minisini escribi?: > > > Hi, everybody. > > > > > > I tried to transform the Gambas IDE in a fully MDI application base on > > > the Workspace control. > > > > > > Alas I failed to make a really useful and functional Workspace control > > > to do that, because the QWorkspace Qt widget is very poorly designed. > > > > > > So, I think I won't do that for the 1.0. But don't worry, I will find > > > another way of having everything in one window, like KMail does. > > > > > > At the moment, I think that the Workspace control is a bit useless. > > > Will somebody be annoyed if I removed it in the next version ? > > > > I'd love it, as GTK+ people seems to hate MDI, however Fabien did some > > work with an IRC client using that Workspace control... > > > > Regards, > > > > Daniel Campos > > The problem is that there are many inconsistencies (should I say design > flaws ?) in the way MDI windows are handles. I couldn't succeed in having > MDI child windows that raise their events correctly. > > Regards, Has i say, some week before, i prefere the vb4 to vb6 lol. Has i say, some week before, i work on boxed class, to drive, multi toobar in one (like gimp, photoshop, etc...). For gambas editor there is many way : - kate system - gedit system in my idea, i see an editor box who can be in one by one windows, or many by one (with bookmark), or many by many. Does you understand what i mean... A gambas ide by user... Move each edit as an object to another editor, will add in this one a new bookmark with the last one(drag & drop).... I just need the capability to change a widget parent, and a form parent... In fact, a good linux user, take one desktop for the major application... But a good management of the toolbar help him to not have a messy workspace. Just imagine : in the background you have your desktop with icons, you open a new project, after on your desktop, you open your gbmodule folder, and push it in background, do the same with picture, and then just drag & drop what you need. (work like a mac user) I know i'm not very clear, don't worry, i've not drunk this night, it's the fault to my poor english... erf well, weather is good, vine grown, and bird sings... life is pretty. Fabien Bodard From bwells at ...475... Mon Jul 5 23:07:57 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 05 Jul 2004 17:07:57 -0400 Subject: [Gambas-user] TextArea positioning to bottom after adding text :)) In-Reply-To: <200407052155.41855.bundeshund@...467...> References: <200407040024.39112.bundeshund@...467...> <200407051541.49135.bundeshund@...467...> <40E96C7B.4010401@...475...> <200407052155.41855.bundeshund@...467...> Message-ID: <40E9C32D.2080803@...475...> An HTML attachment was scrubbed... URL: From gambasfr at ...11... Mon Jul 5 23:38:34 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 5 Jul 2004 23:38:34 +0200 Subject: [Gambas-user] i didn't notice it... In-Reply-To: References: <40e840e2.5c55.0@...9...> <40E82EC1.6060902@...9...> Message-ID: <200407052338.34715.gambasfr@...11...> Le lundi 5 Juillet 2004 21:45, Henri Girard a ?crit : > Hi :) > I had a virus on xp and I think i had to set the clock back.. time to get > it away.. But i forget to set it the right time... > thanks :) > Henri > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Return-Path: Received: from mwinf0405.wanadoo.fr (mwinf0405.wanadoo.fr) by mwinb0903 (SMTP Server) with LMTP; Mon, 05 Jul 2004 09:10:51 +0200 X-Sieve: Server Sieve 2.2 Received: from mwinf0404.wanadoo.fr (mwinf0404 [172.22.135.26]) by mwinf0405.wanadoo.fr (SMTP Server) with ESMTP id 9FC6714004083; Mon, 5 Jul 2004 09:10:51 +0200 (CEST) Received: from sc8-sf-list2.sourceforge.net (lists.sourceforge.net [66.35.250.206]) by mwinf0404.wanadoo.fr (SMTP Server) with ESMTP id 351571800174; Mon, 5 Jul 2004 09:10:51 +0200 (CEST) Received: from localhost ([127.0.0.1] helo=projects.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1BhNc9-00077g-6Z; Mon, 05 Jul 2004 00:10:09 -0700 Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1BhNZE-0006QU-Rr for gambas-user at lists.sourceforge.net; Mon, 05 Jul 2004 00:07:09 -0700 Received: from externalmx-1.sourceforge.net ([12.152.184.25]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.34) id 1BhNZD-00039H-QD for gambas-user at lists.sourceforge.net; Mon, 05 Jul 2004 00:07:08 -0700 Received: from bay8-dav27.bay8.hotmail.com ([64.4.26.84] helo=hotmail.com) by externalmx-1.sourceforge.net with esmtp (Exim 4.34) id 1BhTCZ-0006cJ-Rs for gambas-user at lists.sourceforge.net; Mon, 05 Jul 2004 06:08:10 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 4 Jul 2004 22:45:13 -0700 Received: from 80.8.16.177 by bay8-dav27.bay8.hotmail.com with DAV; Mon, 05 Jul 2004 05:45:12 +0000 X-Originating-IP: [80.8.16.177] X-Originating-Email: [girardhenri at ...67...] X-Sender: girardhenri at ...67... From: "Henri Girard" To: References: <40e840e2.5c55.0 at ...9...> Subject: Re: [Gambas-user] suse 9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 05 Jul 2004 05:45:13.0267 (UTC) FILETIME=[3DD93830:01C46253] X-Spam-Score: 1.2 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email 0.1 RCVD_IN_SORBS RBL: SORBS: sender is listed in SORBS [80.8.16.177 listed in dnsbl.sorbs.net] X-Spam-Score: 1.1 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email Sender: gambas-user-admin at lists.sourceforge.net Errors-To: gambas-user-admin at lists.sourceforge.net X-BeenThere: gambas-user at lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk Reply-To: gambas-user at lists.sourceforge.net List-Unsubscribe: , List-Id: mailing list for gambas users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Mon, 5 Jul 2004 07:45:08 +0200 Status: R X-Status: N X-KMail-EncryptionState: X-KMail-SignatureState: X-KMail-MDN-Sent: curious i've not the same thing!! find in this header when henri have send his source... another thing, ... it's sourceforge who send the mailing list no ? Fabien From lordheavy at ...512... Mon Jul 5 23:41:08 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Mon, 5 Jul 2004 23:41:08 +0200 Subject: [Gambas-user] TextArea positioning to bottom after adding text :)) In-Reply-To: <40E9C32D.2080803@...475...> References: <200407040024.39112.bundeshund@...467...> <200407052155.41855.bundeshund@...467...> <40E9C32D.2080803@...475...> Message-ID: <200407052341.09612.lordheavy@...512...> And you should send yours mails in plain text rather than in html. Please :) Carlier Laurent From gambasfr at ...11... Mon Jul 5 23:54:08 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Mon, 5 Jul 2004 23:54:08 +0200 Subject: [Gambas-user] TextArea positioning to bottom after adding text :)) In-Reply-To: <40E9C32D.2080803@...475...> References: <200407040024.39112.bundeshund@...467...> <200407052155.41855.bundeshund@...467...> <40E9C32D.2080803@...475...> Message-ID: <200407052354.08921.gambasfr@...11...> Le lundi 5 Juillet 2004 23:07, Brant Wells a ?crit : Here is anthother uncommented and old and buggy exemple ... but it can help you : Fabien Bodard > Hey Hans: > > Glad it worked for ya! > > The Networking / Client Socket example could be a good place to start for > ya. > > Ciao > ~Brant > > Hans-Martin Bundeshund wrote: > Am Montag, 5. Juli 2004 16:58 schrieb Brant Wells: > > > You are using it right... just in the wrong spot...? In my apps, I put > that in the CHANGE event for the text area...? > So on the form with ChatTextArea, right click on it, and choose the > CHANGE event...? and putChatTextArea.Select(Len(ChatTextArea,Text),1) > in there... and see what happens. > > :)) Looks pretty well! Did what it have to. Thanks a lot! > > (Since I discoverd gambas, I have so much ideas for some little tools. I > like the thought or idea using gambas-apps as a frontend for > command-line-tools, or a frontend for storing data into a sql-db. Or just > write a little tool like a shoppinglist-administration or whatever) > > By the way, where is a good start, when I want to write a chat-app with > real net-code using gambas? > > > See ya! > > > ~Brant > > > HM > > ------------------------------------------------------- This SF.Net email > sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & > Training, Las Vegas July 24-29 - digital self defense, top technical > experts, no vendor pitches, unmatched networking opportunities. Visit > www.blackhat.com _______________________________________________ > Gambas-user mailing list Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: capture25.png Type: image/png Size: 79676 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gbIRC2-0.0.1.tar.gz Type: application/x-tgz Size: 40851 bytes Desc: not available URL: From lordheavy at ...512... Tue Jul 6 00:29:30 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Tue, 6 Jul 2004 00:29:30 +0200 Subject: [Gambas-user] little game ... Message-ID: <200407060029.30602.lordheavy@...512...> This is a little "educationnal" game done for my children. see : http://lordheavy.chez.tiscali.fr/files/gambas/compare-0.1.tar.gz From sourceforge-raindog2 at ...94... Tue Jul 6 02:18:25 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 5 Jul 2004 20:18:25 -0400 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: <200407052054.16532.gambas@...1...> References: <200407052054.16532.gambas@...1...> Message-ID: <200407052018.25276.sourceforge-raindog2@...94...> On Monday 05 July 2004 14:54, Benoit Minisini wrote: > At the moment, I think that the Workspace control is a bit > useless. Will somebody be annoyed if I removed it in the next > version ? I didn't find it useless at all (though it was annoying to try to make an MDI Gambas IDE with docking etc.) and have made a few projects that use it. Would you be replacing it with another MDI container or merely removing MDI functionality from gambas altogether? I know it's not Linuxly Correct to like MDI apps, but my clients are more concerned with getting work done (and having their new apps look like their old ones) than being Linuxly Correct ;) Rob From Tim.Hanschen at ...20... Tue Jul 6 06:58:03 2004 From: Tim.Hanschen at ...20... (Tim Hanschen) Date: Tue, 06 Jul 2004 06:58:03 +0200 Subject: [Gambas-user] size of scrollbars Message-ID: <1391512937@...20...> Me again... I designed different forms with listboxes. The scrollbars at the listboxes are a bit too small for my user interface. Is it possible to resize them? regards, - Tim - _______________________________________________________ WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern Informationen unter: http://freemail.web.de/?mc=021199 From budi at ...415... Tue Jul 6 08:30:09 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 06 Jul 2004 13:30:09 +0700 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: <200407052159.11899.gambas@...1...> References: <40e9afac.1001.0@...9...> <200407052159.11899.gambas@...1...> Message-ID: I actually never use that workspace control anyway. Eventho i expect that gambas will be in MDI style, just like QTDesigner. BTW Guys..for DB manager, i've made a front-end application just like MySQLFront (in windows), but it still the interface, since i still got no time to go on it for now. Any wanna see and finish it .. LOL. Thanks Budi On Mon, 5 Jul 2004 21:59:11 +0200, Benoit Minisini wrote: > On Monday 05 July 2004 23:44, na2492 at ...9... wrote: >> >Hi, everybody. >> > >> >I tried to transform the Gambas IDE in a fully MDI application base on >> the >> > >> >Workspace control. >> > >> >Alas I failed to make a really useful and functional Workspace control >> to >> > do >> > >> >that, because the QWorkspace Qt widget is very poorly designed. >> > >> >So, I think I won't do that for the 1.0. But don't worry, I will find >> > another >> > >> >way of having everything in one window, like KMail does. >> > >> >At the moment, I think that the Workspace control is a bit useless. >> Will >> >somebody be annoyed if I removed it in the next version ? >> > >> >Regards, >> > >> >-- >> >Benoit Minisini >> >> Salut, >> >> don't you use it in the database-manager ? >> >> Amicalement >> Charlie >> * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * >> > > Yes... Maybe I will turn the database manager back to a SDI interface. > > Regards, > -- Regards, Budi From oxleyd at ...364... Tue Jul 6 09:17:21 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 6 Jul 2004 09:17:21 +0200 Subject: [Gambas-user] Gambas & SDI In-Reply-To: <200407052332.08886.gambasfr@...11...> Message-ID: <200407060458.i664wcOu032750@...364...> There is a download from Rob's website to change the MDI interface for gambas into one that is all contained in 1 window. As Rob has said that he does not support it, I was just wondering if anyone else has managed to get it working with the latest version? When I run it I get an error. As I am at work at the moment, I can't post the error and I have forgotten what it says (I have to use Windows here!). Daniel From rizky at ...225... Tue Jul 6 10:03:23 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Tue, 06 Jul 2004 15:03:23 +0700 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: References: <40e9afac.1001.0@...9...> <200407052159.11899.gambas@...1...> Message-ID: <6.0.0.22.2.20040706150151.01c06c60@...329...> At 13:30 06/07/2004, Budi Arief Gusandi wrote: >I actually never use that workspace control anyway. Eventho i expect that >gambas will be in MDI style, just like QTDesigner. >BTW Guys..for DB manager, i've made a front-end application just like >MySQLFront (in windows), but it still the interface, since i still got no >time to go on it for now. Any wanna see and finish it .. LOL. ask benoit for the code about program like mysqlfront that i already worked with gambas.. but not finished.. :( (too bad on me) From budi at ...415... Tue Jul 6 10:14:16 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 06 Jul 2004 15:14:16 +0700 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: <6.0.0.22.2.20040706150151.01c06c60@...329...> References: <40e9afac.1001.0@...9...> <200407052159.11899.gambas@...1...> <6.0.0.22.2.20040706150151.01c06c60@...329...> Message-ID: Rizky...why should i ask him if i can get it directly from ya..LOL ;) On Tue, 06 Jul 2004 15:03:23 +0700, Rizky Tahara Shita wrote: > At 13:30 06/07/2004, Budi Arief Gusandi wrote: >> I actually never use that workspace control anyway. Eventho i expect >> that >> gambas will be in MDI style, just like QTDesigner. >> BTW Guys..for DB manager, i've made a front-end application just like >> MySQLFront (in windows), but it still the interface, since i still got >> no >> time to go on it for now. Any wanna see and finish it .. LOL. > > ask benoit for the code about program like mysqlfront that i already > worked with gambas.. > but not finished.. :( (too bad on me) > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Regards, Budi From rizky at ...225... Tue Jul 6 11:49:53 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Tue, 06 Jul 2004 16:49:53 +0700 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: References: <40e9afac.1001.0@...9...> <200407052159.11899.gambas@...1...> <6.0.0.22.2.20040706150151.01c06c60@...329...> Message-ID: <6.0.0.22.2.20040706164537.01d46bd8@...329...> At 15:14 06/07/2004, Budi Arief Gusandi wrote: >Rizky...why should i ask him if i can get it directly from ya..LOL ;) damn... my box just have a new man10... boy.. i lost them all... cause i have post that project to benoit to continue it.. but he refuse... anyway i also already have an account to sourceforge.net (http://mysql-klik.sourceforge.net/) to post that project.. but i'm behind firewall and my admin won't do something so i can put my files on that sourceforge.net hummm.. i also already let this site to benoit to manage.. as i said.. he refused... From na2492 at ...9... Tue Jul 6 11:47:37 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 6 Jul 2004 11:47:37 00200 Subject: [Gambas-user] i didn't notice it... Message-ID: <40ea7539.2e35.0@...9...> >Le lundi 5 Juillet 2004 21:45, Henri Girard a ?crit : >> Hi :) >> I had a virus on xp and I think i had to set the clock back.. time to get >> it away.. But i forget to set it the right time... >> thanks :) >> Henri >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >> digital self defense, top technical experts, no vendor pitches, >> unmatched networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >Return-Path: >Received: from mwinf0405.wanadoo.fr (mwinf0405.wanadoo.fr) > by mwinb0903 (SMTP Server) with LMTP; Mon, 05 Jul 2004 09:10:51 +0200 >X-Sieve: Server Sieve 2.2 >Received: from mwinf0404.wanadoo.fr (mwinf0404 [172.22.135.26]) > by mwinf0405.wanadoo.fr (SMTP Server) with ESMTP > id 9FC6714004083; Mon, 5 Jul 2004 09:10:51 +0200 (CEST) >Received: from sc8-sf-list2.sourceforge.net (lists.sourceforge.net >[66.35.250.206]) > by mwinf0404.wanadoo.fr (SMTP Server) with ESMTP > id 351571800174; Mon, 5 Jul 2004 09:10:51 +0200 (CEST) >Received: from localhost ([127.0.0.1] helo=projects.sourceforge.net) > by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) > id 1BhNc9-00077g-6Z; Mon, 05 Jul 2004 00:10:09 -0700 >Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] >helo=sc8-sf-mx2.sourceforge.net) > by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) > id 1BhNZE-0006QU-Rr > for gambas-user at lists.sourceforge.net; Mon, 05 Jul 2004 00:07:09 -0700 >Received: from externalmx-1.sourceforge.net ([12.152.184.25]) > by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) > (Exim 4.34) > id 1BhNZD-00039H-QD > for gambas-user at lists.sourceforge.net; Mon, 05 Jul 2004 00:07:08 -0700 >Received: from bay8-dav27.bay8.hotmail.com ([64.4.26.84] helo=hotmail.com) > by externalmx-1.sourceforge.net with esmtp (Exim 4.34) > id 1BhTCZ-0006cJ-Rs > for gambas-user at lists.sourceforge.net; Mon, 05 Jul 2004 06:08:10 -0700 >Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; > Sun, 4 Jul 2004 22:45:13 -0700 >Received: from 80.8.16.177 by bay8-dav27.bay8.hotmail.com with DAV; > Mon, 05 Jul 2004 05:45:12 +0000 >X-Originating-IP: [80.8.16.177] >X-Originating-Email: [girardhenri at ...67...] >X-Sender: girardhenri at ...67... >From: "Henri Girard" >To: >References: <40e840e2.5c55.0 at ...9...> >Subject: Re: [Gambas-user] suse 9.1 >MIME-Version: 1.0 >Content-Type: text/plain; > charset="iso-8859-1" >Content-Transfer-Encoding: 7bit >X-Priority: 3 >X-MSMail-Priority: Normal >X-Mailer: Microsoft Outlook Express 6.00.2800.1106 >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 >Message-ID: >X-OriginalArrivalTime: 05 Jul 2004 05:45:13.0267 (UTC) >FILETIME=[3DD93830:01C46253] >X-Spam-Score: 1.2 (+) >X-Spam-Report: Spam Filtering performed by sourceforge.net. > See http://spamassassin.org/tag/ for more details. > Report problems to https://sf.net/tracker/?func=add&group_id=1&atid=200001 > 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / > 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - > 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ > 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' > 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . > 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email > 0.1 RCVD_IN_SORBS RBL: SORBS: sender is listed in SORBS > [80.8.16.177 listed in dnsbl.sorbs.net] >X-Spam-Score: 1.1 (+) >X-Spam-Report: Spam Filtering performed by sourceforge.net. > See http://spamassassin.org/tag/ for more details. > Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 > 0.0 SF_CHICKENPOX_SLASH BODY: Text interparsed with / > 0.0 SF_CHICKENPOX_MINUS BODY: Text interparsed with - > 0.0 SF_CHICKENPOX_AT BODY: Text interparsed with @ > 0.0 SF_CHICKENPOX_APOSTROPHE BODY: Text interparsed with ' > 0.0 SF_CHICKENPOX_PERIOD BODY: Text interparsed with . > 1.1 MAILTO_TO_SPAM_ADDR URI: Includes a link to a likely spammer email >Sender: gambas-user-admin at lists.sourceforge.net >Errors-To: gambas-user-admin at lists.sourceforge.net >X-BeenThere: gambas-user at lists.sourceforge.net >X-Mailman-Version: 2.0.9-sf.net >Precedence: bulk >Reply-To: gambas-user at lists.sourceforge.net >List-Unsubscribe: , > >List-Id: mailing list for gambas users >List-Post: >List-Help: >List-Subscribe: , > >List-Archive: >Date: Mon, 5 Jul 2004 07:45:08 +0200 >Status: R >X-Status: N >X-KMail-EncryptionState: >X-KMail-SignatureState: >X-KMail-MDN-Sent: > >curious i've not the same thing!! > >find in this header when henri have send his source... > >another thing, ... it's sourceforge who send the mailing list no ? > >Fabien > Salut Fabien, the header is from the mail yesterday where the date is Ok. Could you have a look to the mails from Henri on the screenshot ? I also got a mail form into 3 month ??.09.2004. If I'm the only, I have to talk to my provider. Amicalemnt Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From budi at ...415... Tue Jul 6 11:52:00 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 06 Jul 2004 16:52:00 +0700 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: <6.0.0.22.2.20040706164537.01d46bd8@...329...> References: <40e9afac.1001.0@...9...> <200407052159.11899.gambas@...1...> <6.0.0.22.2.20040706150151.01c06c60@...329...> <6.0.0.22.2.20040706164537.01d46bd8@...329...> Message-ID: why why why ? On Tue, 06 Jul 2004 16:49:53 +0700, Rizky Tahara Shita wrote: > At 15:14 06/07/2004, Budi Arief Gusandi wrote: >> Rizky...why should i ask him if i can get it directly from ya..LOL ;) > > damn... my box just have a new man10... boy.. i lost them all... > cause i have post that project to benoit to continue it.. but he > refuse... > anyway i also already have an account to sourceforge.net > (http://mysql-klik.sourceforge.net/) to post that project.. but i'm > behind firewall and my admin won't do something so i can put my files on > that sourceforge.net > hummm.. i also already let this site to benoit to manage.. as i said.. > he refused... > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Regards, Budi From lordheavy at ...512... Tue Jul 6 12:30:04 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Tue, 6 Jul 2004 12:30:04 +0200 Subject: [Gambas-user] bug in exemple Message-ID: <200407061230.04449.lordheavy@...512...> Explorer need to be update for use new System.Home instead of Application.Home wikidoc is up to date, not in gambas0.94a Carlier Laurent From mbergmann-sh at ...17... Tue Jul 6 13:14:54 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Tue, 6 Jul 2004 13:14:54 +0200 Subject: [Gambas-user] my first piece of gambas coding .... In-Reply-To: <200407050035.23290.lordheavy@...512...> References: <200407041538.22503.lordheavy@...512...> <200407042307.55771.lordheavy@...512...> <200407050035.23290.lordheavy@...512...> Message-ID: <200407061314.54827.mbergmann-sh@...17...> On Montag, 5. Juli 2004 00:35 Carlier Laurent wrote: > oups : http://lordheavy.chez.tiscali.fr/files/gambas/hanoi-0.5.1rc1.tar.gz Hi Carlier, unfortunately I can't see any towers after starting your proggie under gambas 0.94a?! regards, Michael From sourceforge-raindog2 at ...94... Tue Jul 6 13:22:06 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 6 Jul 2004 07:22:06 -0400 Subject: [Gambas-user] Gambas & SDI In-Reply-To: <200407060458.i664wcOu032750@...364...> References: <200407060458.i664wcOu032750@...364...> Message-ID: <200407060722.06548.sourceforge-raindog2@...94...> On Tuesday 06 July 2004 03:17, Daniel Oxley wrote: > There is a download from Rob's website to change the MDI > interface for gambas into one that is all contained in 1 > window. > As Rob has said that he does not support it, I was just > wondering if anyone else has managed to get it working with > the latest version? When I run it I get an error. As I am at Well, my MDI hack is like 20 versions out of date now and Gambas has had some pretty big internal changes. I think it'd be easier to diff my hack against whichever version of the IDE I based it on and reimplement the changes manually in the current version than to try to change that old version to work with the current Gambas. But my hack didn't provide any of the coolness of VB's MDI interface (docking tool windows, primarily) which is why I never got around to continuing it. The changes would have been too big to maintain as an independent fork of the gambas IDE. Rob From lordheavy at ...512... Tue Jul 6 13:29:52 2004 From: lordheavy at ...512... (Carlier Laurent) Date: Tue, 6 Jul 2004 13:29:52 +0200 Subject: [Gambas-user] my first piece of gambas coding .... In-Reply-To: <200407061314.54827.mbergmann-sh@...17...> References: <200407041538.22503.lordheavy@...512...> <200407050035.23290.lordheavy@...512...> <200407061314.54827.mbergmann-sh@...17...> Message-ID: <200407061329.53011.lordheavy@...512...> Le mardi 6 Juillet 2004 13:14, Michael Bergmann a ?crit?: > On Montag, 5. Juli 2004 00:35 Carlier Laurent wrote: > > oups : > > http://lordheavy.chez.tiscali.fr/files/gambas/hanoi-0.5.1rc1.tar.gz > > Hi Carlier, > > unfortunately I can't see any towers after starting your proggie under > gambas 0.94a?! > > regards, > > Michael > hmmmm did you ran the prog with F5 key ? made an executable ? Laurent Carlier From oxleyd at ...364... Tue Jul 6 13:34:44 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 6 Jul 2004 13:34:44 +0200 Subject: [Gambas-user] Gambas & SDI In-Reply-To: <200407060722.06548.sourceforge-raindog2@...94...> Message-ID: <200407060915.i669FmOu008607@...364...> Thanks, I suspected as much. It all comes down to personal choice really. I have always hated the MDI style apps. To me it looks horrible and untidy, like The Gimp. All those extra buttons on the taskbar etc. As you said, the dockable windows feature is very cool and that is what I would love for Gambas. Just makes it much neater (for me anyway)!!!!!! But other people love it! Maybe one day it will be revived and included in Gambas........ ;-) Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 06 July 2004 13:22 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Gambas & SDI On Tuesday 06 July 2004 03:17, Daniel Oxley wrote: > There is a download from Rob's website to change the MDI > interface for gambas into one that is all contained in 1 > window. > As Rob has said that he does not support it, I was just > wondering if anyone else has managed to get it working with > the latest version? When I run it I get an error. As I am at Well, my MDI hack is like 20 versions out of date now and Gambas has had some pretty big internal changes. I think it'd be easier to diff my hack against whichever version of the IDE I based it on and reimplement the changes manually in the current version than to try to change that old version to work with the current Gambas. But my hack didn't provide any of the coolness of VB's MDI interface (docking tool windows, primarily) which is why I never got around to continuing it. The changes would have been too big to maintain as an independent fork of the gambas IDE. Rob ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Tue Jul 6 14:45:27 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 6 Jul 2004 08:45:27 -0400 Subject: [Gambas-user] Gambas & SDI In-Reply-To: <200407060915.i669FmOu008607@...364...> References: <200407060915.i669FmOu008607@...364...> Message-ID: <200407060845.27209.sourceforge-raindog2@...94...> On Tuesday 06 July 2004 07:34, Daniel Oxley wrote: > Thanks, I suspected as much. It all comes down to personal > choice really. I have always hated the MDI style apps. To me > it looks horrible and untidy, like The Gimp. All those extra > buttons on the taskbar etc. I think you have it backwards. MDI (multiple document interface) is what the Workspace control enables and what the Gimp folks seem to hate for some reason: all the subwindows of your app being managed by one big container window. It's like, if your toolkit can't handle the interface style used by about 8 of the top 10 apps in current use today, just say so rather than make up stuff about how you're right and the rest of the world is wrong. The world is about market share and what most people feel comfortable with using, not what some random experts think. SDI (single document interface) isn't really what Gimp or the current Gambas are either, since normally it's still one window with maybe some toolbars and stuff. I would call the Gimp "HDI" or "horrible document interface". ;) I don't find Gambas nearly as bad but that's probably owing to the tree view of the whole project being available. I still want a VB6-like MDI version, even though I know most people probably don't. Rob From oxleyd at ...364... Tue Jul 6 15:19:11 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 6 Jul 2004 15:19:11 +0200 Subject: [Gambas-user] Gambas & SDI In-Reply-To: <200407060845.27209.sourceforge-raindog2@...94...> Message-ID: <200407061100.i66B0FOu010688@...364...> Yeah, I saw that. The S and M key are just so close together! ;-) You are definitely right about HDI... A Gambas interpretation of the way VB6 handles it would be cool. Or otherwise a way of turning off the fact that each Gambas window appears in the taskbar. Clicking on the single Gambas button brings them all to the top. Just to make it a bit tidier IMHO. Until then though, I guess I will just have to look at the screenshot of your hack on your website! -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Rob Sent: 06 July 2004 14:45 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Gambas & SDI On Tuesday 06 July 2004 07:34, Daniel Oxley wrote: > Thanks, I suspected as much. It all comes down to personal > choice really. I have always hated the MDI style apps. To me > it looks horrible and untidy, like The Gimp. All those extra > buttons on the taskbar etc. I think you have it backwards. MDI (multiple document interface) is what the Workspace control enables and what the Gimp folks seem to hate for some reason: all the subwindows of your app being managed by one big container window. It's like, if your toolkit can't handle the interface style used by about 8 of the top 10 apps in current use today, just say so rather than make up stuff about how you're right and the rest of the world is wrong. The world is about market share and what most people feel comfortable with using, not what some random experts think. SDI (single document interface) isn't really what Gimp or the current Gambas are either, since normally it's still one window with maybe some toolbars and stuff. I would call the Gimp "HDI" or "horrible document interface". ;) I don't find Gambas nearly as bad but that's probably owing to the tree view of the whole project being available. I still want a VB6-like MDI version, even though I know most people probably don't. Rob ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bundeshund at ...467... Tue Jul 6 15:27:27 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 6 Jul 2004 15:27:27 +0200 Subject: [Gambas-user] my first piece of gambas coding .... In-Reply-To: <200407061314.54827.mbergmann-sh@...17...> References: <200407041538.22503.lordheavy@...512...> <200407050035.23290.lordheavy@...512...> <200407061314.54827.mbergmann-sh@...17...> Message-ID: <200407061527.27822.bundeshund@...467...> It runs without problems on my gambas-station. Am Dienstag, 6. Juli 2004 13:14 schrieb Michael Bergmann: > On Montag, 5. Juli 2004 00:35 Carlier Laurent wrote: > > oups : > > http://lordheavy.chez.tiscali.fr/files/gambas/hanoi-0.5.1rc1.tar.gz > > Hi Carlier, > > unfortunately I can't see any towers after starting your proggie under > gambas 0.94a?! > > regards, > > Michael From g.brandl at ...18... Tue Jul 6 15:35:08 2004 From: g.brandl at ...18... (Georg Brandl) Date: Tue, 06 Jul 2004 15:35:08 +0200 Subject: [Gambas-user] my first piece of gambas coding .... In-Reply-To: <200407061527.27822.bundeshund@...467...> References: <200407041538.22503.lordheavy@...512...> <200407050035.23290.lordheavy@...512...> <200407061314.54827.mbergmann-sh@...17...> <200407061527.27822.bundeshund@...467...> Message-ID: <40EAAA8C.4000408@...18...> Hans-Martin Bundeshund wrote: > It runs without problems on my gambas-station. Here too. Georg From mbergmann-sh at ...17... Tue Jul 6 19:35:05 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Tue, 6 Jul 2004 19:35:05 +0200 Subject: [Gambas-user] my first piece of gambas coding .... In-Reply-To: <200407061329.53011.lordheavy@...512...> References: <200407041538.22503.lordheavy@...512...> <200407061314.54827.mbergmann-sh@...17...> <200407061329.53011.lordheavy@...512...> Message-ID: <200407061935.05848.mbergmann-sh@...17...> On Dienstag, 6. Juli 2004 13:29 Carlier Laurent wrote: > > hmmmm did you ran the prog with F5 key ? made an executable ? > Joop, all of it. I'm using a self-compiled gambas 0.94a under SuSE 9.1, it ran all other examples I've received up until now. I'll dive deeper in it next weekend (...when time is something more available to me). regards, Michael From gambasfr at ...11... Tue Jul 6 22:07:47 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Tue, 6 Jul 2004 22:07:47 +0200 Subject: [Gambas-user] i didn't notice it... In-Reply-To: <40ea7539.2e35.0@...9...> References: <40ea7539.2e35.0@...9...> Message-ID: <200407062207.47623.gambasfr@...11...> Le mardi 6 Juillet 2004 13:47, na2492 at ...9... a ?crit : > > Salut Fabien, > > the header is from the mail yesterday where the date is Ok. > Could you have a look to the mails from Henri on the screenshot ? > > I also got a mail form into 3 month ??.09.2004. > If I'm the only, I have to talk to my provider. > > Amicalemnt > Charlie > > > * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > sorry ... i've find the false date message.... It's not you but henri... He live in the past... at the begining of gambas... hum ... 2002... gambas 0.2 lol Fabien From gambas at ...1... Tue Jul 6 23:03:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 6 Jul 2004 23:03:55 +0200 Subject: [Gambas-user] Gambas & SDI In-Reply-To: <200407061100.i66B0FOu010688@...364...> References: <200407061100.i66B0FOu010688@...364...> Message-ID: <200407062303.56179.gambas@...1...> On Tuesday 06 July 2004 15:19, Daniel Oxley wrote: > Yeah, I saw that. The S and M key are just so close together! ;-) > > You are definitely right about HDI... > > A Gambas interpretation of the way VB6 handles it would be cool. Or > otherwise a way of turning off the fact that each Gambas window appears in > the taskbar. Clicking on the single Gambas button brings them all to the > top. Just to make it a bit tidier IMHO. > > Until then though, I guess I will just have to look at the screenshot of > your hack on your website! > As I said before, at the moment, it is impossible to use the Workspace control to make a MDI Gambas IDE, because this control has some flaws in its design. The many windows Gambas open is not really a problem when you use multiple desktops. For example, I have one desktop for The Gimp, and one for Gambas ;-) There are three possibilities in the future: 1) Trolltech rewrites its QWorkspace widget, which the Workspace control is based on, and I can use it to write a MDI IDE. 2) I rewrite the QWorkspace widget. But it will take some time! 3) I make a KMail-like interface for the IDE. Personnaly, I prefer programming the third solution :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Tue Jul 6 23:12:14 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Tue, 6 Jul 2004 23:12:14 +0200 Subject: [Gambas-user] Gambas & SDI In-Reply-To: <200407062303.56179.gambas@...1...> References: <200407061100.i66B0FOu010688@...364...> <200407062303.56179.gambas@...1...> Message-ID: <200407062312.14331.gambasfr@...11...> > As I said before, at the moment, it is impossible to use the Workspace > control to make a MDI Gambas IDE, because this control has some flaws in > its design. > > The many windows Gambas open is not really a problem when you use multiple > desktops. For example, I have one desktop for The Gimp, and one for > Gambas ;-) > > There are three possibilities in the future: > > 1) Trolltech rewrites its QWorkspace widget, which the Workspace control is > based on, and I can use it to write a MDI IDE. > > 2) I rewrite the QWorkspace widget. But it will take some time! > > 3) I make a KMail-like interface for the IDE. hi benoit i use kmail since many time but i don't see the realtion between kmail and gambas ? can you explain it better please... Fabien > Personnaly, I prefer programming the third solution :-) > > Regards, From leo.barnhoorn at ...246... Wed Jul 7 01:10:46 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Wed, 7 Jul 2004 01:10:46 +0200 Subject: [Gambas-user] Too many arguments. Message-ID: <200407070110.46419.leo.barnhoorn@...246...> Hello Benoit, After Long time i have again a question for you, is it possible that you can look to my project. To Gambas version 0.92 it worked fine but now i get a message: Too many arguments. In FMain at line 175. I have try all kind of thinks and nothing is working. If you have time. Regards Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: magicbbs-0.0.1.tar.gz Type: application/x-tgz Size: 14239 bytes Desc: not available URL: From jc at ...518... Wed Jul 7 03:40:09 2004 From: jc at ...518... (Jeremy Cowgar) Date: Tue, 06 Jul 2004 21:40:09 -0400 Subject: [Gambas-user] [12] Not an object -- when opening *any* form. Message-ID: <40EB5479.2020405@...518...> Greetings, I have installed Gambas after all the great things I have heard, however, I'm having a slight problem. I am running a fresh install of Suse 9.1. Everything compiled and installed just fine, however, when I try to open a form in the design mode (can be my own brand new project, or a sample project) I recieve the following message: [12] Not an object. At: FProperty.RefreshAll.109 It gives me the option to press the OK button then everything disappears, no further messages. Any help would be appriciated, I just downloaded the source yesterday, 0.94a. It also occurs on the .rpm from the SuSE site linked on the download page. Thanks! Jeremy From jc at ...518... Wed Jul 7 06:48:27 2004 From: jc at ...518... (Jeremy Cowgar) Date: Wed, 07 Jul 2004 00:48:27 -0400 Subject: [Gambas-user] [12] Not an object -- when opening *any* form. In-Reply-To: <40EB5479.2020405@...518...> References: <40EB5479.2020405@...518...> Message-ID: <40EB809B.8050307@...518...> Jeremy Cowgar wrote: > Greetings, > > I have installed Gambas after all the great things I have heard, > however, I'm having a slight problem. I am running a fresh install of > Suse 9.1. Everything compiled and installed just fine, however, when I > try to open a form in the design mode (can be my own brand new > project, or a sample project) I recieve the following message: > > [12] Not an object. > At: FProperty.RefreshAll.109 > > It gives me the option to press the OK button then everything > disappears, no further messages. > I figured it out (kinda). I must have had some old files laying around. I did a rpm -e, removed some directories, installed from a fresh compile of the source and all seems to work. Thanks, Jeremy From bwells at ...475... Wed Jul 7 14:35:22 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 07 Jul 2004 08:35:22 -0400 Subject: [Gambas-user] Use "myprogram" Message-ID: <40EBEE0A.4040509@...475...> Hey All: I was looking through the Archives today, and stumbled across a thread that I found very intresting, about using a statement such as Use "myprogram" I was just wondering if anybody had done anything with that...? I can get the above statement to work, but I can't access any of the objects or classes that were inside of "myprogram" I'm trying to build a Calendar 'Control' and would like to Use "CalendarControl" in another application... Can anybody help? From eilert-sprachen at ...221... Wed Jul 7 16:00:31 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 07 Jul 2004 16:00:31 +0200 Subject: [Gambas-user] Gambas on Suse 8.2 - problem... In-Reply-To: <40E94E86.4030804@...475...> References: <40E92E3A.30305@...221...> <40E94E86.4030804@...475...> Message-ID: <40EC01FF.5000409@...221...> Hi Brant, > You need to install the development libraries for KDE, it appears... > You need to use the package manager for Suse, and install the > libkdexxxx-devel libraries... [somebody correct me if I'm wrong!] As far as I can see, everything is there. They are called kdelibbase-devel and so on, aren't they? The QT libraries are also there. Well, here's part of the messages configure says (I don't want to quote the whole thing here): checking for internationalization library (if not present in C library) headers... (cached) /usr/include/ checking for internationalization library (if not present in C library) libraries... (cached) no configure: warning: *** internationalization library (if not present in C library) is disabled checking for charset conversion library (if not present in C library) headers... (cached) /usr/include/ checking for charset conversion library (if not present in C library) libraries... (cached) no configure: warning: *** charset conversion library (if not present in C library) is disabled checking for QT component headers... (cached) no checking for QT component libraries... (cached) no configure: warning: *** QT component is disabled checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... (cached) no checking for dnet_ntoa in -ldnet_stub... (cached) no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for XOpenDisplay in -lX11... (cached) yes checking for XShmAttach in -lXext... (cached) yes checking for moc... (cached) /bin/moc checking for KDE 3.x component headers... (cached) no checking for KDE 3.x component libraries... (cached) /opt/kde3/lib/ configure: warning: *** KDE 3.x component is disabled checking for Networking component headers... (cached) checking for Networking component libraries... (cached) checking for Advanced networking component headers... (cached) no checking for Advanced networking component libraries... (cached) no configure: warning: *** Advanced networking component is disabled checking for PostgreSQL driver headers... (cached) no checking for PostgreSQL driver libraries... (cached) no configure: warning: *** PostgreSQL driver is disabled checking for MySQL driver headers... (cached) no checking for MySQL driver libraries... (cached) no configure: warning: *** MySQL driver is disabled checking for SQLite driver headers... (cached) no checking for SQLite driver libraries... (cached) no configure: warning: *** SQLite driver is disabled checking for SDL component headers... (cached) no checking for SDL component libraries... (cached) no configure: warning: *** SDL component is disabled The rest runs through (seemingly) without problems. As the packages are there, I would guess there too old versions of everything. I can live without SQL and network, but of course KDE should be there... What do you think, should I try to update everything, or is it too much effort on that machine? Rolf From bundeshund at ...467... Wed Jul 7 16:53:06 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 7 Jul 2004 16:53:06 +0200 Subject: [Gambas-user] Can not run with F5 or even compile any more Message-ID: <200407071653.06255.bundeshund@...467...> Salute gambas-clan, I am working on my project, playing with a timer-sub and suddenly I get no response hiting F5. The mouse-arrow turns to the time-mode (busy) for a short time, no animation from the blue gambas, no error-message, no compiled or started application... The examples or other selfcreated apps running fine. None changings at gambas made. And I see nothing special in my app-code I want to compile. Before I try to debug the IDE using gambas I try asking here: any suggestions? regards, HM From vbtricks at ...451... Wed Jul 7 17:02:36 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Wed, 07 Jul 2004 17:02:36 +0200 Subject: [Gambas-user] OT: Textadventure-Game Message-ID: <40EC108C.1010108@...451...> Hello everybody, as I'm going to convert my little textadventure-project to Gambas (I've started using FreePascal and also wrote a version in VB; I'm even thinking of writing an HTML-export) I need some help (not for the programming [at least not yet]). I want to implement multilanguage-support but I only speak German and English, my French is very bad. So I thought of just asking this multilanguage-mailinglist if there is anybody willing to help me, it's not much work! To be translated (German and English version already finished) -------------------------------------------------------------- 1=File 2=Open... 3=Information... 4=Exit 5=Savegame 6=Load... 7=Save... 8=Extras / Options 9=Music 10=Font... 11=Language 12=? 13=Help 14=About... 15=Description of the place 16=What do you want to do? 17=Please click on File->Open to open an adventure-file 18=Action / Go / Do 19=Please choose an option 20=Error 21=You've lost! 22=Congratulations... 23=You've won! 24=There's already an instance of Textadventure 26=This is no savegame for the current adventure! 27=Opens an adventure-file 28=Shows information about the adventure 29=Quits the program 30=Loads a savegame 31=Save the current status 32=Turns music on/off 33=Choose your favorite font! 34=Shows the help 35=Shows the about-dialog 36=Choose your language 37=No system-information available! ------------------------------------------------------------- Well "textadventure" does not completely fit to my program. It's more a kind of multiple-choice adventure. How you play: You always get a short description of the place you are at or of the plot which is currently taking place. Then there are several different options ("go west", "climb tree" you can choose between). Depending on what option you choose, the plot continues. The textadventures are written in a format similar to XML and my program interprets these files. I thought I've read about books which do exactly the same on paper (depending on which option you choose you have to turn to page X and continue reading). Do you know the name for such books? As soon as I've finished the Gambas version I'm going to upload the sources of the three different versions to my website. Thanks in advance, Stefan From bwells at ...475... Wed Jul 7 17:04:19 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 07 Jul 2004 11:04:19 -0400 Subject: [Gambas-user] Gambas on Suse 8.2 - problem... In-Reply-To: <40EC01FF.5000409@...221...> References: <40E92E3A.30305@...221...> <40E94E86.4030804@...475...> <40EC01FF.5000409@...221...> Message-ID: <40EC10F3.1020807@...475...> Eilert wrote: <>Rolf>As far as I can see, everything is there. They are called kdelibbase-devel and so on, aren't they? The QT libraries are also there. Well, here's part of the messages configure says (I don't want to quote the whole thing here): Brant>That sounds about right... You may want to check the directories and find out where kde3 and QT are installed... if it is not a standard location, then that would explain why it's not finding the development stuff... [Snip] checking for KDE 3.x component headers... (cached) no checking for KDE 3.x component libraries... (cached) /opt/kde3/lib/ configure: warning: *** KDE 3.x component is disabled [snip] Rolf>The rest runs through (seemingly) without problems. As the packages are there, I would guess there too old versions of everything. I can live without SQL and network, but of course KDE should be there... What do you think, should I try to update everything, or is it too much effort on that machine? Brant > What speed machine is it? Anything better than say... 400 mHz and 128 mb Ram, you should be good to go for the latest version of Suse... Otherwise, I think you could upgrade KDE and Qt... it could turn out to be a lot of work doing it that way... If it's a desktop PC, I'd say go for a hardware upgrade (add more ram to run Suse 9.1) See Ya! ~Brant From bundeshund at ...467... Wed Jul 7 18:07:06 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 7 Jul 2004 18:07:06 +0200 Subject: [Gambas-user] Can not run with F5 or even compile any more :)) In-Reply-To: <200407071653.06255.bundeshund@...467...> References: <200407071653.06255.bundeshund@...467...> Message-ID: <200407071807.06583.bundeshund@...467...> At least I have found it. I changed the name for the class timer to #timer (I didn't want to, don't know how, my cat must have done this. But I have no cat... ;>) ). This causes this behavior written before. It's not so userfriendly if no message or something else appears and I lost some sweat with blood for the last 20 minutes. And after all I have a big happy end this day! Am Mittwoch, 7. Juli 2004 16:53 schrieb Hans-Martin Bundeshund: > Salute gambas-clan, > > I am working on my project, playing with a timer-sub and suddenly I get no > response hiting F5. The mouse-arrow turns to the time-mode (busy) for a > short time, no animation from the blue gambas, no error-message, no > compiled or started application... > > The examples or other selfcreated apps running fine. None changings at > gambas made. And I see nothing special in my app-code I want to compile. > > Before I try to debug the IDE using gambas I try asking here: any > suggestions? > > regards, > HM > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Wed Jul 7 18:07:59 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 07 Jul 2004 18:07:59 +0200 Subject: [Gambas-user] Gambas on Suse 8.2 - problem... In-Reply-To: <40EC10F3.1020807@...475...> References: <40E92E3A.30305@...221...> <40E94E86.4030804@...475...> <40EC01FF.5000409@...221...> <40EC10F3.1020807@...475...> Message-ID: <40EC1FDF.7090607@...221...> Hi Brant, > Brant>That sounds about right... You may want to check the directories > and find out where kde3 and QT are installed... if it is not a > standard location, then that would explain why it's not finding the > development stuff... Hm. KDevelop 2.1 is running with it, so I guess it's the old versions, but I'll look it up. > Brant > What speed machine is it? Anything better than say... 400 mHz That's the point, it's a 366 MHz Celeron with only 64 MB Ram. Of course, I tried to install 9.1, but there is a Windows partition and only 2 GB space for Linux, too few even if you switch off most of the packages. Anyway, it has big problems installing because of too few Ram. Well, I was thinking about taking it with me into my holidays and playing around a bit with some Gambas projects, but there are other things I can do during my holidays, too :-) Rolf From bundeshund at ...467... Wed Jul 7 18:15:20 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 7 Jul 2004 18:15:20 +0200 Subject: [Gambas-user] OT: Textadventure-Game In-Reply-To: <40EC108C.1010108@...451...> References: <40EC108C.1010108@...451...> Message-ID: <200407071815.20842.bundeshund@...467...> Am Mittwoch, 7. Juli 2004 17:02 schrieb VBTricks.de.vu Webmaster: > Hello everybody, > > as I'm going to convert my little textadventure-project to Gambas (I've > started using FreePascal and also wrote a version in VB; I'm even > thinking of writing an HTML-export) I need some help (not for the > programming [at least not yet]). > > I want to implement multilanguage-support but I only speak German and > English, my French is very bad. > > So I thought of just asking this multilanguage-mailinglist if there is > anybody willing to help me, it's not much work! Converting a *text*adventure into an other language wouldn't be much work? Is the IDE himself the adventure like lotus-notes? Or what did I get wrong? ;) SCNR HM From mardus at ...298... Wed Jul 7 18:34:27 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Wed, 7 Jul 2004 13:34:27 -0300 Subject: [Gambas-user] Re: OT: Textadventure-Game In-Reply-To: <40EC108C.1010108@...451...> References: <40EC108C.1010108@...451...> Message-ID: <200407071334.27815.mardus@...298...> El Mi? 07 Jul 2004 12:02, VBTricks.de.vu Webmaster escribi?: |> I want to implement multilanguage-support but I only speak German and |> English, my French is very bad. Here the Spanish translation: |> 1=File Archivo |> 2=Open... Abrir |> 3=Information... Informaci?n |> 4=Exit Salir |> 5=Savegame Guardar el juego |> 6=Load... Cargar |> 7=Save... Guardar |> 8=Extras / Options Extras / Opciones |> 9=Music M?sica |> 10=Font... Fuente |> 11=Language Lenguaje |> 12=? ? |> 13=Help Ayuda |> 14=About... Acerca de... |> 15=Description of the place Descripci?n del lugar |> 16=What do you want to do? ?Qu? es lo que quieres hacer? |> 17=Please click on File->Open to open an adventure-file Haz click en Archivo->Abrir para cargar un archivo de aventuras |> 18=Action / Go / Do Acci?n / Ir / Hacer |> 19=Please choose an option Por favor, elige una opci?n |> 20=Error Error |> 21=You've lost! Has perdido ! |> 22=Congratulations... Felicitaciones |> 23=You've won! Has ganado ! |> 24=There's already an instance of Textadventure Hay una instancia de TextAdventure |> 26=This is no savegame for the current adventure! No hay juego guardado para la actual aventura |> 27=Opens an adventure-file Abre el archivo de aventura |> 28=Shows information about the adventure Muestra informaci?n acerca de la aventura |> 29=Quits the program Abandona el programa |> 30=Loads a savegame Carga un juego guardado |> 31=Save the current status Guarda el estado actual |> 32=Turns music on/off Pone la m?sica S? / No |> 33=Choose your favorite font! Elige tu fuente favorita |> 34=Shows the help Muestra la ayuda |> 35=Shows the about-dialog Muestra el di?logo Acerca de... |> 36=Choose your language Elige tu lenguaje |> 37=No system-information available! No hay informaci?n del sistema disponible |> ------------------------------------------------------------- |> -- -- Para el cierre: --- El Ping?inor?culo sol?a citar: El m?dico me prohibi? beber wiski, ahora lo congelo y me lo como! - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From c0de3 at ...43... Wed Jul 7 18:35:15 2004 From: c0de3 at ...43... (Craig Packard) Date: Wed, 7 Jul 2004 09:35:15 -0700 (PDT) Subject: [Gambas-user] OT: Textadventure-Game In-Reply-To: <200407071815.20842.bundeshund@...467...> Message-ID: <20040707163515.11771.qmail@...479...> Maybe you could put all the text as strings or lines in a text file. then read them in at program startup or just when that line was needed. that way new language could be added at anytime. make a text config file (i won't say ini file) that they would need to edit so that the language selection box would know that a new one exists. i.e. english app/langs/english french app/langs/french and so on a so forth. . . if you even did this for the text descriptions then you could change the whole game (at least the wording) with a different 'game file'. Wouldn't you need to change all of that too anyway? I mean if you just change the menus I don't see how someone that can't read 'file' or 'exit' can read 'you are standing in a big room and are facing west, there is a window on the west wall' blah blahblah? hope I'm clear or helpful or both?!?! --- Hans-Martin Bundeshund wrote: > Am Mittwoch, 7. Juli 2004 17:02 schrieb > VBTricks.de.vu Webmaster: > > Hello everybody, > > > > I want to implement multilanguage-support but I > only speak German and > > English, my French is very bad. > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From lordheavy at ...512... Wed Jul 7 18:39:59 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 7 Jul 2004 18:39:59 +0200 Subject: [Gambas-user] Can not run with F5 or even compile any more :)) In-Reply-To: <200407071807.06583.bundeshund@...467...> References: <200407071653.06255.bundeshund@...467...> <200407071807.06583.bundeshund@...467...> Message-ID: <200407071840.00284.lordheavy@...512...> Le mercredi 7 Juillet 2004 18:07, Hans-Martin Bundeshund a ?crit?: > At least I have found it. I changed the name for the class timer to #timer > (I didn't want to, don't know how, my cat must have done this. But I have > no cat... ;>) ). This causes this behavior written before. > > It's not so userfriendly if no message or something else appears and I lost > some sweat with blood for the last 20 minutes. And after all I have a big > happy end this day! > perhaps because there is a timer() keyword in Gambas :) we can call this a 'conflict' Laurent Carlier From danielcampos at ...282... Wed Jul 7 18:50:04 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Wed, 7 Jul 2004 18:50:04 CEST Subject: [Gambas-user] OT: Textadventure-Game Message-ID: Remember that Gambas can both import and export .po files, so there's not need to send translations in the body of an e-mail, nor in a plain text file... 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 bwells at ...475... Wed Jul 7 19:27:33 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 07 Jul 2004 13:27:33 -0400 Subject: [Gambas-user] Gambas on Suse 8.2 - problem... In-Reply-To: <40EC1FDF.7090607@...221...> References: <40E92E3A.30305@...221...> <40E94E86.4030804@...475...> <40EC01FF.5000409@...221...> <40EC10F3.1020807@...475...> <40EC1FDF.7090607@...221...> Message-ID: <40EC3285.5090808@...475...> Hey Rolf... Who needs windows?? :-P Seriously though... You can't cut off many of the packages in Suse to get it crammed into 2 gigs?? IMHO, you could try Mandrake 10... That's what I run... and I think it squeezes into 2gb purdy good... I've got a Suse disc downloading now, as I've been wanting to try it for some time... Let me know how it goes! See Ya! ~Brant Eilert Wrote: > Hm. KDevelop 2.1 is running with it, so I guess it's the old versions, > but I'll look it up. > >> Brant > What speed machine is it? Anything better than say... 400 mHz > > > That's the point, it's a 366 MHz Celeron with only 64 MB Ram. Of > course, I tried to install 9.1, but there is a Windows partition and > only 2 GB space for Linux, too few even if you switch off most of the > packages. Anyway, it has big problems installing because of too few Ram. > > Well, I was thinking about taking it with me into my holidays and > playing around a bit with some Gambas projects, but there are other > things I can do during my holidays, too :-) > > Rolf From sourceforge-raindog2 at ...94... Wed Jul 7 19:35:35 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 7 Jul 2004 13:35:35 -0400 Subject: [Gambas-user] OT: Textadventure-Game In-Reply-To: <40EC108C.1010108@...451...> References: <40EC108C.1010108@...451...> Message-ID: <200407071335.35513.sourceforge-raindog2@...94...> On Wednesday 07 July 2004 11:02, VBTricks.de.vu Webmaster wrote: > I thought I've read about books which do exactly the same on > paper (depending on which option you choose you have to turn > to page X and continue reading). Do you know the name for such > books? These books are (or were) called "Choose Your Own Adventure" books in the US. Rob From vbtricks at ...451... Wed Jul 7 19:59:33 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Wed, 07 Jul 2004 19:59:33 +0200 Subject: [Gambas-user] OT: Textadventure-Game Message-ID: <40EC3A05.5050204@...451...> Hello everybody, sorry I think I have to describe it more detailed: What I want to translate is the interpreter. The interpreter is completely apart from the textadventure. My program is not built just for one adventure. You are able to write the textadventure in a description-language similar to XML. GUI looks like: ######################### Description of the Place: You are standing at a crossing in front of a tree. Beside the tree there's an old man. What do you want to do 1 Climb to the top of the tree 2 Talk to the old man 3 Go south 4 Go west Your choice: ######################## Sample of the structure of a text-adventurefile: ######################## This is the first place This is the second place ####################### By "converting" I meant writing the source in Gambas (as it's only written in VB and Pascal till now) not translating the textadventures. ------------------------------------------------------------------ @ Marcelo Thanks, "converted" it within 3 minutes, now the GUI is also available in Spanish! ------------------------------------------------------------------ @ Hans-Martin Is the IDE himself the adventure like lotus-notes? What do you mean by that? (Lotus Notes is an office-application I think) You can create the textadventure using a simple texteditor but I am going to write a "clicky-clicky" IDE for writing them, too. ------------------------------------------------------------------ @ Daniel It may sound curious, but what are po-files? Are they something like res-files under windows and where do I find additional information about that? And I guess even that po-files have to be translated? The translations of the GUI will be included into the download package. ------------------------------------------------------------------ @ Rob Thanks, I'm going to search for it on Amazon. Perhaps I can even find some at my local library (not to steal the copyrighted content but to see if a Textbook-exporter might be a useful tool). ------------------------------------------------------------------ @ Craig Yes, you made yourself clear. You are right in saying that if you are not able to understand the textadventure itself it does not help you much that the GUI is translated to your language. But my long-time target is to offer the engine (in different languages) and build up a database of free adventures (which can be in different languages, categorized in sections: English, French, German, Spanish...). Another target is to support as many operating systems as possible (what about playing textadventures on your pocket-pc? playing them on mobile phones might be a bit difficult as the displays' resolutions is too small). For translating that adventures you will not need any programming-knowledge at all. I'm going to upload at least the pascal-source soon. Stefan PS: I did not want to offend anybody in the mailinglist ;-) From bwells at ...475... Wed Jul 7 22:55:44 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 07 Jul 2004 16:55:44 -0400 Subject: [Gambas-user] Use "myprogram" In-Reply-To: <40EBEE0A.4040509@...475...> References: <40EBEE0A.4040509@...475...> Message-ID: <40EC6350.3000507@...475...> Hi All... Nevermind... I got that part figured out... I'm having another problem, though... but Imma tinker with it some more before I mail the list... Thanks! ~Brant Brant Wells wrote: > Hey All: > > I was looking through the Archives today, and stumbled across a thread > that I found very intresting, about using a statement such as > > Use "myprogram" > > I was just wondering if anybody had done anything with that...? > I can get the above statement to work, but I can't access any of the > objects or classes that were inside of "myprogram" > > I'm trying to build a Calendar 'Control' and would like to Use > "CalendarControl" in another application... Can anybody help? > From gambas at ...1... Wed Jul 7 23:19:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 7 Jul 2004 23:19:54 +0200 Subject: [Gambas-user] bug in exemple In-Reply-To: <200407061230.04449.lordheavy@...512...> References: <200407061230.04449.lordheavy@...512...> Message-ID: <200407072319.54836.gambas@...1...> On Tuesday 06 July 2004 12:30, Carlier Laurent wrote: > Explorer need to be update for use new System.Home instead of > Application.Home Thanks. I fixed it. > > wikidoc is up to date, not in gambas0.94a About what ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jul 7 23:21:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 7 Jul 2004 23:21:08 +0200 Subject: [Gambas-user] Too many arguments. In-Reply-To: <200407070110.46419.leo.barnhoorn@...246...> References: <200407070110.46419.leo.barnhoorn@...246...> Message-ID: <200407072321.08478.gambas@...1...> On Wednesday 07 July 2004 01:10, Leo Barnhoorn wrote: > Hello Benoit, > > After Long time i have again a question for you, is it possible that you > can look to my project. > > To Gambas version 0.92 it worked fine but now i get a message: > > Too many arguments. > > In FMain at line 175. > > I have try all kind of thinks and nothing is working. > > If you have time. > > Regards > Leo. You must open your forms that include Timers, move them, and save them. Because since 0.92, the Timer control has changed, and is not a Control anymore, but just a class. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jul 7 23:31:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 7 Jul 2004 23:31:31 +0200 Subject: [Gambas-user] Can not run with F5 or even compile any more :)) In-Reply-To: <200407071807.06583.bundeshund@...467...> References: <200407071653.06255.bundeshund@...467...> <200407071807.06583.bundeshund@...467...> Message-ID: <200407072331.31067.gambas@...1...> On Wednesday 07 July 2004 18:07, Hans-Martin Bundeshund wrote: > At least I have found it. I changed the name for the class timer to #timer > (I didn't want to, don't know how, my cat must have done this. But I have > no cat... ;>) ). This causes this behavior written before. What do you mean exactly by "I changed the name for the class timer to #timer" ??? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jul 7 23:38:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 7 Jul 2004 23:38:31 +0200 Subject: [Gambas-user] OT: Textadventure-Game In-Reply-To: <40EC3A05.5050204@...451...> References: <40EC3A05.5050204@...451...> Message-ID: <200407072338.31204.gambas@...1...> On Wednesday 07 July 2004 19:59, VBTricks.de.vu Webmaster wrote: > Hello everybody, > > sorry I think I have to describe it more detailed: > > What I want to translate is the interpreter. The interpreter is > completely apart from the textadventure. My program is not built just > for one adventure. You are able to write the textadventure in a > description-language similar to XML. > > ... > > @ Daniel > It may sound curious, but what are po-files? Are they something like > res-files under windows and where do I find additional information about > that? And I guess even that po-files have to be translated? > > The translations of the GUI will be included into the download package. > Translation management is integrated in the Gambas interpreter. Each string written in your source code that is enclosed between two parenthesis is translatable. For example: PRINT "X = 3" ' This string won't be translated PRINT ("Description of the Place:") ' This string will be translated Of course, each Text property of any control in any forms, each tooltip, each label, ... are translatable too. Then you just have to click on the "Project->Translate" menu to get a dialog that allows you to translate your strings in (almost) any language! Look at "How to translate Gambas" in the wiki. It is exactly the same process, as the Gambas IDE is a Gambas project. The translation are automatically integrated in your project (in the .lang subdirectory). Regards, -- Benoit Minisini mailto:gambas at ...1... From lordheavy at ...512... Thu Jul 8 00:14:02 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 8 Jul 2004 00:14:02 +0200 Subject: [Gambas-user] bug in exemple In-Reply-To: <200407072319.54836.gambas@...1...> References: <200407061230.04449.lordheavy@...512...> <200407072319.54836.gambas@...1...> Message-ID: <200407080014.03245.lordheavy@...512...> > > About what ? about System.Home , next release of gambas will be surely sync with wikidoc -- Laurent Carlier From iwan at ...519... Thu Jul 8 03:39:02 2004 From: iwan at ...519... (Iwan Prasetyo) Date: Thu, 08 Jul 2004 08:39:02 +0700 Subject: [Gambas-user] Data report In-Reply-To: Message-ID: <0I0I00MNWFJUN2@...520...> Is there any (kinda) data report like in VB. Say it for collecting data from PostgreSQL and put in in print preview? Thanks & Regards, Iwan Prasetyo From rizky at ...225... Thu Jul 8 05:35:08 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Thu, 08 Jul 2004 10:35:08 +0700 Subject: [Gambas-user] About workspace and MDI applications In-Reply-To: References: <40e9afac.1001.0@...9...> <200407052159.11899.gambas@...1...> <6.0.0.22.2.20040706150151.01c06c60@...329...> <6.0.0.22.2.20040706164537.01d46bd8@...329...> Message-ID: <6.0.0.22.2.20040708103500.01cea4a8@...329...> At 16:52 06/07/2004, Budi Arief Gusandi wrote: >why why why ? why what? From sourceforge-raindog2 at ...94... Thu Jul 8 05:55:48 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 7 Jul 2004 23:55:48 -0400 Subject: [Gambas-user] Data report In-Reply-To: <0I0I00MNWFJUN2@...520...> References: <0I0I00MNWFJUN2@...520...> Message-ID: <200407072355.48939.sourceforge-raindog2@...94...> On Wednesday 07 July 2004 21:39, Iwan Prasetyo wrote: > Is there any (kinda) data report like in VB. Say it for > collecting data from PostgreSQL and put in in print preview? Not yet. I started working on one but the application ended up being very single-purpose. I may try to write a more general-purpose one once we can write Gambas components in Gambas. Rob From bundeshund at ...467... Thu Jul 8 07:25:05 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 8 Jul 2004 07:25:05 +0200 Subject: [Gambas-user] Can not run with F5 or even compile any more :)) In-Reply-To: <200407072331.31067.gambas@...1...> References: <200407071653.06255.bundeshund@...467...> <200407071807.06583.bundeshund@...467...> <200407072331.31067.gambas@...1...> Message-ID: <200407080725.05493.bundeshund@...467...> Salute Benoit! Am Mittwoch, 7. Juli 2004 23:31 schrieb Benoit Minisini: > On Wednesday 07 July 2004 18:07, Hans-Martin Bundeshund wrote: > > At least I have found it. I changed the name for the class timer to > > #timer (I didn't want to, don't know how, my cat must have done this. But > > I have no cat... ;>) ). This causes this behavior written before. > > What do you mean exactly by "I changed the name for the class timer to > #timer" ??? Yes, it's not clear. I mean I added a timer to my app and named it 'RefreshTimer'. After playing with some properties (delay), I didn't realize that I must have selected the 'name'-property and insert a '#'-sign changing the word 'Refresh' to this '#', so the new name was #Timer instead of 'RefreshTimer'. I guess I want to hit and typed '#') I need roundabout 20 min to find this, because there is no error-message or something else when You do this and want to compile your application. regards, HM From bundeshund at ...467... Thu Jul 8 08:02:05 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 8 Jul 2004 08:02:05 +0200 Subject: [Gambas-user] OT: Textadventure-Game In-Reply-To: <40EC3A05.5050204@...451...> References: <40EC3A05.5050204@...451...> Message-ID: <200407080802.05671.bundeshund@...467...> Am Mittwoch, 7. Juli 2004 19:59 schrieb VBTricks.de.vu Webmaster: > @ Hans-Martin > > Is the IDE himself the adventure like lotus-notes? > > What do you mean by that? (Lotus Notes is an office-application I think) > You can create the textadventure using a simple texteditor but I am > going to write a "clicky-clicky" IDE for writing them, too. I was just kidding (or tried to, thats why I put the SCNR-phrase in), because I must use notes @ work and I really hate it. For me it is an adventure to work with notes. (And many other useres feel the same) So notes is some piece of extended goupware. You can use it simply as an email-client. But with domino or notes-server You can write scipts for eg. automatical answer to mails or even more, you can build your own notes-net with trusting-properties and so on (I am no notes-expert, but IBM offers domino for AS400/iSeries that we use @ work. I write programms in RPG or ILERPG on that machine and with notes running on eg. windows you can easy call As400/iSeries-batchjobs and move the results back to notes). regards, HM From bundeshund at ...467... Thu Jul 8 12:52:21 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 8 Jul 2004 12:52:21 +0200 Subject: [Gambas-user] 'conn.Exec("update x set a=&1, b=&2, ...'-Question Message-ID: <200407081252.21440.bundeshund@...467...> Salute! I have a greater SQL-String with 23 Fields. After testing some reaons I found out that the count of parameters is limited. Is there the possiblity to increase this to 25 or more Fields? This time I only use the 'update'-function from mysql using this many fields, so I can easy splitt it into several calls. regards, HM From bundeshund at ...467... Thu Jul 8 13:31:48 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 8 Jul 2004 13:31:48 +0200 Subject: [Gambas-user] 'conn.Exec("update x set a=&1, b=&2, ...'-Question In-Reply-To: <200407081252.21440.bundeshund@...467...> References: <200407081252.21440.bundeshund@...467...> Message-ID: <200407081331.48831.bundeshund@...467...> Ahaem... I wish I could cancle this mail. Please ignore this dissonant and wrong statement with the limited parameters in the .exec-class. I was totaly wrong and made a simple error in my code. I don't get this error by splitting, so I thought it was the limitation... Sorry about that HM Am Donnerstag, 8. Juli 2004 12:52 schrieb Hans-Martin Bundeshund: > Salute! > > I have a greater SQL-String with 23 Fields. After testing some reaons I > found out that the count of parameters is limited. Is there the possiblity > to increase this to 25 or more Fields? > > This time I only use the 'update'-function from mysql using this many > fields, so I can easy splitt it into several calls. > > > regards, > > HM > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From lordthrend at ...67... Thu Jul 8 15:23:20 2004 From: lordthrend at ...67... (DASNOIS Benjamin) Date: Thu, 08 Jul 2004 15:23:20 +0200 Subject: [Gambas-user] Knowing keyboard state without being in a key event Message-ID: <40ED4AC8.4090703@...67...> Hello, I didn't see anything to do this but I hope there's a way to: I would like to know the state of the keyboard anywhere in the code (read: without being in a keyboard event) I need to know if some keys are pressed when being in a loop. I hope someone can help me. Regards, Benjamin Dasnois From sourceforge-raindog2 at ...94... Thu Jul 8 15:51:05 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 8 Jul 2004 09:51:05 -0400 Subject: [Gambas-user] Knowing keyboard state without being in a key event In-Reply-To: <40ED4AC8.4090703@...67...> References: <40ED4AC8.4090703@...67...> Message-ID: <200407080951.05867.sourceforge-raindog2@...94...> On Thursday 08 July 2004 09:23, DASNOIS Benjamin wrote: > I didn't see anything to do this but I hope there's a way to: > I would like to know the state of the keyboard anywhere in the > code (read: without being in a keyboard event) I need to know > if some keys are pressed when being in a loop. I hope someone > can help me. See my space game example from a few weeks ago (the animation is too slow but the keyboard stuff works fine.) Basically you need to declare a class-level variable reflecting key state, and set that in each KeyPress or KeyRelease event handler. Rob From lordthrend at ...67... Thu Jul 8 16:17:30 2004 From: lordthrend at ...67... (DASNOIS Benjamin) Date: Thu, 08 Jul 2004 16:17:30 +0200 Subject: [Gambas-user] Knowing keyboard state without being in a key event In-Reply-To: <200407080951.05867.sourceforge-raindog2@...94...> References: <40ED4AC8.4090703@...67...> <200407080951.05867.sourceforge-raindog2@...94...> Message-ID: <40ED577A.1040408@...67...> Rob wrote: >On Thursday 08 July 2004 09:23, DASNOIS Benjamin wrote: > > >>I didn't see anything to do this but I hope there's a way to: >>I would like to know the state of the keyboard anywhere in the >>code (read: without being in a keyboard event) I need to know >>if some keys are pressed when being in a loop. I hope someone >>can help me. >> >> > >See my space game example from a few weeks ago (the animation is >too slow but the keyboard stuff works fine.) Basically you need >to declare a class-level variable reflecting key state, and set >that in each KeyPress or KeyRelease event handler. > >Rob > No problem if you tell me where I can find it because I wasn't subscribed to this list until yesterday.It's for a game too (I'll release the source if people want me to cause I'm affraid of the example games given with gambas ; it's not good game programming). From maclyjoni at ...43... Thu Jul 8 16:35:01 2004 From: maclyjoni at ...43... (Macly Joni) Date: Thu, 8 Jul 2004 07:35:01 -0700 (PDT) Subject: [Gambas-user] Gambas in the future Message-ID: <20040708143501.77615.qmail@...521...> Hii, anybody know how to make Gambas Startup program / Setup program like VB 6 in "Packages and Deploying Wizard ? Thanks before --------------------------------- Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mauriiiii3001 at ...325... Thu Jul 8 19:52:53 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Thu, 08 Jul 2004 19:52:53 +0200 Subject: [Gambas-user] Square Game Message-ID: <40ED89F5.8080301@...325...> Hi all I've created a simple game in gambas (GLLS- Gambas Little Little Squares). you have to complete all the squares desining one line per turn, for now is only a multiplayer game but I'm planing to create also the option single player Have Fun -------------- next part -------------- A non-text attachment was scrubbed... Name: GLLS-0.5.tar.gz Type: application/x-gzip Size: 8153 bytes Desc: not available URL: From gambasfr at ...11... Thu Jul 8 21:22:28 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Thu, 8 Jul 2004 21:22:28 +0200 Subject: [Gambas-user] Knowing keyboard state without being in a key event In-Reply-To: <40ED577A.1040408@...67...> References: <40ED4AC8.4090703@...67...> <200407080951.05867.sourceforge-raindog2@...94...> <40ED577A.1040408@...67...> Message-ID: <200407082122.28676.gambasfr@...11...> Le jeudi 8 Juillet 2004 16:17, DASNOIS Benjamin a ?crit : > Rob wrote: > >On Thursday 08 July 2004 09:23, DASNOIS Benjamin wrote: > >>I didn't see anything to do this but I hope there's a way to: > >>I would like to know the state of the keyboard anywhere in the > >>code (read: without being in a keyboard event) I need to know > >>if some keys are pressed when being in a loop. I hope someone > >>can help me. > > > >See my space game example from a few weeks ago (the animation is > >too slow but the keyboard stuff works fine.) Basically you need > >to declare a class-level variable reflecting key state, and set > >that in each KeyPress or KeyRelease event handler. > > > >Rob > > No problem if you tell me where I can find it because I wasn't > subscribed to this list until yesterday.It's for a game too (I'll > release the source if people want me to cause I'm affraid of the example > games given with gambas ; it's not good game programming). > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user lol i think it going to change speedily... But to really write a game in gambas ... it miss the graphical part of sdl component.... 2d and after the 3d one... i hope Fabien bodard From gambas at ...1... Thu Jul 8 21:25:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 8 Jul 2004 21:25:32 +0200 Subject: [Gambas-user] Gambas in the future In-Reply-To: <20040708143501.77615.qmail@...521...> References: <20040708143501.77615.qmail@...521...> Message-ID: <200407082125.33087.gambas@...1...> On Thursday 08 July 2004 16:35, Macly Joni wrote: > Hii, > > anybody know how to make Gambas Startup program / Setup program like VB 6 > in "Packages and Deploying Wizard ? > > Thanks before > What do you mean exactly ? -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Thu Jul 8 21:36:22 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 8 Jul 2004 15:36:22 -0400 Subject: [Gambas-user] Gambas in the future In-Reply-To: <20040708143501.77615.qmail@...521...> References: <20040708143501.77615.qmail@...521...> Message-ID: <200407081536.22376.sourceforge-raindog2@...94...> On Thursday 08 July 2004 10:35, Macly Joni wrote: > anybody know how to make Gambas Startup program / Setup > program like VB 6 in "Packages and Deploying Wizard ? Linux doesn't use executable programs to install packages with a setup.exe type thing like Windows does. Most distros use RPM packages and some use Debian packaging, and Gambas can generate both automatically starting with 0.94. Rob From gambasfr at ...11... Thu Jul 8 21:44:35 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Thu, 8 Jul 2004 21:44:35 +0200 Subject: [Gambas-user] Gambas in the future In-Reply-To: <200407081536.22376.sourceforge-raindog2@...94...> References: <20040708143501.77615.qmail@...521...> <200407081536.22376.sourceforge-raindog2@...94...> Message-ID: <200407082144.35427.gambasfr@...11...> Le jeudi 8 Juillet 2004 21:36, Rob a ?crit : > On Thursday 08 July 2004 10:35, Macly Joni wrote: > > anybody know how to make Gambas Startup program / Setup > > program like VB 6 in "Packages and Deploying Wizard ? > > Linux doesn't use executable programs to install packages with a > setup.exe type thing like Windows does. Most distros use RPM > packages and some use Debian packaging, and Gambas can generate > both automatically starting with 0.94. > > Rob > nevertheless i've seen an installer on linux game... not you ? Fabien From lordheavy at ...512... Thu Jul 8 21:55:59 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 8 Jul 2004 21:55:59 +0200 Subject: [Gambas-user] Gambas in the future In-Reply-To: <200407082144.35427.gambasfr@...11...> References: <20040708143501.77615.qmail@...521...> <200407081536.22376.sourceforge-raindog2@...94...> <200407082144.35427.gambasfr@...11...> Message-ID: <200407082156.00205.lordheavy@...512...> > > nevertheless i've seen an installer on linux game... not you ? > > Fabien > http://www.icculus.org/loki_setup/ :) -- Laurent Carlier From gambas at ...1... Thu Jul 8 22:08:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 8 Jul 2004 22:08:43 +0200 Subject: [Gambas-user] Can not run with F5 or even compile any more :)) In-Reply-To: <200407080725.05493.bundeshund@...467...> References: <200407071653.06255.bundeshund@...467...> <200407072331.31067.gambas@...1...> <200407080725.05493.bundeshund@...467...> Message-ID: <200407082208.43745.gambas@...1...> On Thursday 08 July 2004 07:25, Hans-Martin Bundeshund wrote: > Salute Benoit! > > Am Mittwoch, 7. Juli 2004 23:31 schrieb Benoit Minisini: > > On Wednesday 07 July 2004 18:07, Hans-Martin Bundeshund wrote: > > > At least I have found it. I changed the name for the class timer to > > > #timer (I didn't want to, don't know how, my cat must have done this. > > > But I have no cat... ;>) ). This causes this behavior written > > > before. > > > > What do you mean exactly by "I changed the name for the class timer to > > #timer" ??? > > Yes, it's not clear. I mean I added a timer to my app and named it > 'RefreshTimer'. After playing with some properties (delay), I didn't > realize that I must have selected the 'name'-property and insert a '#'-sign > changing the word 'Refresh' to this '#', so the new name was #Timer instead > of 'RefreshTimer'. I guess I want to hit and typed '#') > > I need roundabout 20 min to find this, because there is no error-message or > something else when You do this and want to compile your application. > > regards, > HM > Your scenario is really not clear, as you can't insert a '#' in a control name from the property sheet: you get an error message. I'm sure you found a bug, but without knowing what you actually done, fixing it will be difficult. Regards, -- Benoit Minisini mailto:gambas at ...1... From pastrano at ...431... Thu Jul 8 23:26:49 2004 From: pastrano at ...431... (Gianni Piccini) Date: Thu, 8 Jul 2004 23:26:49 +0200 Subject: [Gambas-user] Listbox Message-ID: <1089322010.14649284.40edbc1a@...432...> A simple newbie question for listboxes: I've found a workaround, but probably it can be done in a simpler way. I have 2 listbox, with some items in listbox1. I would like to retrieve items 1 of listbox1, like in vb is done with $var = listbox1.list(counter) From gambasfr at ...11... Thu Jul 8 23:44:07 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Thu, 8 Jul 2004 23:44:07 +0200 Subject: [Gambas-user] Listbox In-Reply-To: <1089322010.14649284.40edbc1a@...432...> References: <1089322010.14649284.40edbc1a@...432...> Message-ID: <200407082344.07946.gambasfr@...11...> Le jeudi 8 Juillet 2004 23:26, Gianni Piccini a ?crit : > A simple newbie question for listboxes: I've found a workaround, but > probably it can be done in a simpler way. I have 2 listbox, with some items > in listbox1. I would like to retrieve items 1 of listbox1, like in vb is > done with > > $var = listbox1.list(counter) > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user simply do var = listbox1[index].text in fact listbox1[index] return a listboxitem object.... In the opposite to vb, gambas is a true object oriented language. Fabien From sourceforge-raindog2 at ...94... Thu Jul 8 21:49:06 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 8 Jul 2004 15:49:06 -0400 Subject: [Gambas-user] Gambas in the future In-Reply-To: <200407082144.35427.gambasfr@...11...> References: <20040708143501.77615.qmail@...521...> <200407081536.22376.sourceforge-raindog2@...94...> <200407082144.35427.gambasfr@...11...> Message-ID: <200407081549.06907.sourceforge-raindog2@...94...> On Thursday 08 July 2004 15:44, Fabien Bodard wrote: > nevertheless i've seen an installer on linux game... not you ? I've seen them on proprietary software, including games, realplayer, cedega, etc., but only when the proprietary software vendor didn't want to bother making an RPM or wanted to make it possible to install the software in the user's home directory. I guess this latter reason could be reason enough to make a "gambas setup wizard" thing, but it couldn't be written in gambas very easily.... everything would have to be statically linked. Rob From bundeshund at ...467... Fri Jul 9 07:27:41 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Fri, 9 Jul 2004 07:27:41 +0200 Subject: [Gambas-user] Can not run with F5 or even compile any more :)) In-Reply-To: <200407082208.43745.gambas@...1...> References: <200407071653.06255.bundeshund@...467...> <200407080725.05493.bundeshund@...467...> <200407082208.43745.gambas@...1...> Message-ID: <200407090727.41165.bundeshund@...467...> Am Donnerstag, 8. Juli 2004 22:08 schrieb Benoit Minisini: > On Thursday 08 July 2004 07:25, Hans-Martin Bundeshund wrote: > > Salute Benoit! > > > > Am Mittwoch, 7. Juli 2004 23:31 schrieb Benoit Minisini: > > > On Wednesday 07 July 2004 18:07, Hans-Martin Bundeshund wrote: > > > > At least I have found it. I changed the name for the class timer to > > > > #timer (I didn't want to, don't know how, my cat must have done this. > > > > But I have no cat... ;>) ). This causes this behavior written > > > > before. > > > > > > What do you mean exactly by "I changed the name for the class timer to > > > #timer" ??? > > > > Yes, it's not clear. I mean I added a timer to my app and named it > > 'RefreshTimer'. After playing with some properties (delay), I didn't > > realize that I must have selected the 'name'-property and insert a > > '#'-sign changing the word 'Refresh' to this '#', so the new name was > > #Timer instead of 'RefreshTimer'. I guess I want to hit and > > typed '#') > > > > I need roundabout 20 min to find this, because there is no error-message > > or something else when You do this and want to compile your application. > > > > regards, > > HM > > Your scenario is really not clear, as you can't insert a '#' in a control > name from the property sheet: you get an error message. > > I'm sure you found a bug, but without knowing what you actually done, > fixing it will be difficult. Yes, You are right. A few minutes ago I tried to change the name beginning with a '#'-sign again and an error-message appears. I must have found another way. I was strange, as I wrote before I was playing with the delay-value switching from 1000 to 2000 to found the right figure. Always changed the delay-value and hit F5 to see/feel the result. Then I hit another key as F5 I guess. Must be something near to the F5-key. I spent nearly 1/2 hour trying to repeat this. No success. When you leave the property-window entered a wrong name, an error-box poped up. As you said, fixing it without knowing what I have done (= what to have to fix) is impossibe. When ever I found somethink like this, I will write here. > > Regards, HM From mauriiiii3001 at ...325... Fri Jul 9 18:38:40 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Fri, 09 Jul 2004 18:38:40 +0200 Subject: [Gambas-user] GLLS Message-ID: <40EECA10.9040507@...325...> Sorry I've posted a program with a bug. this version correct it and add some functions enjoy it -------------- next part -------------- A non-text attachment was scrubbed... Name: GLLS-0.5.5.tar.gz Type: application/x-gzip Size: 8708 bytes Desc: not available URL: From vbtricks at ...451... Fri Jul 9 19:07:46 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Fri, 09 Jul 2004 19:07:46 +0200 Subject: [Gambas-user] GLLS In-Reply-To: <40EECA10.9040507@...325...> References: <40EECA10.9040507@...325...> Message-ID: <40EED0E2.4070701@...451...> Dear Pozzo, I do not know what the bug was, but I still are not able to execute it on my Gambas 0.94. I press F5 and nothing happens? All other projects work! Anyone else out there who has got the same problem? Stefan From daniel.campos at ...338... Fri Jul 9 19:22:25 2004 From: daniel.campos at ...338... (Daniel) Date: Fri, 09 Jul 2004 19:22:25 +0200 Subject: [Gambas-user] GLLS In-Reply-To: <40EECA10.9040507@...325...> References: <40EECA10.9040507@...325...> Message-ID: <1089393745.3466.0.camel@...40...> Spanish translation... El vie, 09-07-2004 a las 18:38, Pozzo escribi?: > Sorry I've posted a program with a bug. this version correct it and add > some functions > > enjoy it -------------- next part -------------- A non-text attachment was scrubbed... Name: GLLS-es.po Type: text/x-po Size: 4047 bytes Desc: not available URL: From pastrano at ...431... Fri Jul 9 20:11:56 2004 From: pastrano at ...431... (Gianni Piccini) Date: Fri, 9 Jul 2004 20:11:56 +0200 Subject: [Gambas-user] Listbox In-Reply-To: <200407082344.07946.gambasfr@...11...> References: <1089322010.14649284.40edbc1a@...432...> <200407082344.07946.gambasfr@...11...> Message-ID: <1089396716.1066874.40eedfec@...432...> On Thu, 8 Jul 2004 23:44:07 +0200, you wrote: > simply do > > var = listbox1[index].text aaargh, I was sleeping :-) Thanks, next problem is to find a way to see and set the topmost item of the listboxes: for example, have at the top of both listboxes the same item, still an example in vb to explain, list1.topindex = list2.topindex From gambasfr at ...11... Fri Jul 9 23:19:28 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Fri, 9 Jul 2004 23:19:28 +0200 Subject: [Gambas-user] Listbox In-Reply-To: <1089396716.1066874.40eedfec@...432...> References: <1089322010.14649284.40edbc1a@...432...> <200407082344.07946.gambasfr@...11...> <1089396716.1066874.40eedfec@...432...> Message-ID: <200407092319.28404.gambasfr@...11...> Le vendredi 9 Juillet 2004 20:11, Gianni Piccini a ?crit : > On Thu, 8 Jul 2004 23:44:07 +0200, you wrote: > > simply do > > > > var = listbox1[index].text > > aaargh, I was sleeping :-) Thanks, next problem is to find a way to see and > set the topmost item of the listboxes: for example, have at the top of both > listboxes the same item, still an example in vb to explain, > > list1.topindex = list2.topindex hu? i don't understand what do topindex.... mabe list1[0].text = list2[0].text or list1[0] = list2[0] or list1.add(list2[0].text, 0) please read gambas help before ;-) http://binara.com/gambas-wiki/bin/view/Gambas/GambasComponentQtListBox fabien Bodard > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From pastrano at ...431... Sat Jul 10 01:55:19 2004 From: pastrano at ...431... (Gianni Piccini) Date: Sat, 10 Jul 2004 01:55:19 +0200 Subject: [Gambas-user] Listbox In-Reply-To: <200407092319.28404.gambasfr@...11...> References: <1089322010.14649284.40edbc1a@...432...> <200407082344.07946.gambasfr@...11...> <1089396716.1066874.40eedfec@...432...> <200407092319.28404.gambasfr@...11...> Message-ID: <1089417320.21670560.40ef3068@...432...> On Fri, 9 Jul 2004 23:19:28 +0200, you wrote: > i don't understand what do topindex.... Sorry for my bad question. I'll give an example: I've 2 listboxes, same width and height, placed side by side. They have both 20 items, but only 5 are visible, due the height of listboxes. If I scroll one of them, the first item visible will not be the first, but, for example, the 5 (in vb the index of first visible item is readable with listbox.topindex). So, I need to make second listbox with item 5 at the top of visibles... From VSchmid at ...522... Sat Jul 10 11:09:08 2004 From: VSchmid at ...522... (Volker Schmid) Date: Sat, 10 Jul 2004 11:09:08 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption Message-ID: Hi, is it possible to use blowfish encryption and decryption within gambas? I need to create a user-interface connecting to a server using tcp/ip. The implemented protocoll needs to encrypt and decrypt data with the blowfish-algorithm. Any suggestions? I'm not able to create a own gambas-extension, because I can't C or C++. Gr?sse, Volker From mauriiiii3001 at ...325... Sat Jul 10 13:39:53 2004 From: mauriiiii3001 at ...325... (Pozzo) Date: Sat, 10 Jul 2004 13:39:53 +0200 Subject: [Gambas-user] re: GLLS Message-ID: <40EFD589.50307@...325...> Stefan It 's really strange. Are you sure? Maybe you didn't see the form because it 's really little. The gambas debug form appear? Daniel Thanks for the translation I'll add it with the next version From vbtricks at ...451... Sat Jul 10 17:10:20 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Sat, 10 Jul 2004 17:10:20 +0200 Subject: [Gambas-user] re: GLLS In-Reply-To: <40EFD589.50307@...325...> References: <40EFD589.50307@...325...> Message-ID: <40F006DC.9030907@...451...> Dear Pozzo, no it's still not running. The debug window does not appear, nothing happens at all. But as there are no others protesting, it seems to be only problem on my system (although I'm able to run all other projects posted to this mailing list). Very strange, Stefan From vbtricks at ...451... Sat Jul 10 17:15:58 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Sat, 10 Jul 2004 17:15:58 +0200 Subject: [Gambas-user] OT: TextAdventure 2: FreePascal version Message-ID: <40F0082E.5080203@...451...> Hi everybody, for those who are interested in the TextAdventure-interpeter: You can find the sourcecode for FreePascal as well as an executable for Linux and Windows on my website (www.vbtricks.de.vu) in the section TextAdv2/FreePascal. The packages contain a small sample textadventure-game (not very creative till now). That version is still English-only. The VB version which I hopefully finish tomorrow, will support all other languages as well as the Gambas version (no release date yet). @ Marcelo Do you want to be mentioned in the credits and in the header of the language file? (I am not going to publish your name without your permission!) Stefan From martin at ...524... Sat Jul 10 17:42:40 2004 From: martin at ...524... (Martin Sieradzki) Date: Sat, 10 Jul 2004 17:42:40 +0200 Subject: [Gambas-user] ICQ Message-ID: <200407101542.i6AFgZwc006968@...525...> Hi everybody, is it possible to make an icq client with gambas? Rgds, Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From bundeshund at ...467... Sat Jul 10 17:54:33 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sat, 10 Jul 2004 17:54:33 +0200 Subject: [Gambas-user] Again printing, here: how to change Font-properties? Message-ID: <200407101754.33379.bundeshund@...467...> Salute group, now I tried to implement printing to my 'mercantile'-application 'gambakaan' (kaan = kaufm?nnische Anwendung = mercantile-application if my translation is right). But I am doing somethin basicly wrong. When I trie to print a text using this: ########################################### sub print_it() DIM mytext AS String 'init the printer draw.begin(Printer) draw.font.Italic = TRUE draw.Font.size = 12 'puzzeling my text 'I only do this for a better view of the lines mytext = "Line1" & "\n" mytext = mytext & "Line2" & "\n" mytext = mytext & "Line3" & "\n" draw.Text(mytext,200,200) draw.End end ########################################### the values .size, .italic and name (not seen in the example) make no sence to the output. I can enter italic = false or true, same result. So what must I do to activate my new settings? And I have a second question: When I want to use different font-types with different sizes, I think I have to write the code like this: ########################################### sub print_it() DIM mytext AS String 'init the printer for headline-text draw.begin(Printer) draw.font.Italic = TRUE draw.Font.size = 24 'puzzeling my headlines mytext = "Headline1" & "\n" 'I only do this for a better view of the lines mytext = mytext & "Hedaline2" & "\n" draw.Text(mytext,200,200) 'init the printer for bottom-text draw.begin(Printer) draw.font.Italic = TRUE draw.Font.size = 12 'puzzeling my bottom-text mytext = "Bottomtext1" & "\n" mytext = mytext & "Bottomtext2" & "\n" draw.Text(mytext,200,200+200) draw.End end ########################################### Thanks for your help, HM From gambas at ...1... Sat Jul 10 18:11:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 10 Jul 2004 18:11:07 +0200 Subject: [Gambas-user] Again printing, here: how to change Font-properties? In-Reply-To: <200407101754.33379.bundeshund@...467...> References: <200407101754.33379.bundeshund@...467...> Message-ID: <200407101811.07970.gambas@...1...> On Saturday 10 July 2004 17:54, Hans-Martin Bundeshund wrote: > Salute group, > > now I tried to implement printing to my 'mercantile'-application > 'gambakaan' (kaan = kaufm?nnische Anwendung = mercantile-application if my > translation is right). But I am doing somethin basicly wrong. When I trie > to print a text using this: > > > ########################################### > sub print_it() > DIM mytext AS String > > 'init the printer > draw.begin(Printer) > draw.font.Italic = TRUE > draw.Font.size = 12 > > 'puzzeling my text > 'I only do this for a better view of the lines > mytext = "Line1" & "\n" > mytext = mytext & "Line2" & "\n" > mytext = mytext & "Line3" & "\n" > > draw.Text(mytext,200,200) > draw.End > end > ########################################### > > > the values .size, .italic and name (not seen in the example) make no sence > to the output. I can enter italic = false or true, same result. > > So what must I do to activate my new settings? > > And I have a second question: When I want to use different font-types with > different sizes, I think I have to write the code like this: > > ########################################### > sub print_it() > DIM mytext AS String > > 'init the printer for headline-text > draw.begin(Printer) > draw.font.Italic = TRUE > draw.Font.size = 24 > > 'puzzeling my headlines > mytext = "Headline1" & "\n" 'I only do this > for a better view of the lines > mytext = mytext & "Hedaline2" & "\n" > draw.Text(mytext,200,200) > > > 'init the printer for bottom-text > draw.begin(Printer) > draw.font.Italic = TRUE > draw.Font.size = 12 > > 'puzzeling my bottom-text > mytext = "Bottomtext1" & "\n" > mytext = mytext & "Bottomtext2" & "\n" > draw.Text(mytext,200,200+200) > > draw.End > end > ########################################### > > Thanks for your help, > > HM > > The Font class has changed since 0.92 (always read changelog men !) Before, it acted like it does in Visual Basic. Now it is a true class, so doing Draw.Font.Italic = TRUE does not change the Font object used by the Draw class. You must do: DIM hFont AS Font hFont = Draw.Font hFont.Italic = TRUE Draw.Font = hFont Or more quickly: Draw.Font.Italic = TRUE Draw.Font = Draw.Font ' It seems stupid, doesn't it ? This change allowed me to remove some code in the interpreter that was there just because of the Font class, and so I could speed up some things. Now, I admit that the Font property is a bit strange, so maybe I will try to reimplement the VB syntax in a next version. If Something.Font.Italic = TRUE must change the font of the 'Something' object, it means that the font object owns a reference on the 'Something' object. But remember that the 'Something' object already has a reference on the font object. So there will be a circular reference that will prevent the objects to be freed... Problem! Writing a syntax easy to use is not simple! Regards, -- Benoit Minisini mailto:gambas at ...1... From mardus at ...298... Sat Jul 10 18:52:57 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Sat, 10 Jul 2004 13:52:57 -0300 Subject: [Gambas-user] Re: OT: TextAdventure 2: FreePascal version In-Reply-To: <40F0082E.5080203@...451...> References: <40F0082E.5080203@...451...> Message-ID: <200407101352.57671.mardus@...298...> El S?b 10 Jul 2004 12:15, VBTricks.de.vu Webmaster escribi?: |> @ Marcelo |> Do you want to be mentioned in the credits and in the header of the |> language file? (I am not going to publish your name without your |> permission!) I give you my permission :)) Thanks. -- Para el cierre: --- El Ping?inor?culo sol?a citar: "Encuentro la televisi?n muy educativa. Cada vez que alguien la enciende, me retiro a otra habitaci?n y leo un libro." (Groucho Marx) - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From eilert-sprachen at ...221... Sat Jul 10 20:17:57 2004 From: eilert-sprachen at ...221... (Eilert) Date: Sat, 10 Jul 2004 20:17:57 +0200 Subject: [Gambas-user] Gambas on Suse 8.2 - problem... In-Reply-To: <40EC3285.5090808@...475...> References: <40E92E3A.30305@...221...> <40E94E86.4030804@...475...> <40EC01FF.5000409@...221...> <40EC10F3.1020807@...475...> <40EC1FDF.7090607@...221...> <40EC3285.5090808@...475...> Message-ID: <40F032D5.8090306@...221...> Hi Brant, I did it - it was just a bit tricky as the graphical installation tool didn't run - too few RAM. But I got through it, 1.5 GB, now everything is there, and Gambas is running! Rolf Brant Wells schrieb: > Hey Rolf... > > Who needs windows?? :-P > > Seriously though... You can't cut off many of the packages in Suse to > get it crammed into 2 gigs?? IMHO, you could try Mandrake 10... That's > what I run... and I think it squeezes into 2gb purdy good... I've got a > Suse disc downloading now, as I've been wanting to try it for some time... > > Let me know how it goes! > > See Ya! > ~Brant > From na2492 at ...9... Sat Jul 10 22:15:57 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sat, 10 Jul 2004 22:15:57 00200 Subject: [Gambas-user] Need to have blowfish en- and decryption Message-ID: <40f04e7d.19d.0@...9...> >Hi, > >is it possible to use blowfish encryption and decryption within gambas? I need to create a user-interface connecting to a server using tcp/ip. The implemented protocoll needs to encrypt and decrypt data with the blowfish-algorithm. > >Any suggestions? > >I'm not able to create a own gambas-extension, because I can't C or C++. > >Gr?sse, > >Volker > Salut Volker, I'v never worked with the blowfish encryption and decryption. I mean I don't know what it is. But if you can use it on a shell, you can use SHELL or EXEC to encrypt or decrypt Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From danielcampos at ...282... Sun Jul 11 09:43:48 2004 From: danielcampos at ...282... (Daniel Campos) Date: Sun, 11 Jul 2004 09:43:48 +0200 Subject: [Gambas-user] slackware 10 Message-ID: <1089531828.3234.5.camel@...40...> Hi Beno?t: You have to update "Distributions & OS" section, there are packages of 0.94a for slackware 10 at http://www.linuxpackages.net , there are packages for Linex too ( http://www.linex.org ) Could you also add a link to the following pages? http://wiki.gnulinex.org/gambas http://gambas.gnulinex.org (Here's how spanish documentation begins to look : http://wiki.gnulinex.org/gambas/13 ) thanks, -- Daniel Campos From gambas at ...1... Sun Jul 11 11:16:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 11 Jul 2004 11:16:54 +0200 Subject: [Gambas-user] slackware 10 In-Reply-To: <1089531828.3234.5.camel@...40...> References: <1089531828.3234.5.camel@...40...> Message-ID: <200407111116.54769.gambas@...1...> On Sunday 11 July 2004 09:43, Daniel Campos wrote: > Hi Beno?t: > > > You have to update "Distributions & OS" section, there are packages of > 0.94a for slackware 10 at http://www.linuxpackages.net , there are > packages for Linex too ( http://www.linex.org ) > > Could you also add a link to the following pages? > > http://wiki.gnulinex.org/gambas > http://gambas.gnulinex.org > > (Here's how spanish documentation begins to look : > http://wiki.gnulinex.org/gambas/13 ) > > thanks, Cool. Maybe you will be interested by my Gambas project that generates wiki pages from gambas classes ? Just be careful that it is adapted to the Rob's wiki. Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: UpdateWiki-0.0.1.tar.gz Type: application/x-tgz Size: 10259 bytes Desc: not available URL: From gambasfr at ...11... Sun Jul 11 13:27:50 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Sun, 11 Jul 2004 13:27:50 +0200 Subject: [Gambas-user] Listbox In-Reply-To: <1089417320.21670560.40ef3068@...432...> References: <1089322010.14649284.40edbc1a@...432...> <200407092319.28404.gambasfr@...11...> <1089417320.21670560.40ef3068@...432...> Message-ID: <200407111327.50455.gambasfr@...11...> Le samedi 10 Juillet 2004 01:55, Gianni Piccini a ?crit : > On Fri, 9 Jul 2004 23:19:28 +0200, you wrote: > > i don't understand what do topindex.... > > Sorry for my bad question. I'll give an example: I've 2 listboxes, same > width and height, placed side by side. They have both 20 items, but only 5 > are visible, due the height of listboxes. If I scroll one of them, the > first item visible will not be the first, but, for example, the 5 (in vb > the index of first visible item is readable with listbox.topindex). So, I > need to make second listbox with item 5 at the top of visibles... > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ok i understand now In fact not possible in ListBox... Mabe Benoit have miss that... ListView1.Current.EnsureVisible ( ) ListView2.Find[listView1.Current.key].EnsureVisible ( ) You must in this case have the same key name in the listview dim i as integer For i = 0 to 10 key,text,pic, next ListView1.add(str(i), i) ListView1.add(str(i), i) next From pastrano at ...431... Sun Jul 11 14:27:35 2004 From: pastrano at ...431... (Gianni Piccini) Date: Sun, 11 Jul 2004 14:27:35 +0200 Subject: [Gambas-user] Listbox In-Reply-To: <200407111327.50455.gambasfr@...11...> References: <1089322010.14649284.40edbc1a@...432...> <200407092319.28404.gambasfr@...11...> <1089417320.21670560.40ef3068@...432...> <200407111327.50455.gambasfr@...11...> Message-ID: <1089548856.2270504.40f13238@...432...> On Sun, 11 Jul 2004 13:27:50 +0200, you wrote: > ListView1.Current.EnsureVisible ( ) > etc etc Thanks, I will try this. From sdnpaolo at ...69... Sun Jul 11 17:42:22 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Sun, 11 Jul 2004 17:42:22 +0200 Subject: [Gambas-user] ColumnView Message-ID: <40F15FDE.3080303@...69...> Hi all, how can I add text in a ColumnView control?? I mean I can add it with the function *Add* but if I have more than one column, how do I add some text to the others columns in the same row? I tried to use the Move*() methods without being successful. I couldn't find any example about it, thanks Paolo From gambasfr at ...11... Sun Jul 11 18:09:32 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Sun, 11 Jul 2004 18:09:32 +0200 Subject: [Gambas-user] ColumnView In-Reply-To: <40F15FDE.3080303@...69...> References: <40F15FDE.3080303@...69...> Message-ID: <200407111809.32632.gambasfr@...11...> Le dimanche 11 Juillet 2004 17:42, Paolo Saudin a ?crit : > Hi all, > how can I add text in a ColumnView control?? I mean I can add it with > the function *Add* but if I have more than one column, how do I add some > text to the others columns in the same row? I tried to use the Move*() > methods without being successful. I couldn't find any example about it, > thanks > > Paolo > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Hi, This is your soluce ! columnview.Columns.count = 4 ColumnView.add("first", "Hello,") ColumnView["first"][1].Text = "How" ColumnView["first"][2].Text = "are" ColumnView["first"][3].Text = "you" Fabien Bodard Never compare , vb code style and gambas one. From girardhenri at ...67... Sun Jul 11 21:14:41 2004 From: girardhenri at ...67... (Henri Girard) Date: Sun, 11 Jul 2004 21:14:41 +0200 Subject: [Gambas-user] Listbox References: <1089322010.14649284.40edbc1a@...432...> <200407092319.28404.gambasfr@...11...> <1089417320.21670560.40ef3068@...432...> <200407111327.50455.gambasfr@...11...> <1089548856.2270504.40f13238@...432...> Message-ID: Hi :) I am looking for samples about databases record forms .. connecting... but simple ones ... Olivier accounting was good... but i haven't it anymore !! kind regards Henri ----- Original Message ----- From: "Gianni Piccini" To: Sent: Sunday, July 11, 2004 2:27 PM Subject: Re: [Gambas-user] Listbox > On Sun, 11 Jul 2004 13:27:50 +0200, you wrote: > > > ListView1.Current.EnsureVisible ( ) > > etc etc > > Thanks, I will try this. > From my point of view, sometimes my difficulties with Gambas are originated > from having a small quantity of simple examples, but, I must admit, you're > so nice on this ml :-) I'm collecting examples, I hope in future to have > for others like me a great number of examples to be put on a site... > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jscops at ...11... Mon Jul 12 19:17:24 2004 From: jscops at ...11... (Jack) Date: Mon, 12 Jul 2004 19:17:24 +0200 Subject: [Gambas-user] Kmail with Gambas Message-ID: <200407121917.24815.jscops@...11...> Dear all, I have a mysql field who contain an email address and i want to launch Kmail with this field. How to do ? Exec is not documented and i do not find alone. Mail = rResult["Email"] EXEC ["kmail" ,"Mail "] This example don't work because Kmail return the word "Mail" and not the Mail variable content ! Anybody can help me ? Thank you very much. Regards From bwells at ...475... Mon Jul 12 19:22:53 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 12 Jul 2004 13:22:53 -0400 Subject: [Gambas-user] Gambas on Suse 8.2 - problem... In-Reply-To: <40F032D5.8090306@...221...> References: <40E92E3A.30305@...221...> <40E94E86.4030804@...475...> <40EC01FF.5000409@...221...> <40EC10F3.1020807@...475...> <40EC1FDF.7090607@...221...> <40EC3285.5090808@...475...> <40F032D5.8090306@...221...> Message-ID: <40F2C8ED.6000700@...475...> You did the upgrade to 9.1? Congrat's Rolf! :-) See Ya! ~Brant Eilert wrote: > Hi Brant, > > I did it - it was just a bit tricky as the graphical installation tool > didn't run - too few RAM. But I got through it, 1.5 GB, now everything > is there, and Gambas is running! > > Rolf From bwells at ...475... Mon Jul 12 19:30:37 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 12 Jul 2004 13:30:37 -0400 Subject: [Gambas-user] Kmail with Gambas In-Reply-To: <200407121917.24815.jscops@...11...> References: <200407121917.24815.jscops@...11...> Message-ID: <40F2CABD.1020809@...475...> Hey Jack: Check your syntax... ;-) On the EXEC line, there shouldn't be any "" around Mail. try this ==> EXEC["kmail",Mail] Jack wrote: >Dear all, > >I have a mysql field who contain an email address and i want to launch Kmail >with this field. How to do ? Exec is not documented and i do not find alone. > > Mail = rResult["Email"] > EXEC ["kmail" ,"Mail "] >This example don't work because Kmail return the word "Mail" and not the Mail >variable content ! > >Anybody can help me ? > >Thank you very much. > >Regards > > From jscops at ...11... Mon Jul 12 20:06:30 2004 From: jscops at ...11... (Jack) Date: Mon, 12 Jul 2004 20:06:30 +0200 Subject: [Gambas-user] Kmail with Gambas In-Reply-To: <40F2CABD.1020809@...475...> References: <200407121917.24815.jscops@...11...> <40F2CABD.1020809@...475...> Message-ID: <200407122006.30488.jscops@...11...> Le Lundi 12 Juillet 2004 19:30, Brant Wells a ?crit : > Hey Jack: > > Check your syntax... ;-) > > On the EXEC line, there shouldn't be any "" around Mail. > > try this ==> EXEC["kmail",Mail] > Thank you Brants, it's very simple. Sometimes we don't see evidence. From bwells at ...475... Mon Jul 12 20:13:46 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 12 Jul 2004 14:13:46 -0400 Subject: [Gambas-user] Using "MyProgram" Message-ID: <40F2D4DA.3020007@...475...> Hey All: I have been tinkering with the "Use" feature of Gambas: I really like it a lot...[it is really kool if you want to create your own 'control' for Gambas, but it doesn't show in the Toolbox yet...] Anyhow... I have developed my 'Control' [a calendar], and I want it to trigger an event called DaySelected... So in my main program, I: [CODE] Public Calendar as frmCalendar Sub Form_Open() 'This is the form of the main APP USE "CalendarControl" '<-- is the 'Control' that I want to raise an event from... Calendar=NEW frmCalendar(frmMain) AS "frmCalendar" Calendar.top=1 Calendar.left=1 frmmain.width=calendar.width Calendar.form_open'Initializes and Displays Calendar END PUBLIC PROCEDURE frmCalendar_DaySelected(sDate AS Date) PRINT "DaySelected: " & sdate END [END CODE] Am I missing something?? I have the source to both apps if anyone needs to see... Thanks! ~Brant From bwells at ...475... Mon Jul 12 20:16:09 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 12 Jul 2004 14:16:09 -0400 Subject: [Gambas-user] Re: Using "MyProgram" In-Reply-To: <40F2D4DA.3020007@...475...> References: <40F2D4DA.3020007@...475...> Message-ID: <40F2D569.1050803@...475...> Sorry... The problem I am having is that when the other program hits the RAISE DaySelected() line in the control, it's not triggering the frmCalendar_DaySelected code in my main app... ~Brant Brant Wells wrote: > Hey All: > > I have been tinkering with the "Use" feature of Gambas: I really like > it a lot...[it is really kool if you want to create your own 'control' > for Gambas, but it doesn't show in the Toolbox yet...] > > Anyhow... I have developed my 'Control' [a calendar], and I want it to > trigger an event called DaySelected... > > So in my main program, I: > > > [CODE] > > Public Calendar as frmCalendar > Sub Form_Open() 'This is the form of the main APP > > USE "CalendarControl" '<-- is the 'Control' that I want to raise an > event from... > Calendar=NEW frmCalendar(frmMain) AS "frmCalendar" > > Calendar.top=1 > Calendar.left=1 > > frmmain.width=calendar.width > Calendar.form_open'Initializes and Displays Calendar > END > > PUBLIC PROCEDURE frmCalendar_DaySelected(sDate AS Date) > > PRINT "DaySelected: " & sdate > > END > [END CODE] > > Am I missing something?? I have the source to both apps if anyone > needs to see... > > Thanks! > ~Brant > > From bwells at ...475... Mon Jul 12 20:17:03 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 12 Jul 2004 14:17:03 -0400 Subject: [Gambas-user] Kmail with Gambas In-Reply-To: <200407122006.30488.jscops@...11...> References: <200407121917.24815.jscops@...11...> <40F2CABD.1020809@...475...> <200407122006.30488.jscops@...11...> Message-ID: <40F2D59F.7010806@...475...> We're computer geeks... We're allowed to make mistakes! ;-) See Ya & Glad it worked! ~Brant Jack wrote: >Le Lundi 12 Juillet 2004 19:30, Brant Wells a ?crit : > > >>Hey Jack: >> >>Check your syntax... ;-) >> >>On the EXEC line, there shouldn't be any "" around Mail. >> >>try this ==> EXEC["kmail",Mail] >> >> >> > >Thank you Brants, it's very simple. Sometimes we don't see evidence. > > > From developers at ...526... Mon Jul 12 21:23:58 2004 From: developers at ...526... (Gioachino Bartolotta) Date: Mon, 12 Jul 2004 21:23:58 +0200 Subject: [Gambas-user] Socket Message-ID: <40F2E54E.4040902@...526...> Hi all! I am new to Gambas, I have compiled from source and installed version 0.94a, tried to work with it, tried to work with Socket class, but even when I try to copy the example from manual about Socket, it doesn't work. For example if I try to write Dim MySock AS Socket Dim MySock = NEW Socket() I get an error ... but why ....?? I have also specified during configure --enable-net What is wrong? By the way, Gambas don't recognize the class on the drop down menu. Hope to be clear ... Please help me ... :( -- Bartolotta Gioachino developers at ...526... ICQ: #9103167 From girardhenri at ...67... Mon Jul 12 21:25:03 2004 From: girardhenri at ...67... (Henri Girard) Date: Mon, 12 Jul 2004 21:25:03 +0200 Subject: [Gambas-user] rpm delay References: <200407121917.24815.jscops@...11...> <40F2CABD.1020809@...475...> <200407122006.30488.jscops@...11...> <40F2D59F.7010806@...475...> Message-ID: Hi :) I have 2 fedora one on a notebook and one on desktop... On the second one no problem it works fine after compilation ... On the first one i have a small partition (3 Go) so i install minimum pakage to make gambas running... fc2 as qt 3.3.2 and on the notebook I got error message : lib.gb.so.0 error... so i tried to install rmps but all the fc2 servers only the 93b is available... it works on the netbook execpt it crashes all the time when i try the report database... Does any one where I could find rpm 94a for fedora 2 ... The olivier's link doesn't work on gambas web ... Otherwise I will wait ... i guess one day it will be updated ? lol Salut Henri From bundeshund at ...467... Mon Jul 12 21:42:21 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Mon, 12 Jul 2004 21:42:21 +0200 Subject: [Gambas-user] Socket In-Reply-To: <40F2E54E.4040902@...526...> References: <40F2E54E.4040902@...526...> Message-ID: <200407122142.21079.bundeshund@...467...> Hi! Sorry, couldn't help with socket-class, but what did you mean with 'don't recognize the class on the drop down menu'? If you want to have a menu poped-up by right-clicking just use some code like this: PUBLIC SUB TextBox1_Menu() PopUpMenu.visible=TRUE PopUpMenu.Popup PopUpMenu.visible=FALSE END Be sure to create PopUpMenu plus under-menus with the menu-editor (rightclick on the object in the form-editor). HTH, HM Am Montag, 12. Juli 2004 21:23 schrieb Gioachino Bartolotta: > Hi all! > > I am new to Gambas, I have compiled from source and installed version > 0.94a, tried to work with it, tried to work with Socket class, but even > when I try to copy the example from manual about Socket, it doesn't work. > > For example if I try to write > > Dim MySock AS Socket > Dim MySock = NEW Socket() > > I get an error ... but why ....?? I have also specified during configure > --enable-net > > What is wrong? > > By the way, Gambas don't recognize the class on the drop down menu. > > Hope to be clear ... > > Please help me ... :( From daniel.campos at ...338... Mon Jul 12 22:09:41 2004 From: daniel.campos at ...338... (Daniel) Date: Mon, 12 Jul 2004 22:09:41 +0200 Subject: [Gambas-user] Socket In-Reply-To: <40F2E54E.4040902@...526...> References: <40F2E54E.4040902@...526...> Message-ID: <1089662981.3224.1.camel@...40...> Did you selected the 'gb.net' component in the project properties? (Project -> Properties -> Components' menu) Regards, Daniel Campos El lun, 12-07-2004 a las 21:23, Gioachino Bartolotta escribi?: > Hi all! > > I am new to Gambas, I have compiled from source and installed version > 0.94a, tried to work with it, tried to work with Socket class, but even > when I try to copy the example from manual about Socket, it doesn't work. > > For example if I try to write > > Dim MySock AS Socket > Dim MySock = NEW Socket() > > I get an error ... but why ....?? I have also specified during configure > --enable-net > > What is wrong? > > By the way, Gambas don't recognize the class on the drop down menu. > > Hope to be clear ... > > Please help me ... :( From developers at ...526... Mon Jul 12 22:16:53 2004 From: developers at ...526... (Gioachino Bartolotta) Date: Mon, 12 Jul 2004 22:16:53 +0200 Subject: [Gambas-user] Socket In-Reply-To: <1089662981.3224.1.camel@...40...> References: <40F2E54E.4040902@...526...> <1089662981.3224.1.camel@...40...> Message-ID: <40F2F1B5.5050904@...526...> Hi Daniel! Thanks a lot! Now it works! > Did you selected the 'gb.net' component in the project properties? > (Project -> Properties -> Components' menu) > > Regards, > > Daniel Campos > -- Bartolotta Gioachino developers at ...526... ICQ: #9103167 From oxleyd at ...364... Tue Jul 13 09:36:34 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 13 Jul 2004 09:36:34 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption Message-ID: <200407130517.i6D5HWUs011915@...364...> A few weeks ago, a similar topic to this was discussed on here. I said that I had a VB implementation of this. Brent said that (when he had time) he might try to translate to Gambas, and of course, share the code with us! So, I have attached the VB code. It is only 7kb and I have left it uncompiled. Even if it does not get translated to Gambas, it is an excellent tool for all you VB programmers who subscribe to this list. Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Volker Schmid Sent: 10 July 2004 11:09 To: Gambas Mailinglist Subject: [Gambas-user] Need to have blowfish en- and decryption Hi, is it possible to use blowfish encryption and decryption within gambas? I need to create a user-interface connecting to a server using tcp/ip. The implemented protocoll needs to encrypt and decrypt data with the blowfish-algorithm. Any suggestions? I'm not able to create a own gambas-extension, because I can't C or C++. Gr?sse, Volker ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: Twofish.rar Type: application/x-rar-compressed Size: 5182 bytes Desc: not available URL: From girardhenri at ...67... Tue Jul 13 12:12:41 2004 From: girardhenri at ...67... (Henri Girard) Date: Tue, 13 Jul 2004 12:12:41 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption References: <200407130517.i6D5HWUs011915@...364...> Message-ID: ----- Original Message ----- From: "Daniel Oxley" To: Sent: Tuesday, July 13, 2004 9:36 AM Subject: [Gambas-user] Need to have blowfish en- and decryption A few weeks ago, a similar topic to this was discussed on here. I said that I had a VB implementation of this. Brent said that (when he had time) he might try to translate to Gambas, and of course, share the code with us! So, I have attached the VB code. It is only 7kb and I have left it uncompiled. Even if it does not get translated to Gambas, it is an excellent tool for all you VB programmers who subscribe to this list. Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Volker Schmid Sent: 10 July 2004 11:09 To: Gambas Mailinglist Subject: [Gambas-user] Need to have blowfish en- and decryption Hi, is it possible to use blowfish encryption and decryption within gambas? I need to create a user-interface connecting to a server using tcp/ip. The implemented protocoll needs to encrypt and decrypt data with the blowfish-algorithm. Any suggestions? I'm not able to create a own gambas-extension, because I can't C or C++. Gr?sse, Volker ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From drovar at ...3... Tue Jul 13 19:53:05 2004 From: drovar at ...3... (drovar) Date: Tue, 13 Jul 2004 13:53:05 -0400 Subject: [Gambas-user] SDL component on Xandros Message-ID: <40F42181.2020808@...3...> After a bit of investigating I got the Gambas and the SDL component to compile on Xandros Linux. The problem is that Gambas needs "libsdl-mixer1.2-dev" which depends on "libsmpeg-dev" which is only available from a newer version of Debian testing than Xandros is based on. The solution was to temporarily add testing to sources with "deb http://ftp.us.debian.org/debian/ testing main contrib non-free," and install only "libsmpeg-dev," and then remove testing and install "libsdl-mixer1.2-dev" from Xandros Network. I also needed to install "libqt3-compat-headers" for make to complete. So far Gambas comes up and seems to work fine including "Snake" with sound, which I couldn't get to work at all before. From gambasfr at ...11... Tue Jul 13 21:41:55 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 13 Jul 2004 21:41:55 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <200407130517.i6D5HWUs011915@...364...> References: <200407130517.i6D5HWUs011915@...364...> Message-ID: <200407132141.55993.gambasfr@...11...> please use tar.gz or tar.bz2 format for your archives For those want to uncompress the file this is the unrar program... you can get rpm fedora source from livna i think aptget unrar for debian and for other i give the source Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: unrarsrc-3.4.1.tar.gz Type: application/x-tgz Size: 119896 bytes Desc: not available URL: From bwells at ...475... Tue Jul 13 23:34:24 2004 From: bwells at ...475... (Brant Wells) Date: Tue, 13 Jul 2004 17:34:24 -0400 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <200407130517.i6D5HWUs011915@...364...> References: <200407130517.i6D5HWUs011915@...364...> Message-ID: <40F45560.60101@...475...> Hey Daniel: I have had a hard time of making out the vb source code for twofish... (head reels from all the math formulas I've seen from reading up on it...)... From what I've been able to decipher myself... It'd be just as easy to write our own from scratch, unless there is some particular reason to use twofish... Let me know what you think! ~Brant Daniel Oxley wrote: >A few weeks ago, a similar topic to this was discussed on here. I said that >I had a VB implementation of this. Brent said that (when he had time) he >might try to translate to Gambas, and of course, share the code with us! > >So, I have attached the VB code. It is only 7kb and I have left it >uncompiled. Even if it does not get translated to Gambas, it is an >excellent tool for all you VB programmers who subscribe to this list. > >Daniel > > > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Volker Schmid >Sent: 10 July 2004 11:09 >To: Gambas Mailinglist >Subject: [Gambas-user] Need to have blowfish en- and decryption > >Hi, > >is it possible to use blowfish encryption and decryption within gambas? I >need to create a user-interface connecting to a server using tcp/ip. The >implemented protocoll needs to encrypt and decrypt data with the >blowfish-algorithm. > >Any suggestions? > >I'm not able to create a own gambas-extension, because I can't C or C++. > >Gr?sse, > >Volker > > From VSchmid at ...522... Wed Jul 14 07:38:53 2004 From: VSchmid at ...522... (Volker Schmid) Date: Wed, 14 Jul 2004 07:38:53 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <40f04e7d.19d.0@...9...> References: <40f04e7d.19d.0@...9...> Message-ID: Hi Charlie, > I'v never worked with the blowfish encryption and decryption. > I mean I don't know what it is. > But if you can use it on a shell, you can use SHELL or EXEC to > encrypt or decrypt Blowfish is an de- and encryption algorithm. It is much faster than DES and IDEA, unpatented and royalty-free. You can learn more about this on the webpage of Bruce Schneier: http://www.schneier.com/blowfish.html Code-Sources for various languages are available here: http://www.schneier.com/blowfish-download.html But I need a fast integration into Gambas. I think it would be too slow if I implement it with gambas-code. Maybe Benoit can add some of these functions directly into gambas? I think about CRC32 (Checksum), Base64 (de- and encode for Mails), Blowfish (for good security in settings and passwords), SHA-128 or MD5 (for Hash-Calculating) and some asymetrical functions like Diffie-Hellman, IDEA or RSA (for signing and public-key encryption). Maybe directly as language-features or as a component. Just an idea... Gr?sse, Volker From oxleyd at ...364... Wed Jul 14 09:55:12 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 14 Jul 2004 09:55:12 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <40F45560.60101@...475...> Message-ID: <200407140538.i6E5cGUs007362@...364...> I tried about 4 or 5 times in the end to rewrite this in Gambas. Each time I gave up and just binned the lot. Maths was never my strong point! You are right that it would be easier to just dump this code and write a new version from scratch. You can get a break down of how it works from Bruce Schneier's website. Who knows, maybe he would even be interested in helping....??? He once said that the more languages his algorithm is translated into the better. I think the best reason to use Twofish is that it is unpatented and open. You know exactly how it works. AFAIK, it has not been cracked (yet?) either. Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells Sent: 13 July 2004 23:34 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Need to have blowfish en- and decryption Hey Daniel: I have had a hard time of making out the vb source code for twofish... (head reels from all the math formulas I've seen from reading up on it...)... From what I've been able to decipher myself... It'd be just as easy to write our own from scratch, unless there is some particular reason to use twofish... Let me know what you think! ~Brant Daniel Oxley wrote: >A few weeks ago, a similar topic to this was discussed on here. I said that >I had a VB implementation of this. Brent said that (when he had time) he >might try to translate to Gambas, and of course, share the code with us! > >So, I have attached the VB code. It is only 7kb and I have left it >uncompiled. Even if it does not get translated to Gambas, it is an >excellent tool for all you VB programmers who subscribe to this list. > >Daniel > > > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Volker Schmid >Sent: 10 July 2004 11:09 >To: Gambas Mailinglist >Subject: [Gambas-user] Need to have blowfish en- and decryption > >Hi, > >is it possible to use blowfish encryption and decryption within gambas? I >need to create a user-interface connecting to a server using tcp/ip. The >implemented protocoll needs to encrypt and decrypt data with the >blowfish-algorithm. > >Any suggestions? > >I'm not able to create a own gambas-extension, because I can't C or C++. > >Gr?sse, > >Volker > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From girardhenri at ...67... Wed Jul 14 12:38:27 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 14 Jul 2004 12:38:27 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption References: <200407130517.i6D5HWUs011915@...364...> <200407132141.55993.gambasfr@...11...> Message-ID: Livna has only version 0.92xxx ----- Original Message ----- From: "Bodard Fabien" To: Sent: Tuesday, July 13, 2004 9:41 PM Subject: Re: [Gambas-user] Need to have blowfish en- and decryption > please use tar.gz or tar.bz2 format for your archives > > For those want to uncompress the file this is the unrar program... > > you can get rpm fedora source from livna > > i think aptget unrar for debian > > and for other i give the source > > Fabien Bodard > > > > From bwells at ...475... Wed Jul 14 15:09:54 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 14 Jul 2004 09:09:54 -0400 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <200407140538.i6E5cGUs007362@...364...> References: <200407140538.i6E5cGUs007362@...364...> Message-ID: <40F530A2.6010000@...475...> Hey Daniel: Daniel Oxley wrote: >I tried about 4 or 5 times in the end to rewrite this in Gambas. Each time >I gave up and just binned the lot. Maths was never my strong point! >You are right that it would be easier to just dump this code and write a new >version from scratch. > > Mine either... I went to the Site listed in the VB [cough, cough] code, and found a PDF document about it... My head is still reeling from all the Calculus mess that is in it (and I only made it up to pre-calculus in college)... I have written my own 'encryption' routines, to use the term loosely, more like a stream scrambler with a fixed way of doing things... I have a copy of it for gambas already, as I was porting an app over to Gambas... Not high level encryption... but it's fast (AFAIK)... >You can get a break down of how it works from Bruce Schneier's website. Who >knows, maybe he would even be interested in helping....??? He once said >that the more languages his algorithm is translated into the better. > >I think the best reason to use Twofish is that it is unpatented and open. > > I got the breakdown and all, as mentioned above, and just can't figure out quite how to make it work yet... I follow what some of the vbCode does, and understand [I think] certain functions, like the RTLMoveMemory... But I also don't see the problem with creating our own 'encryption' routines just for Gambas... >You know exactly how it works. > I wish... then I could quickly translate it. ;-P >AFAIK, it has not been cracked (yet?) >either. > > Security is a good thing! I am looking over some VB code that I just found for Blowfish...[not Twofish]... and it seems to be a bit easier to follow... I think I will tinker with it for a bit and see what I can come up with. See Ya! ~Brant From bwells at ...475... Wed Jul 14 15:17:45 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 14 Jul 2004 09:17:45 -0400 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: References: <40f04e7d.19d.0@...9...> Message-ID: <40F53279.40702@...475...> Hey Volker: Thanks for the websites... I found the one you posted for blowfish quite useful, as it had some good examples to follow... I think that Gambas is really strong, and lightyears ahead of other Basic & IDEs for Linux... I will be making a class implementation of whatever encryption engine I can find whose math I actually can understand! If you are good in Visual Basic, maybe you could work on a Gambas port of the Base64 Encodes, etc? The more stuff we get ported or written in Gambas, the stronger it becomes! Will keep everyone posted on progress! ~Brant Volker Schmid wrote: > Hi Charlie, > >> I'v never worked with the blowfish encryption and decryption. >> I mean I don't know what it is. >> But if you can use it on a shell, you can use SHELL or EXEC to >> encrypt or decrypt > > > Blowfish is an de- and encryption algorithm. It is much faster than > DES and IDEA, > unpatented and royalty-free. > > You can learn more about this on the webpage of Bruce Schneier: > http://www.schneier.com/blowfish.html > > Code-Sources for various languages are available here: > http://www.schneier.com/blowfish-download.html > > But I need a fast integration into Gambas. I think it would be too > slow if I implement it with gambas-code. Maybe Benoit can add some of > these functions directly into gambas? I think about CRC32 (Checksum), > Base64 (de- and encode for Mails), Blowfish (for good security in > settings and passwords), SHA-128 or MD5 (for Hash-Calculating) and > some asymetrical functions like Diffie-Hellman, IDEA or RSA (for > signing and public-key encryption). > > Maybe directly as language-features or as a component. > > Just an idea... > > Gr?sse, > > Volker From c0de3 at ...43... Wed Jul 14 16:20:23 2004 From: c0de3 at ...43... (Craig Packard) Date: Wed, 14 Jul 2004 07:20:23 -0700 (PDT) Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <40F53279.40702@...475...> Message-ID: <20040714142023.73964.qmail@...527...> --- Brant Wells wrote: If you are good in Visual Basic, maybe > you could work on a > Gambas port of the Base64 Encodes, etc? > > The more stuff we get ported or written in Gambas, > the stronger it becomes! Where can I find the Base64 VB stuff. I'll work at cuttting it over. Also the blowfish site has sample C code. Couldn't we cut and paste a lot of that into a gambas component? Like gambas-crypto or something. I was thinking the components were in C. - Craig __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail From VSchmid at ...522... Wed Jul 14 16:32:57 2004 From: VSchmid at ...522... (Volker Schmid) Date: Wed, 14 Jul 2004 16:32:57 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <20040714142023.73964.qmail@...527...> References: <20040714142023.73964.qmail@...527...> Message-ID: Base 64 VB-Code: Option Explicit Private Const B64_RAW_CHAR_DICT = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" Private Const B64_PAD_CHAR = "=" '//------------------------------------------------------------------- - -- '|| Procedure: Encode '|| ( '|| TextStream As String '|| ) As String '|| '|| Description: Base64 encodes input '|| '|| Notes: If an error occurs, the input string will be '|| returned to the calling procedure. There is no '|| other error handling. '|| '||------------------------------------------------------------------- - -- '|| Date Eng Ver Description '|| 20000823 JKF 1.0 Initial version '|| '\\------------------------------------------------------------------- - -- Public Function Encode( _ TextStream As String _ ) As String Dim intLoopA As Integer Dim intLoopB As Integer Dim bytArray() As Byte Dim bitArray() As Boolean Dim intPadFactor As Integer Dim strBuffer As String If Len(TextStream) = 0 Then Exit Function '// Poor man's error handling. If anything bad happens, the procedure '|| will return the input string to the caller, signaling an error. '|| This is a reliable method becuase successful encoding will never '|| result in Encode = TextStream Encode = TextStream '// Size the byte array to recieve the incoming text stream ReDim bytArray(Len(TextStream) - 1) '// Put incoming text stream into byte array For intLoopA = 0 To UBound(bytArray) bytArray(intLoopA) = CByte(Asc(Mid(TextStream, intLoopA + 1))) Next '// Now build our bit array, one byte at a time ReDim bitArray(((UBound(bytArray) + 1) * 8) - 1) For intLoopA = 0 To UBound(bytArray) For intLoopB = 7 To 0 Step -1 '// Do a most-to-least bitwise assignment into the bit array '|| from the current byte. bitArray((intLoopA * 8) + (7 - intLoopB)) = _ CBool(((bytArray(intLoopA) And (2 ^ intLoopB)) > 0)) Next Next '// Check to make sure that the bitArray is integral number of 6-bit '|| parts. intPadFactor = 0 Select Case ((UBound(bitArray) + 1) Mod 6) '// N.B. There's no case else here. The value may be Mod 6 = 0, '|| in which case the final quantum of encoding input is an '|| integral multiple of 24 bits. In this case, the final unit '|| of encoded output will be an integral multiple of 4 characters '\\ with no "=" padding Case 2 '// The final quantum of encoding input is exactly 8 bits '|| In this case, the final unit of encoded output will be '|| two characters followed by two "=" padding characters. '|| Hence the bitArray must be padded with 4 zeros yielding: '|| bb0000 ReDim Preserve bitArray(UBound(bitArray) + 4) intPadFactor = 2 Case 4 '// The final quantum of encoding input is exactly 16 bits '|| In this case, the final unit of encoded output will be '|| three characters followed by one "=" padding character. '|| Hence the bitArray must be padded with 2 zeros yielding: '|| bbbb00 ReDim Preserve bitArray(UBound(bitArray) + 2) intPadFactor = 1 End Select '// Now we create a new output byte array composed of sextets pulled '|| from our bit array. ReDim bytArray((UBound(bitArray) / 6) - 1) For intLoopA = 0 To UBound(bytArray) '// Assign the bit sextets into the six lowest bits of each new byte '|| resulting in 00bbbbbb, so that the range of possible values is now '|| 0 - 63 inclusive (or 64 discreet values.) For intLoopB = 0 To 5 If bitArray((intLoopA * 6) + intLoopB) Then bytArray(intLoopA) = (bytArray(intLoopA) Or 2 ^ (5 - intLoopB)) End If Next Next '// Map the new byte values to the base64 character set For intLoopA = 0 To UBound(bytArray) strBuffer = strBuffer & Mid(B64_RAW_CHAR_DICT, CLng(bytArray(intLoopA)) + 1, 1) Next '// Pad if neccessary strBuffer = strBuffer & String(intPadFactor, B64_PAD_CHAR) Encode = strBuffer End Function '//------------------------------------------------------------------- - -- '|| Procedure: Decode '|| ( '|| TextStream As String '|| ) As String '|| '|| Description: Decodes Base64 input '|| '|| Notes: If an error occurs, the input string will be '|| returned to the calling procedure. There is no '|| other error handling. '|| '||------------------------------------------------------------------- - -- '|| Date Eng Ver Description '|| 20000823 JKF 1.0 Initial version '|| '\\------------------------------------------------------------------- - -- Public Function Decode(TextStream As String) As String Dim intLoopA As Integer Dim intLoopB As Integer Dim intPadFactor As Integer Dim bytArray() As Byte Dim bitArray() As Boolean Dim strBuffer As String If (Len(TextStream) & "") = 0 Then Exit Function '// Poor man's error handling. If anything bad happens, the procedure '|| will return the input string to the caller, signaling an error. '|| This is a reliable method becuase successful decoding will never '|| result in Decode = TextStream Decode = TextStream '// Validate input as Base64 encoded text stream For intLoopA = 1 To Len(TextStream) '// Does TextStream conatain any invalid (i.e. non-Base64) characters, '|| either encodings or pad ("=" equals sign)? If (InStr(1, B64_RAW_CHAR_DICT, Mid(TextStream, intLoopA, 1), vbBinaryCompare) = 0) And _ (Mid(TextStream, intLoopA, 1) <> B64_PAD_CHAR) Then Decode = TextStream Exit Function End If Next '// Determine the 'pad factor'. Will be 0,1 or 2 equals ("=") signs tacked onto '|| the end of the Base64 encoded text stream. So we have one of the following '|| three possibilities as the last two characters at the end of the stream: '|| "XX" = 0 pad factor (where the Xs are normal, valid Base64 characters) '|| "X=" = 1 pad factor (the X is a normal, valid Base64 character) '|| "==" = 2 pad factor '|| The padding does not decode, but simply acts as a flag to indicate that the '|| final quantum of the Base64 binary stream was not an intergal multiple of 24 '|| bits (pad factor 0) but instead was either exactly 8 or 16 bits (pad factor '|| 2 or 1 respectively) to which we appended the correct number of zeros to complete '|| the 24 bit quantum. The pad factor just lets us know how many zeros to strip '|| off the end of the resolved binary stream (because they're padding!) '|| I'll leave it up to you to explore the technique I'm using here to do the work '|| in a single line of code (who says VB can't be elegant?!) intPadFactor = ((CByte(InStr(1, Right(TextStream, 2), B64_PAD_CHAR, vbBinaryCompare)) And (2 ^ 0)) * 2) + _ ((CByte(InStr(1, Right(TextStream, 2), B64_PAD_CHAR, vbBinaryCompare)) And (2 ^ 1)) / 2) '// Strip any pad characters TextStream = Mid(TextStream, 1, Len(TextStream) - intPadFactor) '// "Unmap" the TextStream from the Base64 encodings into a byte array ReDim bytArray(Len(TextStream) - 1) For intLoopA = 0 To UBound(bytArray) bytArray(intLoopA) = CByte(InStr(1, B64_RAW_CHAR_DICT, Mid(TextStream, intLoopA + 1, 1), vbBinaryCompare) - 1) Next '// Now build our bit array, one "six-bit byte" at a time ReDim bitArray(((UBound(bytArray) + 1) * 6) - 1) For intLoopA = 0 To UBound(bytArray) For intLoopB = 5 To 0 Step -1 '// Do a most-to-least bitwise assignment into the six '|| right-hand bits from the current byte. bitArray((intLoopA * 6) + (5 - intLoopB)) = _ CBool(((bytArray(intLoopA) And (2 ^ intLoopB)) > 0)) Next Next '// Remove zero padding ReDim Preserve bitArray(UBound(bitArray) - (intPadFactor * 2)) '// Load the bit array into the byte array ReDim bytArray((UBound(bitArray) / 8) - 1) For intLoopA = 0 To UBound(bytArray) '// Set the appropriate bits in each byte For intLoopB = 0 To 7 If bitArray(intLoopA * 8 + intLoopB) Then bytArray(intLoopA) = (bytArray(intLoopA) Or 2 ^ (7 - intLoopB)) End If Next Next '// Load the bytes into the output string For intLoopA = 0 To UBound(bytArray) strBuffer = strBuffer & Chr(CLng(bytArray(intLoopA))) Next Decode = strBuffer End Function > Where can I find the Base64 VB stuff. I'll work at > cuttting it over. > > Also the blowfish site has sample C code. Couldn't we > cut and paste a lot of that into a gambas component? > Like gambas-crypto or something. I was thinking the > components were in C. Gr?sse, Volker From bwells at ...475... Wed Jul 14 18:01:05 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 14 Jul 2004 12:01:05 -0400 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <20040714142023.73964.qmail@...527...> References: <20040714142023.73964.qmail@...527...> Message-ID: <40F558C1.3020901@...475...> Hey Craig: I hadn't thought of that... However, my knowledge of C or any of its counterparts would be about like an ant's knowledge of quantum physics... He he he he. Besides, I figured doing it as a class or a 'Control' would give Benoit a little more encouragement for allowing us to add our own controls to the toolbox... ;) @ Benoit. But seriously though, I think it could always lead to better implementation of other things for Gambas as well. It wouldn't break my heart one bit if somebody took the code from their site and did create a gambas-crypto... I think that one of the proofs of strength to any language is the ability to write controls and other portable code in that language itself, rather than having to write it in a different language... IE: the Gambas IDE. That's just my two cents worth, though... Take a look at the code Volker Posted for The bas64 stuff... I've seen a lot of implementations of it and a lot of code for it on http://www.planetsourcecode.com TTFN! ~Brant Craig Packard wrote: >--- Brant Wells wrote: > If you are good in Visual Basic, maybe > > >>you could work on a >>Gambas port of the Base64 Encodes, etc? >> >>The more stuff we get ported or written in Gambas, >>the stronger it becomes! >> >> > > >Where can I find the Base64 VB stuff. I'll work at >cuttting it over. > >Also the blowfish site has sample C code. Couldn't we >cut and paste a lot of that into a gambas component? >Like gambas-crypto or something. I was thinking the >components were in C. > > - Craig > > From bundeshund at ...467... Wed Jul 14 19:13:12 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 14 Jul 2004 19:13:12 +0200 Subject: [Gambas-user] getting date using Val(xx.xx) Message-ID: <200407141913.12241.bundeshund@...467...> Salute! I have 2 textboxes where 'user' can insert decimal(2,2)-values. Now I want to calculate the multiplication of that 2 values using: r as integer r = Val(value1.text) * Val(value.text) and get a 'wanted integer, got date instead'-error. But gambas would not be gambas if there is no option to do that, I guess! So please lift me from the wire I am standing on. regards, HM From sourceforge-raindog2 at ...94... Wed Jul 14 19:18:19 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 14 Jul 2004 13:18:19 -0400 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <40F530A2.6010000@...475...> References: <200407140538.i6E5cGUs007362@...364...> <40F530A2.6010000@...475...> Message-ID: <200407141318.19168.sourceforge-raindog2@...94...> On Wednesday 14 July 2004 09:09, Brant Wells wrote: > functions, like the RTLMoveMemory... But I also don't see the > problem with creating our own 'encryption' routines just for > Gambas... In fact, I think rolling your own "crypto" and then releasing it for general consumption by gambas users would be significantly worse than the current situation where there's no crypto in gambas at all. This is because it would give gambas users who might not know any better a false sense of security when using a weak and untested cipher. You might as well implement rot13 because at least then no one expects it to be uncrackable. I gotta think Schneier mentions this concept somewhere on his site, maybe in a FAQ or something. Implementing blowfish as a Gambas component or library seems like it would be a great first step towards full crypto support in gambas though (with the ultimate goal being a GPG component that managed keys and everything... far off in the future. ;) ) Not a crypto expert here, just been exposed to a lot of security pitfalls over the years at various system administrator gigs. Rob From bwells at ...475... Wed Jul 14 19:37:53 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 14 Jul 2004 13:37:53 -0400 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <200407141318.19168.sourceforge-raindog2@...94...> References: <200407140538.i6E5cGUs007362@...364...> <40F530A2.6010000@...475...> <200407141318.19168.sourceforge-raindog2@...94...> Message-ID: <40F56F71.1040707@...475...> Hey Rob. All encryption is meant to be cracked! ;-) ... Some form of encryption would actually be better than none at all, or even a low-level encryption. With a new encryption method, hackers that are unware as to the encryption type used, would have to hunt and peck at the encrypted data for a while before they could make any sense of it -- especially if it's an un-published algorythm, or formula, etc. And on the security note, I woudln't expect somebody to use this on like a top-secret government computer requiring 1024-bit encryiption, either... At least not until I [we] had a chance to really test the encryption.... [grin]... I do understand, and fully believe that security is a *REAL* issue... especially in the linux world... I'm working on porting the blowfish to a gambas class now... So far, I have about 10 lines of code... but I will keep everyone posted as I get it thrown together... See Ya! ~Brant Rob wrote: >On Wednesday 14 July 2004 09:09, Brant Wells wrote: > > >>functions, like the RTLMoveMemory... But I also don't see the >>problem with creating our own 'encryption' routines just for >>Gambas... >> >> > >In fact, I think rolling your own "crypto" and then releasing it >for general consumption by gambas users would be significantly >worse than the current situation where there's no crypto in >gambas at all. This is because it would give gambas users who >might not know any better a false sense of security when using a >weak and untested cipher. You might as well implement rot13 >because at least then no one expects it to be uncrackable. > >I gotta think Schneier mentions this concept somewhere on his >site, maybe in a FAQ or something. Implementing blowfish as a >Gambas component or library seems like it would be a great first >step towards full crypto support in gambas though (with the >ultimate goal being a GPG component that managed keys and >everything... far off in the future. ;) ) > >Not a crypto expert here, just been exposed to a lot of security >pitfalls over the years at various system administrator gigs. > >Rob > > From vinylrecord at ...251... Wed Jul 14 19:45:53 2004 From: vinylrecord at ...251... (Balaji Srinivasan) Date: 14 Jul 2004 17:45:53 -0000 Subject: [Gambas-user] Error when opening form: Possible Bug? Message-ID: <20040714174553.28790.qmail@...528...> An HTML attachment was scrubbed... URL: -------------- next part -------------- Hi I'm a new user to gambas.. just installed pre-compiled gambas 0.94 on mandrake 10. When I open a new form, or edit an existing form, I get a error message: [-1] Component missing. At: FForm.CreateControl.789. I'm not sure if this a bug or a packaging issue..any workarounds? Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot1.png Type: image/png Size: 33749 bytes Desc: not available URL: From bwells at ...475... Wed Jul 14 19:52:19 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 14 Jul 2004 13:52:19 -0400 Subject: [Gambas-user] getting date using Val(xx.xx) In-Reply-To: <200407141913.12241.bundeshund@...467...> References: <200407141913.12241.bundeshund@...467...> Message-ID: <40F572D3.5030700@...475...> Hi HM: First off, I assume that decimal(2,2) means anumber like 1.23... I tried in Gambas on my computer (Gambas 0.94a), and it works fine... however, you do need to change r as integer ==> r as float, if you are using decimal values.... HTH, Brant Hans-Martin Bundeshund wrote: >Salute! > >I have 2 textboxes where 'user' can insert decimal(2,2)-values. Now I want to >calculate the multiplication of that 2 values using: > >r as integer >r = Val(value1.text) * Val(value.text) > >and get a 'wanted integer, got date instead'-error. But gambas would not be >gambas if there is no option to do that, I guess! > >So please lift me from the wire I am standing on. > >regards, >HM > > From bundeshund at ...467... Wed Jul 14 20:01:43 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 14 Jul 2004 20:01:43 +0200 Subject: [Gambas-user] getting date using Val(xx.xx) In-Reply-To: <40F572D3.5030700@...475...> References: <200407141913.12241.bundeshund@...467...> <40F572D3.5030700@...475...> Message-ID: <200407142001.43405.bundeshund@...467...> Am Mittwoch, 14. Juli 2004 19:52 schrieb Brant Wells: > Hi HM: > > First off, I assume that decimal(2,2) means anumber like 1.23... I tried > in Gambas on my computer (Gambas 0.94a), and it works fine... however, > you do need to change > > r as integer ==> r as float, if you are using decimal values.... > > HTH, > Brant Uuuups, of course! Thank you! HM From danielcampos at ...282... Wed Jul 14 23:22:39 2004 From: danielcampos at ...282... (Daniel Campos) Date: Wed, 14 Jul 2004 23:22:39 +0200 Subject: [Gambas-user] We're becoming famous! Message-ID: <1089840158.3232.4.camel@...40...> Look at: http://tira.escomposlinux.org/ Translation for non-spanish speakers: First Box: - Can you see that blonde girl? - Woah! Even blind people can see her - Let's see who can tell her something... Second Box: - Well, she works at my office, she says she uses KDE at home, and vim to edit programs that now she write in GAMBAS. She likes it because the name was funny for her Third box: - Hello! I also write programs in GAMBAS! - What??? - Oh, they drink two gins and they belive all you want to tell them... Regards, Daniel Campos -- Daniel Campos From gambasfr at ...11... Wed Jul 14 23:30:28 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Wed, 14 Jul 2004 23:30:28 +0200 Subject: [Gambas-user] We're becoming famous! In-Reply-To: <1089840158.3232.4.camel@...40...> References: <1089840158.3232.4.camel@...40...> Message-ID: <200407142330.28399.gambasfr@...11...> Le mercredi 14 Juillet 2004 23:22, Daniel Campos a ?crit?: > Look at: > > http://tira.escomposlinux.org/ > > Translation for non-spanish speakers: > > First Box: > > - Can you see that blonde girl? > - Woah! Even blind people can see her > - Let's see who can tell her something... > > Second Box: > > - Well, she works at my office, she says she > uses KDE at home, and vim to edit programs that > now she write in GAMBAS. She likes it because > the name was funny for her > > Third box: > > - Hello! I also write programs in GAMBAS! > - What??? > - Oh, they drink two gins and they belive all > you want to tell them... > > Regards, > > Daniel Campos hey daniel, the english version exist... you need glasses ? lol look at the bottom of the picture... and what you see ? http://comic.escomposlinux.org/ the english version ;-) Thank for this news, daniel .... Fabien Bodard From lordheavy at ...512... Wed Jul 14 23:53:15 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 14 Jul 2004 23:53:15 +0200 Subject: [Gambas-user] this piece of code crash gambas :) Message-ID: <200407142353.15076.lordheavy@...512...> gambas 0.92a This piece of code is a treeview with an item and is child. In the expand event, i try to delete the child item, causing segfault. -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: test-0.0.1.tar.gz Type: application/x-tgz Size: 639 bytes Desc: not available URL: From gambasfr at ...11... Thu Jul 15 00:19:58 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 15 Jul 2004 00:19:58 +0200 Subject: [Gambas-user] this piece of code crash gambas :) In-Reply-To: <200407142353.15076.lordheavy@...512...> References: <200407142353.15076.lordheavy@...512...> Message-ID: <200407150019.58460.gambasfr@...11...> Le mercredi 14 Juillet 2004 23:53, Laurent Carlier a ?crit?: > gambas 0.92a > > This piece of code is a treeview with an item and is child. > > In the expand event, i try to delete the child item, causing segfault. You do not try to delete the nodechild but the treeview itself ! the correction and more.... ' Gambas class file PUBLIC SUB _new() treeview1.Add ("something","expand this") treeview1.Add ("something expanded","something expanded",,"something") END PUBLIC SUB treeview1_Expand() DIM i AS Integer PRINT "expanded" treeview1.Remove("something expanded") PRINT "look as list !" FOR i = 0 TO 10 treeview1.Add (Str(i), Str(i),,"something") NEXT END Fabien Bodard From c0de3 at ...43... Thu Jul 15 01:43:29 2004 From: c0de3 at ...43... (Craig Packard) Date: Wed, 14 Jul 2004 16:43:29 -0700 (PDT) Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <40F558C1.3020901@...475...> Message-ID: <20040714234329.52532.qmail@...529...> --- Brant Wells wrote: > >>you could work on a > >>Gambas port of the Base64 Encodes, etc? > >> > >>The more stuff we get ported or written in Gambas, > >>the stronger it becomes! Here is a version 1.0.. I don't like it much cause I have to keep casting the varables to bytes and bools. I can't find a way to make a array of bytes or of bools. But this does work. I'll work at the decode tomorrow. - Craig __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail -------------- next part -------------- A non-text attachment was scrubbed... Name: Crypto.module Type: application/octet-stream Size: 1948 bytes Desc: Crypto.module URL: From leo.barnhoorn at ...246... Thu Jul 15 06:53:02 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Thu, 15 Jul 2004 06:53:02 +0200 Subject: [Gambas-user] Syntax error Message-ID: <200407150653.02175.leo.barnhoorn@...246...> Hallo Benoit, Gambas versie 0.94a I get a syntax error on the following hex numbers. &HE0D5E91E &H97D2D988 &H80000000 &HFFFFFFFF No matter the kind of datatype i use, i get a syntax error. Can you tell the reason of this. Regards, Leo Barnhoorn. From daniel.campos at ...338... Thu Jul 15 08:10:35 2004 From: daniel.campos at ...338... (Daniel) Date: Thu, 15 Jul 2004 08:10:35 +0200 Subject: [Gambas-user] We're becoming famous! In-Reply-To: <200407142330.28399.gambasfr@...11...> References: <1089840158.3232.4.camel@...40...> <200407142330.28399.gambasfr@...11...> Message-ID: <1089871835.3232.0.camel@...40...> > > > hey daniel, the english version exist... you need glasses ? lol > > look at the bottom of the picture... and what you see ? > http://comic.escomposlinux.org/ > > the english version ;-) In fact I use glasses :-))) > > > Thank for this news, daniel .... > > Fabien Bodard > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idG21&alloc_id040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sdnpaolo at ...69... Thu Jul 15 15:17:31 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Thu, 15 Jul 2004 15:17:31 +0200 Subject: [Gambas-user] Serial comunication Message-ID: <40F683EB.8010306@...69...> Hi everybody, here's my problem: I need to get data from a serial device but I receive some strange characters in the incoming buffer instead of what I would expect. The charset in use is 'ANSI_X3.4-1968' and I tried to convert it to ISO format as follow DIM s as String s = Conv$(buffer, System.Charset, "ISO-8859-1") being buffer the string I get from the serial port, but I get a 'Bad string convertion' error. I tried both PRINT Conv$(Chr$(191), "UTF-8", "ISO-8859-1"), PRINT Conv$(Chr$(191), System.Charset, "ISO-8859-1") but I get the same error Here what I should receive : '>+00.001' . In curly brackets the Asc code for each character vb6: >{62} +{43} 0{48} 0{48} .{46} 0{48} 0{48} 1{49} carriage return{13} Gambas: ? stand for those strange chars ?{191} ?{101} ?{204} ?{152} .{46} 0{48} 0{48} 1{49} carriage return{13} The second part on is correct. Any help? Thanks very much! - Paolo From c0de3 at ...43... Thu Jul 15 16:45:15 2004 From: c0de3 at ...43... (Craig Packard) Date: Thu, 15 Jul 2004 07:45:15 -0700 (PDT) Subject: [Gambas-user] Watch Point BUg? Message-ID: <20040715144515.54785.qmail@...530...> Any time a make a watch that has a Constant in it, gambas crashes with error: The program returned 1. Is this a bug? I tried it on Fedora 1 with KDE and with WMICE both do the same. I'm also still having trouble with the autocomplete not working. Everytime a complete box thing pops up I *must* take my hands off the keyboard and use my mouse to select the entry. I can't do *anything* on the keyboard (in gambas) until I make the selection. It really slows the coding down. . . One other thing, while I have the lists time. Does anyone have some example code of Arrays of Bytes and Bools? Or is the way I did it in the Base64 code the only way? I look through the docs at like GB.Array.New and GB.NewArray type stuff but that doesn't seem to work on my system. In fact those methods don't even come up as items in the drop down list when I type GB(dot). Thanks for any help. - Craig __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mardus at ...298... Thu Jul 15 17:38:27 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Thu, 15 Jul 2004 12:38:27 -0300 Subject: [Gambas-user] Re: Serial comunication In-Reply-To: <40F683EB.8010306@...69...> References: <40F683EB.8010306@...69...> Message-ID: <200407151238.27445.mardus@...298...> El Jue 15 Jul 2004 10:17, Paolo Saudin escribi?: |> Hi everybody, |> here's my problem: I need to get data from a serial device but I |> receive some strange characters in the incoming buffer instead of what I |> would expect. Please, search in mails of about one month before. I'd have this problem, and there are various comments. (sorry for my poor english) -- Para el cierre: --- El Ping?inor?culo sol?a citar: In an open world, who needs windows or gates? En un mundo abierto, ?qui?n necesita ventanas o portones? - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From leo.barnhoorn at ...246... Thu Jul 15 18:39:24 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Thu, 15 Jul 2004 18:39:24 +0200 Subject: [Gambas-user] Serial comunication In-Reply-To: <40F683EB.8010306@...69...> References: <40F683EB.8010306@...69...> Message-ID: <200407151839.24190.leo.barnhoorn@...246...> Hello Paolo, You have too do it like this: PRINT Conv$(Chr$(191), "ISO-8859-1", "UTF-8") This gives no error. Regards, Leo. On Thursday 15 July 2004 15:17, Paolo Saudin wrote: > Hi everybody, > here's my problem: I need to get data from a serial device but I > receive some strange characters in the incoming buffer instead of what I > would expect. > The charset in use is 'ANSI_X3.4-1968' and I tried to convert it to ISO > format as follow > DIM s as String > s = Conv$(buffer, System.Charset, "ISO-8859-1") being buffer the string > I get from the serial port, but I get a 'Bad string convertion' error. > I tried both PRINT Conv$(Chr$(191), "UTF-8", "ISO-8859-1"), PRINT > Conv$(Chr$(191), System.Charset, "ISO-8859-1") but I get the same error > > Here what I should receive : '>+00.001' . In curly brackets the Asc code > for each character > > vb6: > >{62} +{43} 0{48} 0{48} .{46} 0{48} 0{48} 1{49} > > carriage return{13} > > Gambas: ? stand for those strange chars > ?{191} ?{101} ?{204} ?{152} .{46} 0{48} 0{48} 1{49} > carriage return{13} > > The second part on is correct. Any help? > > Thanks very much! > - Paolo > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sdnpaolo at ...69... Thu Jul 15 18:38:39 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Thu, 15 Jul 2004 18:38:39 +0200 Subject: [Gambas-user] Re: Serial comunication In-Reply-To: <200407151238.27445.mardus@...298...> References: <40F683EB.8010306@...69...> <200407151238.27445.mardus@...298...> Message-ID: <40F6B30F.2010808@...69...> Thank you very much!! :-) The solution at my problem was : WRITE #Sport, Command & Chr(13), Len(Command)+1 Paolo Saudin Marcelo Duschkin wrote: >El Jue 15 Jul 2004 10:17, Paolo Saudin escribi?: >|> Hi everybody, >|> here's my problem: I need to get data from a serial device but I >|> receive some strange characters in the incoming buffer instead of what I >|> would expect. > >Please, search in mails of about one month before. >I'd have this problem, and there are various comments. >(sorry for my poor english) > >-- Para el cierre: --- >El Ping?inor?culo sol?a citar: >In an open world, who needs windows or gates? >En un mundo abierto, ?qui?n necesita ventanas o portones? >- - - >Marcelo Duschkin - Buenos Aires - Argentina >mardus at ...298... >www.websdelsur.com.ar >www.lahueya.com.ar > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_idG21&alloc_id040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From c0de3 at ...43... Thu Jul 15 21:22:07 2004 From: c0de3 at ...43... (Craig Packard) Date: Thu, 15 Jul 2004 12:22:07 -0700 (PDT) Subject: [Gambas-user] Base64 Codeing Message-ID: <20040715192207.20811.qmail@...529...> Attached you will find the updated Crypto Module. I guess I called it crypto cause I was hoping someone would add the blowfish stuff to it! Anyway. The new Module has the Base64 decoder in it. Neither of these functions has a lot of (ok any) error checking. I must admit coming from a mostly VB background I'm not really sure how this try catch thing works. Maybe if someone wants to help me add some basic error checking you can email me. - Craig __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail -------------- next part -------------- A non-text attachment was scrubbed... Name: Crypto.module Type: application/octet-stream Size: 2673 bytes Desc: Crypto.module URL: From c0de3 at ...43... Thu Jul 15 21:32:55 2004 From: c0de3 at ...43... (Craig Packard) Date: Thu, 15 Jul 2004 12:32:55 -0700 (PDT) Subject: [Gambas-user] Base64 Codeing In-Reply-To: <20040715192207.20811.qmail@...529...> Message-ID: <20040715193255.67662.qmail@...531...> What a day. I sent the wrong file! Here is the correct file.. Sorry everyone. --- Craig Packard wrote: > Attached you will find the updated Crypto Module. I > guess I called it crypto cause I was hoping someone > would add the blowfish stuff to it! Anyway. The > new > Module has the Base64 decoder in it. > > Neither of these functions has a lot of (ok any) > error > checking. I must admit coming from a mostly VB > background I'm not really sure how this try catch > thing works. Maybe if someone wants to help me add > some basic error checking you can email me. > > - Craig > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > ATTACHMENT part 2 application/octet-stream name=Crypto.module __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail -------------- next part -------------- A non-text attachment was scrubbed... Name: Crypto.module Type: application/octet-stream Size: 3815 bytes Desc: Crypto.module URL: From gambasfr at ...11... Thu Jul 15 21:39:40 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 15 Jul 2004 21:39:40 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <20040714234329.52532.qmail@...529...> References: <20040714234329.52532.qmail@...529...> Message-ID: <200407152139.40845.gambasfr@...11...> Le jeudi 15 Juillet 2004 01:43, Craig Packard a ?crit?: > --- Brant Wells wrote: > > >>you could work on a > > >>Gambas port of the Base64 Encodes, etc? > > >> > > >>The more stuff we get ported or written in Gambas, > > >>the stronger it becomes! > > Here is a version 1.0.. I don't like it much cause I i think you mean a 0.0.1 version... no ? regards, fabien bodard > have to keep casting the varables to bytes and bools. > I can't find a way to make a array of bytes or of > bools. > > But this does work. I'll work at the decode tomorrow. > > - Craig > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail Address AutoComplete - You start. We finish. > http://promotions.yahoo.com/new_mail From gambas at ...1... Thu Jul 15 22:40:30 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 15 Jul 2004 22:40:30 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <20040714234329.52532.qmail@...529...> References: <20040714234329.52532.qmail@...529...> Message-ID: <200407152240.31057.gambas@...1...> On Thursday 15 July 2004 01:43, Craig Packard wrote: > --- Brant Wells wrote: > > >>you could work on a > > >>Gambas port of the Base64 Encodes, etc? > > >> > > >>The more stuff we get ported or written in Gambas, > > >>the stronger it becomes! > > Here is a version 1.0.. I don't like it much cause I > have to keep casting the varables to bytes and bools. > I can't find a way to make a array of bytes or of > bools. > You can use the following class: Byte[]. There is no Boolean[] yet. -- Benoit Minisini mailto:gambas at ...1... From budi at ...415... Fri Jul 16 06:36:02 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Fri, 16 Jul 2004 11:36:02 +0700 Subject: [Gambas-user] Report Preview In-Reply-To: <200407152139.40845.gambasfr@...11...> References: <20040714234329.52532.qmail@...529...> <200407152139.40845.gambasfr@...11...> Message-ID: Just trying mozilla on my mandrake 10 (nothing fancy ;(..., but hey the preint preview of mozilla is really kewl. Anybody can get the code of the preview and plug it into gambas as component ? that would be good if we make a report via HTML and displayed on it... Just an idea... Thanks Budi From rizky at ...225... Fri Jul 16 10:43:40 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Fri, 16 Jul 2004 15:43:40 +0700 Subject: [Gambas-user] Report Preview In-Reply-To: References: <20040714234329.52532.qmail@...529...> <200407152139.40845.gambasfr@...11...> Message-ID: <6.0.0.22.2.20040716154129.01d3dba0@...329...> At 11:36 16/07/2004, Budi Arief Gusandi wrote: >Just trying mozilla on my mandrake 10 (nothing fancy ;(..., but hey the >preint preview of mozilla is really kewl. Anybody can get the code of the >preview and plug it into gambas as component ? that would be good if we >make a report via HTML and displayed on it... what's for? gambas already has a browser component.. as long as i know. dumping the HTML report to the component is more faster on loading than using the other program outside gambas (like that mozzila, konkueror, or even opera). >Just an idea... > >Thanks > >Budi > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From budi at ...415... Fri Jul 16 10:42:26 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Fri, 16 Jul 2004 15:42:26 +0700 Subject: [Gambas-user] Report Preview In-Reply-To: <6.0.0.22.2.20040716154129.01d3dba0@...329...> References: <20040714234329.52532.qmail@...529...> <200407152139.40845.gambasfr@...11...> <6.0.0.22.2.20040716154129.01d3dba0@...329...> Message-ID: Emhh....print preview of mozilla is not a browser. Browser and preview is two different things. Preview is optimize for displaying what we need to print, but browser...you know already ;) What i say mean just get the preview mozilla code to use as component in gambas, so the preview for database reporting via html file as a report will be nice. BTW i've never try component browser of gambas...Is is good for preview with page navigator ? On Fri, 16 Jul 2004 15:43:40 +0700, Rizky Tahara Shita wrote: > At 11:36 16/07/2004, Budi Arief Gusandi wrote: >> Just trying mozilla on my mandrake 10 (nothing fancy ;(..., but hey the >> preint preview of mozilla is really kewl. Anybody can get the code of >> the >> preview and plug it into gambas as component ? that would be good if we >> make a report via HTML and displayed on it... > > what's for? gambas already has a browser component.. as long as i know. > dumping the HTML report to the component is more faster on loading than > using the other program outside gambas (like that mozzila, konkueror, > or even opera). > > >> Just an idea... >> >> Thanks >> >> Budi >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by BEA Weblogic Workshop >> FREE Java Enterprise J2EE developer tools! >> Get your free copy of BEA WebLogic Workshop 8.1 today. >> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Regards, Budi From girardhenri at ...67... Fri Jul 16 11:54:33 2004 From: girardhenri at ...67... (Henri Girard) Date: Fri, 16 Jul 2004 11:54:33 +0200 Subject: [Gambas-user] Report Preview References: <20040714234329.52532.qmail@...529...> <200407152139.40845.gambasfr@...11...> <6.0.0.22.2.20040716154129.01d3dba0@...329...> Message-ID: try the example of datareport... it's a wonder ----- Original Message ----- From: "Budi Arief Gusandi" To: Sent: Friday, July 16, 2004 10:42 AM Subject: Re: [Gambas-user] Report Preview > Emhh....print preview of mozilla is not a browser. Browser and preview is > two different things. Preview is optimize for displaying what we need to > print, but browser...you know already ;) > What i say mean just get the preview mozilla code to use as component in > gambas, so the preview for database reporting via html file as a report > will be nice. > BTW i've never try component browser of gambas...Is is good for preview > with page navigator ? > > On Fri, 16 Jul 2004 15:43:40 +0700, Rizky Tahara Shita > wrote: > > > At 11:36 16/07/2004, Budi Arief Gusandi wrote: > >> Just trying mozilla on my mandrake 10 (nothing fancy ;(..., but hey the > >> preint preview of mozilla is really kewl. Anybody can get the code of > >> the > >> preview and plug it into gambas as component ? that would be good if we > >> make a report via HTML and displayed on it... > > > > what's for? gambas already has a browser component.. as long as i know. > > dumping the HTML report to the component is more faster on loading than > > using the other program outside gambas (like that mozzila, konkueror, > > or even opera). > > > > > >> Just an idea... > >> > >> Thanks > >> > >> Budi > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by BEA Weblogic Workshop > >> FREE Java Enterprise J2EE developer tools! > >> Get your free copy of BEA WebLogic Workshop 8.1 today. > >> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Regards, > > Budi From bwells at ...475... Fri Jul 16 15:05:42 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 16 Jul 2004 09:05:42 -0400 Subject: [Gambas-user] Base64 Codeing In-Reply-To: <20040715193255.67662.qmail@...531...> References: <20040715193255.67662.qmail@...531...> Message-ID: <40F7D2A6.3070802@...475...> Hey Craig: I know *EXACTLY* what you mean.... When I get the Blowfish encrypt / decrypt done, I will add it in to your module... Maybe we got something going here. ;-) See Ya'round! ~Brant Craig Packard wrote: >What a day. I sent the wrong file! Here is the >correct file.. Sorry everyone. > > > > > > > >--- Craig Packard wrote: > > >>Attached you will find the updated Crypto Module. I >>guess I called it crypto cause I was hoping someone >>would add the blowfish stuff to it! Anyway. The >>new >>Module has the Base64 decoder in it. >> >>Neither of these functions has a lot of (ok any) >>error >>checking. I must admit coming from a mostly VB >>background I'm not really sure how this try catch >>thing works. Maybe if someone wants to help me add >>some basic error checking you can email me. >> >> - Craig >> >> >> >>__________________________________ >>Do you Yahoo!? >>New and Improved Yahoo! Mail - Send 10MB messages! >>http://promotions.yahoo.com/new_mail >> >> > > > >>ATTACHMENT part 2 application/octet-stream name=Crypto.module >> >> > > > > >__________________________________ >Do you Yahoo!? >New and Improved Yahoo! Mail - 100MB free storage! >http://promotions.yahoo.com/new_mail > From bwells at ...475... Fri Jul 16 15:10:21 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 16 Jul 2004 09:10:21 -0400 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <200407152240.31057.gambas@...1...> References: <20040714234329.52532.qmail@...529...> <200407152240.31057.gambas@...1...> Message-ID: <40F7D3BD.9060805@...475...> Hey all.. Couldn't you just create a new collection and let the values of the collection be true or false?? ie: dim myCollection as new collection mycollection.add(True) ??? ~Brant Benoit Minisini wrote: >You can use the following class: Byte[]. There is no Boolean[] yet. > > > From bwells at ...475... Fri Jul 16 15:15:34 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 16 Jul 2004 09:15:34 -0400 Subject: [Gambas-user] Syntax error In-Reply-To: <200407150653.02175.leo.barnhoorn@...246...> References: <200407150653.02175.leo.barnhoorn@...246...> Message-ID: <40F7D4F6.6040002@...475...> Hey Leo & Benoit: I'm getting the same problem using values such as: &H85A308D3 ... Even kcalc doesn't convert that Hex String to a Decimal value... Benoit: What is going on with that...?? Any ideas? TTFN! ~Brant Leo Barnhoorn wrote: >Hallo Benoit, > >Gambas versie 0.94a >I get a syntax error on the following hex numbers. > >&HE0D5E91E >&H97D2D988 >&H80000000 >&HFFFFFFFF > >No matter the kind of datatype i use, i get a syntax error. > >Can you tell the reason of this. > >Regards, >Leo Barnhoorn. > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From mr_negers at ...67... Fri Jul 16 17:05:08 2004 From: mr_negers at ...67... (Nicolas Marzoni) Date: Fri, 16 Jul 2004 12:05:08 -0300 Subject: [Gambas-user] Send an Email?? Message-ID: Could sombody tell me how do I send an email whit gambas without opening a mail program. What I want is; send an email, and let the user working normaly. I hope could you Help me. Thanks. Nicolas Marzoni. Argentina. _________________________________________________________________ MSN Amor: busca tu ? naranja http://latam.msn.com/amor/ From lordheavy at ...512... Fri Jul 16 17:09:22 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Fri, 16 Jul 2004 17:09:22 +0200 Subject: [Gambas-user] gentoo portage frontend Message-ID: <200407161709.22054.lordheavy@...512...> This is a first step for a portage frontend. it's working only with gentoo. Currently, only portage tree navigation. (thanks fabien :) ) Post your comments about the code or issues. thanks -- Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: GbPortage-0.0.1.tar.gz Type: application/x-tgz Size: 11810 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Fri Jul 16 18:58:05 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 16 Jul 2004 12:58:05 -0400 Subject: [Gambas-user] Send an Email?? In-Reply-To: References: Message-ID: <200407161258.05267.sourceforge-raindog2@...94...> On Friday 16 July 2004 11:05, Nicolas Marzoni wrote: > Could sombody tell me how do I send an email whit gambas > without opening a mail program. What I want is; send an email, > and let the user working normaly. You have two options really, both of which may require some setup by the user: (a) use EXEC or SHELL to invoke the "sendmail" command line program in the background. This is not to be confused with the mail server called "sendmail"; most Linux mail servers include a program called "sendmail" to send mail, and there are a number of standalone "sendmail" programs. Nonetheless, this assumes sendmail is installed on the user's machine, and on many desktop-oriented Linux distributions it is not. (b) Open a direct SMTP connection to the user's ISP's mail server. You can usually default to sending to "mail", port 25, but you will need a configuration dialog to let the user set the mail server if it isn't. Most programs that send mail (and aren't mail clients) offer both these options and the user can pick whichever he prefers. Rob From sourceforge-raindog2 at ...94... Fri Jul 16 18:50:25 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 16 Jul 2004 12:50:25 -0400 Subject: [Gambas-user] Report Preview In-Reply-To: References: <20040714234329.52532.qmail@...529...> <200407152139.40845.gambasfr@...11...> Message-ID: <200407161250.25048.sourceforge-raindog2@...94...> On Friday 16 July 2004 00:36, Budi Arief Gusandi wrote: > Just trying mozilla on my mandrake 10 (nothing fancy ;(..., > but hey the preint preview of mozilla is really kewl. Anybody > can get the code of the preview and plug it into gambas as > component ? that would be good if we make a report via HTML > and displayed on it... I don't think HTML is suitable for reports because (as far as I know) there is no tag to force a page break, for example. That would be kind of important for printed reports since you need things like a page header and footer on each page. I could see generating an OpenOffice file somehow, or using the KDE reporting engine (maybe GNOME has one too?) or maybe even finding some way to subclass khtml to add the reporting features we needed, but I think the best solution is to use or make an engine more oriented towards print output than displaying on screen. Rob From Karl.Reinl at ...9... Thu Jul 15 22:52:33 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 15 Jul 2004 20:52:33 +0000 Subject: [Gambas-user] gentoo portage frontend (sorry will not be in the tree, because I sent from another box, where I don't recive mails) Message-ID: <200407152052.33895.Karl.Reinl@...9...> Salut Laurent, a quick Idea to your GbPortage it dosn't work correctly , but shows you the idea I have better then words, and it shows at same time for what the symbols are staying for a sort of 'emerge -s ' would be nice with a return if masked or not etc. good idea, but a little heavy in one window (the portage tree is very long) Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: GbPortage-0.0.1.tar.gz Type: application/x-tgz Size: 12399 bytes Desc: not available URL: From eddy-vandepol at ...533... Fri Jul 16 20:59:11 2004 From: eddy-vandepol at ...533... (Eddy Van de Pol) Date: Fri, 16 Jul 2004 20:59:11 +0200 Subject: [Gambas-user] inputbox Message-ID: Sorry if it's a dumb question, but my kwowledge of programming is very low, but a few years ago I learned a litle bit of visual basic at the evening school and found it fun to make some litle programs one my own. Forget it a bit because I'm only using gentoolinux now; So I was happy to found out that with gambas I can experiment a bit further now. but I'm struggling a bit (gambas is not a clone of visual basic and as I said my knomwledge is limited) Major problem for me now is to get inputbox working, I searched a bit and found something about "use: Util" but I can't get it to work, So I tried to create a new form and use this as inputbox, but now I have trouble to get data from one form to te other, I found some examples but they didn't work. I did something with Clipboard.Copy and Clipboard.Paste but that seems a bad solution. can anyone give me a hint how to get function inputbox towork properly under gambas? thanks a lot from a real beginner -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From bundeshund at ...467... Fri Jul 16 21:28:01 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Fri, 16 Jul 2004 21:28:01 +0200 Subject: [Gambas-user] inputbox In-Reply-To: References: Message-ID: <200407162128.01724.bundeshund@...467...> Hi Eddy! Am Freitag, 16. Juli 2004 20:59 schrieb Eddy Van de Pol: > Sorry if it's a dumb question, but my kwowledge of programming is very > low, but a few years ago I learned a litle bit of visual basic at the > evening school and found it fun to make some litle programs one my own. > Forget it a bit because I'm only using gentoolinux now; So I was happy to > found out that with gambas I can experiment a bit further now. > but I'm struggling a bit (gambas is not a clone of visual basic and as I > said my knomwledge is limited) Welcome to gambas. Never saw such a easy to use and powerful language as gambas is. You will see. > Major problem for me now is to get inputbox working, I searched a bit and > found something about "use: Util" but I can't get it to work, So I tried > to create a new form and use this as inputbox, but now I have trouble to > get data from one form to te other, I found some examples but they didn't > work. I did something with Clipboard.Copy and Clipboard.Paste but that > seems a bad solution. > can anyone give me a hint how to get function inputbox towork properly > under gambas? I hope I understand right. Eg. if you have two textboxes called 'textbox1' and 'textbox2', the user can insert text into 'textbox1' while 'textbox2' is read-only (you can set this in the property-box: ReadOnly = TRUE) and you have a button called 'button1'. When the user inserted the text and pressed the butten called 'button1', you can handle this with PUBLIC SUB button1_KeyPress() textbox2.Text = textbox1.Text 'copy text from textbox1 to textbox2 ME.Refresh 'refresh the form END If you press the right-mouse on the button1 in the form-editor you can choose the KeyPress-event in the event-menu, or just type it in the code-editor. > thanks a lot from a real beginner HTH HM From gambas at ...1... Fri Jul 16 21:54:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 16 Jul 2004 21:54:28 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <200407150653.02175.leo.barnhoorn@...246...> References: <200407150653.02175.leo.barnhoorn@...246...> Message-ID: <200407162154.28198.gambas@...1...> On Thursday 15 July 2004 06:53, Leo Barnhoorn wrote: > Hallo Benoit, > > Gambas versie 0.94a > I get a syntax error on the following hex numbers. > > &HE0D5E91E > &H97D2D988 > &H80000000 > &HFFFFFFFF > > No matter the kind of datatype i use, i get a syntax error. > > Can you tell the reason of this. > > Regards, > Leo Barnhoorn. > It is just a stupid bug of mine ! Strange that nobody sees it yet... To patch it, replace the line 130 in gbc_trans.c: val = strtol(number, &end, base); by: val = (long)strtoul(number, &end, base); It should work :-) -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jul 16 22:03:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 16 Jul 2004 22:03:54 +0200 Subject: [Gambas-user] Send an Email?? In-Reply-To: References: Message-ID: <200407162203.54357.gambas@...1...> On Friday 16 July 2004 17:05, Nicolas Marzoni wrote: > Could sombody tell me how do I send an email whit gambas without opening a > mail program. What I want is; send an email, and let the user working > normaly. > > I hope could you Help me. > Thanks. > Nicolas Marzoni. Argentina. > With the KDE component, you can pilot KMail via DCOP to send the mail for you: DIM hApp AS KDEApplication hApp = Application["KMail"] hApp.MailTransportServiceIFace.sendMessage("to", "cc", "bcc", "subject", "body", attachments) Alas, this does not work yet because the type of the 'attachments' parameter is KURL::List, which is not yet managed by the KDE component. Do you want me to try to manage this datatype for the next version ? -- Benoit Minisini mailto:gambas at ...1... From leo.barnhoorn at ...246... Fri Jul 16 23:15:17 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Fri, 16 Jul 2004 23:15:17 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <200407162154.28198.gambas@...1...> References: <200407150653.02175.leo.barnhoorn@...246...> <200407162154.28198.gambas@...1...> Message-ID: <200407162315.17794.leo.barnhoorn@...246...> Hello Benoit, Thanks Benoit, it works perfect. Thanks again. Regards, Leo. On Friday 16 July 2004 21:54, Benoit Minisini wrote: > On Thursday 15 July 2004 06:53, Leo Barnhoorn wrote: > > Hallo Benoit, > > > > Gambas versie 0.94a > > I get a syntax error on the following hex numbers. > > > > &HE0D5E91E > > &H97D2D988 > > &H80000000 > > &HFFFFFFFF > > > > No matter the kind of datatype i use, i get a syntax error. > > > > Can you tell the reason of this. > > > > Regards, > > Leo Barnhoorn. > > It is just a stupid bug of mine ! Strange that nobody sees it yet... > > To patch it, replace the line 130 in gbc_trans.c: > > val = strtol(number, &end, base); > > by: > > val = (long)strtoul(number, &end, base); > > It should work :-) From pastrano at ...431... Sat Jul 17 00:30:24 2004 From: pastrano at ...431... (Gianni Piccini) Date: Sat, 17 Jul 2004 00:30:24 +0200 Subject: [Gambas-user] Replacing text values in a columnview Message-ID: <1090017024.16652685.40f85700@...432...> Probably this is a simply question, but I've not been able to find answer in the ml archive. I've a simple columnview, with 2 columns and some rows. For example, I have cities in first column, I would to set second with nation. First, columnview is in this mode | Paris | | | London | | | Vaduz | | and I would set to | Paris | fr | | London | uk | | Rome | it | I imagine a loop like for j to columnview.count columnview[J][2] = FunctionForNames(columnview[J][1]) next where FunctionForNames(name_of_the_city) retrieves the nation from the name of the city in the first column, but in my tries it doesn't work. I don't know the first value of the row, only the total number of rows... Should be simple if I set the key of the row to a progressive value? From gambas at ...1... Sat Jul 17 01:13:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 17 Jul 2004 01:13:14 +0200 Subject: [Gambas-user] Replacing text values in a columnview In-Reply-To: <1090017024.16652685.40f85700@...432...> References: <1090017024.16652685.40f85700@...432...> Message-ID: <200407170113.14670.gambas@...1...> On Saturday 17 July 2004 00:30, Gianni Piccini wrote: > Probably this is a simply question, but I've not been able to find answer > in the ml archive. > I've a simple columnview, with 2 columns and some rows. For example, I have > cities in first column, I would to set second with nation. First, > columnview is in this mode > > | Paris | | > | London | | > | Vaduz | | > > and I would set to > > | Paris | fr | > | London | uk | > | Rome | it | > > I imagine a loop like > > for j to columnview.count > columnview[J][2] = FunctionForNames(columnview[J][1]) > next > > where FunctionForNames(name_of_the_city) retrieves the nation from the name > of the city in the first column, but in my tries it doesn't work. I don't > know the first value of the row, only the total number of rows... > Should be simple if I set the key of the row to a progressive value? > > If you don't care with the key of the row, you can use what you want. And you can use progressive numeric values of course. They are automatically converted to strings by the interpreter. I mean columnview[j][2] = ... is equivalent to columnview[cstr(j)][2] = ... Regards, -- Benoit Minisini mailto:gambas at ...1... From leo.barnhoorn at ...246... Sat Jul 17 01:14:21 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sat, 17 Jul 2004 01:14:21 +0200 Subject: [Gambas-user] Library CRC-16, CRC-24, CRC-32 Message-ID: <200407170114.21743.leo.barnhoorn@...246...> Hello all, This is a test program with a library Crc, in the library are for now 3 functions CRC-16, CRC-24 and CRC-32. The source code for the library will come also later. I have put the libray in the Gambas bin directory. I hoop you like it. Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: TestCrc-0.0.1.tar.gz Type: application/x-tgz Size: 4981 bytes Desc: not available URL: From leo.barnhoorn at ...246... Sat Jul 17 04:02:35 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sat, 17 Jul 2004 04:02:35 +0200 Subject: [Gambas-user] Type mismathch. Message-ID: <200407170402.35241.leo.barnhoorn@...246...> Hello Benoit, aBytes is a Byte[] Array. aBytes[1] = CByte("&HFE") On this i get a Type mismatch: wanted Byte, got string instead. CByte has to convert the string to an Byte or not. Regards, Leo. From leo.barnhoorn at ...246... Sat Jul 17 04:07:00 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sat, 17 Jul 2004 04:07:00 +0200 Subject: [Gambas-user] Source code for Lib Crc. Message-ID: <200407170407.00950.leo.barnhoorn@...246...> Hello All, The source code for Lib Crc. Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: Crc-0.0.3.tar.gz Type: application/x-tgz Size: 9542 bytes Desc: not available URL: From rizky at ...225... Sat Jul 17 04:30:39 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Sat, 17 Jul 2004 09:30:39 +0700 Subject: [Gambas-user] Report Preview In-Reply-To: <200407161250.25048.sourceforge-raindog2@...94...> References: <20040714234329.52532.qmail@...529...> <200407152139.40845.gambasfr@...11...> <200407161250.25048.sourceforge-raindog2@...94...> Message-ID: <6.0.0.22.2.20040717093030.01d60128@...329...> At 23:50 16/07/2004, Rob wrote: >On Friday 16 July 2004 00:36, Budi Arief Gusandi wrote: > > Just trying mozilla on my mandrake 10 (nothing fancy ;(..., > > but hey the preint preview of mozilla is really kewl. Anybody > > can get the code of the preview and plug it into gambas as > > component ? that would be good if we make a report via HTML > > and displayed on it... > >I don't think HTML is suitable for reports because (as far as I >know) there is no tag to force a page break, for example. That >would be kind of important for printed reports since you need >things like a page header and footer on each page. > >I could see generating an OpenOffice file somehow, or using the >KDE reporting engine (maybe GNOME has one too?) or maybe even >finding some way to subclass khtml to add the reporting features >we needed, but I think the best solution is to use or make an >engine more oriented towards print output than displaying on >screen. i agree with that... :) From gambasfr at ...11... Sat Jul 17 14:24:55 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 17 Jul 2004 14:24:55 +0200 Subject: [Gambas-user] Need to have blowfish en- and decryption In-Reply-To: <40F7D3BD.9060805@...475...> References: <20040714234329.52532.qmail@...529...> <200407152240.31057.gambas@...1...> <40F7D3BD.9060805@...475...> Message-ID: <200407171424.56062.gambasfr@...11...> Le vendredi 16 Juillet 2004 15:10, Brant Wells a ?crit?: > Hey all.. > > Couldn't you just create a new collection and let the values of the > collection be true or false?? > ie: > > dim myCollection as new collection > > mycollection.add(True) > > ??? dim bool as byte bool=true mycollection.add(bool) Fabien Bodard > > ~Brant > > Benoit Minisini wrote: > >You can use the following class: Byte[]. There is no Boolean[] yet. > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambasfr at ...11... Sat Jul 17 14:34:34 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sat, 17 Jul 2004 14:34:34 +0200 Subject: [Gambas-user] gentoo portage frontend In-Reply-To: <200407161709.22054.lordheavy@...512...> References: <200407161709.22054.lordheavy@...512...> Message-ID: <200407171434.34785.gambasfr@...11...> Le vendredi 16 Juillet 2004 17:09, Laurent Carlier a ?crit?: > This is a first step for a portage frontend. it's working only with gentoo. > > Currently, only portage tree navigation. (thanks fabien :) ) > Post your comments about the code or issues. > > thanks hi laurent... first bug, you need to manage the error, when the required directories not exist ! Fabien From pastrano at ...431... Sat Jul 17 20:08:24 2004 From: pastrano at ...431... (Gianni Piccini) Date: Sat, 17 Jul 2004 20:08:24 +0200 Subject: [Gambas-user] Replacing text values in a columnview In-Reply-To: <200407170113.14670.gambas@...1...> References: <1090017024.16652685.40f85700@...432...> <200407170113.14670.gambas@...1...> Message-ID: <1090087704.7892649.40f96b18@...432...> On Sat, 17 Jul 2004 01:13:14 +0200, you wrote: > If you don't care with the key of the row, you can use what you want. Thanks for reply (and for all your work), but I have the problem solution: something of corrupted was in project files, I've rebuild a new project with same components and same code, and it works. I admit I was going crazy, I did get code from working examples :-) From eddy-vandepol at ...533... Sat Jul 17 20:14:51 2004 From: eddy-vandepol at ...533... (Eddy Van de Pol) Date: Sat, 17 Jul 2004 20:14:51 +0200 Subject: [Gambas-user] inputbox Message-ID: -- Hi, thanks for the reply but that isn't exactly what I ment. inputbox is something like a messagebox but with a textbox where you can fill in the requested information. So it pups up and after filling in it closes, clicking an ok button or something like that. It really is just an other small form, but how do I exchange the information from the smaller form to the main form? Eddy Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From lordheavy at ...512... Sat Jul 17 22:46:20 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Sat, 17 Jul 2004 22:46:20 +0200 Subject: [Gambas-user] gentoo portage frontend In-Reply-To: <200407171434.34785.gambasfr@...11...> References: <200407161709.22054.lordheavy@...512...> <200407171434.34785.gambasfr@...11...> Message-ID: <200407172246.21278.lordheavy@...512...> > first bug, you need to manage the error, when the required directories not > exist ! Sure, but it's a very very early code :) and i've found an issue with dox -doxygen packages and lockfile while emerging a package. I will use a config class like kconfig ( util library in gambas ) and of course add a gentto testing distro :) But how about the quality of the code ? i'm pretty a newbie with gambas and all those "visual-like" basics apps :) -- Laurent Carlier From na2492 at ...9... Sun Jul 18 01:09:15 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Sun, 18 Jul 2004 01:09:15 00200 Subject: [Gambas-user] inputbox Message-ID: <40f9b19b.2106.0@...9...> > > >-- Hi, > >thanks for the reply but that isn't exactly what I ment. >inputbox is something like a messagebox but with a textbox where you can >fill in the requested information. >So it pups up and after filling in it closes, clicking an ok button or >something like that. >It really is just an other small form, but how do I exchange the >information from the smaller form to the main form? > >Eddy > Salut Eddy, I show you the power of gambas. It took me aprox. 30 min . And now you have the base of an Inputbox. After finishing you Inputbox you can compile her and use her by USE "Inputbox" in ervery project (gambas) you want. I hope you make a better one then the M$-Inputbox, where you can't control NOTHING. It's just a easy way to let the user say something. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * -------------- next part -------------- A non-text attachment was scrubbed... Name: InputBox-0.0.1.tar.gz Type: application/x-tgz Size: 1500 bytes Desc: not available URL: From c0de3 at ...43... Sun Jul 18 01:16:29 2004 From: c0de3 at ...43... (Craig Packard) Date: Sat, 17 Jul 2004 16:16:29 -0700 (PDT) Subject: [Gambas-user] Tab Order & Tab Stop Message-ID: <20040717231629.38296.qmail@...535...> Hello list, VB has the tab order and tab stop properties on controls. I can't find the Gambas version of either. I see the Hierarchy gizmo but it appears to be read only. How can I change the order of the controls? The tab stop lets you make a control (textbox for example) that you can't 'tab' to. If you want to enter some data in that textbox you must use your mouse to get the cursor in it so that you can enter your text. Thanks, - Craig __________________________________ Do you Yahoo!? Vote for the stars of Yahoo!'s next ad campaign! http://advision.webevents.yahoo.com/yahoo/votelifeengine/ From gambasfr at ...11... Sun Jul 18 10:39:25 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Sun, 18 Jul 2004 10:39:25 +0200 Subject: [Gambas-user] Tab Order & Tab Stop In-Reply-To: <20040717231629.38296.qmail@...535...> References: <20040717231629.38296.qmail@...535...> Message-ID: <200407181039.25665.gambasfr@...11...> Le dimanche 18 Juillet 2004 01:16, Craig Packard a ?crit?: > Hello list, > > VB has the tab order and tab stop properties on > controls. I can't find the Gambas version of either. > I see the Hierarchy gizmo but it appears to be read > only. How can I change the order of the controls? > > The tab stop lets you make a control (textbox for > example) that you can't 'tab' to. If you want to > enter some data in that textbox you must use your > mouse to get the cursor in it so that you can enter > your text. > > Thanks, > > - Craig hi Craig, In gambas, the tab order is the zOrder.... this tip miss in the vb diff?rence wiki page. (hey rob...) The hierarchy windows can help you to see the widget order. Fabien Bodard > > > __________________________________ > Do you Yahoo!? > Vote for the stars of Yahoo!'s next ad campaign! > http://advision.webevents.yahoo.com/yahoo/votelifeengine/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Jul 18 11:01:09 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 18 Jul 2004 11:01:09 +0200 Subject: [Gambas-user] Tab Order & Tab Stop In-Reply-To: <20040717231629.38296.qmail@...535...> References: <20040717231629.38296.qmail@...535...> Message-ID: <200407181101.10007.gambas@...1...> On Sunday 18 July 2004 01:16, Craig Packard wrote: > Hello list, > > VB has the tab order and tab stop properties on > controls. I can't find the Gambas version of either. > I see the Hierarchy gizmo but it appears to be read > only. How can I change the order of the controls? > > The tab stop lets you make a control (textbox for > example) that you can't 'tab' to. If you want to > enter some data in that textbox you must use your > mouse to get the cursor in it so that you can enter > your text. > > Thanks, > > - Craig > > The control tab order is the same thing as the Z order in Gambas. Use the 'Arrange' menu to arrange your controls in the way you want. The hierarchy window just allows you to check this order. As for the 'TabStop' property, I didn't implement it because I never used it in VB. And I'm not sure there is an equivalent in QT. Regards, -- Benoit Minisini mailto:gambas at ...1... From budi at ...415... Sun Jul 18 11:34:48 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Sun, 18 Jul 2004 16:34:48 +0700 Subject: [Gambas-user] Video Capture In-Reply-To: <200407152240.31057.gambas@...1...> References: <20040714234329.52532.qmail@...529...> <200407152240.31057.gambas@...1...> Message-ID: Hi, Is it possible to connect to video capture or web cam and displayed in picture box ? In VB i just simple using a windows library and display it frame by frame using timer. Please help ;) Thanks Budi From sourceforge-raindog2 at ...94... Mon Jul 19 00:41:24 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 18 Jul 2004 18:41:24 -0400 Subject: [Gambas-user] Video Capture In-Reply-To: References: <20040714234329.52532.qmail@...529...> <200407152240.31057.gambas@...1...> Message-ID: <200407181841.24388.sourceforge-raindog2@...94...> On Sunday 18 July 2004 05:34, Budi Arief Gusandi wrote: > Is it possible to connect to video capture or web cam and > displayed in picture box ? In VB i just simple using a windows > library and display it frame by frame using timer. Please help I think you can do the same thing in gambas simply by calling some command line webcam program that dumps images to stdout, and updating the picture box whenever you get a new image. But I haven't actually tried this (pvrec, my gambas video capture program, simply uses mplayer to display the stream.) Rob From leo.barnhoorn at ...246... Mon Jul 19 07:07:57 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 19 Jul 2004 07:07:57 +0200 Subject: [Gambas-user] Signal #11 Message-ID: <200407190707.57219.leo.barnhoorn@...246...> Hello Benoit, If you have received the message aboud the Signal #11, i want to tell that i have CATCH the ERROR in my thinking. Thanks anyway. Regards, Leo. From budi at ...415... Mon Jul 19 08:00:58 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Mon, 19 Jul 2004 13:00:58 +0700 Subject: [Gambas-user] Video Capture In-Reply-To: <200407181841.24388.sourceforge-raindog2@...94...> References: <20040714234329.52532.qmail@...529...> <200407152240.31057.gambas@...1...> <200407181841.24388.sourceforge-raindog2@...94...> Message-ID: May you help me for the code, rob ;) ? i can figure it out but still dont know the code. Thanks On Sun, 18 Jul 2004 18:41:24 -0400, Rob wrote: > On Sunday 18 July 2004 05:34, Budi Arief Gusandi wrote: >> Is it possible to connect to video capture or web cam and >> displayed in picture box ? In VB i just simple using a windows >> library and display it frame by frame using timer. Please help > > I think you can do the same thing in gambas simply by calling > some command line webcam program that dumps images to stdout, > and updating the picture box whenever you get a new image. But > I haven't actually tried this (pvrec, my gambas video capture > program, simply uses mplayer to display the stream.) > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Regards, Budi From mr_negers at ...67... Mon Jul 19 13:25:18 2004 From: mr_negers at ...67... (Nicolas Marzoni) Date: Mon, 19 Jul 2004 08:25:18 -0300 Subject: [Gambas-user] KDEAplplication Message-ID: Message: 7 From: Benoit Minisini To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] Send an Email?? Date: Fri, 16 Jul 2004 22:03:54 +0200 Reply-To: gambas-user at lists.sourceforge.net On Friday 16 July 2004 17:05, Nicolas Marzoni wrote: >Could sombody tell me how do I send an email whit gambas without opening a >mail program. What I want is; send an email, and let the user working >normaly. > >I hope could you Help me. >Thanks. >Nicolas Marzoni. Argentina. > With the KDE component, you can pilot KMail via DCOP to send the mail for you: DIM hApp AS KDEApplication hApp = Application["KMail"] hApp.MailTransportServiceIFace.sendMessage("to", "cc", "bcc", "subject", "body", attachments) Alas, this does not work yet because the type of the 'attachments' parameter is KURL::List, which is not yet managed by the KDE component. Do you want me to try to manage this datatype for the next version ? -- Benoit Minisini Yes please; I want you to try to manage This datatype for the next version... Thanx a lot. -- Nicolas Marzoni. Mar del Plata. Argentina. _________________________________________________________________ Charla con tus amigos en l?nea mediante MSN Messenger: http://messenger.latam.msn.com/ From gambas at ...1... Mon Jul 19 14:04:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 19 Jul 2004 14:04:05 +0200 Subject: [Gambas-user] KDEAplplication In-Reply-To: References: Message-ID: <200407191404.06319.gambas@...1...> On Monday 19 July 2004 13:25, Nicolas Marzoni wrote: > Message: 7 > From: Benoit Minisini > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Send an Email?? > Date: Fri, 16 Jul 2004 22:03:54 +0200 > Reply-To: gambas-user at lists.sourceforge.net > > On Friday 16 July 2004 17:05, Nicolas Marzoni wrote: > >Could sombody tell me how do I send an email whit gambas without opening > > a mail program. What I want is; send an email, and let the user working > > normaly. > > > >I hope could you Help me. > >Thanks. > >Nicolas Marzoni. Argentina. > > With the KDE component, you can pilot KMail via DCOP to send the mail for > you: > > DIM hApp AS KDEApplication > > hApp = Application["KMail"] > > hApp.MailTransportServiceIFace.sendMessage("to", "cc", "bcc", "subject", > "body", attachments) > > Alas, this does not work yet because the type of the 'attachments' > parameter is KURL::List, which is not yet managed by the KDE component. > > Do you want me to try to manage this datatype for the next version ? > > -- > Benoit Minisini > > > > Yes please; I want you to try to manage This datatype for the next > version... Thanx a lot. > > -- > Nicolas Marzoni. > Mar del Plata. Argentina. > Bad luck ! I implemented it, and then I ask KMail to send the mail, it begins, and crashes... I think this is a bug in KMail... I use KMail 1.6.2/KDE 3.2.3 If I have time, I will post a bug report on http://bugs.kde.org. Regards, -- Benoit Minisini mailto:gambas at ...1... From bwells at ...475... Mon Jul 19 16:18:53 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 19 Jul 2004 10:18:53 -0400 Subject: [Gambas-user] Syntax error In-Reply-To: <200407162315.17794.leo.barnhoorn@...246...> References: <200407150653.02175.leo.barnhoorn@...246...> <200407162154.28198.gambas@...1...> <200407162315.17794.leo.barnhoorn@...246...> Message-ID: <40FBD84D.2070207@...475...> Leo Barnhoorn wrote: >Hello Benoit, > >Thanks Benoit, it works perfect. > >Thanks again. > >Regards, >Leo. > > >On Friday 16 July 2004 21:54, Benoit Minisini wrote: > > >>On Thursday 15 July 2004 06:53, Leo Barnhoorn wrote: >> >> >>>Hallo Benoit, >>> >>>Gambas versie 0.94a >>>I get a syntax error on the following hex numbers. >>> >>>&HE0D5E91E >>>&H97D2D988 >>>&H80000000 >>>&HFFFFFFFF >>> >>>No matter the kind of datatype i use, i get a syntax error. >>> >>>Can you tell the reason of this. >>> >>>Regards, >>>Leo Barnhoorn. >>> >>> >>It is just a stupid bug of mine ! Strange that nobody sees it yet... >> >>To patch it, replace the line 130 in gbc_trans.c: >> >> val = strtol(number, &end, base); >> >>by: >> >> val = (long)strtoul(number, &end, base); >> >>It should work :-) >> >> Hey Leo & Benoit: I made the change to the gbc_trans.c file... and have done the following as my a standard user from the gambas source folder... make clean && make && su -c 'make install' I have also renamed the gambas folder so I don't overwrite my currently working copy... In the fresh installation, I open up the code file that I'm using, and it still does the same thing... I'm on Mandrake 10 and working with Gambas 0.94a. The compilation everything else works just fine as well... What am I missing?? Thanks! ~Brant From gambas at ...1... Mon Jul 19 23:21:20 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 19 Jul 2004 23:21:20 +0200 Subject: [Gambas-user] gambas 0.95 Message-ID: <200407192321.20654.gambas@...1...> Hi everybody, After three days of intense fight with rpm, here is Gambas 0.95! This is a important release, as I provide a complete set of gambas binary packages for MandrakeLinux which is compatible with the packages generated by the Development Environment. This way, Mandrake users will be able to easily test if distributing Gambas applications works - and rocks! :-) The database manager has been redesigned, and allows exporting the result of a request to a file. Many new and old controls now provide automatic layout management. Well, don't forget to read the ChangeLog to see the many other changes and bug fixes. The source is there: http://gambas.sf.net/gambas-0.95.tar.bz2 The Mandrake packages are there: http://gambas.sf.net/RPM/MandrakeLinux/i586 Now, every packager will have to follow the same package arrangement than I did for Mandrake, so that distributing gambas applications works. Everything is in the gambas.spec.mandrake file located in the spec directory of the source package. Here is a quick explanation: 'gambas-runtime' is the package that include all necessary stuff to run any gambas program. 'gambas-ide' is the IDE: it includes the database-manager, the documentation, and depends only on needed components. Installing 'gambas-ide' does not install every component, be careful! 'gambas-gb-*' are the component packages. There must be one package for each component. Database drivers have their own packages: gambas-gb-db-mysql, ... I tried to make a void 'gambas' packages that depends on all other packages, but it seems I failed :-) The packages does not depend on already existing Mandrake package, but directly on system libraries. This way, the gambas.spec.mandrake file is easily portable to SuSE or Fedora. I invite SuSE and Fedora packager to port this spec file and to see if they can easily package Gambas with it. I invite Debian packager to try alien on Mandrake packages to see if things works. I know that my packaging does not follow Mandrake requirements, but the shared libraries made by gambas are not intended to be used by other programs than the gambas interpreter. They are not intended to be shared in fact, they are just there to save memory... I hope the dependencies I wrote works. I'm not sure, because my system already have all necessary development packages installed. So I'm waiting for your returns courageous testers! I think the 1.0 version must be close now :-p Best regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Mon Jul 19 23:32:05 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 19 Jul 2004 17:32:05 -0400 Subject: [Gambas-user] gambas 0.95 In-Reply-To: <200407192321.20654.gambas@...1...> References: <200407192321.20654.gambas@...1...> Message-ID: <200407191732.05189.sourceforge-raindog2@...94...> On Monday 19 July 2004 17:21, Benoit Minisini wrote: > Now, every packager will have to follow the same package > arrangement than I did for Mandrake, so that distributing > gambas applications works. Everything is in the > gambas.spec.mandrake file located in the spec directory of the > source package. Thanks for taking this step. My goal was really to get gambas into cooker, so I couldn't do this, but I'm glad you did. If you don't mind, I am going to mirror these packages in my repository so that people who have been using my site as an urpmi source can still update gambas automatically, and I will also make a gambas-complete package that contains everything from all these packages in one big file (which also provides "gambas", so gambas-created packages will still work.) I will try to mandrake-ify these packages and resubmit them to cooker so I'll have time to deal with any problems before 1.0 is released, but not right away as I just returned from holiday and have a lot to catch up on. Rob From gambas at ...1... Mon Jul 19 23:36:13 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 19 Jul 2004 23:36:13 +0200 Subject: [Gambas-user] gambas 0.95 In-Reply-To: <200407192321.20654.gambas@...1...> References: <200407192321.20654.gambas@...1...> Message-ID: <200407192336.13306.gambas@...1...> On Monday 19 July 2004 23:21, Benoit Minisini wrote: > Hi everybody, > > After three days of intense fight with rpm, here is Gambas 0.95! > > This is a important release, as I provide a complete set of gambas binary > packages for MandrakeLinux which is compatible with the packages generated > by the Development Environment. This way, Mandrake users will be able to > easily test if distributing Gambas applications works - and rocks! :-) > > The database manager has been redesigned, and allows exporting the result > of a request to a file. > > Many new and old controls now provide automatic layout management. > I forgot... Someone asked for a control that displays animated gif images. I did it: it is the MovieBox control, located in the gb.qt.ext component. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Jul 19 23:58:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 19 Jul 2004 23:58:03 +0200 Subject: [Gambas-user] gambas 0.95 In-Reply-To: <200407192321.20654.gambas@...1...> References: <200407192321.20654.gambas@...1...> Message-ID: <200407192358.03632.gambas@...1...> On Monday 19 July 2004 23:21, Benoit Minisini wrote: > Hi everybody, > > After three days of intense fight with rpm, here is Gambas 0.95! > > This is a important release, as I provide a complete set of gambas binary > packages for MandrakeLinux which is compatible with the packages generated > by the Development Environment. This way, Mandrake users will be able to > easily test if distributing Gambas applications works - and rocks! :-) > > The database manager has been redesigned, and allows exporting the result > of a request to a file. > > Many new and old controls now provide automatic layout management. > > Well, don't forget to read the ChangeLog to see the many other changes and > bug fixes. > > The source is there: > http://gambas.sf.net/gambas-0.95.tar.bz2 > > The Mandrake packages are there: > http://gambas.sf.net/RPM/MandrakeLinux/i586 > > Now, every packager will have to follow the same package arrangement than I > did for Mandrake, so that distributing gambas applications works. > Everything is in the gambas.spec.mandrake file located in the spec > directory of the source package. > > Here is a quick explanation: > > 'gambas-runtime' is the package that include all necessary stuff to run any > gambas program. > > 'gambas-ide' is the IDE: it includes the database-manager, the > documentation, and depends only on needed components. Installing > 'gambas-ide' does not install every component, be careful! > > 'gambas-gb-*' are the component packages. There must be one package for > each component. > > Database drivers have their own packages: gambas-gb-db-mysql, ... > > I tried to make a void 'gambas' packages that depends on all other > packages, but it seems I failed :-) > > The packages does not depend on already existing Mandrake package, but > directly on system libraries. This way, the gambas.spec.mandrake file is > easily portable to SuSE or Fedora. > > I invite SuSE and Fedora packager to port this spec file and to see if they > can easily package Gambas with it. > > I invite Debian packager to try alien on Mandrake packages to see if things > works. > > I know that my packaging does not follow Mandrake requirements, but the > shared libraries made by gambas are not intended to be used by other > programs than the gambas interpreter. They are not intended to be shared in > fact, they are just there to save memory... > > I hope the dependencies I wrote works. I'm not sure, because my system > already have all necessary development packages installed. > > So I'm waiting for your returns courageous testers! > > I think the 1.0 version must be close now :-p > > Best regards, I made a bug in the IDE, that prevents itself to work when it is installed with the packages. I fix it as soon as possible... -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jul 20 00:18:32 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 20 Jul 2004 00:18:32 +0200 Subject: [Gambas-user] gambas 0.95 In-Reply-To: <200407192358.03632.gambas@...1...> References: <200407192321.20654.gambas@...1...> <200407192358.03632.gambas@...1...> Message-ID: <200407200018.32900.gambas@...1...> On Monday 19 July 2004 23:58, Benoit Minisini wrote: > On Monday 19 July 2004 23:21, Benoit Minisini wrote: > > Hi everybody, > > > > After three days of intense fight with rpm, here is Gambas 0.95! > > > > This is a important release, as I provide a complete set of gambas binary > > packages for MandrakeLinux which is compatible with the packages > > generated by the Development Environment. This way, Mandrake users will > > be able to easily test if distributing Gambas applications works - and > > rocks! :-) > > > > The database manager has been redesigned, and allows exporting the result > > of a request to a file. > > > > Many new and old controls now provide automatic layout management. > > > > Well, don't forget to read the ChangeLog to see the many other changes > > and bug fixes. > > > > The source is there: > > http://gambas.sf.net/gambas-0.95.tar.bz2 > > > > The Mandrake packages are there: > > http://gambas.sf.net/RPM/MandrakeLinux/i586 > > > > Now, every packager will have to follow the same package arrangement than > > I did for Mandrake, so that distributing gambas applications works. > > Everything is in the gambas.spec.mandrake file located in the spec > > directory of the source package. > > > > Here is a quick explanation: > > > > 'gambas-runtime' is the package that include all necessary stuff to run > > any gambas program. > > > > 'gambas-ide' is the IDE: it includes the database-manager, the > > documentation, and depends only on needed components. Installing > > 'gambas-ide' does not install every component, be careful! > > > > 'gambas-gb-*' are the component packages. There must be one package for > > each component. > > > > Database drivers have their own packages: gambas-gb-db-mysql, ... > > > > I tried to make a void 'gambas' packages that depends on all other > > packages, but it seems I failed :-) > > > > The packages does not depend on already existing Mandrake package, but > > directly on system libraries. This way, the gambas.spec.mandrake file is > > easily portable to SuSE or Fedora. > > > > I invite SuSE and Fedora packager to port this spec file and to see if > > they can easily package Gambas with it. > > > > I invite Debian packager to try alien on Mandrake packages to see if > > things works. > > > > I know that my packaging does not follow Mandrake requirements, but the > > shared libraries made by gambas are not intended to be used by other > > programs than the gambas interpreter. They are not intended to be shared > > in fact, they are just there to save memory... > > > > I hope the dependencies I wrote works. I'm not sure, because my system > > already have all necessary development packages installed. > > > > So I'm waiting for your returns courageous testers! > > > > I think the 1.0 version must be close now :-p > > > > Best regards, > > I made a bug in the IDE, that prevents itself to work when it is installed > with the packages. I fix it as soon as possible... OK. Fixed. Pfff... But if someone could tell me why the menus are not updated after installing the IDE... Good night - It's late... -- Benoit Minisini mailto:gambas at ...1... From leo.barnhoorn at ...246... Tue Jul 20 01:03:09 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 20 Jul 2004 01:03:09 +0200 Subject: [Gambas-user] Syntax error In-Reply-To: <40FBD84D.2070207@...475...> References: <200407150653.02175.leo.barnhoorn@...246...> <200407162315.17794.leo.barnhoorn@...246...> <40FBD84D.2070207@...475...> Message-ID: <200407200103.09766.leo.barnhoorn@...246...> Hallo Brant, You have copy the line as it is. Old - val = strtol(number, &end, base); New - val = (long)strtoul(number, &end, base); This way it works fine, no problems at al. Regards, Leo. On Monday 19 July 2004 16:18, Brant Wells wrote: > Leo Barnhoorn wrote: > >Hello Benoit, > > > >Thanks Benoit, it works perfect. > > > >Thanks again. > > > >Regards, > >Leo. > > > >On Friday 16 July 2004 21:54, Benoit Minisini wrote: > >>On Thursday 15 July 2004 06:53, Leo Barnhoorn wrote: > >>>Hallo Benoit, > >>> > >>>Gambas versie 0.94a > >>>I get a syntax error on the following hex numbers. > >>> > >>>&HE0D5E91E > >>>&H97D2D988 > >>>&H80000000 > >>>&HFFFFFFFF > >>> > >>>No matter the kind of datatype i use, i get a syntax error. > >>> > >>>Can you tell the reason of this. > >>> > >>>Regards, > >>>Leo Barnhoorn. > >> > >>It is just a stupid bug of mine ! Strange that nobody sees it yet... > >> > >>To patch it, replace the line 130 in gbc_trans.c: > >> > >> val = strtol(number, &end, base); > >> > >>by: > >> > >> val = (long)strtoul(number, &end, base); > >> > >>It should work :-) > > Hey Leo & Benoit: > > I made the change to the gbc_trans.c file... and have done the > following as my a standard user from the gambas source folder... > > make clean && make && su -c 'make install' > > I have also renamed the gambas folder so I don't overwrite my currently > working copy... In the fresh installation, I open up the code file that > I'm using, and it still does the same thing... > > I'm on Mandrake 10 and working with Gambas 0.94a. > > The compilation everything else works just fine as well... What am I > missing?? > > Thanks! > ~Brant > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From leo.barnhoorn at ...246... Tue Jul 20 01:13:22 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 20 Jul 2004 01:13:22 +0200 Subject: [Gambas-user] Type mismatch. Message-ID: <200407200113.22201.leo.barnhoorn@...246...> Hello Benoit, I have a Type mismatch: wanted Byte, got String instead. CByte Byte = CByte ( Expression ) Converts an expression into a byte. Expression is first converted into an integer. Then, if this integer overflows the byte range, it is truncated. Example PRINT CByte("17") = 17 So if i'am not wrong this has to work also, following the explanation above: CByte("&H" & Mid(sHex, i * 2 + 1, 2)) But this sets the error : Type mismatch: wanted Byte, got String instead For CInt / CInteger the same. Thanks for really nice Gamber version 0.95. Regards, Leo. From ljcliff at ...466... Tue Jul 20 10:19:10 2004 From: ljcliff at ...466... (Luke Cliff) Date: Tue, 20 Jul 2004 18:19:10 +1000 Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #797 - msg 1 In-Reply-To: References: Message-ID: <40FCD57E.4020709@...466...> Hi Leo, I know you asked benoit this problem, I found that error when migrating from 0.x to 0.x + from time to time, I changed each form (just move a button left a little bit and then back again so the file has changed, and one code line in each forms code file (a space somewhere would do it) and then re-saved the project, this got rid of the error for me. Hope this helps Regards Luke 1. Signal #11 (Leo Barnhoorn) >Message: 1 >From: Leo Barnhoorn >Organization: Magic Systems >To: gambas-user at lists.sourceforge.net >Date: Mon, 19 Jul 2004 07:07:57 +0200 >Subject: [Gambas-user] Signal #11 >Reply-To: gambas-user at lists.sourceforge.net > >Hello Benoit, > >If you have received the message aboud the Signal #11, i want to tell that i >have CATCH the ERROR in my thinking. > >Thanks anyway. > >Regards, >Leo. > > > > > > From girardhenri at ...67... Tue Jul 20 12:31:32 2004 From: girardhenri at ...67... (Henri Girard) Date: Tue, 20 Jul 2004 12:31:32 +0200 Subject: [Gambas-user] gambas 0.95 References: <200407192321.20654.gambas@...1...> <200407192358.03632.gambas@...1...> Message-ID: thanks going tp compile it straight on fc2... Henri ----- Original Message ----- From: "Benoit Minisini" To: Sent: Monday, July 19, 2004 11:58 PM Subject: Re: [Gambas-user] gambas 0.95 > On Monday 19 July 2004 23:21, Benoit Minisini wrote: > > Hi everybody, > > > > After three days of intense fight with rpm, here is Gambas 0.95! > > > > This is a important release, as I provide a complete set of gambas binary > > packages for MandrakeLinux which is compatible with the packages generated > > by the Development Environment. This way, Mandrake users will be able to > > easily test if distributing Gambas applications works - and rocks! :-) > > > > The database manager has been redesigned, and allows exporting the result > > of a request to a file. > > > > Many new and old controls now provide automatic layout management. > > > > Well, don't forget to read the ChangeLog to see the many other changes and > > bug fixes. > > > > The source is there: > > http://gambas.sf.net/gambas-0.95.tar.bz2 > > > > The Mandrake packages are there: > > http://gambas.sf.net/RPM/MandrakeLinux/i586 > > > > Now, every packager will have to follow the same package arrangement than I > > did for Mandrake, so that distributing gambas applications works. > > Everything is in the gambas.spec.mandrake file located in the spec > > directory of the source package. > > > > Here is a quick explanation: > > > > 'gambas-runtime' is the package that include all necessary stuff to run any > > gambas program. > > > > 'gambas-ide' is the IDE: it includes the database-manager, the > > documentation, and depends only on needed components. Installing > > 'gambas-ide' does not install every component, be careful! > > > > 'gambas-gb-*' are the component packages. There must be one package for > > each component. > > > > Database drivers have their own packages: gambas-gb-db-mysql, ... > > > > I tried to make a void 'gambas' packages that depends on all other > > packages, but it seems I failed :-) > > > > The packages does not depend on already existing Mandrake package, but > > directly on system libraries. This way, the gambas.spec.mandrake file is > > easily portable to SuSE or Fedora. > > > > I invite SuSE and Fedora packager to port this spec file and to see if they > > can easily package Gambas with it. > > > > I invite Debian packager to try alien on Mandrake packages to see if things > > works. > > > > I know that my packaging does not follow Mandrake requirements, but the > > shared libraries made by gambas are not intended to be used by other > > programs than the gambas interpreter. They are not intended to be shared in > > fact, they are just there to save memory... > > > > I hope the dependencies I wrote works. I'm not sure, because my system > > already have all necessary development packages installed. > > > > So I'm waiting for your returns courageous testers! > > > > I think the 1.0 version must be close now :-p > > > > Best regards, > > I made a bug in the IDE, that prevents itself to work when it is installed > with the packages. I fix it as soon as possible... > > -- > Benoit Minisini > mailto:gambas at ...1... > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From roberto.premoli at ...422... Tue Jul 20 14:26:55 2004 From: roberto.premoli at ...422... (Premoli, Roberto [ITPPG/1010]) Date: Tue, 20 Jul 2004 07:26:55 -0500 Subject: [Gambas-user] software developed with gambas Message-ID: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> Hi there! Well, gambas is growing fast! I am asking: someone out there used it to develop a *real* or still only example like snake or tetris? Roberto From neil at ...233... Tue Jul 20 14:28:06 2004 From: neil at ...233... (neil lewis) Date: Tue, 20 Jul 2004 13:28:06 +0100 Subject: [Gambas-user] software developed with gambas In-Reply-To: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> Message-ID: <40FD0FD6.1090706@...233...> Hi Roberto, Yes, I've been using Gambas to develop a very specialised graphics processing application called LILi. This program is intended for creating 3D autostereoscopic images, using a lenticular lens sheet laid over an image which is a composite of two or more source images. These are cut into strips, then reassembled according to settings given for the lens resolution, image size, viewing angle, etc. You can find a (reasonably) up to date version of LILi on sourceforge. I've added a few more tweaks to the interlacing interface recently which have yet to make it to the web site. I'm also working on a "capture" modile for initial setting up of the image set and also an output module for creating suitable pdf, ps or other files for output to commercial printers for volume work. Any suggestions welcome! Neil Lewis. Premoli, Roberto [ITPPG/1010] wrote: >Hi there! > >Well, gambas is growing fast! >I am asking: someone out there used it to develop >a *real* or still only example like snake or tetris? > >Roberto > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From sourceforge-raindog2 at ...94... Tue Jul 20 14:56:42 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 20 Jul 2004 08:56:42 -0400 Subject: [Gambas-user] software developed with gambas In-Reply-To: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> Message-ID: <200407200852.00365.sourceforge-raindog2@...94...> On Tuesday 20 July 2004 08:26, Premoli, Roberto [ITPPG/1010] wrote: > Well, gambas is growing fast! > I am asking: someone out there used it to develop > a *real* or still only example like snake or tetris? I've been using it professionally, writing code for my clients to use in-house, since about version 0.70. I've built a scanner front end, media librarian, a number of database extraction tools, basically the kind of stuff you'd use VB for except I find gambas much easier to get along with. I also wrote "pvrec" which is a "watch while you record" program for the WinTV PVR USB, and you can find that on freshmeat. Gambas is like duct tape for the Linux GUI. I hope that in time the stuff people have been stuck doing in Tcl or similar will get implemented in gambas instead. Since the two examples you mentioned are games, I have implemented the beginnings of a real game in gambas, and posted it to the list recently, but without SDL for video it is unusably slow if you draw the window at modern resolutions. Someday it will be possible, but like VB, gambas is presently best suited for puzzle games if games are what you want to do with gambas. Rob From bundeshund at ...467... Tue Jul 20 17:01:18 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 20 Jul 2004 17:01:18 +0200 Subject: [Gambas-user] software developed with gambas In-Reply-To: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> Message-ID: <200407201701.18551.bundeshund@...467...> Am Dienstag, 20. Juli 2004 14:26 schrieb Premoli, Roberto [ITPPG/1010]: > Hi there! Hi! > > Well, gambas is growing fast! Yes it is. Never had so much fun while programming. In my job I work with an iSeries/AS400 with DB2, programming in ILERPG, or also called RPGLE/RPGIV. So I was very interessted in finding a easy to use language that can comunicate with a sql-database. Looks like I have found it in gambas! I wrote a 'purchase-note'-application just while showing a friend of mine the easy-to-use with gambas. We need 2 hours and the app was ready to use. My friend's eyes were growing, too! > I am asking: someone out there used it to develop > a *real* or still only example like snake or tetris? Yes, I am working on a 'mercantile'-application based on mysql and of course gambas. It's still a early beta-version but you can see to what it will become to. I started by playing with gambas and mysql and this app is the result from this. You can see this in the different code-styles in the source. Gambas looks like it is stable and I want to used it in a production-enviroment. I will see what sort of bugs the 'users' find: More in my application or some in gambas ;) > > Roberto HM From edulopez at ...435... Tue Jul 20 17:12:01 2004 From: edulopez at ...435... (Eduardo Lopez) Date: Tue, 20 Jul 2004 12:12:01 -0300 Subject: [Gambas-user] software developed with gambas In-Reply-To: <200407201701.18551.bundeshund@...467...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407201701.18551.bundeshund@...467...> Message-ID: <40FD3641.8050703@...435...> Hi! Can we see some screenshots? I'm very interested in Gambas and his potential. Thanks!!! Eduardo Hans-Martin Bundeshund wrote: > Am Dienstag, 20. Juli 2004 14:26 schrieb Premoli, Roberto [ITPPG/1010]: > >>Hi there! > > > Hi! > > >>Well, gambas is growing fast! > > > Yes it is. Never had so much fun while programming. In my job I work with an > iSeries/AS400 with DB2, programming in ILERPG, or also called RPGLE/RPGIV. So > I was very interessted in finding a easy to use language that can comunicate > with a sql-database. Looks like I have found it in gambas! > > I wrote a 'purchase-note'-application just while showing a friend of mine the > easy-to-use with gambas. We need 2 hours and the app was ready to use. My > friend's eyes were growing, too! > > >>I am asking: someone out there used it to develop >>a *real* or still only example like snake or tetris? > > > Yes, I am working on a 'mercantile'-application based on mysql and of course > gambas. It's still a early beta-version but you can see to what it will > become to. I started by playing with gambas and mysql and this app is the > result from this. You can see this in the different code-styles in the > source. > > Gambas looks like it is stable and I want to used it in a > production-enviroment. I will see what sort of bugs the 'users' find: More in > my application or some in gambas ;) > > >>Roberto > > > HM > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bundeshund at ...467... Tue Jul 20 17:37:05 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 20 Jul 2004 17:37:05 +0200 Subject: [Gambas-user] software developed with gambas In-Reply-To: <40FD3641.8050703@...435...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407201701.18551.bundeshund@...467...> <40FD3641.8050703@...435...> Message-ID: <200407201737.05447.bundeshund@...467...> Am Dienstag, 20. Juli 2004 17:12 schrieb Eduardo Lopez: > Hi! > > Can we see some screenshots? > > I'm very interested in Gambas and his potential. maybe the best to see the potential of gambas is the gambas-ide! it is written in gambas! HM From bundeshund at ...467... Tue Jul 20 17:39:04 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 20 Jul 2004 17:39:04 +0200 Subject: [Gambas-user] software developed with gambas In-Reply-To: <40FD3641.8050703@...435...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407201701.18551.bundeshund@...467...> <40FD3641.8050703@...435...> Message-ID: <200407201739.04338.bundeshund@...467...> Am Dienstag, 20. Juli 2004 17:12 schrieb Eduardo Lopez: > Hi! > > Can we see some screenshots? I got an message that the screenshot-answer-mail is too big :(( I ll repost it to you by mail. From karl.reinl at ...9... Mon Jul 19 20:09:25 2004 From: karl.reinl at ...9... (Charlie) Date: Mon, 19 Jul 2004 20:09:25 +0200 Subject: [Gambas-user] software developed with gambas References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407201701.18551.bundeshund@...467...> <40FD3641.8050703@...435...> <200407201739.04338.bundeshund@...467...> Message-ID: <40FC0E55.7060507@...9...> Hans-Martin Bundeshund schrieb: >Am Dienstag, 20. Juli 2004 17:12 schrieb Eduardo Lopez: > > >>Hi! >> >>Can we see some screenshots? >> >> >I got an message that the screenshot-answer-mail is too big :(( I ll repost >it to you by mail. > > > use jpg Charlie From edulopez at ...435... Tue Jul 20 18:26:12 2004 From: edulopez at ...435... (Eduardo Lopez) Date: Tue, 20 Jul 2004 13:26:12 -0300 Subject: [Gambas-user] software developed with gambas In-Reply-To: <200407201737.05447.bundeshund@...467...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407201701.18551.bundeshund@...467...> <40FD3641.8050703@...435...> <200407201737.05447.bundeshund@...467...> Message-ID: <40FD47A4.1@...435...> The screenshots came to my mail. They look very impressive!! Thanks Hans!!! Eduardo. Hans-Martin Bundeshund wrote: > Am Dienstag, 20. Juli 2004 17:12 schrieb Eduardo Lopez: > >>Hi! >> >>Can we see some screenshots? >> >>I'm very interested in Gambas and his potential. > > maybe the best to see the potential of gambas is the gambas-ide! it is written > in gambas! > > HM > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From leo.barnhoorn at ...246... Tue Jul 20 18:55:36 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 20 Jul 2004 18:55:36 +0200 Subject: [Gambas-user] Re: Gambas-user digest, Vol 1 #797 - msg 1 In-Reply-To: <40FCD57E.4020709@...466...> References: <40FCD57E.4020709@...466...> Message-ID: <200407201855.36735.leo.barnhoorn@...246...> Hello Luke, Yes it works, thanks Luke. Regards, Leo. On Tuesday 20 July 2004 10:19, Luke Cliff wrote: > Hi Leo, > > I know you asked benoit this problem, > > I found that error when migrating from 0.x to 0.x + from time to time, > > I changed each form (just move a button left a little bit and then back > again so the file has changed, > and one code line in each forms code file (a space somewhere would do > it) and then re-saved the project, this got rid of the error for me. > > Hope this helps > > Regards > Luke > > 1. Signal #11 (Leo Barnhoorn) > > >Message: 1 > > From: Leo Barnhoorn > > >Organization: Magic Systems > >To: gambas-user at lists.sourceforge.net > >Date: Mon, 19 Jul 2004 07:07:57 +0200 > >Subject: [Gambas-user] Signal #11 > >Reply-To: gambas-user at lists.sourceforge.net > > > >Hello Benoit, > > > >If you have received the message aboud the Signal #11, i want to tell that > > i have CATCH the ERROR in my thinking. > > > >Thanks anyway. > > > >Regards, > >Leo. > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bundeshund at ...467... Tue Jul 20 19:20:20 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 20 Jul 2004 19:20:20 +0200 Subject: [Gambas-user] software developed with gambas In-Reply-To: <40FC0E55.7060507@...9...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407201739.04338.bundeshund@...467...> <40FC0E55.7060507@...9...> Message-ID: <200407201920.20160.bundeshund@...467...> Am Montag, 19. Juli 2004 20:09 schrieb Charlie: > Hans-Martin Bundeshund schrieb: > >Am Dienstag, 20. Juli 2004 17:12 schrieb Eduardo Lopez: > >>Hi! > >> > >>Can we see some screenshots? > > > >I got an message that the screenshot-answer-mail is too big :(( I ll > > repost it to you by mail. > > use jpg Yes, you are right, jpg would be smaller. I hope to remember next time :) But I alreday send them and don't want to produce more traffic... The most here wan't to see this screenshots I guess. It's nothing special to see on it, just boring formulars ;) > Charlie HM From gambas at ...1... Tue Jul 20 19:30:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 20 Jul 2004 19:30:08 +0200 Subject: [Gambas-user] Type mismatch. In-Reply-To: <200407200113.22201.leo.barnhoorn@...246...> References: <200407200113.22201.leo.barnhoorn@...246...> Message-ID: <200407201930.08857.gambas@...1...> On Tuesday 20 July 2004 01:13, Leo Barnhoorn wrote: > Hello Benoit, > > I have a Type mismatch: wanted Byte, got String instead. > > CByte > Byte = CByte ( Expression ) > > Converts an expression into a byte. Expression is first converted into an > integer. Then, if this integer overflows the byte range, it is truncated. > > Example PRINT CByte("17") = 17 > > So if i'am not wrong this has to work also, following the explanation > above: > > CByte("&H" & Mid(sHex, i * 2 + 1, 2)) > > But this sets the error : Type mismatch: wanted Byte, got String instead > > For CInt / CInteger the same. > > Thanks for really nice Gamber version 0.95. > > Regards, > Leo. > > This is not a bug. You must use the Val() function to convert a string like "&H7" to a number. CByte() is just a datatype converter. It does not work like in VB - It is more logical :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From bundeshund at ...467... Tue Jul 20 19:30:15 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 20 Jul 2004 19:30:15 +0200 Subject: [Gambas-user] gambas 0.95 In-Reply-To: <200407200018.32900.gambas@...1...> References: <200407192321.20654.gambas@...1...> <200407192358.03632.gambas@...1...> <200407200018.32900.gambas@...1...> Message-ID: <200407201930.15621.bundeshund@...467...> Thanks again Benoit! Very nice work! Looks fantastic. My older apps are working fine after a fast look. Compiling here was no prob, just a pleasure. And: 1.0 is near... When 1.0 appears, I go to my local fish-dealer and buy 2 dozent of gambas to bbq'ing :)) Each gambas covered with garlic and butter... (I am getting hungry now...) HM Am Dienstag, 20. Juli 2004 00:18 schrieb Benoit Minisini: > On Monday 19 July 2004 23:58, Benoit Minisini wrote: > > On Monday 19 July 2004 23:21, Benoit Minisini wrote: > > > Hi everybody, > > > > > > After three days of intense fight with rpm, here is Gambas 0.95! > > > > > > This is a important release, as I provide a complete set of gambas > > > binary packages for MandrakeLinux which is compatible with the packages > > > generated by the Development Environment. This way, Mandrake users will > > > be able to easily test if distributing Gambas applications works - and > > > rocks! :-) > > > > > > The database manager has been redesigned, and allows exporting the > > > result of a request to a file. > > > > > > Many new and old controls now provide automatic layout management. > > > > > > Well, don't forget to read the ChangeLog to see the many other changes > > > and bug fixes. > > > > > > The source is there: > > > http://gambas.sf.net/gambas-0.95.tar.bz2 > > > > > > The Mandrake packages are there: > > > http://gambas.sf.net/RPM/MandrakeLinux/i586 > > > > > > Now, every packager will have to follow the same package arrangement > > > than I did for Mandrake, so that distributing gambas applications > > > works. Everything is in the gambas.spec.mandrake file located in the > > > spec directory of the source package. > > > > > > Here is a quick explanation: > > > > > > 'gambas-runtime' is the package that include all necessary stuff to run > > > any gambas program. > > > > > > 'gambas-ide' is the IDE: it includes the database-manager, the > > > documentation, and depends only on needed components. Installing > > > 'gambas-ide' does not install every component, be careful! > > > > > > 'gambas-gb-*' are the component packages. There must be one package for > > > each component. > > > > > > Database drivers have their own packages: gambas-gb-db-mysql, ... > > > > > > I tried to make a void 'gambas' packages that depends on all other > > > packages, but it seems I failed :-) > > > > > > The packages does not depend on already existing Mandrake package, but > > > directly on system libraries. This way, the gambas.spec.mandrake file > > > is easily portable to SuSE or Fedora. > > > > > > I invite SuSE and Fedora packager to port this spec file and to see if > > > they can easily package Gambas with it. > > > > > > I invite Debian packager to try alien on Mandrake packages to see if > > > things works. > > > > > > I know that my packaging does not follow Mandrake requirements, but the > > > shared libraries made by gambas are not intended to be used by other > > > programs than the gambas interpreter. They are not intended to be > > > shared in fact, they are just there to save memory... > > > > > > I hope the dependencies I wrote works. I'm not sure, because my system > > > already have all necessary development packages installed. > > > > > > So I'm waiting for your returns courageous testers! > > > > > > I think the 1.0 version must be close now :-p > > > > > > Best regards, > > > > I made a bug in the IDE, that prevents itself to work when it is > > installed with the packages. I fix it as soon as possible... > > OK. Fixed. Pfff... > > But if someone could tell me why the menus are not updated after installing > the IDE... > > Good night - It's late... From gambas at ...1... Tue Jul 20 19:37:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 20 Jul 2004 19:37:49 +0200 Subject: [Gambas-user] Problem with gambas 0.95 packages Message-ID: <200407201937.49600.gambas@...1...> I made a big mistake when I made my Mandrake packages: I forgot that I have installed QT 3.3 in my system. Yet Mandrake 10 provides only QT 3.2 So, when you install the packages, and try to launch gambas, you get this error: ERROR: #27: Cannot load component '/usr/lib/gambas/lib.gb.qt.so': /usr/lib/gambas/lib.gb.qt.so: undefined symbol: _ZN9QComboBox4hideEv There are four solutions to this problem: 1) Install qt 3.3 by taking it from cooker (or 10.1 beta). It seems to work and to keep KDE working. 2) Compile from sources. 3) Ask someone with a normal Mandrake 10 to recreate the packages. 4) Wait for me. I think I will certainly find a way to have a QT 3.2 and a QT 3.3 simultaneously on my system, and to choose the right one when making the packages! Sorry for the inconvenience... -- Benoit Minisini mailto:gambas at ...1... From bundeshund at ...467... Tue Jul 20 19:55:32 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 20 Jul 2004 19:55:32 +0200 Subject: [Gambas-user] mysql-user with password over tcp/ip Message-ID: <200407201955.32607.bundeshund@...467...> Salute! Don't know if this is a gambas-question or a mysql-question... I mostly tested my app with a mysql-database running local and a user with a password. All running well. I tested 2 times with my notebook running as a mysql-server, created a user without using a password (I was too lazy to create the password and edit the code too). All run well. Now I created a user on this server with a password. No connection allowed from the client-side. MySQLCC runs well with this user and his password from my client. What I am doing wrong? regards, HM From gambas at ...1... Tue Jul 20 20:14:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 20 Jul 2004 20:14:17 +0200 Subject: [Gambas-user] mysql-user with password over tcp/ip In-Reply-To: <200407201955.32607.bundeshund@...467...> References: <200407201955.32607.bundeshund@...467...> Message-ID: <200407202014.17565.gambas@...1...> On Tuesday 20 July 2004 19:55, Hans-Martin Bundeshund wrote: > Salute! > > Don't know if this is a gambas-question or a mysql-question... > > I mostly tested my app with a mysql-database running local and a user with > a password. All running well. > > I tested 2 times with my notebook running as a mysql-server, created a user > without using a password (I was too lazy to create the password and edit > the code too). All run well. > > Now I created a user on this server with a password. No connection allowed > from the client-side. > > MySQLCC runs well with this user and his password from my client. What I am > doing wrong? > > regards, > > HM > > Did you type "info:mysql" in Konqueror ? More precisely, on mysql, user notion and host notion are mixed, i.e. you create only a user for a particular host. Look at the screenshot: there is a root user for localhost and a root user for localhost.localdomain. So you can connect as root only from these two hosts. All that is well explained in the mysql info documentation... Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: mysql-user.jpg Type: image/jpeg Size: 43743 bytes Desc: not available URL: From lordheavy at ...512... Tue Jul 20 20:51:25 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 20 Jul 2004 20:51:25 +0200 Subject: [Gambas-user] two bugs : in an example Message-ID: <200407202051.25790.lordheavy@...512...> Open the example exec/console, launch it : there's a bug correction : print # $hProcess, sLig -- Laurent Carlier From bundeshund at ...467... Tue Jul 20 20:55:06 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Tue, 20 Jul 2004 20:55:06 +0200 Subject: [Gambas-user] mysql-user with password over tcp/ip In-Reply-To: <200407202014.17565.gambas@...1...> References: <200407201955.32607.bundeshund@...467...> <200407202014.17565.gambas@...1...> Message-ID: <200407202055.06834.bundeshund@...467...> Am Dienstag, 20. Juli 2004 20:14 schrieb Benoit Minisini: > On Tuesday 20 July 2004 19:55, Hans-Martin Bundeshund wrote: > > Salute! > > > > Don't know if this is a gambas-question or a mysql-question... > > > > I mostly tested my app with a mysql-database running local and a user > > with a password. All running well. > > > > I tested 2 times with my notebook running as a mysql-server, created a > > user without using a password (I was too lazy to create the password and > > edit the code too). All run well. > > > > Now I created a user on this server with a password. No connection > > allowed from the client-side. > > > > MySQLCC runs well with this user and his password from my client. What I > > am doing wrong? > > > > regards, > > > > HM > > Did you type "info:mysql" in Konqueror ? > > More precisely, on mysql, user notion and host notion are mixed, i.e. you > create only a user for a particular host. Thanks, and yes, I know. I can easy edit the users password (not the host-entry) with mysqlcc from my client by just blanking the password-filed (only to be sure that _not_ the host-entry is the missing link, I don't change this entry). With a password is set, I can connect to/with this user to the server-db using mysqlcc, but not with gambas, all from the client-pc. Without setting the password, I can connect with all (gambas and of corse mysqlcc from the client-pc) > > Look at the screenshot: there is a root user for localhost and a root user > for localhost.localdomain. So you can connect as root only from these two > hosts. > > All that is well explained in the mysql info documentation... Yes, thanks again, but I guess this is not the problem here, because I can connect using mysqlcc from my client, so the host-spezification has to be right, if I am not thinking wrong. Grrr, my girlfriend now needs the notebook for surfing the web. And she uses _windows_ (brrr). So I test it with the gambas-database-manager tomorrow. > > Regards, HM From jscops at ...11... Tue Jul 20 21:41:40 2004 From: jscops at ...11... (jscops) Date: Tue, 20 Jul 2004 21:41:40 +0200 (CEST) Subject: [Gambas-user] Re: Gambas software Message-ID: <17834458.1090352500947.JavaMail.www@...536...> salut Edouardo , if you want I have some french docs of an accounting software that i'm writing. This program will be in gpl (in one or two years) when it will be finished ( because i have no time). It was write since five month and before i do not know Gambas( i'm a gambas newbie, in english too). Gambas is very easily and very simple, but very good and very "efficace" (in french in the text). -------------- next part -------------- An HTML attachment was scrubbed... URL: From na2492 at ...9... Tue Jul 20 22:34:09 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 20 Jul 2004 22:34:09 00200 Subject: [Gambas-user] mysql-user with password over tcp/ip Message-ID: <40fd81c1.6121.0@...9...> ----------------------------------------- > ......................And she uses >_windows_ (brrr). So I test it with the gambas-database-manager tomorrow. > Salut , found a nice distro Admiral Linux (www.halosoftware.de) which starts from DVD (9.2 GB) KDE 3.1.4 Morzila 1.5 OOo 1.0 etc You can install it on a Windows and start it with the DVD (20 eur). I gave it to my girlfriend , which uses Morzila 1.5 under XP . She found it nice had no problems, ofcourse one here XP was set for one mouseclick and Admiral uses dbl.Click. Only pb the build in modem is a winmodem Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From leo.barnhoorn at ...246... Tue Jul 20 22:46:45 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 20 Jul 2004 22:46:45 +0200 Subject: [Gambas-user] ByteUtils library. Message-ID: <200407202246.45718.leo.barnhoorn@...246...> Hello All, Here the library with the ByteUtilities form Blowfish site. I have 3 libraries to go. Regards, Leo. From leo.barnhoorn at ...246... Tue Jul 20 22:48:11 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Tue, 20 Jul 2004 22:48:11 +0200 Subject: [Gambas-user] ByteUtils library. Message-ID: <200407202248.11015.leo.barnhoorn@...246...> Hello All, Sorry this one has the source code. ======================== Here the library with the ByteUtilities form Blowfish site. I have 3 libraries to go. Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: ByteUtils-0.0.3.tar.gz Type: application/x-tgz Size: 4250 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Tue Jul 20 22:49:50 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 20 Jul 2004 16:49:50 -0400 Subject: [Gambas-user] Problem with gambas 0.95 packages In-Reply-To: <200407201937.49600.gambas@...1...> References: <200407201937.49600.gambas@...1...> Message-ID: <200407201649.50865.sourceforge-raindog2@...94...> On Tuesday 20 July 2004 13:37, Benoit Minisini wrote: > 3) Ask someone with a normal Mandrake 10 to recreate the > packages. I would have already rebuilt the packages (so I can provide 9.2 versions as well) but I can't find the src.rpms. Where did you hide them? Rob From gambas at ...1... Tue Jul 20 23:07:24 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 20 Jul 2004 23:07:24 +0200 Subject: [Gambas-user] Problem with gambas 0.95 packages In-Reply-To: <200407201649.50865.sourceforge-raindog2@...94...> References: <200407201937.49600.gambas@...1...> <200407201649.50865.sourceforge-raindog2@...94...> Message-ID: <200407202307.24306.gambas@...1...> On Tuesday 20 July 2004 22:49, Rob wrote: > On Tuesday 20 July 2004 13:37, Benoit Minisini wrote: > > 3) Ask someone with a normal Mandrake 10 to recreate the > > packages. > > I would have already rebuilt the packages (so I can provide 9.2 > versions as well) but I can't find the src.rpms. Where did you > hide them? > > Rob > Here we are :-) I have downloaded updated binary packages compiled with qt 3.2. You will find them from the download page of the website. Rob: I have uploaded the source package, but be careful: the .spec file in it is specific to my system. You should use the standalone .spec file in the website package directory. Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Wed Jul 21 01:31:34 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Tue, 20 Jul 2004 23:31:34 +0000 Subject: [Gambas-user] why can't I change the lanuage of my gambas ? Message-ID: <200407202331.34112.Karl.Reinl@...9...> Salut, for long time i ignored the possebillity of gambas to be dissplayed in different languages, and within that the IDE (I had pb on my old SuSE 7.2 with the lib) For long time I work now on a gentoo box mostly in english. But I'd like to see gambas in german or an other language, but I wanted it easy. So I dit the following: in gambas (the IDE) I added in Project.module in (see the following lines) PUBLIC SUB Main() DIM sPath AS String DIM hGambas AS FGambas USE "Util" System.Language="de_DE" ' ---------------------- only this line ------- TMP_FILE = Temp$() the upper line, and it works very fine. I have no real reason for aske for that, but choosing the lanuage is a good thing. I used that once for a car indentification Software for spear parts, and it was used by the sellers to communicate with the buyers who ditn't speak german. Even if you may find it usless, and a restart is NOT a reboot ;-) I think it is easy to make it ...NO Amicalement Charlie From lordheavy at ...512... Tue Jul 20 23:40:01 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Tue, 20 Jul 2004 23:40:01 +0200 Subject: [Gambas-user] gambas segfaulting Message-ID: <200407202340.01190.lordheavy@...512...> while pressing the f5 key after a small modif with gentoo ebuild of gambas 0.95 with qt-3.3.2 and kde 3.2.3 here a screenshot - Laurent Carlier -------------- next part -------------- A non-text attachment was scrubbed... Name: capture1.jpg Type: image/jpeg Size: 183334 bytes Desc: not available URL: From gambas at ...1... Tue Jul 20 23:46:50 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 20 Jul 2004 23:46:50 +0200 Subject: [Gambas-user] Re: gambas segfaulting In-Reply-To: <200407202324.54366.lordheavy@...512...> References: <200407202324.54366.lordheavy@...512...> Message-ID: <200407202346.51170.gambas@...1...> On Tuesday 20 July 2004 23:24, Laurent Carlier wrote: > while pressing the f5 key after a small modif > > with gentoo ebuild of gambas 0.95 with qt-3.3.2 and kde 3.2.3 > > here a screenshot > > - > > Laurent Carlier This is not a segfault, this is just a "normal" error in the IDE :-) To fix it, replace the lvwComp_KeyPress function in FCompletion by the following: PUBLIC SUB lvwComp_KeyPress() DIM hEditor AS GambasEditor DIM hForm AS FEditor 'IF Key.Code = Key.Escape THEN ME.Hide hEditor = GetEditor() hEditor.SetFocus hForm = hEditor.Window hForm.edtEditor_KeyPress END ...and rebuild the IDE - Make the executable, and replace /usr/bin/gambas by it. Sorry for the inconvenience, Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Tue Jul 20 23:52:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 20 Jul 2004 23:52:47 +0200 Subject: [Gambas-user] why can't I change the lanuage of my gambas ? In-Reply-To: <200407202331.34112.Karl.Reinl@...9...> References: <200407202331.34112.Karl.Reinl@...9...> Message-ID: <200407202352.47597.gambas@...1...> On Wednesday 21 July 2004 01:31, Charlie Reinl wrote: > Salut, > > for long time i ignored the possebillity of gambas to be dissplayed in > different languages, and within that the IDE (I had pb on my old SuSE 7.2 > with the lib) > For long time I work now on a gentoo box mostly in english. > But I'd like to see gambas in german or an other language, but I wanted it > easy. > So I dit the following: > in gambas (the IDE) I added in Project.module in (see the following lines) > > PUBLIC SUB Main() > > DIM sPath AS String > DIM hGambas AS FGambas > > USE "Util" > System.Language="de_DE" ' ---------------------- only this line > ------- TMP_FILE = Temp$() > > the upper line, and it works very fine. > > I have no real reason for aske for that, but choosing the lanuage is a > good thing. > I used that once for a car indentification Software for spear parts, and it > was used by the sellers to communicate with the buyers who ditn't speak > german. > Even if you may find it usless, and a restart is NOT a reboot ;-) I think > it is easy to make it ...NO > > Amicalement > Charlie > Gambas use the settings located in the LANG, LC_* and LANGUAGES environment variables. If the current language system is not used by any Gambas program, then this is a bug. To help me fixing it, just send me the contents of the previous environment variables before running the gambas program. Regards, -- Benoit Minisini mailto:gambas at ...1... From mardus at ...298... Wed Jul 21 00:28:55 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Tue, 20 Jul 2004 19:28:55 -0300 Subject: [Gambas-user] Re: software developed with gambas In-Reply-To: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> Message-ID: <200407201928.56121.mardus@...298...> El Mar 20 Jul 2004 09:26, Premoli, Roberto [ITPPG/1010] escribi?: |> I am asking: someone out there used it to develop |> a *real* or still only example like snake or tetris? I'm including a screen capture from the system I'm near-to-finish. It's a series of 8 termostats connected in a RS485 line (hardware of my own design). The data and status is pooled by the gambas program and displayed. The next step will be record data in mysql. (In the capture, only one termostat is connected, then the other displays show an "out-of-order" status). -- Para el cierre: --- El Ping?inor?culo sol?a citar: Vive peligrosamente. Instala Windows. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-termos.jpg Type: image/jpeg Size: 42800 bytes Desc: not available URL: From lordheavy at ...512... Wed Jul 21 00:37:58 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 21 Jul 2004 00:37:58 +0200 Subject: [Gambas-user] Re: gambas segfaulting In-Reply-To: <200407202346.51170.gambas@...1...> References: <200407202324.54366.lordheavy@...512...> <200407202346.51170.gambas@...1...> Message-ID: <200407210037.59249.lordheavy@...512...> > > This is not a segfault, this is just a "normal" error in the IDE :-) > > To fix it, replace the lvwComp_KeyPress function in FCompletion by the > following: > > PUBLIC SUB lvwComp_KeyPress() > > DIM hEditor AS GambasEditor > DIM hForm AS FEditor > > 'IF Key.Code = Key.Escape THEN ME.Hide > > hEditor = GetEditor() > hEditor.SetFocus > hForm = hEditor.Window > hForm.edtEditor_KeyPress > > END > > ...and rebuild the IDE - Make the executable, and replace /usr/bin/gambas > by it. > > Sorry for the inconvenience, > > Regards, it doesn't seem to work but this seems to work : PUBLIC SUB lvwComp_KeyPress() DIM hEditor AS GambasEditor DIM hForm AS FEditor 'IF Key.Code = Key.Escape THEN ME.Hide hEditor = GetEditor() hEditor.SetFocus hForm = GetEditor () hForm.edtEditor_KeyPress END Regards, -- Laurent Carlier From lordheavy at ...512... Wed Jul 21 01:16:43 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 21 Jul 2004 01:16:43 +0200 Subject: [Gambas-user] Re: gambas segfaulting In-Reply-To: <200407210037.59249.lordheavy@...512...> References: <200407202324.54366.lordheavy@...512...> <200407202346.51170.gambas@...1...> <200407210037.59249.lordheavy@...512...> Message-ID: <200407210116.43488.lordheavy@...512...> > it doesn't seem to work but this seems to work : > sorry, your code works very well, not mine regards, -- Laurent Carlier From leo.barnhoorn at ...246... Wed Jul 21 03:04:36 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Wed, 21 Jul 2004 03:04:36 +0200 Subject: [Gambas-user] Error after menu editor. Message-ID: <200407210304.36372.leo.barnhoorn@...246...> Hello Benoit, I get a error after editing a menu with the menu editor. Open FMain Open Menu editor do somthing Close Menu editor Save FMain (Error) Connot save file ! /leo/Project/sdm/FMain.form Null object Regards, Leo. From budi at ...415... Wed Jul 21 04:21:46 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 21 Jul 2004 09:21:46 +0700 Subject: [Gambas-user] software developed with gambas In-Reply-To: <200407200852.00365.sourceforge-raindog2@...94...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407200852.00365.sourceforge-raindog2@...94...> Message-ID: Btw rob, "pvrec", is it what i've asked several days ago about capturing image and put into a picture box ? Budi On Tue, 20 Jul 2004 08:56:42 -0400, Rob wrote: > On Tuesday 20 July 2004 08:26, Premoli, Roberto [ITPPG/1010] > wrote: >> Well, gambas is growing fast! >> I am asking: someone out there used it to develop >> a *real* or still only example like snake or tetris? > > I've been using it professionally, writing code for my clients to > use in-house, since about version 0.70. I've built a scanner > front end, media librarian, a number of database extraction > tools, basically the kind of stuff you'd use VB for except I > find gambas much easier to get along with. > > I also wrote "pvrec" which is a "watch while you record" program > for the WinTV PVR USB, and you can find that on freshmeat. > Gambas is like duct tape for the Linux GUI. I hope that in time > the stuff people have been stuck doing in Tcl or similar will > get implemented in gambas instead. > > Since the two examples you mentioned are games, I have > implemented the beginnings of a real game in gambas, and posted > it to the list recently, but without SDL for video it is > unusably slow if you draw the window at modern resolutions. > Someday it will be possible, but like VB, gambas is presently > best suited for puzzle games if games are what you want to do > with gambas. > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Best Regards, Budi Arief Gusandi IT Manager PT. Suar Reka Informatika Bandung - West Java Indonesia From drovar at ...3... Wed Jul 21 05:09:15 2004 From: drovar at ...3... (drovar) Date: Tue, 20 Jul 2004 23:09:15 -0400 Subject: [Gambas-user] mysql dev packages Message-ID: <40FDDE5B.2040505@...3...> I know for the mysql component to work I need to install its development files; but can anyone tell me which packages I need? I have the client & server installed and also installed the only 2 mysql dev packages I could find, neither one was what Gambas was looking for. Or maybe I'm missing something else, any help appreciated. installed: libmysqlclient-dev libmysqlclient10-dev Thanks Carl From sourceforge-raindog2 at ...94... Wed Jul 21 06:15:30 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 21 Jul 2004 00:15:30 -0400 Subject: [Gambas-user] software developed with gambas In-Reply-To: References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407200852.00365.sourceforge-raindog2@...94...> Message-ID: <200407210015.30169.sourceforge-raindog2@...94...> On Tuesday 20 July 2004 22:21, Budi Arief Gusandi wrote: > Btw rob, "pvrec", is it what i've asked several days ago about > capturing image and put into a picture box ? It is the program I referred to in my reply, but as I said then, all I do is open mplayer on a pipe (the PVR USB doesn't capture stills, it captures an MPEG stream.) There was supposed to be a way to "reparent" other windows into a gambas drawing area, but it didn't work at the time and I don't know if it ever got implemented in gb.qt. You can do it in tcl, so it certainly should be possible in gambas. Rob From dev at ...537... Wed Jul 21 07:27:35 2004 From: dev at ...537... (Anton Hummel) Date: Wed, 21 Jul 2004 07:27:35 +0200 Subject: [Gambas-user] mysql dev packages In-Reply-To: <40FDDE5B.2040505@...3...> References: <40FDDE5B.2040505@...3...> Message-ID: <200407210727.35473.dev@...537...> Am Mittwoch, 21. Juli 2004 05:09 schrieb drovar: > I know for the mysql component to work I need to install its development > files; but can anyone tell me which packages I need? I have the client & > server installed and also installed the only 2 mysql dev packages I > could find, neither one was what Gambas was looking for. Or maybe I'm > missing something else, any help appreciated. > > installed: > libmysqlclient-dev > libmysqlclient10-dev On my debian system i used the version 4.0.20-3 of mysql. my System uses: libmysqlclient-dev 4.0.20-3 libmysqlclient12 4.0.20-3 so eventually you must use libmysqlclient10 3.23.56-2 libmysqlclient10-dev 3.23.56-2 just have a look at the output of configure - it shows you if it found the mysql files and where they are bye Anton From girardhenri at ...67... Wed Jul 21 07:46:53 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 21 Jul 2004 07:46:53 +0200 Subject: [Gambas-user] mysql dev packages References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> Message-ID: Hi :) on fc2 it was more tricky... it ask me for some "drivers" ? i have version 3 still... so I install on rpms relative to mysql qt-mysql and then it worked... Sorry i don't remenber all the list of rpms... but i think it the qt is missing that's the problem... Now I use "open carpet" to get all links on rpms... Henri ----- Original Message ----- From: "Anton Hummel" To: Sent: Wednesday, July 21, 2004 7:27 AM Subject: Re: [Gambas-user] mysql dev packages > Am Mittwoch, 21. Juli 2004 05:09 schrieb drovar: > > I know for the mysql component to work I need to install its development > > files; but can anyone tell me which packages I need? I have the client & > > server installed and also installed the only 2 mysql dev packages I > > could find, neither one was what Gambas was looking for. Or maybe I'm > > missing something else, any help appreciated. > > > > installed: > > libmysqlclient-dev > > libmysqlclient10-dev > > On my debian system i used the version 4.0.20-3 of mysql. > my System uses: > libmysqlclient-dev 4.0.20-3 > libmysqlclient12 4.0.20-3 > so eventually you must use > libmysqlclient10 3.23.56-2 > libmysqlclient10-dev 3.23.56-2 > > just have a look at the output of configure - it shows you > if it found the mysql files and where they are > > bye Anton > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From budi at ...415... Wed Jul 21 07:58:37 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 21 Jul 2004 12:58:37 +0700 Subject: [Gambas-user] software developed with gambas In-Reply-To: <200407210015.30169.sourceforge-raindog2@...94...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407200852.00365.sourceforge-raindog2@...94...> <200407210015.30169.sourceforge-raindog2@...94...> Message-ID: Naaa...rob, i can't do it in tcl. Never tried ;) On Wed, 21 Jul 2004 00:15:30 -0400, Rob wrote: > On Tuesday 20 July 2004 22:21, Budi Arief Gusandi wrote: >> Btw rob, "pvrec", is it what i've asked several days ago about >> capturing image and put into a picture box ? > > It is the program I referred to in my reply, but as I said then, > all I do is open mplayer on a pipe (the PVR USB doesn't capture > stills, it captures an MPEG stream.) > > There was supposed to be a way to "reparent" other windows into a > gambas drawing area, but it didn't work at the time and I don't > know if it ever got implemented in gb.qt. You can do it in tcl, > so it certainly should be possible in gambas. > > Rob > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Best Regards, Budi Arief Gusandi IT Manager PT. Suar Reka Informatika Bandung - West Java Indonesia From dev at ...537... Wed Jul 21 08:02:28 2004 From: dev at ...537... (Anton Hummel) Date: Wed, 21 Jul 2004 08:02:28 +0200 Subject: [Gambas-user] mysql dev packages In-Reply-To: References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> Message-ID: <200407210802.28371.dev@...537...> Am Mittwoch, 21. Juli 2004 07:46 schrieb Henri Girard: > Hi :) > on fc2 it was more tricky... it ask me for some "drivers" ? i have version > 3 still... > so I install on rpms relative to mysql qt-mysql and then it worked... Hi Henry I installed the last gambas-094a on fedora 2 personally i use apt and synaptic or sometimes yum on fedora. synaptic helps you with an updateable Archive to find your packages and solves dependences. Anton From girardhenri at ...67... Wed Jul 21 08:14:50 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 21 Jul 2004 08:14:50 +0200 Subject: [Gambas-user] sample data report References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> Message-ID: Hi :) The exaample doesn't work properly with this version or is it only on my PC ? when i connect i have to change application.home with application.path ... when i wanted to display on screen happened something strange... it said webbrowsers1class is not ?? (don't remnber) ... so i stop and went there i change webbrowers1 from move to resize (just to try what would happen) and it works ? surprising ? the about button when press display the error message 'too many arguments " and block the about app i must stop it with xkill if one has got an idea about why this problems ? thanks Henri From rizky at ...225... Wed Jul 21 08:41:43 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Wed, 21 Jul 2004 13:41:43 +0700 Subject: [Gambas-user] sample data report In-Reply-To: References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> Message-ID: <6.0.0.22.2.20040721133818.01d1f590@...329...> At 13:14 21/07/2004, Henri Girard wrote: >Hi :) >The exaample doesn't work properly with this version or is it only on my PC >? >when i connect i have to change application.home with application.path ... >when i wanted to display on screen happened something strange... it said >webbrowsers1class is not ?? (don't remnber) ... >so i stop and went there i change webbrowers1 from move to resize (just to >try what would happen) and it works ? >surprising ? >the about button when press display the error message 'too many arguments " >and block the about app i must stop it with xkill >if one has got an idea about why this problems ? >thanks >Henri hi, yes i know that may be benoit change the gambas syntax or something.. i'll try to fix that example and post again to benoit.... From glist at ...18... Wed Jul 21 08:50:11 2004 From: glist at ...18... (Georg Lutz) Date: Wed, 21 Jul 2004 08:50:11 +0200 Subject: [Gambas-user] RPMs for fedora core Message-ID: <20040721065011.GA2478@...538...> Hi, where I can find RPMs or at least a valid specfile for FC2? The download page says, that "Gambas is in the list of fresh updates for Fedora Core 2". But which repository I have to use? -- Georg From rizky at ...225... Wed Jul 21 09:17:35 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Wed, 21 Jul 2004 14:17:35 +0700 Subject: [Gambas-user] sample data report In-Reply-To: References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> Message-ID: <6.0.0.22.2.20040721141229.01efe710@...329...> At 13:14 21/07/2004, Henri Girard wrote: >Hi :) >The exaample doesn't work properly with this version or is it only on my PC >? >when i connect i have to change application.home with application.path ... this should be system.home >when i wanted to display on screen happened something strange... it said >webbrowsers1class is not ?? (don't remnber) ... >so i stop and went there i change webbrowers1 from move to resize (just to >try what would happen) and it works ? it has fixed >surprising ? >the about button when press display the error message 'too many arguments " >and block the about app i must stop it with xkill >if one has got an idea about why this problems ? if you have a project before gambas0.94 (if i'm not mistake) and you run the project in the newer version, you must rebuild your project... i don't know why... seems i have post this problem to benoit... >thanks >Henri ok.. here is the new complete example... -------------- next part -------------- A non-text attachment was scrubbed... Name: DataReportExample-0.0.1.tar.gz Type: application/octet-stream Size: 14427 bytes Desc: not available URL: From lordheavy at ...512... Wed Jul 21 10:05:08 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 21 Jul 2004 10:05:08 +0200 Subject: [Gambas-user] Error after menu editor. In-Reply-To: <200407210304.36372.leo.barnhoorn@...246...> References: <200407210304.36372.leo.barnhoorn@...246...> Message-ID: <200407211005.08516.lordheavy@...512...> > Connot save file > > /leo/Project/sdm/FMain.form > > Null object > > Regards, > Leo. > i've got the same prob i think it's cioming of "old" object now unsupported now with gambas .95 like slider or panel. my solution : edit your file FMain.form by hand and change the code or remove it (see changelog for object that have changed) regards, -- Laurent Carlier From girardhenri at ...67... Wed Jul 21 12:39:22 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 21 Jul 2004 12:39:22 +0200 Subject: [Gambas-user] mysql dev packages References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> <200407210802.28371.dev@...537...> Message-ID: Yes i do use them too... the problem is it didn't work last time ? apt and yum didn't give me the link that was missing (qt-mysql) but opencarpet did it as they are more providers..; In fact i used the three.. i got better chance to get all dependances so... mysql and mysql-devel were properly install but gambas said it didn't find database drivers and complained as long as i didn't install other dependances.. Henri ----- Original Message ----- From: "Anton Hummel" To: Sent: Wednesday, July 21, 2004 8:02 AM Subject: Re: [Gambas-user] mysql dev packages > Am Mittwoch, 21. Juli 2004 07:46 schrieb Henri Girard: > > Hi :) > > on fc2 it was more tricky... it ask me for some "drivers" ? i have version > > 3 still... > > so I install on rpms relative to mysql qt-mysql and then it worked... > Hi Henry > > I installed the last gambas-094a on fedora 2 > personally i use apt and synaptic or sometimes yum on fedora. > synaptic helps you with an updateable Archive to find your packages > and solves dependences. > > Anton > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From girardhenri at ...67... Wed Jul 21 12:42:41 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 21 Jul 2004 12:42:41 +0200 Subject: [Gambas-user] sample data report References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> <6.0.0.22.2.20040721133818.01d1f590@...329...> Message-ID: Thanks you very much because it's the only good examples i found on database examples to expand it... i think the change has been commited since g92 or 93... as it did it too ... But in g94a i could change the about syntax with rem but now it doesn't work (i agree it's not a good way ! lol) Henri ----- Original Message ----- From: "Rizky Tahara Shita" To: Sent: Wednesday, July 21, 2004 8:41 AM Subject: Re: [Gambas-user] sample data report > At 13:14 21/07/2004, Henri Girard wrote: > >Hi :) > >The exaample doesn't work properly with this version or is it only on my PC > >? > >when i connect i have to change application.home with application.path .. > >when i wanted to display on screen happened something strange... it said > >webbrowsers1class is not ?? (don't remnber) ... > >so i stop and went there i change webbrowers1 from move to resize (just to > >try what would happen) and it works ? > >surprising ? > >the about button when press display the error message 'too many arguments " > >and block the about app i must stop it with xkill > >if one has got an idea about why this problems ? > >thanks > >Henri > > hi, > yes i know that may be benoit change the gambas syntax or something.. > i'll try to fix that example and post again to benoit.... > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From girardhenri at ...67... Wed Jul 21 12:47:06 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 21 Jul 2004 12:47:06 +0200 Subject: [Gambas-user] RPMs for fedora core References: <20040721065011.GA2478@...538...> Message-ID: Well : In fact on the download page it's from olivier website.. which doesn't work.. the only repository who works with gambas is dag (at) (with opencarpet) i don't remenber the link as i am not on linux now) but it's only till 92a ... not yet the recent ones... i am not yet able to make rpms : can't you compile it ? on my two pc with fedora i did it without too many troubles as long as you have a decent compilation environment ? Henri ----- Original Message ----- From: "Georg Lutz" To: Sent: Wednesday, July 21, 2004 8:50 AM Subject: [Gambas-user] RPMs for fedora core > Hi, > > where I can find RPMs or at least a valid specfile for FC2? > > The download page says, that "Gambas is in the list of fresh updates > for Fedora Core 2". But which repository I have to use? > > -- > Georg > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From leo.barnhoorn at ...246... Wed Jul 21 12:59:34 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Wed, 21 Jul 2004 12:59:34 +0200 Subject: [Gambas-user] Error : MySQL Message-ID: <200407211259.34942.leo.barnhoorn@...246...> Hello Nigel, I have a error on a query i do: Unknown field: Grants for leobarn at ...539... If i run the query SHOW GRANTS FOR leobarn at ...40... this works fine. If i run the query SHOW GRANTS FOR leobarn at ...539... then gives the error. user at ...40... works fine. user at ...540... numbers gives a error. Do you have a solution for me. Regards, Leo. From na2492 at ...9... Wed Jul 21 14:11:02 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Wed, 21 Jul 2004 14:11:02 00200 Subject: [Gambas-user] why can't I change the lanuage of my gambas ? Message-ID: <40fe5d56.6509.0@...9...> >On Wednesday 21 July 2004 01:31, Charlie Reinl wrote: >> Salut, >> >> for long time i ignored the possebillity of gambas to be dissplayed in >> different languages, and within that the IDE (I had pb on my old SuSE 7.2 >> with the lib) >> For long time I work now on a gentoo box mostly in english. >> But I'd like to see gambas in german or an other language, but I wanted it >> easy. >> So I dit the following: >> in gambas (the IDE) I added in Project.module in (see the following lines) >> >> PUBLIC SUB Main() >> >> DIM sPath AS String >> DIM hGambas AS FGambas >> >> USE "Util" >> System.Language="de_DE" ' ---------------------- only this line >> ------- TMP_FILE = Temp$() >> >> the upper line, and it works very fine. >> >> I have no real reason for aske for that, but choosing the lanuage is a >> good thing. >> I used that once for a car indentification Software for spear parts, and it >> was used by the sellers to communicate with the buyers who ditn't speak >> german. >> Even if you may find it usless, and a restart is NOT a reboot ;-) I think >> it is easy to make it ...NO >> >> Amicalement >> Charlie >> > >Gambas use the settings located in the LANG, LC_* and LANGUAGES environment >variables. If the current language system is not used by any Gambas program, >then this is a bug. > >To help me fixing it, just send me the contents of the previous environment >variables before running the gambas program. > >Regards, STOP !!!!!!!!! nothings wrong. my box is in english, but I would like to see the possibility to change it to another language in the IDE, WITHOUT changing my local settings ! Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From nigel at ...38... Wed Jul 21 14:28:23 2004 From: nigel at ...38... (Nigel Gerrard) Date: Wed, 21 Jul 2004 13:28:23 +0100 Subject: [Gambas-user] Error : MySQL References: <200407211259.34942.leo.barnhoorn@...246...> Message-ID: <001401c46f1e$38096ba0$6c354c51@...360...> Leo, Is 192.168.1.11 the same as the localhost or are you trying to connect to a different server? Does the user exist? Either use the Gambas Database Manager to check that leobarn at ...539... is there or from mysql: select host, user from mysql.user. If it is, then let me know. I am currently not in a position to link to a service running on another server at the moment. Nigel ----- Original Message ----- From: "Leo Barnhoorn" To: Sent: Wednesday, July 21, 2004 11:59 AM Subject: [Gambas-user] Error : MySQL > Hello Nigel, > > I have a error on a query i do: > > Unknown field: Grants for leobarn at ...539... > > If i run the query SHOW GRANTS FOR leobarn at ...40... this works fine. > If i run the query SHOW GRANTS FOR leobarn at ...539... then gives the error. > > user at ...40... works fine. > user at ...540... numbers gives a error. > > Do you have a solution for me. > > Regards, > Leo. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From leo.barnhoorn at ...246... Wed Jul 21 15:01:37 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Wed, 21 Jul 2004 15:01:37 +0200 Subject: [Gambas-user] Error : MySQL In-Reply-To: <001401c46f1e$38096ba0$6c354c51@...360...> References: <200407211259.34942.leo.barnhoorn@...246...> <001401c46f1e$38096ba0$6c354c51@...360...> Message-ID: <200407211501.37870.leo.barnhoorn@...246...> On Wednesday 21 July 2004 14:28, Nigel Gerrard wrote: > Leo, > > Is 192.168.1.11 the same as the localhost or are you trying to connect to a > different server? > This IP 192.168.1.11 is from the computer i'am working on, this is a user on IP 192.168.1.1 with MySQL Server, so i can connect to it. But GRANTS for leobarn at ...40... on MySQL on IP 192.168.1.1 is no problem i get the information. > > Does the user exist? > The user exist, with Gambas version 0.94a no problem to get the GRANTS for user leobarn at ...539... > > Either use the Gambas Database Manager to check that leobarn at ...539... > is there or > from mysql: select host, user from mysql.user. > The user is there also with Gambas Database Manager, when i do the query with the Gambas Database Manager also een error. > > If it is, then let me know. I am currently not in a position to link to a > service running on another > server at the moment. No problem for that, if you have time. > > Nigel Regards, Leo. > > ----- Original Message ----- > From: "Leo Barnhoorn" > To: > Sent: Wednesday, July 21, 2004 11:59 AM > Subject: [Gambas-user] Error : MySQL > > > Hello Nigel, > > > > I have a error on a query i do: > > > > Unknown field: Grants for leobarn at ...539... > > > > If i run the query SHOW GRANTS FOR leobarn at ...40... this works fine. > > If i run the query SHOW GRANTS FOR leobarn at ...539... then gives the > > error. > > > user at ...40... works fine. > > user at ...540... numbers gives a error. > > > > Do you have a solution for me. > > > > Regards, > > Leo. > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Wed Jul 21 15:01:32 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 21 Jul 2004 09:01:32 -0400 Subject: [Gambas-user] software developed with gambas In-Reply-To: References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407210015.30169.sourceforge-raindog2@...94...> Message-ID: <200407210901.32732.sourceforge-raindog2@...94...> On Wednesday 21 July 2004 01:58, Budi Arief Gusandi wrote: > Naaa...rob, i can't do it in tcl. Never tried ;) Well, *someone* can do it in tcl. I read the man page ;) Rob From glist at ...18... Wed Jul 21 15:17:23 2004 From: glist at ...18... (Georg Lutz) Date: Wed, 21 Jul 2004 15:17:23 +0200 Subject: [Gambas-user] Re: RPMs for fedora core Message-ID: <20040721131723.GB30517@...538...> Sorry, I am not subscribed, so threading might be broken... I can compile gambas on my fc2 - machine, but I prefer a clean RPM-installation. I think, that the mandrake-specfile only needs small changes in the BuildRequires-Section. I am wondering if anyone has already figured out the necessary changes for FC2. Just tried it out (source compiled 0.95) - I am impressed! The only things is, that the IDE is "crashing" from time to time when using the builtin editor. I think it has something to do with the completion function. The error message is: --- This application has raised an unexpected error and must abort. [11] Unknown symbol 'edtEditor_KeyPress' in class 'GambasEditor'. At: FCompletion.IvwComp_KeyPress.352 --- Its a bit strange, because most of the time the completion function is working without problems. -- Georg From leo.barnhoorn at ...246... Wed Jul 21 15:23:48 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Wed, 21 Jul 2004 15:23:48 +0200 Subject: [Gambas-user] Error : MySQL. Message-ID: <200407211523.48051.leo.barnhoorn@...246...> Hello Nigel, I forget to tell that $rData.Field.Name returns the right information, it returns Grants for leobarn at ...539... PUBLIC SUB tbvGrantsUsers_Data(Row AS Integer, Column AS Integer) $rData.MoveTo(Row) ERROR tbvGrantsUsers.Data.Text=Str($rData[tbvGrantsUsers.Columns[Column].Text]) 'tbvGrantsUsers.Data.Text = Str($rData[$rData.Field.Name]) CATCH Message.Error(Error.Text) END From lordheavy at ...512... Wed Jul 21 16:23:32 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Wed, 21 Jul 2004 16:23:32 +0200 Subject: [Gambas-user] Re: RPMs for fedora core In-Reply-To: <20040721131723.GB30517@...538...> References: <20040721131723.GB30517@...538...> Message-ID: <200407211623.32246.lordheavy@...512...> Le mercredi 21 Juillet 2004 15:17, Georg Lutz a ?crit?: > Sorry, I am not subscribed, so threading might be broken... > > I can compile gambas on my fc2 - machine, but I prefer a clean > RPM-installation. I think, that the mandrake-specfile only needs > small changes in the BuildRequires-Section. I am wondering if anyone > has already figured out the necessary changes for FC2. > > Just tried it out (source compiled 0.95) - I am impressed! The only > things is, that the IDE is "crashing" from time to time when using > the builtin editor. I think it has something to do with the > completion function. The error message is: > > --- > This application has raised an unexpected error and must abort. > > [11] Unknown symbol 'edtEditor_KeyPress' in class 'GambasEditor'. > At: FCompletion.IvwComp_KeyPress.352 > --- > > Its a bit strange, because most of the time the completion function is > working without problems. it's a known error, here is the fix from Benoit -------- This is not a segfault, this is just a "normal" error in the IDE :-) To fix it, replace the lvwComp_KeyPress function in FCompletion by the following: PUBLIC SUB lvwComp_KeyPress() DIM hEditor AS GambasEditor DIM hForm AS FEditor 'IF Key.Code = Key.Escape THEN ME.Hide hEditor = GetEditor() hEditor.SetFocus hForm = hEditor.Window hForm.edtEditor_KeyPress END ...and rebuild the IDE - Make the executable, and replace /usr/bin/gambas by it. Sorry for the inconvenience, Regards, -- Benoit Minisini mailto:gambas at ...1... -- Laurent Carlier From girardhenri at ...67... Wed Jul 21 17:35:45 2004 From: girardhenri at ...67... (Henri Girard) Date: Wed, 21 Jul 2004 17:35:45 +0200 Subject: [Gambas-user] Re: RPMs for fedora core References: <20040721131723.GB30517@...538...> Message-ID: I got this message error too with 94.a.. I have it on two pc with fedora and with 95 i had n't yet that message.. well i wait.. if coming i let it know Henri ----- Original Message ----- From: "Georg Lutz" To: Sent: Wednesday, July 21, 2004 3:17 PM Subject: [Gambas-user] Re: RPMs for fedora core > > Sorry, I am not subscribed, so threading might be broken... > > I can compile gambas on my fc2 - machine, but I prefer a clean > RPM-installation. I think, that the mandrake-specfile only needs > small changes in the BuildRequires-Section. I am wondering if anyone > has already figured out the necessary changes for FC2. > > Just tried it out (source compiled 0.95) - I am impressed! The only > things is, that the IDE is "crashing" from time to time when using > the builtin editor. I think it has something to do with the > completion function. The error message is: > > --- > This application has raised an unexpected error and must abort. > > [11] Unknown symbol 'edtEditor_KeyPress' in class 'GambasEditor'. > At: FCompletion.IvwComp_KeyPress.352 > --- > > Its a bit strange, because most of the time the completion function is > working without problems. > > -- > Georg > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From drovar at ...3... Wed Jul 21 18:16:37 2004 From: drovar at ...3... (drovar) Date: Wed, 21 Jul 2004 12:16:37 -0400 Subject: [Gambas-user] mysql dev packages In-Reply-To: <200407210727.35473.dev@...537...> References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> Message-ID: <40FE96E5.2060101@...3...> Anton Hummel wrote: >Am Mittwoch, 21. Juli 2004 05:09 schrieb drovar: > > >>I know for the mysql component to work I need to install its development >>files; but can anyone tell me which packages I need? I have the client & >>server installed and also installed the only 2 mysql dev packages I >>could find, neither one was what Gambas was looking for. Or maybe I'm >>missing something else, any help appreciated. >> >>installed: >>libmysqlclient-dev >>libmysqlclient10-dev >> >> > >On my debian system i used the version 4.0.20-3 of mysql. >my System uses: > libmysqlclient-dev 4.0.20-3 > libmysqlclient12 4.0.20-3 >so eventually you must use > libmysqlclient10 3.23.56-2 > libmysqlclient10-dev 3.23.56-2 > >just have a look at the output of configure - it shows you >if it found the mysql files and where they are > >bye Anton > > Thanks Anton I have version 4.0.13-3 of mysql installed and have installed libmysqlclient-dev 4.0.13-3 libmysqlclient10 3.23.56-2 libmysqlclient12 4.0.13-3 I do have mysql.h in /usr/include/mysql/, the configure just isn't seeing it. I tried the command line "./configure --with-mysql-includes=/usr/include/mysql/" but that didn't work either. Finally I edited "configure.in" and just added the my path: "[GB_FIND(mysql.h my_config.h, /usr/include/mysql /usr/lib /usr/local /opt /usr, include mysql*/include)]," That seems to work, ./configure now finds mysql checking for MySQL driver headers... /usr/include/mysql/ checking for MySQL driver libraries... /usr/lib/ I guess I could have also made a symbolic link from /usr/lib/mysql.h to /usr/include/mysql/mysql.h but since the edit got it working I didn't try. Thanks Carl From dev at ...537... Wed Jul 21 18:38:23 2004 From: dev at ...537... (Anton Hummel) Date: Wed, 21 Jul 2004 18:38:23 +0200 Subject: [Gambas-user] mysql dev packages In-Reply-To: <40FE96E5.2060101@...3...> References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> <40FE96E5.2060101@...3...> Message-ID: <200407211838.23577.dev@...537...> Am Mittwoch, 21. Juli 2004 18:16 schrieb drovar: Hello Carl > I guess I could have also made a symbolic link from /usr/lib/mysql.h to > /usr/include/mysql/mysql.h but since the edit got it working I didn't try. Did you know ./configure --help There is a parameter as example ./configure --with-mysql-includes=/usr/.... --with-mysql-libraries=/usr/... This should help without symlink or path editing bye Anton From drovar at ...3... Wed Jul 21 19:38:40 2004 From: drovar at ...3... (drovar) Date: Wed, 21 Jul 2004 13:38:40 -0400 Subject: [Gambas-user] mysql dev packages In-Reply-To: <200407211838.23577.dev@...537...> References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> <40FE96E5.2060101@...3...> <200407211838.23577.dev@...537...> Message-ID: <40FEAA20.8040202@...3...> Anton Hummel wrote: >Am Mittwoch, 21. Juli 2004 18:16 schrieb drovar: >Hello Carl > > >>I guess I could have also made a symbolic link from /usr/lib/mysql.h to >>/usr/include/mysql/mysql.h but since the edit got it working I didn't try. >> >> > >Did you know ./configure --help >There is a parameter >as example >./configure --with-mysql-includes=/usr/.... --with-mysql-libraries=/usr/... > >This should help without symlink or path editing >bye Anton > > > Yes, I looked through ./configure --help and as I said I tried to set it with a command-line switch. "./configure --with-mysql-includes=/usr/include/mysql/" but probably since I don't really understand the syntax of those switches too well ./configure still wasn't finding mysql. From linus at ...38... Wed Jul 21 21:27:20 2004 From: linus at ...38... (Nigel Gerrard) Date: Wed, 21 Jul 2004 20:27:20 +0100 Subject: [Gambas-user] Error : MySQL In-Reply-To: <200407211501.37870.leo.barnhoorn@...246...> References: <200407211259.34942.leo.barnhoorn@...246...> <001401c46f1e$38096ba0$6c354c51@...360...> <200407211501.37870.leo.barnhoorn@...246...> Message-ID: <1090437341.12345.4.camel@...541...> Leo, Okay I missed something when adding the multitable ability within the driver...not realising that . is a valid character in field names. Attached is a diff file that should be applied: cd ./src/lib/db/mysql copy the attachment main.c.diff to this area. patch main.c main.c.diff Now recompile: make change to root: make install I'll get Benoit to update the distribution. Nigel On Wed, 2004-07-21 at 14:01, Leo Barnhoorn wrote: > On Wednesday 21 July 2004 14:28, Nigel Gerrard wrote: > > Leo, > > > > Is 192.168.1.11 the same as the localhost or are you trying to connect to a > > different server? > > > This IP 192.168.1.11 is from the computer i'am working on, this is a user on > IP 192.168.1.1 with MySQL Server, so i can connect to it. > > But GRANTS for leobarn at ...40... on MySQL on IP 192.168.1.1 is no problem i > get the information. > > > > > Does the user exist? > > > The user exist, with Gambas version 0.94a no problem to get the GRANTS for > user leobarn at ...539... > > > > > Either use the Gambas Database Manager to check that leobarn at ...539... > > is there or > > from mysql: select host, user from mysql.user. > > > The user is there also with Gambas Database Manager, when i do the query with > the Gambas Database Manager also een error. > > > > > If it is, then let me know. I am currently not in a position to link to a > > service running on another > > server at the moment. > No problem for that, if you have time. > > > > > Nigel > > Regards, > Leo. > > > > > > ----- Original Message ----- > > From: "Leo Barnhoorn" > > To: > > Sent: Wednesday, July 21, 2004 11:59 AM > > Subject: [Gambas-user] Error : MySQL > > > > > Hello Nigel, > > > > > > I have a error on a query i do: > > > > > > Unknown field: Grants for leobarn at ...539... > > > > > > If i run the query SHOW GRANTS FOR leobarn at ...40... this works fine. > > > If i run the query SHOW GRANTS FOR leobarn at ...539... then gives the > > > > error. > > > > > user at ...40... works fine. > > > user at ...540... numbers gives a error. > > > > > > Do you have a solution for me. > > > > > > Regards, > > > Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: main.c.diff Type: text/x-patch Size: 415 bytes Desc: not available URL: From linus at ...38... Wed Jul 21 21:31:30 2004 From: linus at ...38... (Nigel Gerrard) Date: Wed, 21 Jul 2004 20:31:30 +0100 Subject: [Gambas-user] mysql dev packages In-Reply-To: <40FEAA20.8040202@...3...> References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> <40FE96E5.2060101@...3...> <200407211838.23577.dev@...537...> <40FEAA20.8040202@...3...> Message-ID: <1090438290.2107.1.camel@...541...> If you had already done ./configure with the invalid paths, you should do a ./reconf before ./configure --with-mysql.... etc. Nigel On Wed, 2004-07-21 at 18:38, drovar wrote: > Anton Hummel wrote: > > >Am Mittwoch, 21. Juli 2004 18:16 schrieb drovar: > >Hello Carl > > > > > >>I guess I could have also made a symbolic link from /usr/lib/mysql.h to > >>/usr/include/mysql/mysql.h but since the edit got it working I didn't try. > >> > >> > > > >Did you know ./configure --help > >There is a parameter > >as example > >./configure --with-mysql-includes=/usr/.... --with-mysql-libraries=/usr/... > > > >This should help without symlink or path editing > >bye Anton > > > > > > > Yes, I looked through ./configure --help and as I said I tried to set it > with a command-line switch. > > "./configure --with-mysql-includes=/usr/include/mysql/" > > but probably since I don't really understand the syntax of those > switches too well ./configure still wasn't finding mysql. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From drovar at ...3... Wed Jul 21 22:05:15 2004 From: drovar at ...3... (drovar) Date: Wed, 21 Jul 2004 16:05:15 -0400 Subject: [Gambas-user] mysql dev packages In-Reply-To: <1090438290.2107.1.camel@...541...> References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> <40FE96E5.2060101@...3...> <200407211838.23577.dev@...537...> <40FEAA20.8040202@...3...> <1090438290.2107.1.camel@...541...> Message-ID: <40FECC7B.5060306@...3...> Nigel Gerrard wrote: >If you had already done ./configure with the invalid paths, you should >do a ./reconf before ./configure --with-mysql.... etc. > >Nigel > > > Yep, I think you're right, I forgot to do the ./reconf. I tried it over again on a new gambas directory and it worked fine. From leo.barnhoorn at ...246... Wed Jul 21 22:46:01 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Wed, 21 Jul 2004 22:46:01 +0200 Subject: [Gambas-user] Error : MySQL In-Reply-To: <1090437341.12345.4.camel@...541...> References: <200407211259.34942.leo.barnhoorn@...246...> <200407211501.37870.leo.barnhoorn@...246...> <1090437341.12345.4.camel@...541...> Message-ID: <200407212246.01500.leo.barnhoorn@...246...> Hello Nigel, Thanks a lot. it works very well now. Regards, Leo. On Wednesday 21 July 2004 21:27, Nigel Gerrard wrote: > Leo, > > Okay I missed something when adding the multitable ability within the > driver...not realising that . is a valid character in field names. > Attached is a diff file that should be applied: > > cd ./src/lib/db/mysql > copy the attachment main.c.diff to this area. > patch main.c main.c.diff > > Now recompile: > make > > change to root: > make install > > I'll get Benoit to update the distribution. > > Nigel > > On Wed, 2004-07-21 at 14:01, Leo Barnhoorn wrote: > > On Wednesday 21 July 2004 14:28, Nigel Gerrard wrote: > > > Leo, > > > > > > Is 192.168.1.11 the same as the localhost or are you trying to connect > > > to a different server? > > > > This IP 192.168.1.11 is from the computer i'am working on, this is a user > > on IP 192.168.1.1 with MySQL Server, so i can connect to it. > > > > But GRANTS for leobarn at ...40... on MySQL on IP 192.168.1.1 is no problem > > i get the information. > > > > > Does the user exist? > > > > The user exist, with Gambas version 0.94a no problem to get the GRANTS > > for user leobarn at ...539... > > > > > Either use the Gambas Database Manager to check that > > > leobarn at ...539... is there or > > > from mysql: select host, user from mysql.user. > > > > The user is there also with Gambas Database Manager, when i do the query > > with the Gambas Database Manager also een error. > > > > > If it is, then let me know. I am currently not in a position to link to > > > a service running on another > > > server at the moment. > > > > No problem for that, if you have time. > > > > > Nigel > > > > Regards, > > Leo. > > > > > ----- Original Message ----- > > > From: "Leo Barnhoorn" > > > To: > > > Sent: Wednesday, July 21, 2004 11:59 AM > > > Subject: [Gambas-user] Error : MySQL > > > > > > > Hello Nigel, > > > > > > > > I have a error on a query i do: > > > > > > > > Unknown field: Grants for leobarn at ...539... > > > > > > > > If i run the query SHOW GRANTS FOR leobarn at ...40... this works fine. > > > > If i run the query SHOW GRANTS FOR leobarn at ...539... then gives > > > > the > > > > > > error. > > > > > > > user at ...40... works fine. > > > > user at ...540... numbers gives a error. > > > > > > > > Do you have a solution for me. > > > > > > > > Regards, > > > > Leo. From genone at ...89... Thu Jul 22 03:11:00 2004 From: genone at ...89... (Marius Mauch) Date: Thu, 22 Jul 2004 03:11:00 +0200 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <200407031007.35168.gambas@...1...> References: <200406251747.53461.gambas@...1...> <20040701200843.1540156e@...388...> <200407031007.35168.gambas@...1...> Message-ID: <20040722031100.068da4ca@...388...> On 07/03/04 Benoit Minisini wrote: > On Thursday 01 July 2004 20:08, Marius Mauch wrote: > > On 06/25/04 Benoit Minisini wrote: > > > Hi, > > > > > > I have just uploaded a updated version of 0.94 that replaces the > > > previous one. > > > > Hmm, did you link gambas-0.94.tar.bz2 to the 0.94a release? It's IMO > > a bad thing if a release tarball with the same name changes, this > > breaks our packaging system for instance (as the md5sum used for > > verification is different). If you don't want anyone to use a broken > > release please remove it, but don't link it to a new one. > > > > Marius > > OK. I won't do that anymore. Hmm, you've just done it again with 0.95 :( Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From leo.barnhoorn at ...246... Thu Jul 22 04:27:54 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Thu, 22 Jul 2004 04:27:54 +0200 Subject: [Gambas-user] Library Radix64. Message-ID: <200407220427.54541.leo.barnhoorn@...246...> Hello all, The library Radix64 for Gambas. Translation from vb code to Gambas. Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: Radix64-0.0.2.tar.gz Type: application/x-tgz Size: 4058 bytes Desc: not available URL: From binoyjones at ...67... Thu Jul 22 07:29:54 2004 From: binoyjones at ...67... (binoy jones) Date: Thu, 22 Jul 2004 10:59:54 +0530 Subject: [Gambas-user] software developed with gambas Message-ID: Hi, I have started developing application project in Gambas with Mysql as backend. Binoy >From: "Premoli, Roberto [ITPPG/1010]" >Reply-To: gambas-user at lists.sourceforge.net >To: "'gambas-user at lists.sourceforge.net'" > >Subject: [Gambas-user] software developed with gambas >Date: Tue, 20 Jul 2004 07:26:55 -0500 > >Hi there! > >Well, gambas is growing fast! >I am asking: someone out there used it to develop >a *real* or still only example like snake or tetris? > >Roberto > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user _________________________________________________________________ Beat the summer heat. http://go.msnserver.com/IN/53030.asp Get the new International Gillette Series Range!! From gambas at ...1... Thu Jul 22 07:56:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 22 Jul 2004 07:56:52 +0200 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <20040722031100.068da4ca@...388...> References: <200406251747.53461.gambas@...1...> <200407031007.35168.gambas@...1...> <20040722031100.068da4ca@...388...> Message-ID: <200407220756.52902.gambas@...1...> On Thursday 22 July 2004 03:11, Marius Mauch wrote: > On 07/03/04 Benoit Minisini wrote: > > On Thursday 01 July 2004 20:08, Marius Mauch wrote: > > > On 06/25/04 Benoit Minisini wrote: > > > > Hi, > > > > > > > > I have just uploaded a updated version of 0.94 that replaces the > > > > previous one. > > > > > > Hmm, did you link gambas-0.94.tar.bz2 to the 0.94a release? It's IMO > > > a bad thing if a release tarball with the same name changes, this > > > breaks our packaging system for instance (as the md5sum used for > > > verification is different). If you don't want anyone to use a broken > > > release please remove it, but don't link it to a new one. > > > > > > Marius > > > > OK. I won't do that anymore. > > Hmm, you've just done it again with 0.95 :( > > Marius Uh ? I don't understand. I didn't release any update of the 0.95... -- Benoit Minisini mailto:gambas at ...1... From bwells at ...475... Thu Jul 22 14:39:43 2004 From: bwells at ...475... (Brant Wells) Date: Thu, 22 Jul 2004 08:39:43 -0400 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <20040701200843.1540156e@...388...> References: <200406251747.53461.gambas@...1...> <20040701200843.1540156e@...388...> Message-ID: <40FFB58F.20808@...475...> Hey Marius: It's easier for the developers to keep track of bugfixes and such. Benoit always links to the current version on the home page of the Gambas Website... (http://gambas.sourceforge.net)... This also makes it easier for end users to identify which version of gambas they have downloaded...0.94 was a good version... but 0.94a is a better version, etc, etc... What kind of packaging problems are you having?? Thanks! ~Brant Marius Mauch wrote: >On 06/25/04 Benoit Minisini wrote: > > > >>Hi, >> >>I have just uploaded a updated version of 0.94 that replaces the >>previous one. >> >> > >Hmm, did you link gambas-0.94.tar.bz2 to the 0.94a release? It's IMO a >bad thing if a release tarball with the same name changes, this breaks >our packaging system for instance (as the md5sum used for verification >is different). If you don't want anyone to use a broken release please >remove it, but don't link it to a new one. > >Marius > > > From genone at ...89... Thu Jul 22 17:01:54 2004 From: genone at ...89... (Marius Mauch) Date: Thu, 22 Jul 2004 17:01:54 +0200 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <200407220756.52902.gambas@...1...> References: <200406251747.53461.gambas@...1...> <200407031007.35168.gambas@...1...> <20040722031100.068da4ca@...388...> <200407220756.52902.gambas@...1...> Message-ID: <20040722170154.6ab83d1a@...388...> On 07/22/04 Benoit Minisini wrote: > On Thursday 22 July 2004 03:11, Marius Mauch wrote: > > Hmm, you've just done it again with 0.95 :( > > > > Marius > > Uh ? I don't understand. I didn't release any update of the 0.95... Hmm, then why do I have two different tarballs for 0.95 on my system? I've attached the diff between them. Sorry if I'm coming off a bit rude here but this is causing problems for our users, see http://bugs.gentoo.org/show_bug.cgi?id=55728 or http://bugs.gentoo.org/show_bug.cgi?id=57835 Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-0.95.diff Type: text/x-patch Size: 1948 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From genone at ...89... Thu Jul 22 17:09:42 2004 From: genone at ...89... (Marius Mauch) Date: Thu, 22 Jul 2004 17:09:42 +0200 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <40FFB58F.20808@...475...> References: <200406251747.53461.gambas@...1...> <20040701200843.1540156e@...388...> <40FFB58F.20808@...475...> Message-ID: <20040722170942.1594acb8@...388...> On 07/22/04 Brant Wells wrote: > Hey Marius: > > It's easier for the developers to keep track of bugfixes and such. > Benoit always links to the current version on the home page of the > Gambas Website... (http://gambas.sourceforge.net)... This also makes > it easier for end users to identify which version of gambas they have > downloaded...0.94 was a good version... but 0.94a is a better version, > > etc, etc... > > What kind of packaging problems are you having?? The problem is that there are different tarballs with exactly the same URL. Portage is using MD5 verification to check for corrupted downloads, now if you silently update the tarball this check will fail. This is a problem for our users. I can fix it in our tree quite easy (although I still have to verify it's "just" a new tarball, not a hacked one), but it shouldn't happen in the first place. Marius -- Public Key at http://www.genone.de/info/gpg-key.pub In the beginning, there was nothing. And God said, 'Let there be Light.' And there was still nothing, but you could see a bit better. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From bundeshund at ...467... Thu Jul 22 17:36:59 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 22 Jul 2004 17:36:59 +0200 Subject: [Gambas-user] gambas 0.95 In-Reply-To: <200407200018.32900.gambas@...1...> References: <200407192321.20654.gambas@...1...> <200407192358.03632.gambas@...1...> <200407200018.32900.gambas@...1...> Message-ID: <200407221736.59579.bundeshund@...467...> Am Dienstag, 20. Juli 2004 00:18 schrieb Benoit Minisini: > On Monday 19 July 2004 23:58, Benoit Minisini wrote: > > On Monday 19 July 2004 23:21, Benoit Minisini wrote: > > > Hi everybody, > > > > > > After three days of intense fight with rpm, here is Gambas 0.95! ... The new design with the debug-control (where you can go step by step) integrated in the project-windows looks tidy and clear. But now by hitting F5 there is no extra debug-window on top. It is a bit unfamiliar to work with the new one (changing to the not too little project-window). With 0.94a I don't have to change the place of the windows so often as I do now, because I can not see all I want to. Maybe this is only at the first times and after a while I will like it. What does the others think of it? regards, HM From gambas at ...1... Thu Jul 22 19:23:02 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 22 Jul 2004 19:23:02 +0200 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <20040722170154.6ab83d1a@...388...> References: <200406251747.53461.gambas@...1...> <200407220756.52902.gambas@...1...> <20040722170154.6ab83d1a@...388...> Message-ID: <200407221923.02915.gambas@...1...> On Thursday 22 July 2004 17:01, Marius Mauch wrote: > On 07/22/04 Benoit Minisini wrote: > > On Thursday 22 July 2004 03:11, Marius Mauch wrote: > > > Hmm, you've just done it again with 0.95 :( > > > > > > Marius > > > > Uh ? I don't understand. I didn't release any update of the 0.95... > > Hmm, then why do I have two different tarballs for 0.95 on my system? > I've attached the diff between them. > Sorry if I'm coming off a bit rude here but this is causing problems for > our users, see > http://bugs.gentoo.org/show_bug.cgi?id=55728 or > http://bugs.gentoo.org/show_bug.cgi?id=57835 > > Marius Strange. Maybe because I uploaded the tar.gz twice because of a mistake. But how did you get the first one ? I deleted it immediately! -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 22 19:25:44 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 22 Jul 2004 19:25:44 +0200 Subject: [Gambas-user] gambas 0.95 In-Reply-To: <200407221736.59579.bundeshund@...467...> References: <200407192321.20654.gambas@...1...> <200407200018.32900.gambas@...1...> <200407221736.59579.bundeshund@...467...> Message-ID: <200407221925.44609.gambas@...1...> On Thursday 22 July 2004 17:36, Hans-Martin Bundeshund wrote: > Am Dienstag, 20. Juli 2004 00:18 schrieb Benoit Minisini: > > On Monday 19 July 2004 23:58, Benoit Minisini wrote: > > > On Monday 19 July 2004 23:21, Benoit Minisini wrote: > > > > Hi everybody, > > > > > > > > After three days of intense fight with rpm, here is Gambas 0.95! > > ... > The new design with the debug-control (where you can go step by step) > integrated in the project-windows looks tidy and clear. > > But now by hitting F5 there is no extra debug-window on top. It is a bit > unfamiliar to work with the new one (changing to the not too little > project-window). The IDE now takes care to not open a code window above the project window, so that the debugging toolbar is visible. It works unless you put your project window in the middle of the screen. Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Thu Jul 22 23:21:24 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 22 Jul 2004 21:21:24 +0000 Subject: [Gambas-user] Predefined constants Message-ID: <200407222121.24889.Karl.Reinl@...9...> Salut Benoit, in you Predefined constants I miss the Language based decimal constant exp. IF Instr("0123456789."),Right(TextBox1.Text,1)) = 0 THEN but the dot isn't everywhere the decimal sign. better would be IF Instr("0123456789" & gb.decimal ),Right(TextBox1.Text,1)) = 0 THEN Amicalement Charlie From Karl.Reinl at ...9... Fri Jul 23 00:04:49 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 22 Jul 2004 22:04:49 +0000 Subject: [Gambas-user] Debug Window Message-ID: <200407222204.49903.Karl.Reinl@...9...> Salut, one Window less is not as bad, but isn't it possible to place the debug Toolbar instead of the editor toolbar? Becaus while debuging I'm in that editor window? Amicalement Charlie From gambas at ...1... Thu Jul 22 22:13:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 22 Jul 2004 22:13:31 +0200 Subject: [Gambas-user] Predefined constants In-Reply-To: <200407222121.24889.Karl.Reinl@...9...> References: <200407222121.24889.Karl.Reinl@...9...> Message-ID: <200407222213.31895.gambas@...1...> On Thursday 22 July 2004 23:21, Charlie Reinl wrote: > Salut Benoit, > > in you Predefined constants > I miss the Language based decimal constant > exp. > IF Instr("0123456789."),Right(TextBox1.Text,1)) = 0 THEN > > but the dot isn't everywhere the decimal sign. So it can't be a constant :-) > > better would be > IF Instr("0123456789" & gb.decimal ),Right(TextBox1.Text,1)) = 0 THEN > > Amicalement > Charlie > As a workaround, you can do 'Mid$(Str$(2.5), 2, 1)' to get it. -- Benoit Minisini mailto:gambas at ...1... From leo.barnhoorn at ...246... Thu Jul 22 23:07:48 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Thu, 22 Jul 2004 23:07:48 +0200 Subject: [Gambas-user] Methods Copy. Message-ID: <200407222307.48338.leo.barnhoorn@...246...> Hello Benoit, Can you tell me how the methode copy works of the Byte[] array. Thanks. Regards, Leo. From leo.barnhoorn at ...246... Thu Jul 22 23:27:03 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Thu, 22 Jul 2004 23:27:03 +0200 Subject: [Gambas-user] INC and DEC. Message-ID: <200407222327.03484.leo.barnhoorn@...246...> Hello Benoit, Is it possible to INC and DEC by a value like. default INC Counter Increments by 1 DEC Counter Decrements by 1 INC Counter, 4 Increments by 4 DEC Counter, 4 Decrements by 4 Regards, Leo. From gambas at ...1... Thu Jul 22 23:52:59 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 22 Jul 2004 23:52:59 +0200 Subject: [Gambas-user] Methods Copy. In-Reply-To: <200407222307.48338.leo.barnhoorn@...246...> References: <200407222307.48338.leo.barnhoorn@...246...> Message-ID: <200407222352.59657.gambas@...1...> On Thursday 22 July 2004 23:07, Leo Barnhoorn wrote: > Hello Benoit, > > Can you tell me how the methode copy works of the Byte[] array. > > Thanks. > > Regards, > Leo. > DIM hOld AS Byte[] DIM hNew AS Byte[] hOld[0] = 1 hNew = hOld.Copy() hNew[0] = 2 PRINT hOld[0] This returns 2. If you don't make a copy, this will return 1. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jul 22 23:53:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 22 Jul 2004 23:53:25 +0200 Subject: [Gambas-user] INC and DEC. In-Reply-To: <200407222327.03484.leo.barnhoorn@...246...> References: <200407222327.03484.leo.barnhoorn@...246...> Message-ID: <200407222353.25894.gambas@...1...> On Thursday 22 July 2004 23:27, Leo Barnhoorn wrote: > Hello Benoit, > > Is it possible to INC and DEC by a value like. > > default INC Counter Increments by 1 > DEC Counter Decrements by 1 > > INC Counter, 4 Increments by 4 > DEC Counter, 4 Decrements by 4 > > Regards, > Leo. > > No. Lazy man :-) -- Benoit Minisini mailto:gambas at ...1... From bwells at ...475... Fri Jul 23 15:58:05 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 23 Jul 2004 09:58:05 -0400 Subject: [Gambas-user] {Filename?} Blowfish Modules Message-ID: <4101196D.9000107@...475...> Warning: This message has had one or more attachments removed Warning: (BlowfishEx.exe, BlowfishEX.zip, Blowfish.exe). Warning: Please read the "VirusWarning.txt" attachment(s) for more information. Hi All... I finally found time to work on the Blowfish modules for Gambas... I got the code ported,but lo-and-behold, there's a problem somewhere that I can't seem to find... What I do, is I encrypt the string "Simple Test" using the key "ABCDEFFE"... and when I decrypt it, it returns "pimpTe T" I know that the code should only return "Simple T" as the return... That's because I haven't implemented any kind of byte padding yet... I've attached the VB Code that I'm trying to port... I appologize for the bad coding, as well... I haven't got a hold of how you do 2d arrays in Gambas yet... so as you'll notice, I've got my own way of working around it... Any posts as to how to do 2d Arrays would be helpful! I have attached the VB source that I am porting from... In the two textboxes on my form... The first one, you enter a Key string... It can be hex, or it can be plain text... The second text box returns the encrypted string... It prints the decoded text in the Console(Debug?) window when you click the Decrypt Button... Any assistance would be great. I'd like to take the Radix64 code and theCRC code submitted by Leo B., and the Base64 code and compile them all into a gambas module... When I get the Blowfish finished, I will add it in. Thanks in advance! ~Brant -------------- next part -------------- This is a message from the MailScanner E-Mail Virus Protection Service ---------------------------------------------------------------------- The original e-mail attachment "BlowfishEX.zip" is on the list of unacceptable attachments for this site and has been replaced by this warning message. If you wish to receive a copy of the original attachment, please e-mail helpdesk and include the whole of this message in your request. Alternatively, you can call them, with the contents of this message to hand when you call. At Fri Jul 23 09:50:16 2004 the virus scanner said: Executable DOS/Windows programs are dangerous in email (BlowfishEx.exe) No programs allowed (BlowfishEx.exe) Executable DOS/Windows programs are dangerous in email (Blowfish.exe) No programs allowed (Blowfish.exe) Note to Help Desk: Look on the MailScanner in /var/spool/MailScanner/quarantine/20040723 (message i6NDo92a007680). -- Postmaster MailScanner thanks transtec Computers for their support -------------- next part -------------- A non-text attachment was scrubbed... Name: gBlowfish-0.0.1.tar.gz Type: application/x-gzip Size: 10308 bytes Desc: not available URL: From bwells at ...475... Fri Jul 23 16:20:11 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 23 Jul 2004 10:20:11 -0400 Subject: [Gambas-user] {Filename?} Blowfish Modules In-Reply-To: <4101196D.9000107@...475...> References: <4101196D.9000107@...475...> Message-ID: <41011E9B.2030005@...475...> Hi Again... First off My appologies to Craig Packard who did the excellent work on the Base64 module. Works like a charm! ;-) The school's email scanner threw out the vbscript file, because it was a .zip... It's attached now as a tarball for those of you who want to look at it... Thanks again... and Sorry... ~Brant Brant Wells wrote: > Hi All... > > I finally found time to work on the Blowfish modules for Gambas... I > got the code ported,but lo-and-behold, there's a problem somewhere > that I can't seem to find... > > What I do, is I encrypt the string "Simple Test" using the key > "ABCDEFFE"... and when I decrypt it, it returns "pimpTe T" > > I know that the code should only return "Simple T" as the return... > That's because I haven't implemented any kind of byte padding yet... > I've attached the VB Code that I'm trying to port... I appologize for > the bad coding, as well... I haven't got a hold of how you do 2d > arrays in Gambas yet... so as you'll notice, I've got my own way of > working around it... > > Any posts as to how to do 2d Arrays would be helpful! I have attached > the VB source that I am porting from... > > In the two textboxes on my form... The first one, you enter a Key > string... It can be hex, or it can be plain text... The second text > box returns the encrypted string... It prints the decoded text in the > Console(Debug?) window when you click the Decrypt Button... Any > assistance would be great. > > I'd like to take the Radix64 code and theCRC code submitted by Leo > B., and the Base64 code and compile them all into a gambas module... > When I get the Blowfish finished, I will add it in. > > Thanks in advance! > ~Brant -------------- next part -------------- A non-text attachment was scrubbed... Name: BlowfishEX.tar.gz Type: application/x-gzip Size: 122880 bytes Desc: not available URL: From bwells at ...475... Fri Jul 23 21:49:09 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 23 Jul 2004 15:49:09 -0400 Subject: [Gambas-user] Gambas Crypto!!!! Message-ID: <41016BB5.2020402@...475...> Hi All!!! I now have the initial release of gCrypto -- the first Gambas Crypto module!!!! :-) Many thanks go to Leo Barnhoorn for the Base64 and CRC codes, and hats off to Craig Packard for the Base64 Codes! The next release will have credits and documents that go with it. The CryptoExample source code has examples of the Base64 & Radix64 encode & decode, as well as CRC-16,24, and 32 examples. NOTE: The USE function *MUST* point to the path of the file if it is not in the same folder as the program you are 'using' it from... ie: if you put the gCrypto executable into /opt/gambas/lib/gambas, then your use line would be: USE "/opt/gambas/lib/gambas/gCrypto" If you download the CryptoExample file, it already has the gCrypto binary file with it... Run it, and let me know what you think... If y'all have any problems or questions, please feel free to let me know. Thanks! ~Brant -------------- next part -------------- A non-text attachment was scrubbed... Name: CryptoExample-0.0.1.tar.gz Type: application/x-gzip Size: 7800 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gCrypto-0.0.8.tar.gz Type: application/x-gzip Size: 16013 bytes Desc: not available URL: From bundeshund at ...467... Sat Jul 24 15:49:35 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sat, 24 Jul 2004 15:49:35 +0200 Subject: [Gambas-user] eG. textbox.text default value Message-ID: <200407241549.35937.bundeshund@...467...> Salute! After I have upgraded to 0.95 I don't have the 'San Serif'-font as default value as I had by 0.94a. Now I have '!Y2KBUG' as default-font... Where does this come from? And can I choose a different for default? regards, HM From bundeshund at ...467... Sat Jul 24 18:26:12 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sat, 24 Jul 2004 18:26:12 +0200 Subject: [Gambas-user] corrected: e.G. textbox.font default value In-Reply-To: <200407241549.35937.bundeshund@...467...> References: <200407241549.35937.bundeshund@...467...> Message-ID: <200407241826.12247.bundeshund@...467...> Not meaning textbox.text meaning textbox.font Am Samstag, 24. Juli 2004 15:49 schrieb Hans-Martin Bundeshund: > Salute! > > After I have upgraded to 0.95 I don't have the 'San Serif'-font as default > value as I had by 0.94a. Now I have '!Y2KBUG' as default-font... > > Where does this come from? And can I choose a different for default? > > regards, > > HM From danielcampos at ...282... Sat Jul 24 20:22:23 2004 From: danielcampos at ...282... (Daniel Campos) Date: Sat, 24 Jul 2004 20:22:23 +0200 Subject: [Gambas-user] Spanish docs again Message-ID: <1090693343.3338.14.camel@...40...> Hi Benoit and Rob: - Benoit, could you add a link to http://wiki.gnulinex.org/gambas and http://gambas.gnulinex.org ? These sites are growing fast and I think they will be important for a lot of spanish and american people... - Rob : sorry for my late reply, I will manage the spanish wiki from gnulinex.org instead of your site, I don't want to give you more work, and I want also to make grow the interest for Gambas and Linex.org in the spanish world. This distribution is a revolution in Spain as it is managed by a regional government, and other regional governments are following their steps, like http://www.guadalinex.org . By now i've been few active in programming tasks, but now that these sites are running I will restart my work with GTK+ component (with the help of Jos? L. Redrejo), and I'll try to complete net.curl component, as It can manage SSL, and more features in the FTP class. Regards, Daniel Campos -- Daniel Campos From leo.barnhoorn at ...246... Sun Jul 25 04:00:12 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 25 Jul 2004 04:00:12 +0200 Subject: [Gambas-user] Blowfish Message-ID: <200407250400.12204.leo.barnhoorn@...246...> Hello Brant, Hier the Blowfish code i'm working on. The Byte encryption and decryption is working. The String encryption and decryption is working The encryption and decryption in Cipher Block Chaining is not ready i'm working on it. I hope you like it. Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: Blowfish-0.0.1.tar.gz Type: application/x-tgz Size: 14461 bytes Desc: not available URL: From leo.barnhoorn at ...246... Sun Jul 25 16:22:31 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Sun, 25 Jul 2004 16:22:31 +0200 Subject: [Gambas-user] Blowfish Message-ID: <200407251622.31406.leo.barnhoorn@...246...> Hello Brant, Here the Blowfish code i'm working on. The Byte encryption and decryption is working. The String encryption and decryption is working The encryption and decryption in Cipher Block Chaining is working. Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: Blowfish-0.0.2.tar.gz Type: application/x-tgz Size: 14569 bytes Desc: not available URL: From bundeshund at ...467... Sun Jul 25 19:50:43 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sun, 25 Jul 2004 19:50:43 +0200 Subject: [Gambas-user] corrected: e.G. textbox.font default value In-Reply-To: <200407241826.12247.bundeshund@...467...> References: <200407241549.35937.bundeshund@...467...> <200407241826.12247.bundeshund@...467...> Message-ID: <200407251950.43705.bundeshund@...467...> Hallo again, it seems not to be a gambas-only problem, so more a system-wide or even a KDE-problem. When I reboot, I get another font or another font-size by random! I asked in alt.linux.suse and only get one answer from a person that had this effect under SuSE 9.0... Strange... So forget about an error in gambas... regards, HM Am Samstag, 24. Juli 2004 18:26 schrieb Hans-Martin Bundeshund: > Not meaning textbox.text meaning textbox.font > > Am Samstag, 24. Juli 2004 15:49 schrieb Hans-Martin Bundeshund: > > Salute! > > > > After I have upgraded to 0.95 I don't have the 'San Serif'-font as > > default value as I had by 0.94a. Now I have '!Y2KBUG' as default-font... > > > > Where does this come from? And can I choose a different for default? > > > > regards, > > > > HM From leo.barnhoorn at ...246... Mon Jul 26 02:15:13 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 26 Jul 2004 02:15:13 +0200 Subject: [Gambas-user] Array Message-ID: <200407260215.13965.leo.barnhoorn@...246...> Hello Benoit, What do i wrong. nPad = 3 FOR i = 1 TO nPad aBytes[8 - i] = nPad NEXT So the last 3 elements has to become 3. element 7 = 0 after FOR NEXT still 0 element 6 = 0 after FOR NEXT still 0 element 5 = 0 after FOR NEXT still 3 When i do it like this: aBytes[7] = nPad now it is 3 aBytes[6] = nPad now it is 3 aBytes[5] = nPad now it is 3 Can you tell me how to solve this. Regards, Leo. From leo.barnhoorn at ...246... Mon Jul 26 03:58:41 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 26 Jul 2004 03:58:41 +0200 Subject: [Gambas-user] Array In-Reply-To: <200407260215.13965.leo.barnhoorn@...246...> References: <200407260215.13965.leo.barnhoorn@...246...> Message-ID: <200407260358.41347.leo.barnhoorn@...246...> Hello Benoit, I have found the problem, again my thinking. It has to be down up Regards, Leo. On Monday 26 July 2004 02:15, Leo Barnhoorn wrote: > Hello Benoit, > > What do i wrong. > > nPad = 3 > > FOR i = 1 TO nPad > aBytes[8 - i] = nPad > NEXT > > So the last 3 elements has to become 3. > element 7 = 0 after FOR NEXT still 0 > element 6 = 0 after FOR NEXT still 0 > element 5 = 0 after FOR NEXT still 3 > > When i do it like this: > aBytes[7] = nPad now it is 3 > aBytes[6] = nPad now it is 3 > aBytes[5] = nPad now it is 3 > > Can you tell me how to solve this. > > Regards, > Leo. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From leo.barnhoorn at ...246... Mon Jul 26 07:10:11 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Mon, 26 Jul 2004 07:10:11 +0200 Subject: [Gambas-user] Blowfish Message-ID: <200407260710.11180.leo.barnhoorn@...246...> Hello Brant, Here the Blowfish code i'm working on. The Byte encryption and decryption is working. The String encryption and decryption is working The encryption and decryption in Cipher Block Chaining is working. The encryption and decryption for files is also working now. Regards, Leo. -------------- next part -------------- A non-text attachment was scrubbed... Name: Blowfish-0.0.3.tar.gz Type: application/x-tgz Size: 72363 bytes Desc: not available URL: From budi at ...415... Mon Jul 26 10:20:04 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Mon, 26 Jul 2004 15:20:04 +0700 Subject: [Gambas-user] MySQL Blob In-Reply-To: <200407251950.43705.bundeshund@...467...> References: <200407241549.35937.bundeshund@...467...> <200407241826.12247.bundeshund@...467...> <200407251950.43705.bundeshund@...467...> Message-ID: Hi... Just try to figure out how to insert Object (picture or binary file) into mySQL Blob via DML ? I try to encode with base64 first (who wrote the code here ? hehehe ;)) before storing it. It works like charm, but the size will be 30% increased. Any other solution to help me pls.... Thanks Budi From stillj7388 at ...159... Mon Jul 26 11:36:58 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Mon, 26 Jul 2004 02:36:58 -0700 Subject: [Gambas-user] corrected: e.G. textbox.font default value In-Reply-To: <200407251950.43705.bundeshund@...467...> References: <200407241549.35937.bundeshund@...467...> <200407241826.12247.bundeshund@...467...> <200407251950.43705.bundeshund@...467...> Message-ID: <4104D0BA.3020008@...159...> Had the same problem with SuSE 9.0 and KDE. When the problem arises, note that kopete will change the background colors of the received messages at random. I love you linux...no matter how strange and weird you get. :-) --j Hans-Martin Bundeshund wrote: > Hallo again, > > it seems not to be a gambas-only problem, so more a system-wide or even a > KDE-problem. When I reboot, I get another font or another font-size by > random! > > I asked in alt.linux.suse and only get one answer from a person that had this > effect under SuSE 9.0... Strange... So forget about an error in gambas... > > regards, > > HM From stillj7388 at ...159... Tue Jul 27 01:24:02 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Mon, 26 Jul 2004 16:24:02 -0700 Subject: [Gambas-user] Progress Bars Message-ID: <41059292.8000500@...159...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I need some assistance with progress bars. I may have missed it, but does the progress bar have a max value property? - --j -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFBBZKSHjK4tqibwtYRAs7JAJ499PIECm6OGRvCiMOHS9572hzJqACeI017 67V/Z9rl1Rwf3seeWOWc5d8= =h2SJ -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: bgm-1.jpg Type: image/jpeg Size: 74504 bytes Desc: not available URL: From gambas at ...1... Tue Jul 27 01:42:34 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 27 Jul 2004 01:42:34 +0200 Subject: [Gambas-user] Progress Bars In-Reply-To: <41059292.8000500@...159...> References: <41059292.8000500@...159...> Message-ID: <200407270142.34610.gambas@...1...> On Tuesday 27 July 2004 01:24, Jeff Stillinger wrote: > I need some assistance with progress bars. I may have missed it, but > does the progress bar have a max value property? > > --j Actually not. The Value of the ProgressBar is a Float between 0.0 and 1.0. I didn't think that somebody could use ProgressBar as a jauge like you did ! You can replace it by two panels, the second (blue) inside the first (normal). Then you will set the width of the inside panel this way: InsidePanel.W = OutsidePanel.ClientW * (CFloat(Value - MinValue) / (MaxValue - MinValue)) -- Benoit Minisini mailto:gambas at ...1... From stillj7388 at ...159... Tue Jul 27 05:10:00 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Mon, 26 Jul 2004 20:10:00 -0700 Subject: [Gambas-user] Progress Bars In-Reply-To: <200407270142.34610.gambas@...1...> References: <41059292.8000500@...159...> <200407270142.34610.gambas@...1...> Message-ID: <4105C788.907@...159...> Thanks a million Benoit. My next step was to use the panel. I got lazy writing RealBasic code under OS X. :-) Thanks again. --j Benoit Minisini wrote: > Actually not. The Value of the ProgressBar is a Float between 0.0 and 1.0. I > didn't think that somebody could use ProgressBar as a jauge like you did ! > > You can replace it by two panels, the second (blue) inside the first (normal). > Then you will set the width of the inside panel this way: > > InsidePanel.W = OutsidePanel.ClientW * (CFloat(Value - MinValue) / (MaxValue > - MinValue)) > From budi at ...415... Tue Jul 27 09:51:13 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 27 Jul 2004 14:51:13 +0700 Subject: [Gambas-user] Gambas Printing In-Reply-To: References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407200852.00365.sourceforge-raindog2@...94...> Message-ID: Dear Benoit, 1. Why the variabel with byte data type still can be assigned with value less dan 0 or more than 255 ? the value return is also strange. I can even assign with boolean value. Dim i as byte i = 10 message.info (i) 'return 10. Correct ! i = True message.info (i) 'return 255 ??? i = -10 message.info (i) 'return 246 ??? 2. How to print text to next line without resupplying X and Y position ? just like in VB : printer.print "Hello", when i try to do the same command, it will print to the next line with the same x pos. How can i do that with draw ? draw.text("test1",100,100) <-- works draw.text("test2") ??? Regards, Budi From gambas at ...1... Tue Jul 27 10:36:58 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 27 Jul 2004 10:36:58 +0200 Subject: [Gambas-user] Gambas Printing In-Reply-To: References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> Message-ID: <200407271036.59294.gambas@...1...> On Tuesday 27 July 2004 09:51, Budi Arief Gusandi wrote: > Dear Benoit, > > 1. Why the variabel with byte data type still can be assigned with value > less dan 0 or more than 255 ? the value return is also strange. I can even > assign with boolean value. > > Dim i as byte > i = 10 > message.info (i) 'return 10. Correct ! > i = True > message.info (i) 'return 255 ??? > i = -10 > message.info (i) 'return 246 ??? Because gambas does not check integer overflow when converting from one type to the other. So, when you convert any integer value to a byte, only the lowest byte is kept. And when you convert TRUE, you get 255 because TRUE is stored as -1 in memory. I don't know how to check overflow after a conversion in C, without doing slow supplementary tests. > > 2. How to print text to next line without resupplying X and Y position ? > just like in VB : printer.print "Hello", when i try to do the same > command, it will print to the next line with the same x pos. How can i do > that with draw ? > > draw.text("test1",100,100) <-- works > draw.text("test2") ??? > Does 'Draw.Text("test1\ntest2", 100, 100)' work ? > > Regards, > > Budi > Regards, -- Benoit Minisini mailto:gambas at ...1... From budi at ...415... Tue Jul 27 10:44:38 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Tue, 27 Jul 2004 15:44:38 +0700 Subject: [Gambas-user] Gambas Printing In-Reply-To: <200407271036.59294.gambas@...1...> References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407271036.59294.gambas@...1...> Message-ID: Oke thanks ;) Btw Will the 1.0 realeased ? is it in the next new year ;) On Tue, 27 Jul 2004 10:36:58 +0200, Benoit Minisini wrote: > On Tuesday 27 July 2004 09:51, Budi Arief Gusandi wrote: >> Dear Benoit, >> >> 1. Why the variabel with byte data type still can be assigned with value >> less dan 0 or more than 255 ? the value return is also strange. I can >> even >> assign with boolean value. >> >> Dim i as byte >> i = 10 >> message.info (i) 'return 10. Correct ! >> i = True >> message.info (i) 'return 255 ??? >> i = -10 >> message.info (i) 'return 246 ??? > > Because gambas does not check integer overflow when converting from one > type > to the other. So, when you convert any integer value to a byte, only the > lowest byte is kept. And when you convert TRUE, you get 255 because TRUE > is > stored as -1 in memory. > > I don't know how to check overflow after a conversion in C, without > doing slow > supplementary tests. > >> >> 2. How to print text to next line without resupplying X and Y position ? >> just like in VB : printer.print "Hello", when i try to do the same >> command, it will print to the next line with the same x pos. How can i >> do >> that with draw ? >> >> draw.text("test1",100,100) <-- works >> draw.text("test2") ??? >> > > Does 'Draw.Text("test1\ntest2", 100, 100)' work ? > >> >> Regards, >> >> Budi >> > > Regards, > -- Best Regards, Budi Arief Gusandi IT Manager PT. Suar Reka Informatika Bandung - West Java Indonesia From gambas at ...1... Tue Jul 27 10:53:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 27 Jul 2004 10:53:43 +0200 Subject: [Gambas-user] Gambas Printing In-Reply-To: References: <1363E3EDDF9E9D44B9F2AD0F8EB20710012D1365@...423...> <200407271036.59294.gambas@...1...> Message-ID: <200407271053.43995.gambas@...1...> On Tuesday 27 July 2004 10:44, Budi Arief Gusandi wrote: > Oke thanks ;) > > Btw Will the 1.0 realeased ? is it in the next new year ;) > > On Tue, 27 Jul 2004 10:36:58 +0200, Benoit Minisini > I don't know. When it is ready ? :-) You can look in the TODO file to see what still must be done. I just hope it won't be like the Linux kernel (0.99a, 0.99b, ... 0.99z...) Regards, -- Benoit Minisini mailto:gambas at ...1... From bwells at ...475... Tue Jul 27 14:52:16 2004 From: bwells at ...475... (Brant Wells) Date: Tue, 27 Jul 2004 08:52:16 -0400 Subject: [Gambas-user] CryptoExample & gCrypto Message-ID: <41065000.4090806@...475...> Hi All: I have here the 2nd version of the gCrypto and CryptoExample files... Hats off again to Leo Barnhoorn for the *working* Blowfish translation! Please email me with any bug reports, or what-not, and I will get them taken care of! Gambas Rox! ~Brant -------------- next part -------------- A non-text attachment was scrubbed... Name: CryptoExample-0.0.2.tar.gz Type: application/x-gzip Size: 17650 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gCrypto-0.0.9.tar.gz Type: application/x-gzip Size: 41969 bytes Desc: not available URL: From oxleyd at ...364... Tue Jul 27 14:53:26 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 27 Jul 2004 14:53:26 +0200 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <41065000.4090806@...475...> Message-ID: <200407271033.i6RAX9Us017583@...364...> Excellent! I haven't tested it yet as my Suse box is broken at the mo, but as soon as it is fixed, I will. 2 questions, 1 - does it encrypt files? 2 - how can we test that it is blowfish encryption, implemented exactly??!!! Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells Sent: 27 July 2004 14:52 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] CryptoExample & gCrypto Hi All: I have here the 2nd version of the gCrypto and CryptoExample files... Hats off again to Leo Barnhoorn for the *working* Blowfish translation! Please email me with any bug reports, or what-not, and I will get them taken care of! Gambas Rox! ~Brant From dev at ...537... Tue Jul 27 15:27:00 2004 From: dev at ...537... (Anton Hummel) Date: Tue, 27 Jul 2004 15:27:00 +0200 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <200407271033.i6RAX9Us017583@...364...> References: <200407271033.i6RAX9Us017583@...364...> Message-ID: <200407271527.00946.dev@...537...> nice work but we are going and working in linux so.... some ideas from an gambas nob why not using mycrypt or libmcrypt or libcryptppp I' m not jet able to give you an native class/function lib but i try but it is possible to use all the native comman utils available in *nix I use kanotix an debian/knoppix clone and with apt-get install mcrypt ; I could use the real tools! my opinion is we could build an native extension using such common available tools. I try to build this, but there are some docs missing about integrate some binary libs to gambas so i have try and error... but you could always use common installed tools over shelling it cheers anton From sspencer at ...493... Tue Jul 27 17:50:47 2004 From: sspencer at ...493... (Steven G. Spencer) Date: Tue, 27 Jul 2004 10:50:47 -0500 Subject: [Gambas-user] Docs / How-to for stupid newbie Message-ID: <1090943447.3948.17.camel@...37...> Greetings list, I used to do some basic programming a lonnnnnnnng time ago. You know, stuff like: 10 [code line] 20 [code line} etc., I'll admit to knowing absolutely nothing about visual basic and not much about Gambas. I've been lurking on this list for a month or so, and I'm just curious if there is a good tutorial out there, documentation or how-to that could help me get started. Thanks in advance. -- Steven G. Spencer From bwells at ...475... Tue Jul 27 18:08:59 2004 From: bwells at ...475... (Brant Wells) Date: Tue, 27 Jul 2004 12:08:59 -0400 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <200407271033.i6RAX9Us017583@...364...> References: <200407271033.i6RAX9Us017583@...364...> Message-ID: <41067E1B.4000208@...475...> Hey Daniel: Leo had the code written in for that in his implementation of blowfish. I haven't implemented it in gCrypto yet, due lack of time. That will be coming in the next release. It should work on purdy much any machine that has Gambas on it... so If you're stuck using another version of linux, feel free to try it out and let me know... ;-) Also, I have done some testing... I am not sure whose implementation of blowfish that Leo ported from [I found several versions for VB]... But the VB code that I have, and the Gambas code that Leo wrote DO NOT operate together... From the looks of it, they are two totally separate monsters. How can you test if it is the blowfish encryption?? I have no clue.... Ha ha ha. I have the encryptions separated into their own classes, so they do not interfere with one another, if that is what you mean. Check out the CryptoExample... It reveals all... well... almost all. Let me know when you have time to check it! Thanks! ~Brant Daniel Oxley wrote: >Excellent! I haven't tested it yet as my Suse box is broken at the mo, but >as soon as it is fixed, I will. > >2 questions, > >1 - does it encrypt files? > >2 - how can we test that it is blowfish encryption, implemented exactly??!!! > >Daniel > > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells >Sent: 27 July 2004 14:52 >To: gambas-user at lists.sourceforge.net >Subject: [Gambas-user] CryptoExample & gCrypto > >Hi All: > >I have here the 2nd version of the gCrypto and CryptoExample files... >Hats off again to Leo Barnhoorn for the *working* Blowfish translation! > >Please email me with any bug reports, or what-not, and I will get them >taken care of! > >Gambas Rox! >~Brant > > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bwells at ...475... Tue Jul 27 18:14:24 2004 From: bwells at ...475... (Brant Wells) Date: Tue, 27 Jul 2004 12:14:24 -0400 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <200407271527.00946.dev@...537...> References: <200407271033.i6RAX9Us017583@...364...> <200407271527.00946.dev@...537...> Message-ID: <41067F60.4040602@...475...> Hey Anton: I actually don't know how to use the native classes yet.. If you get your idea working please post it to the group... Ya never know who will be helped by code that is posted here... I think we put this module together, because several folks had been asking about some kind of Gambas crypto... so this is the beginning result... Please feel free to test it, and let us know the results! Thanks! ~Brant Anton Hummel wrote: >nice work > >but we are going and working in linux so.... > >some ideas from an gambas nob >why not using mycrypt or libmcrypt or libcryptppp > >I' m not jet able to give you an native class/function lib but i try >but it is possible to use all the native comman utils available >in *nix >I use kanotix an debian/knoppix clone >and with apt-get install mcrypt ; I could use the real tools! > >my opinion is we could build an native extension using such common >available tools. > >I try to build this, but there are some docs missing about integrate >some binary libs to gambas so i have try and error... > >but you could always use common installed tools over shelling it >cheers anton > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From bwells at ...475... Tue Jul 27 18:17:55 2004 From: bwells at ...475... (Brant Wells) Date: Tue, 27 Jul 2004 12:17:55 -0400 Subject: [Gambas-user] Docs / How-to for stupid newbie In-Reply-To: <1090943447.3948.17.camel@...37...> References: <1090943447.3948.17.camel@...37...> Message-ID: <41068033.8040501@...475...> Hey Steven: Gambas comes installed with some rather nice examples. Some of them need to be updated for the current Gambas release... but there are a few working ones that can actually help... Have you installed Gambas yet? See Ya! ~Brant Steven G. Spencer wrote: >Greetings list, > >I used to do some basic programming a lonnnnnnnng time ago. You know, >stuff like: > >10 [code line] >20 [code line} >etc., > >I'll admit to knowing absolutely nothing about visual basic and not much >about Gambas. I've been lurking on this list for a month or so, and I'm >just curious if there is a good tutorial out there, documentation or >how-to that could help me get started. > >Thanks in advance. > > From oxleyd at ...364... Tue Jul 27 18:28:22 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Tue, 27 Jul 2004 18:28:22 +0200 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <41067E1B.4000208@...475...> Message-ID: <200407271408.i6RE84Us020627@...364...> Sounds great. I am sure a lot of people appreciate the effort you are making! I would have thought though, that any string encoded using Blowfish could be decrypted on any platform supporting blowfish? Much in the same way that I can encrypt a message on Windows using PGP and GPG on Suse can decrypt it. So, dare I say it, if they are not compatible (your version and Leo's) there may be a bug somewhere. The bigger problem might be tracing it! Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells Sent: 27 July 2004 18:09 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] CryptoExample & gCrypto Hey Daniel: Leo had the code written in for that in his implementation of blowfish. I haven't implemented it in gCrypto yet, due lack of time. That will be coming in the next release. It should work on purdy much any machine that has Gambas on it... so If you're stuck using another version of linux, feel free to try it out and let me know... ;-) Also, I have done some testing... I am not sure whose implementation of blowfish that Leo ported from [I found several versions for VB]... But the VB code that I have, and the Gambas code that Leo wrote DO NOT operate together... From the looks of it, they are two totally separate monsters. How can you test if it is the blowfish encryption?? I have no clue.... Ha ha ha. I have the encryptions separated into their own classes, so they do not interfere with one another, if that is what you mean. Check out the CryptoExample... It reveals all... well... almost all. Let me know when you have time to check it! Thanks! ~Brant Daniel Oxley wrote: >Excellent! I haven't tested it yet as my Suse box is broken at the mo, but >as soon as it is fixed, I will. > >2 questions, > >1 - does it encrypt files? > >2 - how can we test that it is blowfish encryption, implemented exactly??!!! > >Daniel > > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells >Sent: 27 July 2004 14:52 >To: gambas-user at lists.sourceforge.net >Subject: [Gambas-user] CryptoExample & gCrypto > >Hi All: > >I have here the 2nd version of the gCrypto and CryptoExample files... >Hats off again to Leo Barnhoorn for the *working* Blowfish translation! > >Please email me with any bug reports, or what-not, and I will get them >taken care of! > >Gambas Rox! >~Brant > > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From sspencer at ...493... Tue Jul 27 18:30:17 2004 From: sspencer at ...493... (Steven G. Spencer) Date: Tue, 27 Jul 2004 11:30:17 -0500 Subject: [Gambas-user] Docs / How-to for stupid newbie In-Reply-To: <41068033.8040501@...475...> References: <1090943447.3948.17.camel@...37...> <41068033.8040501@...475...> Message-ID: <1090945817.3948.21.camel@...37...> Brant, Thanks for the reply. Yes, I've installed it on my machine at work, but I'm too busy there to really do anything with it. My plan is to get it up on a Linux box at home and spend some quality time with it. Anything to point me in the right direction for getting started is appreciated. Thanks, Steve On Tue, 2004-07-27 at 11:17, Brant Wells wrote: > Hey Steven: > > Gambas comes installed with some rather nice examples. Some of them > need to be updated for the current Gambas release... but there are a > few working ones that can actually help... Have you installed Gambas yet? > > See Ya! > ~Brant > > Steven G. Spencer wrote: > > >Greetings list, > > > >I used to do some basic programming a lonnnnnnnng time ago. You know, > >stuff like: > > > >10 [code line] > >20 [code line} > >etc., > > > >I'll admit to knowing absolutely nothing about visual basic and not much > >about Gambas. I've been lurking on this list for a month or so, and I'm > >just curious if there is a good tutorial out there, documentation or > >how-to that could help me get started. > > > >Thanks in advance. > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Steven G. Spencer From bwells at ...475... Tue Jul 27 19:30:20 2004 From: bwells at ...475... (Brant Wells) Date: Tue, 27 Jul 2004 13:30:20 -0400 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <200407271408.i6RE84Us020627@...364...> References: <200407271408.i6RE84Us020627@...364...> Message-ID: <4106912C.4040506@...475...> Hey Daniel: It's been more everybody else's efforts... I'm just putting it all together. ;-) ... It might be an inconsistency in the version of blowfish that I use, and the one that Leo ported from... I may take another whack at Blowfish, since I have discovered how to do 2d arrays in Gambas now [looking @ Leo's examples...]... Just one strange thing leads to another, this day in age! Daniel Oxley wrote: >Sounds great. I am sure a lot of people appreciate the effort you are >making! > >I would have thought though, that any string encoded using Blowfish could be >decrypted on any platform supporting blowfish? Much in the same way that I >can encrypt a message on Windows using PGP and GPG on Suse can decrypt it. > >So, dare I say it, if they are not compatible (your version and Leo's) there >may be a bug somewhere. The bigger problem might be tracing it! > >Daniel > > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells >Sent: 27 July 2004 18:09 >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] CryptoExample & gCrypto > >Hey Daniel: > >Leo had the code written in for that in his implementation of blowfish. >I haven't implemented it in gCrypto yet, due lack of time. That will be >coming in the next release. It should work on purdy much any machine >that has Gambas on it... so If you're stuck using another version of >linux, feel free to try it out and let me know... ;-) > >Also, I have done some testing... I am not sure whose implementation of >blowfish that Leo ported from [I found several versions for VB]... But >the VB code that I have, and the Gambas code that Leo wrote DO NOT >operate together... From the looks of it, they are two totally separate >monsters. > >How can you test if it is the blowfish encryption?? I have no clue.... >Ha ha ha. I have the encryptions separated into their own classes, so >they do not interfere with one another, if that is what you mean. Check >out the CryptoExample... It reveals all... well... almost all. > >Let me know when you have time to check it! > >Thanks! >~Brant > > From dev at ...537... Tue Jul 27 19:32:57 2004 From: dev at ...537... (Anton Hummel) Date: Tue, 27 Jul 2004 19:32:57 +0200 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <41067F60.4040602@...475...> References: <200407271033.i6RAX9Us017583@...364...> <200407271527.00946.dev@...537...> <41067F60.4040602@...475...> Message-ID: <200407271932.57203.dev@...537...> Am Dienstag, 27. Juli 2004 18:14 schrieb Brant Wells: > Hey Anton: > > I actually don't know how to use the native classes yet.. If you get > your idea working please post it to the group... Ya never know who will > be helped by code that is posted here... I think we put this module > together, because several folks had been asking about some kind of > Gambas crypto... so this is the beginning result... Thanks a lot for your nice work! I will try do get this api translated to gambas but i need some help from Benoit. At first it is powerful to shell these scripts to this powerful native Engines. In my humble opinion they could serve all wishes avail for crypting cheers Anton From dev at ...537... Tue Jul 27 19:38:27 2004 From: dev at ...537... (Anton Hummel) Date: Tue, 27 Jul 2004 19:38:27 +0200 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <4106912C.4040506@...475...> References: <200407271408.i6RE84Us020627@...364...> <4106912C.4040506@...475...> Message-ID: <200407271938.27268.dev@...537...> just a little link or remark about libmcrypt Libmcrypt supports the algorithms: BLOWFISH, TWOFISH, DES, TripleDES, 3-WAY, SAFER-sk64, SAFER-sk128, SAFER+, LOKI97, GOST, RC2, RC6, MARS, IDEA, RIJNDAEL-128 (AES), RIJNDAEL-192, RIJNDAEL-256, SERPENT, CAST-128 (known as CAST5), CAST-256, ARCFOUR and WAKE. Block algorithms can be used in: CBC, ECB, CFB and OFB (8 bit and n bit, where n is the size of the algorithm's block length). The license of libmcrypt is GNU Lesser General Public License. and an commandline util so maybee this could bee the better way (sorry faster way) cheers From c0de3 at ...43... Tue Jul 27 20:29:54 2004 From: c0de3 at ...43... (Craig Packard) Date: Tue, 27 Jul 2004 11:29:54 -0700 (PDT) Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <200407271938.27268.dev@...537...> Message-ID: <20040727182954.53561.qmail@...529...> --- Anton Hummel wrote: > just a little link or remark about libmcrypt > Libmcrypt supports the algorithms: > BLOWFISH, TWOFISH, DES, TripleDES, 3-WAY, > SAFER-sk64, SAFER-sk128, SAFER+, > LOKI97, GOST, RC2, RC6, MARS, IDEA, RIJNDAEL-128 > (AES), RIJNDAEL-192, > RIJNDAEL-256, SERPENT, CAST-128 (known as CAST5), > CAST-256, ARCFOUR and WAKE. > Block algorithms can be used in: CBC, ECB, CFB and > OFB (8 bit and n bit, where > n is the size of the algorithm's block length). > The license of libmcrypt is GNU Lesser General > Public License. > > and an commandline util > > so maybee this could bee the better way > (sorry faster way) > cheers > > > ----------------------------------------------------- Isn't that like saying writing the Gambas IDE in C/C++ would make it faster than writing it in Gambas? I was thinking the idea was to write these things *in* Gambas. . . True, either way would work. The lib way would also add another dependency correct? I think also (a long time ago in this list) part of writing this in Gambas was to "encourage" :) making it so components could be writen in Gambas? Wasn't it? Don't know maybe I was daydreaming again!?! -Craig __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail From dev at ...537... Tue Jul 27 20:45:02 2004 From: dev at ...537... (Anton Hummel) Date: Tue, 27 Jul 2004 20:45:02 +0200 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <20040727182954.53561.qmail@...529...> References: <20040727182954.53561.qmail@...529...> Message-ID: <200407272045.02263.dev@...537...> Am Dienstag, 27. Juli 2004 20:29 schrieb Craig Packard: > Isn't that like saying writing the Gambas IDE in C/C++ > would make it faster than writing it in Gambas? > > I was thinking the idea was to write these things *in* > Gambas. . . True, either way would work. The lib way > would also add another dependency correct? > > I think also (a long time ago in this list) part of > writing this in Gambas was to "encourage" :) making it > so components could be writen in Gambas? Wasn't it? > Don't know maybe I was daydreaming again!?! > > > > -Craig you are right the first step is to make it posible to write real components in gambas I have tried do write some routine for Gambas in C-Language but the amount of time says to me -> write it native in C neverless I like Gambas an i try to port libxml2 to Gambas to solve my daily xml-rpc/soap needs bye Anton From gambasfr at ...11... Tue Jul 27 21:58:50 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Tue, 27 Jul 2004 21:58:50 +0200 Subject: [Gambas-user] Progress Bars In-Reply-To: <200407270142.34610.gambas@...1...> References: <41059292.8000500@...159...> <200407270142.34610.gambas@...1...> Message-ID: <200407272158.50328.gambasfr@...11...> Le mardi 27 Juillet 2004 01:42, Benoit Minisini a ?crit?: > On Tuesday 27 July 2004 01:24, Jeff Stillinger wrote: > > I need some assistance with progress bars. I may have missed it, but > > does the progress bar have a max value property? > > > > --j > > Actually not. The Value of the ProgressBar is a Float between 0.0 and 1.0. > I didn't think that somebody could use ProgressBar as a jauge like you did > ! > > You can replace it by two panels, the second (blue) inside the first > (normal). Then you will set the width of the inside panel this way: > > InsidePanel.W = OutsidePanel.ClientW * (CFloat(Value - MinValue) / > (MaxValue - MinValue)) Hey, it's not a really gambas solution ... For my idea i prefere use the inherit function... I don't remember who wrote gambas, ... not you benoit ? (h?h?) So this class have three new properties : MaxValue MinValue NValue to set the value. ( it replace the value propertie of progressbar, that alway exist). Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: ProgressBar-0.0.1.tar.gz Type: application/x-tgz Size: 950 bytes Desc: not available URL: From stillj7388 at ...159... Tue Jul 27 22:51:03 2004 From: stillj7388 at ...159... (Jeff Stillinger) Date: Tue, 27 Jul 2004 13:51:03 -0700 Subject: [Gambas-user] Progress Bars In-Reply-To: <200407272158.50328.gambasfr@...11...> References: <41059292.8000500@...159...> <200407270142.34610.gambas@...1...> <200407272158.50328.gambasfr@...11...> Message-ID: <4106C037.7020602@...159...> This is how I got lazy with RealBasic and OS X. Also was the thinking behind my question. Here is a screen shot of what I am attempting to reproduce using gambas. StatusBar1.MinValue = 0 StatusBar1.MaxValue = 300 On the lost focus event for the edit boxes. StatusBar1.Value = Val(EditBox1.Text) Label4.Caption = Time(Now) If StatusBar1.Value > 300 Then 'Call a function to calculate immidiate insulin 'dosage and display in seperate window. EndIf The progress bars are only used to display large swings in glucose levels. Most commonly found in felines. What would really be cool is to have a class that is like the old graph object of VB 4.5. Providing bar, pie, and line graphs. This would allow us to trend data. Any data. -- j Bodard Fabien wrote: > Le mardi 27 Juillet 2004 01:42, Benoit Minisini a ?crit : > >>On Tuesday 27 July 2004 01:24, Jeff Stillinger wrote: >> >>>I need some assistance with progress bars. I may have missed it, but >>>does the progress bar have a max value property? >>> >>>--j >> >>Actually not. The Value of the ProgressBar is a Float between 0.0 and 1.0. >>I didn't think that somebody could use ProgressBar as a jauge like you did >>! >> >>You can replace it by two panels, the second (blue) inside the first >>(normal). Then you will set the width of the inside panel this way: >> >> InsidePanel.W = OutsidePanel.ClientW * (CFloat(Value - MinValue) / >>(MaxValue - MinValue)) > > > > Hey, it's not a really gambas solution ... > > For my idea i prefere use the inherit function... > > I don't remember who wrote gambas, ... not you benoit ? (h?h?) > > So this class have three new properties : > > MaxValue > MinValue > > NValue to set the value. ( it replace the value propertie of progressbar, that > alway exist). > > Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: window2-shot1.jpg Type: image/jpeg Size: 68378 bytes Desc: not available URL: From leo.barnhoorn at ...246... Wed Jul 28 01:56:36 2004 From: leo.barnhoorn at ...246... (Leo Barnhoorn) Date: Wed, 28 Jul 2004 01:56:36 +0200 Subject: [Gambas-user] Draw.Rect Message-ID: <200407280156.36771.leo.barnhoorn@...246...> Hello Benoit, Is there a way to disable the border by the rectangle. Regards, Leo. From budi at ...415... Wed Jul 28 06:03:15 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 28 Jul 2004 11:03:15 +0700 Subject: [Gambas-user] Zip and Unzip In-Reply-To: <41067E1B.4000208@...475...> References: <200407271033.i6RAX9Us017583@...364...> <41067E1B.4000208@...475...> Message-ID: Hi.. How can i do zip and unzip via code ? Budi From oxleyd at ...364... Wed Jul 28 09:34:14 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 28 Jul 2004 09:34:14 +0200 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <4106912C.4040506@...475...> Message-ID: <200407280516.i6S5GOUs025278@...364...> What would be a perfect solution would be to have them totally compatible with each other. Once proved that it is a true blowfish implementation we could even hassle Bruce Schneier (who designed it) to mention it on his website like the VB version! Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells Sent: 27 July 2004 19:30 To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] CryptoExample & gCrypto Hey Daniel: It's been more everybody else's efforts... I'm just putting it all together. ;-) ... It might be an inconsistency in the version of blowfish that I use, and the one that Leo ported from... I may take another whack at Blowfish, since I have discovered how to do 2d arrays in Gambas now [looking @ Leo's examples...]... Just one strange thing leads to another, this day in age! Daniel Oxley wrote: >Sounds great. I am sure a lot of people appreciate the effort you are >making! > >I would have thought though, that any string encoded using Blowfish could be >decrypted on any platform supporting blowfish? Much in the same way that I >can encrypt a message on Windows using PGP and GPG on Suse can decrypt it. > >So, dare I say it, if they are not compatible (your version and Leo's) there >may be a bug somewhere. The bigger problem might be tracing it! > >Daniel > > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells >Sent: 27 July 2004 18:09 >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] CryptoExample & gCrypto > >Hey Daniel: > >Leo had the code written in for that in his implementation of blowfish. >I haven't implemented it in gCrypto yet, due lack of time. That will be >coming in the next release. It should work on purdy much any machine >that has Gambas on it... so If you're stuck using another version of >linux, feel free to try it out and let me know... ;-) > >Also, I have done some testing... I am not sure whose implementation of >blowfish that Leo ported from [I found several versions for VB]... But >the VB code that I have, and the Gambas code that Leo wrote DO NOT >operate together... From the looks of it, they are two totally separate >monsters. > >How can you test if it is the blowfish encryption?? I have no clue.... >Ha ha ha. I have the encryptions separated into their own classes, so >they do not interfere with one another, if that is what you mean. Check >out the CryptoExample... It reveals all... well... almost all. > >Let me know when you have time to check it! > >Thanks! >~Brant > > ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From t-goto at ...542... Wed Jul 28 10:00:49 2004 From: t-goto at ...542... (Goto Takeshi) Date: Wed, 28 Jul 2004 17:00:49 +0900 Subject: [Gambas-user] (no subject) Message-ID: <41075D31.4010104@...542...> From budi at ...415... Wed Jul 28 11:14:17 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 28 Jul 2004 16:14:17 +0700 Subject: [Gambas-user] (no subject) In-Reply-To: <41075D31.4010104@...542...> References: <41075D31.4010104@...542...> Message-ID: What are you trying to say ? it's a blank mail ? On Wed, 28 Jul 2004 17:00:49 +0900, Goto Takeshi wrote: > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Best Regards, Budi Arief Gusandi IT Manager PT. Suar Reka Informatika Bandung - West Java Indonesia From bwells at ...475... Wed Jul 28 16:14:31 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 28 Jul 2004 10:14:31 -0400 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <200407280516.i6S5GOUs025278@...364...> References: <200407280516.i6S5GOUs025278@...364...> Message-ID: <4107B4C7.3020300@...475...> Hey Daniel: I agree completely. I think, though, that it will require some extra coding on our part... Linux uses a variety of Character Sets... where Windows uses ASCII or Unicode... Right? I've tried to do some coding witht he CONV$ function, but to no avail... It converts my string to unicode... but when I try to go back to System.Charset, I get a Bad String Conversion or something... In looking at the code that I'm using for the VB, I notice that the VB converts the string to unicode and back... On my system [Mandrake 10] the System.Charset="ISO-8859-1" ... I can CONV$ from ISO8859-1 but I can't CONV$ back to it again. If you [or anyone] has any ideas, please let me know... Thanks! ~Brant Daniel Oxley wrote: >What would be a perfect solution would be to have them totally compatible >with each other. Once proved that it is a true blowfish implementation we >could even hassle Bruce Schneier (who designed it) to mention it on his >website like the VB version! > >Daniel > > >-----Original Message----- >From: gambas-user-admin at lists.sourceforge.net >[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells >Sent: 27 July 2004 19:30 >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] CryptoExample & gCrypto > >Hey Daniel: > >It's been more everybody else's efforts... I'm just putting it all >together. ;-) ... It might be an inconsistency in the version of >blowfish that I use, and the one that Leo ported from... I may take >another whack at Blowfish, since I have discovered how to do 2d arrays >in Gambas now [looking @ Leo's examples...]... Just one strange thing >leads to another, this day in age! > >Daniel Oxley wrote: > > > >>Sounds great. I am sure a lot of people appreciate the effort you are >>making! >> >>I would have thought though, that any string encoded using Blowfish could >> >> >be > > >>decrypted on any platform supporting blowfish? Much in the same way that I >>can encrypt a message on Windows using PGP and GPG on Suse can decrypt it. >> >>So, dare I say it, if they are not compatible (your version and Leo's) >> >> >there > > >>may be a bug somewhere. The bigger problem might be tracing it! >> >>Daniel >> >> >>-----Original Message----- >>From: gambas-user-admin at lists.sourceforge.net >>[mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of Brant Wells >>Sent: 27 July 2004 18:09 >>To: gambas-user at lists.sourceforge.net >>Subject: Re: [Gambas-user] CryptoExample & gCrypto >> >>Hey Daniel: >> >>Leo had the code written in for that in his implementation of blowfish. >>I haven't implemented it in gCrypto yet, due lack of time. That will be >>coming in the next release. It should work on purdy much any machine >>that has Gambas on it... so If you're stuck using another version of >>linux, feel free to try it out and let me know... ;-) >> >>Also, I have done some testing... I am not sure whose implementation of >>blowfish that Leo ported from [I found several versions for VB]... But >>the VB code that I have, and the Gambas code that Leo wrote DO NOT >>operate together... From the looks of it, they are two totally separate >>monsters. >> >>How can you test if it is the blowfish encryption?? I have no clue.... >>Ha ha ha. I have the encryptions separated into their own classes, so >>they do not interfere with one another, if that is what you mean. Check >>out the CryptoExample... It reveals all... well... almost all. >> >>Let me know when you have time to check it! >> >>Thanks! >>~Brant >> >> >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From mathanbox at ...67... Wed Jul 28 18:20:37 2004 From: mathanbox at ...67... (man mathan) Date: Wed, 28 Jul 2004 21:50:37 +0530 Subject: [Gambas-user] Seeking Help - Regarding Installation problem Message-ID: Sir, I have Installed RedHat 9.0 with All Dependency file & also with other Server Packages. When i install the gambas-complete-0.94-1rk-i686.rpm, i showed with Failed dependency error., 1. libcrypto.so.0.9.7 2. libmysqlclient.so.12 3. libsqlite.so.0 4. libssl.so.0.9.7 Similarly, When i install the gambas-0.36-49.rpm package, it gets installed successfully without any warning but at the running time it shows the following errors... ./gambas /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE reply may be sent immediately plz... by mathan _________________________________________________________________ Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join BharatMatrimony.com for free. From mathanbox at ...67... Wed Jul 28 18:19:58 2004 From: mathanbox at ...67... (man mathan) Date: Wed, 28 Jul 2004 21:49:58 +0530 Subject: [Gambas-user] Seeking Help - Regarding Installation problem Message-ID: Sir, I have Installed RedHat 9.0 with All Dependency file & also with other Server Packages. When i install the gambas-complete-0.94-1rk-i686.rpm, i showed with Failed dependency error., 1. libcrypto.so.0.9.7 2. libmysqlclient.so.12 3. libsqlite.so.0 4. libssl.so.0.9.7 Similarly, When i install the gambas-0.36-49.rpm package, it gets installed successfully without any warning but at the running time it shows the following errors... ./gambas /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE reply may be sent immediately plz... _________________________________________________________________ The new MSN toolbar! Your shortcut to the internet! http://toolbar.msn.co.in/ Access a world of convenience! From gambas at ...1... Wed Jul 28 19:58:23 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 28 Jul 2004 19:58:23 +0200 Subject: [Gambas-user] Zip and Unzip In-Reply-To: References: <200407271033.i6RAX9Us017583@...364...> <41067E1B.4000208@...475...> Message-ID: <200407281958.23681.gambas@...1...> On Wednesday 28 July 2004 06:03, Budi Arief Gusandi wrote: > Hi.. > > How can i do zip and unzip via code ? > > > Budi > Why do you want to zip and unzip by code ? There are the two command-line tools zip and unzip. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jul 28 19:58:55 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 28 Jul 2004 19:58:55 +0200 Subject: [Gambas-user] Draw.Rect In-Reply-To: <200407280156.36771.leo.barnhoorn@...246...> References: <200407280156.36771.leo.barnhoorn@...246...> Message-ID: <200407281958.55163.gambas@...1...> On Wednesday 28 July 2004 01:56, Leo Barnhoorn wrote: > Hello Benoit, > > Is there a way to disable the border by the rectangle. > > Regards, > Leo. > > What are you talking about ? -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Jul 28 20:15:27 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 28 Jul 2004 14:15:27 -0400 Subject: [Gambas-user] Draw.Rect In-Reply-To: <200407281958.55163.gambas@...1...> References: <200407280156.36771.leo.barnhoorn@...246...> <200407281958.55163.gambas@...1...> Message-ID: <200407281413.32469.sourceforge-raindog2@...94...> On Wednesday 28 July 2004 13:58, Benoit Minisini wrote: > On Wednesday 28 July 2004 01:56, Leo Barnhoorn wrote: > > Hello Benoit, > > Is there a way to disable the border by the rectangle. > What are you talking about ? I think he is expecting code like this to generate a red rectangle: Draw.Begin(Drawingarea1) Draw.FillColor = 255 Draw.LineWidth = 0 Draw.Rect(10,10,50,50) Draw.End It doesn't, it still draws a 1 pixel line and the rectangle's interior is transparent.. Rob From gambas at ...1... Wed Jul 28 20:24:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 28 Jul 2004 20:24:53 +0200 Subject: [Gambas-user] Draw.Rect In-Reply-To: <200407281413.32469.sourceforge-raindog2@...94...> References: <200407280156.36771.leo.barnhoorn@...246...> <200407281958.55163.gambas@...1...> <200407281413.32469.sourceforge-raindog2@...94...> Message-ID: <200407282024.53719.gambas@...1...> On Wednesday 28 July 2004 20:15, Rob wrote: > On Wednesday 28 July 2004 13:58, Benoit Minisini wrote: > > On Wednesday 28 July 2004 01:56, Leo Barnhoorn wrote: > > > Hello Benoit, > > > Is there a way to disable the border by the rectangle. > > > > What are you talking about ? > > I think he is expecting code like this to generate a red > rectangle: > > Draw.Begin(Drawingarea1) > Draw.FillColor = 255 > Draw.LineWidth = 0 > Draw.Rect(10,10,50,50) > Draw.End > > It doesn't, it still draws a 1 pixel line and the rectangle's > interior is transparent.. > > Rob > You must specify Draw.FillStyle = Fill.Solid and Draw.LineStyle = Line.None -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jul 28 20:29:17 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 28 Jul 2004 20:29:17 +0200 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <4107B4C7.3020300@...475...> References: <200407280516.i6S5GOUs025278@...364...> <4107B4C7.3020300@...475...> Message-ID: <200407282029.17968.gambas@...1...> On Wednesday 28 July 2004 16:14, Brant Wells wrote: > Hey Daniel: > > I agree completely. I think, though, that it will require some extra > coding on our part... Linux uses a variety of Character Sets... where > Windows uses ASCII or Unicode... Right? Not exactly, but this is not the problem :-) > > I've tried to do some coding witht he CONV$ function, but to no > avail... It converts my string to unicode... but when I try to go back > to System.Charset, I get a Bad String Conversion or something... > In looking at the code that I'm using for the VB, I notice that the VB > converts the string to unicode and back... > > On my system [Mandrake 10] the System.Charset="ISO-8859-1" ... I can > CONV$ from ISO8859-1 but I can't CONV$ back to it again. > The two conversions work on my machine, and I have a Mandrake 10 with System.Charset = "ISO-8859-15" (It is ISO-8859-1 with the Euro sign). I tried with my first name :-) in the IDE console window. ?Conv$("beno?t", System.Charset, Desktop.Charset) beno??t ?Conv$("beno??t", Desktop.Charset, System.Charset) beno?t Note that the console window does not use Desktop.Charset but System.Charset to display strings. -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Wed Jul 28 23:09:48 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 28 Jul 2004 21:09:48 +0000 Subject: [Gambas-user] loggin in to gambas-wiki Message-ID: <200407282109.48577.Karl.Reinl@...9...> Salut Rob, whil I don't remember my password, I tried to RESET it , but I'V got 3 times that: Amicalement Charlie Von: MAILER-DAEMON at ...543... (Mail Delivery System) Adresse merken An: Karl.Reinl at ...9... Datum: Wed, 28 Jul 2004 15:00:31 -0400 (EDT) Betreff: Undelivered Mail Returned to Sender Anh?nge: message 1 message 2 This is the Postfix program at host qwertyx1.qwertyx.net. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. For further assistance, please send mail to If you do so, please include this problem report. You can delete your own text from the message returned below. The Postfix program : unknown user: "badmailreject" Reporting-MTA: dns; qwertyx1.qwertyx.net Arrival-Date: Wed, 28 Jul 2004 15:00:31 -0400 (EDT) Final-Recipient: rfc822; badmailreject at ...543... Action: failed Status: 5.0.0 Diagnostic-Code: X-Postfix; unknown user: "badmailreject" Received: by qwertyx1.qwertyx.net (Postfix, from userid 515) id 79B20A237C; Wed, 28 Jul 2004 15:00:31 -0400 (EDT) Received: from hugo.fen-net.de (hugo.fen-net.de [212.204.115.10]) by qwertyx1.qwertyx.net (Postfix) with ESMTP id D4AE7A15F1 for ; Wed, 28 Jul 2004 15:00:30 -0400 (EDT) Received: from dialin-nbg-023.fen-net.de (dialin-nbg-023.fen-net.de [212.204.116.23]) (authenticated bits=0) by hugo.fen-net.de (8.12.11/8.12.11) with ESMTP id i6SIxqgO002475 for ; Wed, 28 Jul 2004 20:59:53 +0200 (MET DST) From: Charlie Reinl Reply-To: Karl.Reinl at ...9... Organization: none To: webmaster at ...544... Subject: Gambas-Wiki Reset Password Date: Wed, 28 Jul 2004 20:58:13 +0000 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200407282058.13305.Karl.Reinl at ...9...> X-Virus-Scanned: clamd / ClamAV version 0.71, clamav-milter version 0.71 X-Virus-Status: Clean X-Spam-Status: No, hits=-2.8 required=5.0 tests=NOSPAM_INC,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL version=2.44 X-Spam-Level: CharlieReinl:******************** ( This was me Charlie) From sourceforge-raindog2 at ...94... Wed Jul 28 22:04:08 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 28 Jul 2004 16:04:08 -0400 Subject: [Gambas-user] loggin in to gambas-wiki In-Reply-To: <200407282109.48577.Karl.Reinl@...9...> References: <200407282109.48577.Karl.Reinl@...9...> Message-ID: <200407281604.08947.sourceforge-raindog2@...94...> On Wednesday 28 July 2004 17:09, Charlie Reinl wrote: > Salut Rob, > whil I don't remember my password, I tried to RESET it , but I'll try to reset it and email you. That "badmailreject" thing is what we forward addresses to when they're so overwhelmed with spam that they're unusable. Apparently someone forwarded webmaster to it, I'll have to find out why. Rob From bwells at ...475... Wed Jul 28 23:05:11 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 28 Jul 2004 17:05:11 -0400 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <200407282029.17968.gambas@...1...> References: <200407280516.i6S5GOUs025278@...364...> <4107B4C7.3020300@...475...> <200407282029.17968.gambas@...1...> Message-ID: <41081507.40503@...475...> Benoit Minisini wrote: >On Wednesday 28 July 2004 16:14, Brant Wells wrote: > > >>Hey Daniel: >> >>I agree completely. I think, though, that it will require some extra >>coding on our part... Linux uses a variety of Character Sets... where >>Windows uses ASCII or Unicode... Right? >> >> > >Not exactly, but this is not the problem :-) > > Brant Says: Do you know what the problem is?? If so... Do tell! :-P<> Benoit Minisini wrote: >The two conversions work on my machine, and I have a Mandrake 10 with >System.Charset = "ISO-8859-15" (It is ISO-8859-1 with the Euro sign). > >I tried with my first name :-) in the IDE console window. > >?Conv$("beno?t", System.Charset, Desktop.Charset) >beno??t >?Conv$("beno??t", Desktop.Charset, System.Charset) >beno?t > >Note that the console window does not use Desktop.Charset but System.Charset >to display strings. > > Brant Says: I get the same thing when I do System.Charset and Desktop.Charset... However, when I get unicode, it does this: ?conv("beno?t",System.Charset,"Unicode") ??b [followed by 11 boxes... unprintable Unicode Chars, I'll assume...] ?conv("??b ","Unicode",System.charset) Syntax error [Again, keep in mind that I assume the spaces after the ??b are unprintable Unicode Chars]... I'm at a loss for ideas as to how to work around this, to just make it work with Windoze... I understand that you are a Busy Man, like all of us, Benoit... But if you could maybe point me in the right direction, I'd really appreciate it!!! oh... btw... How did the production go that you were a part of?? Thanks! ~Brant From gambas at ...1... Wed Jul 28 23:26:25 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 28 Jul 2004 23:26:25 +0200 Subject: [Gambas-user] CryptoExample & gCrypto In-Reply-To: <41081507.40503@...475...> References: <200407280516.i6S5GOUs025278@...364...> <200407282029.17968.gambas@...1...> <41081507.40503@...475...> Message-ID: <200407282326.25316.gambas@...1...> On Wednesday 28 July 2004 23:05, Brant Wells wrote: > Benoit Minisini wrote: > >On Wednesday 28 July 2004 16:14, Brant Wells wrote: > >>Hey Daniel: > >> > >>I agree completely. I think, though, that it will require some extra > >>coding on our part... Linux uses a variety of Character Sets... where > >>Windows uses ASCII or Unicode... Right? > > > >Not exactly, but this is not the problem :-) > > Brant Says: Do you know what the problem is?? If so... Do tell! :-P<> More exactly, Windows use its own proprietary charsets: WINDOWS-936, WINDOWS-1250, WINDOWS-1251, WINDOWS-1252..., and 16 bits Unicode. > > Benoit Minisini wrote: > >The two conversions work on my machine, and I have a Mandrake 10 with > >System.Charset = "ISO-8859-15" (It is ISO-8859-1 with the Euro sign). > > > >I tried with my first name :-) in the IDE console window. > > > >?Conv$("beno?t", System.Charset, Desktop.Charset) > >beno??t > >?Conv$("beno??t", Desktop.Charset, System.Charset) > >beno?t > > > >Note that the console window does not use Desktop.Charset but > > System.Charset to display strings. > > Brant Says: > I get the same thing when I do System.Charset and Desktop.Charset... > However, when I get unicode, it does this: > ?conv("beno?t",System.Charset,"Unicode") > ??b [followed by 11 boxes... unprintable Unicode Chars, I'll assume...] > > ?conv("??b ","Unicode",System.charset) > Syntax error > > [Again, keep in mind that I assume the spaces after the ??b are > unprintable Unicode Chars]... > > I'm at a loss for ideas as to how to work around this, to just make it > work with Windoze... I understand that you are a Busy Man, like all of > us, Benoit... But if you could maybe point me in the right direction, > I'd really appreciate it!!! You can't use Unicode directly with Gambas, because a string including '\0' characters may be arbitrarily stripped while using Conv$() - This should not happened, but I need to investigate to understand that. But as a workaround, you can do the conversion character by character. sStr = Conv$("beno?t", Desktop.Charset, System.Charset) for iInd = 1 to len(sStr) sUnicode = sUnicode & Conv$(Mid$(sStr, iInd, 1), System.Charset, "UNICODELITTLE") next You must convert your string to a charset that uses one byte by characters, because at the moment, Gambas has no functions to manage UTF-8 strings at the character level. And you must use "UNICODELITTLE" to do the conversion. "UNICODE" is 32 bits for each character, and Windows uses 16 bits UNICODE. To know the name of all charsets managed by the system, type "iconv -l" in a shell. Regards, -- Benoit Minisini mailto:gambas at ...1... From binoyjones at ...67... Thu Jul 29 07:21:56 2004 From: binoyjones at ...67... (binoy jones) Date: Thu, 29 Jul 2004 10:51:56 +0530 Subject: [Gambas-user] Seeking Help - Regarding Installation problem Message-ID: Hi, I have never tried rpm packages for gambas. Instead of that I have downloaded .tar for gambas 0.90. I have compiled it it's working fine. If u going for that i will help you. Regards Binoy >From: "man mathan" >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: [Gambas-user] Seeking Help - Regarding Installation problem >Date: Wed, 28 Jul 2004 21:50:37 +0530 > > >Sir, > > I have Installed RedHat 9.0 with All Dependency file & also with other >Server Packages. When i install the gambas-complete-0.94-1rk-i686.rpm, i >showed with Failed dependency error., > > 1. libcrypto.so.0.9.7 > 2. libmysqlclient.so.12 > 3. libsqlite.so.0 > 4. libssl.so.0.9.7 > >Similarly, When i install the gambas-0.36-49.rpm package, it gets installed >successfully without any warning but at the running time it shows the >following errors... > > ./gambas > > /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: >undefined symbol: _ZNSs4_Rep11_S_terminalE > > >reply may be sent immediately plz... > > >by >mathan > >_________________________________________________________________ >Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join >BharatMatrimony.com for free. > > > >------------------------------------------------------- >This SF.Net email is sponsored by BEA Weblogic Workshop >FREE Java Enterprise J2EE developer tools! >Get your free copy of BEA WebLogic Workshop 8.1 today. >http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user _________________________________________________________________ The all new MSN Messenger! Chat with any e-mail ID! http://server1.msn.co.in/sp04/messenger/ Change the way you communicate! From budi at ...415... Thu Jul 29 12:20:21 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Thu, 29 Jul 2004 17:20:21 +0700 Subject: [Gambas-user] Is it OKE ? In-Reply-To: <6.0.0.22.2.20040721141229.01efe710@...329...> References: <40FDDE5B.2040505@...3...> <200407210727.35473.dev@...537...> <6.0.0.22.2.20040721141229.01efe710@...329...> Message-ID: Hi Benoit, Is it oke if i change gambas shrimp logo to another color and have it printed on my card name ;) I'm really glad now to have gambas on it.. Thanks, Budi From gambas at ...1... Thu Jul 29 19:40:46 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 29 Jul 2004 19:40:46 +0200 Subject: [Gambas-user] Is it OKE ? In-Reply-To: References: <40FDDE5B.2040505@...3...> <6.0.0.22.2.20040721141229.01efe710@...329...> Message-ID: <200407291940.46333.gambas@...1...> On Thursday 29 July 2004 12:20, Budi Arief Gusandi wrote: > Hi Benoit, > > Is it oke if i change gambas shrimp logo to another color and have it > printed on my card name ;) > I'm really glad now to have gambas on it.. > > Thanks, > > Budi > Why ? You don't like blue ? :-) The logo has been made by Fabien Bodard. If he agrees, no problem! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambasfr at ...11... Thu Jul 29 22:07:30 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Thu, 29 Jul 2004 22:07:30 +0200 Subject: [Gambas-user] Is it OKE ? In-Reply-To: References: <40FDDE5B.2040505@...3...> <6.0.0.22.2.20040721141229.01efe710@...329...> Message-ID: <200407292207.30911.gambasfr@...11...> Le jeudi 29 Juillet 2004 12:20, Budi Arief Gusandi a ?crit?: > Hi Benoit, > > Is it oke if i change gambas shrimp logo to another color and have it > printed on my card name ;) > I'm really glad now to have gambas on it.. > > Thanks, > > Budi > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user yes Benoit have a good question why not blue ? If it's just to sp?cify that you use gambas.. i prefer you to use the blue color... It's the color that benoit give to his first logo... so now for me it's by default the color of the logo of gambas... In other case, if it's to have your own logo... why not ...pink ? (the logo is free to use in all gambas activity, programme, and all thing in rellation with the gambas language and now communauty ;) Send us the result of your modify please. Nevertheless, i 'll be really happy that somebody send us a 3d version of my gambas... Maybe a small evolution for the 1.0 version will be sympatic... but always on the existing bases. Mabe i'll add a gallery for that in my site... in a month... Before that you can send me directly your creation at abidoo.too at ...545... At less the better will be to give a better image sequence to the mascote.... i know, i know, since two year i say, i'm going to do that... But i'm alway winegrower, i've alway, lot of work, and now i work for a new time to the gambas users web site... Thank for all Fabien Bodard From lordheavy at ...512... Thu Jul 29 23:56:36 2004 From: lordheavy at ...512... (Laurent Carlier) Date: Thu, 29 Jul 2004 23:56:36 +0200 Subject: [Gambas-user] multicolor textview or textarea Message-ID: <200407292356.36470.lordheavy@...512...> Is there a way to make a multicolorized text in a textview or textarea ? the forecolor property change all the text inside ! thanks -- Laurent Carlier From budi at ...415... Fri Jul 30 05:01:06 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Fri, 30 Jul 2004 10:01:06 +0700 Subject: FABIAN :: Re: [Gambas-user] Is it OKE ? In-Reply-To: <200407291940.46333.gambas@...1...> References: <40FDDE5B.2040505@...3...> <6.0.0.22.2.20040721141229.01efe710@...329...> <200407291940.46333.gambas@...1...> Message-ID: I love orange Color anyway ;). So to fabian, is it OKE ? On Thu, 29 Jul 2004 19:40:46 +0200, Benoit Minisini wrote: > On Thursday 29 July 2004 12:20, Budi Arief Gusandi wrote: >> Hi Benoit, >> >> Is it oke if i change gambas shrimp logo to another color and have it >> printed on my card name ;) >> I'm really glad now to have gambas on it.. >> >> Thanks, >> >> Budi >> > > Why ? You don't like blue ? :-) > > The logo has been made by Fabien Bodard. If he agrees, no problem! > > Regards, > -- Best Regards, Budi Arief Gusandi IT Manager PT. Suar Reka Informatika Bandung - West Java Indonesia From budi at ...415... Fri Jul 30 05:02:24 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Fri, 30 Jul 2004 10:02:24 +0700 Subject: [Gambas-user] Is it OKE ? In-Reply-To: <200407292207.30911.gambasfr@...11...> References: <40FDDE5B.2040505@...3...> <6.0.0.22.2.20040721141229.01efe710@...329...> <200407292207.30911.gambasfr@...11...> Message-ID: Thanks DUDE ;) On Thu, 29 Jul 2004 22:07:30 +0200, Bodard Fabien wrote: > Le jeudi 29 Juillet 2004 12:20, Budi Arief Gusandi a ?crit?: >> Hi Benoit, >> >> Is it oke if i change gambas shrimp logo to another color and have it >> printed on my card name ;) >> I'm really glad now to have gambas on it.. >> >> Thanks, >> >> Budi >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by BEA Weblogic Workshop >> FREE Java Enterprise J2EE developer tools! >> Get your free copy of BEA WebLogic Workshop 8.1 today. >> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > yes Benoit have a good question why not blue ? > > If it's just to sp?cify that you use gambas.. i prefer you to use the > blue > color... It's the color that benoit give to his first logo... so now for > me > it's by default the color of the logo of gambas... > > In other case, if it's to have your own logo... why not ...pink ? (the > logo is > free to use in all gambas activity, programme, and all thing in rellation > with the gambas language and now communauty ;) > > Send us the result of your modify please. > > Nevertheless, i 'll be really happy that somebody send us a 3d version > of my > gambas... > > Maybe a small evolution for the 1.0 version will be sympatic... but > always on > the existing bases. > > Mabe i'll add a gallery for that in my site... in a month... Before that > you > can send me directly your creation at abidoo.too at ...545... > > At less the better will be to give a better image sequence to the > mascote.... > > i know, i know, since two year i say, i'm going to do that... But i'm > alway > winegrower, i've alway, lot of work, and now i work for a new time to the > gambas users web site... > > Thank for all > > Fabien Bodard > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Best Regards, Budi Arief Gusandi IT Manager PT. Suar Reka Informatika Bandung - West Java Indonesia From gambasfr at ...11... Fri Jul 30 08:31:36 2004 From: gambasfr at ...11... (Bodard Fabien) Date: Fri, 30 Jul 2004 08:31:36 +0200 Subject: [Gambas-user] multicolor textview or textarea In-Reply-To: <200407292356.36470.lordheavy@...512...> References: <200407292356.36470.lordheavy@...512...> Message-ID: <200407300831.36886.gambasfr@...11...> Le jeudi 29 Juillet 2004 23:56, Laurent Carlier a ?crit?: > Is there a way to make a multicolorized text in a textview or textarea ? > > the forecolor property change all the text inside ! > > thanks yep in html ! bijour, comment tu vas bien ?
in italic
in bold......etc... It work with textview, and labeltext ! Text area is a simple plain text component. Voil? ! salutation, Fabien Bodard From cmlst at ...546... Fri Jul 30 19:25:41 2004 From: cmlst at ...546... (Mail List) Date: Fri, 30 Jul 2004 12:25:41 -0500 Subject: [Gambas-user] string to object coercion? Message-ID: <7B182553-E24D-11D8-804D-000A27B1BB32@...546...> I have a text box name "textbox1" I would like to print the text in textbox1 I would like to code the following: a = "textbox1" print a.text any help on how I can make this happen? print Object(a.text) doesn't work but would seem logical to me. TIA From bundeshund at ...467... Fri Jul 30 19:37:09 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Fri, 30 Jul 2004 19:37:09 +0200 Subject: [Gambas-user] string to object coercion? In-Reply-To: <7B182553-E24D-11D8-804D-000A27B1BB32@...546...> References: <7B182553-E24D-11D8-804D-000A27B1BB32@...546...> Message-ID: <200407301937.09465.bundeshund@...467...> Am Freitag, 30. Juli 2004 19:25 schrieb Mail List: > I have a text box name "textbox1" > I would like to print the text in textbox1 > > I would like to code the following: > > a = "textbox1" set the text: textbox1.text = "some text" get the entry from textbox1: dim a as string a = testbox1.text > > print a.text > > > any help on how I can make this happen? > > print Object(a.text) > > doesn't work but would seem logical to me. > > TIA > HTH HM From cmlst at ...546... Fri Jul 30 21:03:57 2004 From: cmlst at ...546... (Mail List) Date: Fri, 30 Jul 2004 14:03:57 -0500 Subject: [Gambas-user] =?ISO-8859-1?Q?Re:_string_to_object_coercion=3F_=A0_?= Message-ID: <359BB8F0-E25B-11D8-804D-000A27B1BB32@...546...> > Am Freitag, 30. Juli 2004 19:25 schrieb Mail List: > > I have a text box name "textbox1" > > I would like to print the text in textbox1 > > > > I would like to code the following: > > > > a = "textbox1" > > set the text: > textbox1.text = "some text" > get the entry from textbox1: > dim a as string > a = testbox1.text I probably didn't explain my intentions well enough. Instead of testbox1.text I would like to substitute a string with the same name as the object - testbox1 - where dim a as string dim b as string a = "textbox1" b = a.text thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 662 bytes Desc: not available URL: From gambas at ...1... Fri Jul 30 21:24:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 30 Jul 2004 21:24:47 +0200 Subject: [Gambas-user] Re: string to object coercion? =?iso-8859-15?q?=A0?= In-Reply-To: <359BB8F0-E25B-11D8-804D-000A27B1BB32@...546...> References: <359BB8F0-E25B-11D8-804D-000A27B1BB32@...546...> Message-ID: <200407302124.48541.gambas@...1...> On Friday 30 July 2004 21:03, Mail List wrote: > > Am Freitag, 30. Juli 2004 19:25 schrieb Mail List: > > > I have a text box name "textbox1" > > > I would like to print the text in textbox1 > > > > > > I would like to code the following: > > > > > > a = "textbox1" > > > > set the text: > > textbox1.text = "some text" > > get the entry from textbox1: > > dim a as string > > a = testbox1.text > > I probably didn't explain my intentions well enough. > Instead of > > testbox1.text > > I would like to substitute a string with the same name as the object - > testbox1 - where > > dim a as string > dim b as string > > a = "textbox1" > > b = a.text > > > thanks You can't do that in Gambas, because object names do not exist at execution time. You just have a reference stored in a variable whose name is the same as the control. Regards, -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Fri Jul 30 23:55:40 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 30 Jul 2004 21:55:40 +0000 Subject: [Gambas-user] finaly a InputBox for gambas Message-ID: <200407302155.40583.Karl.Reinl@...9...> Salut, I placed in ReinerHoffmann's http://www.binara.com/gambas-wiki/bin/view/Gambas/Playground a InputBox for gambas First whene I saw the first mails, where asked for it , I thought back to my fights with that stupit thing, to use it 'controlled' under Windows. First I wrote one ( a MS one) to give I it to the guy who want it. Afterwarts thought, the backgroud of implementation of a InputBox is not as bad. So I started to write a better one. This one you find at : http://www.binara.com/gambas-wiki/bin/view/Gambas/InputBox Amicalement Charlie From Karl.Reinl at ...9... Fri Jul 30 23:58:40 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 30 Jul 2004 21:58:40 +0000 Subject: [Gambas-user] gambas wiki Message-ID: <200407302158.40362.Karl.Reinl@...9...> Salut Rob, I wouldn't wait, so I registered new as CharlieR. If you want/can delet my CharlieReinl, I want use it any more. Amicalement Charlie From daniel.campos at ...338... Sat Jul 31 10:14:48 2004 From: daniel.campos at ...338... (Daniel) Date: Sat, 31 Jul 2004 10:14:48 +0200 Subject: [Gambas-user] Re: string to object coercion?=?ISO-8859-1?Q?_=A0?= In-Reply-To: <359BB8F0-E25B-11D8-804D-000A27B1BB32@...546...> References: <359BB8F0-E25B-11D8-804D-000A27B1BB32@...546...> Message-ID: <1091261687.3262.0.camel@...40...> > I probably didn't explain my intentions well enough. > Instead of > > testbox1.text > > I would like to substitute a string with the same name as the object - > testbox1 - where > > dim a as string > dim b as string > > a = "textbox1" > > b = a.text You can not do it in that way, you have to do: Dim a as TextBox Dim B As String A=TextBox1 B=A.Text Regards, Daniel Campos > > > thanks