From _root at ...324... Tue Jun 1 00:55:46 2004 From: _root at ...324... (-=FoX=-) Date: Tue, 01 Jun 2004 00:55:46 +0200 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <200405311859.28425.mardus@...298...> References: <4074FF30.20101@...324...> <200405311745.46951.mardus@...298...> <1086037782.3343.1.camel@...40...> <200405311859.28425.mardus@...298...> Message-ID: <40BBB7F2.7060005@...324...> Marcelo Duschkin wrote: >El Lun 31 May 2004 18:09, Daniel escribi?: >|> I'll try to look what's happening, can you send me some samples? > >Thank you for your fast response. >I need to connect a pc with a data logger, but for test purpouses, I do it >with two pc's, both running the "SerialPort" example in Gambas. >When I type "asdf" in the TxtSend text box and hit "CR", in the TextArea1 of >the second PC appears "?asdf" where "?" is a little square. > > > Yes, it is a non printable character like "new line" and others. Now i have not the time for working on it so i can't help you in the immediate I'm sorry :( Fox -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Lerboristeria.biz: per la tua bellezza e salute il miglior assortimento * di prodotti erboristici ed oggettistica online * Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2152&d=1-6 From vbtricks at ...451... Tue Jun 1 15:59:23 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Tue, 01 Jun 2004 15:59:23 +0200 Subject: [Gambas-user] DateAdd-function documentation Message-ID: <40BC8BBB.7040206@...451...> Well, here's a summary of the MSDN-entry for DateAdd DateAdd returns a Date (datatype) containing a date to which a specified time interval has been added. Syntax: DateAdd(interval, number, date) The Parameters: Part Description interval string expression that is the interval of time you want to add number double-datatype, number expression that is the number of intervals you want to add. It can be positive (to get dates in the future) or negative (to get dates in the past) date date to which the interval is added The interval argument has these settings: Setting Description yyyy Year q Quarter m Month y Day of year d Day w Weekday ww Week h Hour n Minute s Second Remarks You can use the DateAdd function to add or subtract a specified time interval from a date. For example, you can use DateAdd to calculate a date 30 days from today or a time 45 minutes from now. To add days to date, you can use Day of Year ("y"), Day ("d"), or Weekday ("w"). The DateAdd function won't return an invalid date. The following example adds one month to January 31: DateAdd("m", 1, "31-Jan-95") In this case, DateAdd returns 28-Feb-95, not 31-Feb-95. If date is 31-Jan-96, it returns 29-Feb-96 because 1996 is a leap year. If the calculated date would precede the year 100 (that is, you subtract more years than are in date), an error occurs. If number isn't a Long value, it is rounded to the nearest whole number before being evaluated. Conclusion: DateAdd is used to calculate a new date based on another date. For example you want to get the date of the day four weeks from today: NewDate = DateAdd("ww", 4, Now) 'Today is June 1st, 2004 -> it'll return June 29th, 2004 Hope this helps, if you have got any additional questions, please ask! Stefan PS: I think interval could be a integer/long value (doesn't have to be double-datatype) ___________________________________________________________________________________ Schlappe uebertragungsgrenze? http://my-mail.ch/?redirect=9904 Tigra TwinTop Game! Gewinnen Sie eine Staedtereise! http://my-mail.ch/?redirect=1745 From sourceforge-raindog2 at ...94... Tue Jun 1 16:33:09 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 1 Jun 2004 10:33:09 -0400 Subject: [Gambas-user] DateAdd-function documentation In-Reply-To: <40BC8BBB.7040206@...451...> References: <40BC8BBB.7040206@...451...> Message-ID: <200406011033.09128.sourceforge-raindog2@...94...> On Tuesday 01 June 2004 09:59, VBTricks.de.vu Webmaster wrote: > Well, here's a summary of the MSDN-entry for DateAdd This would be trivial to implement as a Gambas function for all except the month and quarter intervals (and even then it's not that tough, just a lot of code.) Maybe I'll try it myself later, though I guess I'd have to start by figuring out how to convert Gambas date/times to Unix times (seconds since midnight on Jan. 1, 1970.) :) Rob From daniel.campos at ...338... Tue Jun 1 18:40:04 2004 From: daniel.campos at ...338... (Daniel) Date: Tue, 01 Jun 2004 18:40:04 +0200 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <200405311859.28425.mardus@...298...> References: <4074FF30.20101@...324...> <200405311745.46951.mardus@...298...> <1086037782.3343.1.camel@...40...> <200405311859.28425.mardus@...298...> Message-ID: <1086108003.4884.3.camel@...40...> OK, there was an stupid bug in the SerialPort example I wrote: ... WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10) ... Should be: ... WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10),Len(TxtSend.Text)+2 ... To tell the write function the real lenght of the data to send, so it seems there's no bug in the serial port class but in the example. Benoit, could you add this new version to examples? Regards, Daniel Campos El lun, 31-05-2004 a las 23:59, Marcelo Duschkin escribi?: > El Lun 31 May 2004 18:09, Daniel escribi?: > |> I'll try to look what's happening, can you send me some samples? > > Thank you for your fast response. > I need to connect a pc with a data logger, but for test purpouses, I do it > with two pc's, both running the "SerialPort" example in Gambas. > When I type "asdf" in the TxtSend text box and hit "CR", in the TextArea1 of > the second PC appears "?asdf" where "?" is a little square. > The hex code of this character is 06 [ACK] > This char is always in front of wathever string I send. > I've tried in the 2nd pc Hyperterminal in W98 (sorry for that ;) and that > confirmed the char is added during transmission. > > -- Para el cierre: --- > El Ping?inor?culo sol?a citar: > ?Pirater?a yooooo??? Lo que hago es transferencia de tecnolog?a. > - - - > Marcelo Duschkin - Buenos Aires - Argentina > mardus at ...298... > www.websdelsur.com.ar > www.lahueya.com.ar > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id149&alloc_id?66&op=click > _______________________________________________ > 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: SerialPort.tar.gz Type: application/x-compressed-tar Size: 1636 bytes Desc: not available URL: From gambas at ...1... Tue Jun 1 23:32:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 1 Jun 2004 23:32:52 +0200 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <1086108003.4884.3.camel@...40...> References: <4074FF30.20101@...324...> <200405311859.28425.mardus@...298...> <1086108003.4884.3.camel@...40...> Message-ID: <200406012332.52894.gambas@...1...> On Tuesday 01 June 2004 18:40, Daniel wrote: > OK, there was an stupid bug in the SerialPort example I wrote: > > ... > WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10) > ... > > Should be: > > ... > WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10),Len(TxtSend.Text)+2 > ... > > To tell the write function the real lenght of the data to send, so it > seems there's no bug in the serial port class but in the example. > > Benoit, could you add this new version to examples? > > Regards, > > Daniel Campos > OK. I put: PRINT #Sport,txtSend.Text; Chr$(13); Chr$(10); Which is the same. At the moment! :-) Maybe, in the future, PRINT will do an automatic conversion between charsets... Regards, -- Benoit Minisini mailto:gambas at ...1... From mardus at ...298... Wed Jun 2 00:35:47 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Tue, 1 Jun 2004 19:35:47 -0300 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <1086108003.4884.3.camel@...40...> References: <4074FF30.20101@...324...> <200405311859.28425.mardus@...298...> <1086108003.4884.3.camel@...40...> Message-ID: <200406011935.47243.mardus@...298...> El Mar 01 Jun 2004 13:40, Daniel escribi?: |> OK, there was an stupid bug in the SerialPort example I wrote: |> WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10) |> Should be: |> WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10),Len(TxtSend.Text)+2 I think I catched it :) Sport_Read react with the "CR" char, transferring all the chars in the input buffer including it, BUT leaving the "LF". This is the annoying char in first place in the next read. Is that correct? -- Para el cierre: --- El Ping?inor?culo sol?a citar: Los que crean en la telekinesis que levanten mi mano. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From mardus at ...298... Wed Jun 2 00:39:10 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Tue, 1 Jun 2004 19:39:10 -0300 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <1086108003.4884.3.camel@...40...> References: <4074FF30.20101@...324...> <200405311859.28425.mardus@...298...> <1086108003.4884.3.camel@...40...> Message-ID: <200406011939.10133.mardus@...298...> Addendum to my last mail :) My "solution" was WRITE #Sport, TextSend.Text & Chr(13), Len(TextSend.Text)+1 -- Para el cierre: --- El Ping?inor?culo sol?a citar: ?Un Pentium?... ?Para qu?? Mi Spectrum a?n funciona ! - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From daniel.campos at ...338... Wed Jun 2 08:54:16 2004 From: daniel.campos at ...338... (Daniel) Date: Wed, 02 Jun 2004 08:54:16 +0200 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <200406011935.47243.mardus@...298...> References: <4074FF30.20101@...324...> <200405311859.28425.mardus@...298...> <1086108003.4884.3.camel@...40...> <200406011935.47243.mardus@...298...> Message-ID: <1086159256.3245.9.camel@...40...> El mi?, 02-06-2004 a las 00:35, Marcelo Duschkin escribi?: > El Mar 01 Jun 2004 13:40, Daniel escribi?: > |> OK, there was an stupid bug in the SerialPort example I wrote: > |> WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10) > |> Should be: > |> WRITE #Sport,TxtSend.Text & Chr(13) & Chr(10),Len(TxtSend.Text)+2 > > I think I catched it :) > Sport_Read react with the "CR" char, transferring all the chars in the input > buffer including it, BUT leaving the "LF". > This is the annoying char in first place in the next read. > Is that correct? Well, the problem is that we were trying to send an array of bytes, but using functions that were designed to work with UTF-8, in which, not always 1 character = 1 byte, so, special characters like CR and LF can cause these troubles, specially if two or more bytes does not make a valid UTF-8 character. Try, for example, writting any phrase with spanish characters like '?' or '?' in the Udp example. I try to reverse the string just changing the byte order, showing strange characters. (I've used a lot of times StrReverse$ in VB even if Gambas does not support it:-) It is important to know the real lenght of a string to communicate, when using UTF-8, and to make the appropiate codification changes if our target device does not understand UTF-8! Regards, Daniel Campos > > -- Para el cierre: --- > El Ping?inor?culo sol?a citar: > Los que crean en la telekinesis que levanten mi mano. > - - - > Marcelo Duschkin - Buenos Aires - Argentina > mardus at ...298... > www.websdelsur.com.ar > www.lahueya.com.ar > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From Tim.Hanschen at ...20... Wed Jun 2 11:44:27 2004 From: Tim.Hanschen at ...20... (Tim Hanschen) Date: Wed, 02 Jun 2004 11:44:27 +0200 Subject: [Gambas-user] exchange variabes Message-ID: <1320504029@...20...> Hi again :-) another question. I have two forms an want to pass one variable from one form to the other... change the value of the variable and pass the new value back... How can I do this? thx, - Tim - _______________________________________________________________________ Moechten Sie Ihre SMS noch ausdrucksstaerker und emotionaler gestalten? Fuegen Sie einfach ein Bild hinzu! http://freemail.web.de/?mc=021194 From eilert-sprachen at ...221... Wed Jun 2 13:19:56 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 02 Jun 2004 13:19:56 +0200 Subject: [Gambas-user] exchange variabes In-Reply-To: <1320504029@...20...> References: <1320504029@...20...> Message-ID: <40BDB7DC.5050800@...221...> Hi Tim, > I have two forms an want to pass one variable from one form to the other... change the value of the variable and pass the new value back... I would either take a global variable or create one or two functions reading local variables. It depends on how safe you want to go - in the first case, you are responsible for the reading function not to change the value so the function setting the variable's value will not be confused :-) I have to admit, there was a trick about global variables in Gambas I don't remember... But you will get more answers from people who are more aware of that topic... Rolf From mardus at ...298... Wed Jun 2 13:50:18 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Wed, 2 Jun 2004 08:50:18 -0300 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <1086159256.3245.9.camel@...40...> References: <4074FF30.20101@...324...> <200406011935.47243.mardus@...298...> <1086159256.3245.9.camel@...40...> Message-ID: <200406020850.18427.mardus@...298...> El Mi? 02 Jun 2004 03:54, Daniel escribi?: |> Well, the problem is that we were trying to send an array of bytes, but |> using functions that were designed to work with UTF-8, in which, not |> always 1 character = 1 byte That can explain some extraneous chars... Now, the question is: How can I "force" to not use UTF8 in the transmited string? Thanks for your help. Este intercambio hubiera sido m?s f?cil en espa?ol... ;) -- Para el cierre: --- El Ping?inor?culo sol?a citar: El tiempo es un buen maestro, pero acaba matando a sus pupilos. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From daniel.campos at ...338... Wed Jun 2 15:36:55 2004 From: daniel.campos at ...338... (Daniel) Date: Wed, 02 Jun 2004 15:36:55 +0200 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <200406020850.18427.mardus@...298...> References: <4074FF30.20101@...324...> <200406011935.47243.mardus@...298...> <1086159256.3245.9.camel@...40...> <200406020850.18427.mardus@...298...> Message-ID: <1086183415.3231.9.camel@...40...> El mi?, 02-06-2004 a las 13:50, Marcelo Duschkin escribi?: > El Mi? 02 Jun 2004 03:54, Daniel escribi?: > |> Well, the problem is that we were trying to send an array of bytes, but > |> using functions that were designed to work with UTF-8, in which, not > |> always 1 character = 1 byte > > That can explain some extraneous chars... > Now, the question is: > How can I "force" to not use UTF8 in the transmited string? You have to convert the string using 'Conv$' function, which allows you to convert from UTF-8 to a lot of codifications, but you need to be sure what codification uses your device. Using characters from Chr(32) to Chr(127) there's no problem with UTF-8, as they have the same codification, but with other characters you've to select the right encoding. However, if you add characters "by hand", I mean "Cadena=Cadena & chr(6) & chr(8)"... , each character added is just a byte, you've not to worry about UTF-8 or any other codification. Finally, remember always to write and read in this way: ... Write #Serial_or_Socket, MyString, Len(MyString) ... and ... Read #Serial_or_Socket, MyString, Lof(Serial_Or_Socket) ... > > Thanks for your help. > Este intercambio hubiera sido m?s f?cil en espa?ol... ;) Pues s?, pero as? practicamos english :-)) Un saludo, Daniel Campos > > -- Para el cierre: --- > El Ping?inor?culo sol?a citar: > El tiempo es un buen maestro, pero acaba matando a sus pupilos. > - - - > Marcelo Duschkin - Buenos Aires - Argentina > mardus at ...298... > www.websdelsur.com.ar > www.lahueya.com.ar > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mardus at ...298... Wed Jun 2 16:47:32 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Wed, 2 Jun 2004 11:47:32 -0300 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <1086183415.3231.9.camel@...40...> References: <4074FF30.20101@...324...> <200406020850.18427.mardus@...298...> <1086183415.3231.9.camel@...40...> Message-ID: <200406021147.32647.mardus@...298...> El Mi? 02 Jun 2004 10:36, Daniel escribi?: |> You have to convert the string using 'Conv$' function, which allows |> you to convert from UTF-8 to a lot of codifications, but you need to |> be sure what codification uses your device. In this particular case, there is no problem because the dataloggers are of my own design (I have the sources :)) |> However, if you add characters "by hand", I mean "Cadena=Cadena & |> chr(6) & chr(8)"... , each character added is just a byte, you've not |> to worry about UTF-8 or any other codification. What about the incoming chars? Are they converted to UTF8 ? |> Pues s?, pero as? practicamos english :-)) Y divertimos a los que saben :)) -- Para el cierre: --- El Ping?inor?culo sol?a citar: Pluto usa el teclado, Mickey el mouse. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From gambas at ...1... Wed Jun 2 19:43:59 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Jun 2004 19:43:59 +0200 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <200406021147.32647.mardus@...298...> References: <4074FF30.20101@...324...> <1086183415.3231.9.camel@...40...> <200406021147.32647.mardus@...298...> Message-ID: <200406021943.59193.gambas@...1...> On Wednesday 02 June 2004 16:47, Marcelo Duschkin wrote: > El Mi? 02 Jun 2004 10:36, Daniel escribi?: > |> You have to convert the string using 'Conv$' function, which allows > |> you to convert from UTF-8 to a lot of codifications, but you need to > |> be sure what codification uses your device. > > In this particular case, there is no problem because the dataloggers are of > my own design (I have the sources :)) > > |> However, if you add characters "by hand", I mean "Cadena=Cadena & > |> chr(6) & chr(8)"... , each character added is just a byte, you've not > |> to worry about UTF-8 or any other codification. > > What about the incoming chars? Are they converted to UTF8 ? > At the moment, no conversion occurs when reading from or writing to a stream. So incoming chars are encoded in the charset used by the sender. It seems that UTF-8 = ASCII for Chr(0) to chr(127), so you can send chr(13), chr(10), ... without worrying. Conv$() can convert from any charset to any other charset, provided the conversion is possible via the "iconv()" libc routine. Another point: PRINT #Stream, "a string"; and WRITE #Stream, "a string", Len("a string") are strictly equivalent. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jun 2 21:11:16 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 2 Jun 2004 21:11:16 +0200 Subject: [Gambas-user] Bugreport: control content destroyed. In-Reply-To: <20040511180728.GA3085@...455...> References: <20040508141143.GA9155@...455...> <200405092224.54102.gambas@...1...> <20040511180728.GA3085@...455...> Message-ID: <200406022111.16604.gambas@...1...> On Tuesday 11 May 2004 20:07, nyarnon wrote: > On Sun, May 09, 2004 at 10:24:54PM +0200, Benoit Minisini wrote: > > On Saturday 08 May 2004 16:11, nyarnon wrote: > > > Just an observation, query for confirmation. > > > > > > I use a form with a textbox control to retrieve userinput. > > > I made form controls public. > > > > > > On another form following routine is used: > > > > > > 'calling form to input data > > > frmInputReq.ShowModal > > > > > > 'Now I test if a directory exists. If it does not exist it is > > > 'created. After END IF the content of frmInputReq.TextBox1.Text > > > 'remains unaltered. > > > 'BUT! If the dir exists a warningbox is displayed and after > > > 'END IF frmInputReq.TextBox1.Text is corrupt. > > > 'Is Message.Warning corrupting stack? > > > > > > IF IsDir(frmMain.strRootdir &/ frmInputReq.TextBox1.Text) THEN > > > Message.Warning("a warning that dir does not exist") > > > ELSE > > > MKDIR frmMain.strRootdir &/ frmInputReq.TextBox1.Text > > > END IF > > > > Could you send me a complete project so that I trace the interpreter to > > see what happens ? > > Here you go, just put a breakpoint at the end of _new and run the form > no enter an existing dir path. The program will warn that it exists and > you will be dropped at breakpoint. Now 'watch' the content of > frmInputReq.Textbox1.Text. > I should have fixed the problem. Instead of having crashed, you get the 'invalid object' error message, as when the dialog is closed, the widgets included in the dialog are destroyed, and their associated Gambas objects become invalid. > BTW Love to come to Paris, Die Zauberfl?te is one of my favorites, but > I'm afraid the distance is just a wee bit beyond budget. Any plans to > go tour Europe? Porto or Lisbon would be fine :-) It is not "Die Zauberfl?te" from Mozart but "A Mid Summer Night's Dream" from Shakespeare :-) Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Wed Jun 2 22:11:47 2004 From: daniel.campos at ...338... (Daniel) Date: Wed, 02 Jun 2004 22:11:47 +0200 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <200406021147.32647.mardus@...298...> References: <4074FF30.20101@...324...> <200406020850.18427.mardus@...298...> <1086183415.3231.9.camel@...40...> <200406021147.32647.mardus@...298...> Message-ID: <1086207107.4145.3.camel@...40...> > > What about the incoming chars? Are they converted to UTF8 ? > No, you receive each byte as it is, however, if you try to put the string in a Text Box, for example, you will find extrange characters instead of the desired '?' '?', etc... So, to do it in the right way: --> Receive data --> Data is stored in the string correctly (but with the codification used by the device) --> Now you should use conv$ again to convert from device codification to UTF-8 --> Then, put the converted string in the Text Box Saludos, Daniel Campos > > www.websdelsur.com.ar > www.lahueya.com.ar > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From grahame at ...457... Thu Jun 3 00:55:46 2004 From: grahame at ...457... (Grahame White) Date: Wed, 2 Jun 2004 23:55:46 +0100 Subject: [Gambas-user] Weird display bug Message-ID: <200406022355.46852.grahame@...457...> In the project I've attached I'm getting a very odd bug. First off try this first to see if you get the same problem : 1) Load the project in gambas. 2) Run the program. 3) Goto help->rules 4) Click 'next'. 5) Click 'next' again. If you get the same problem then the bottom of the window should cut off some of the buttons. If you DO get the same bug then end the program and go back to design mode. Go into FRules.class and change line 89 from : FRules.Height = 8 + lblHeading.Height + 8 + pnlRule3.Height + 8 + cmdCancel.height + 8 to : FRules.Height = 8 + lblHeading.Height + 8 + pnlRule3.Height + 8 + cmdCancel.height + 7 Follow the above steps again and the window should now be long enough to fully enclose the buttons with space to spare. Grahame -------------- next part -------------- A non-text attachment was scrubbed... Name: solitaire-0.9.4.tar.gz Type: application/x-tgz Size: 15259 bytes Desc: not available URL: From mardus at ...298... Thu Jun 3 01:53:00 2004 From: mardus at ...298... (Marcelo Duschkin) Date: Wed, 2 Jun 2004 20:53:00 -0300 Subject: [Gambas-user] Re: Using serial component for plc comunications In-Reply-To: <200406021943.59193.gambas@...1...> References: <4074FF30.20101@...324...> <200406021147.32647.mardus@...298...> <200406021943.59193.gambas@...1...> Message-ID: <200406022053.00807.mardus@...298...> El Mi? 02 Jun 2004 14:43, Benoit Minisini escribi?: |> It seems that UTF-8 = ASCII for Chr(0) to chr(127), so you can send |> chr(13), chr(10), ... without worrying. Well, all is working ok now. But, I have to strip the "LF" (0x0A) char in the string generated by the datalogger. The "obscure" point is: aparently, this last char received but not readed from the input buffer, become the first char to be transmited in the next write by Gambas. Is something similar to: the serial input buffer are the same fisical locations of the serial output buffer? Regards -- Para el cierre: --- El Ping?inor?culo sol?a citar: El mundo debe ser una beta, y los humanos los bugs. - - - Marcelo Duschkin - Buenos Aires - Argentina mardus at ...298... www.websdelsur.com.ar www.lahueya.com.ar From eilert-sprachen at ...221... Thu Jun 3 13:11:18 2004 From: eilert-sprachen at ...221... (Eilert) Date: Thu, 03 Jun 2004 13:11:18 +0200 Subject: [Gambas-user] Keyboard function skipped? Message-ID: <40BF0756.1010202@...221...> Hi, The other day I was trying to implement something counting the text length in a text area. Very simple thing, just count the keystrokes from within TextArea1_KeyPress... However, I found that when I type too fast (I can type fast, about 250 - 280 chars/minute) the counter would skip some characters. So I decided to measure the length of the string within TextArea1 instead, but isn't that strange? It is even more strange because there are two things done within my KeyPress function: 1. Sort out which key was pressed, only let characters pass through 2. Count The first one will run with every speed, no problem. It's just the second one which is skipped. There is a select case block figuring out the type of the key pressed and a case else at its end containing the counter. So every "case" works well blocking the special keys (movements, backspace etc.), but when I type a real character it might be ignored if too fast! Any explanation for that? Rolf From Tim.Hanschen at ...20... Thu Jun 3 13:28:34 2004 From: Tim.Hanschen at ...20... (Tim Hanschen) Date: Thu, 03 Jun 2004 13:28:34 +0200 Subject: [Gambas-user] global variable Message-ID: <1323032988@...20...> Hi, I need a global variable which is "shared" between some forms... how can I do it. I tried to pass a variable via _new, but it is too complicated... Is there a possibility to define a variable that can be accessed in all forms? regards, - Tim - __________________________________________________________________ Zeigen Sie Emotionen mit der WEB.DE Bild-SMS! Das Bild ist gratis, Sie bezahlen nur den Versand. http://freemail.web.de/?mc=021196 From grahame at ...457... Thu Jun 3 13:51:59 2004 From: grahame at ...457... (Grahame White) Date: Thu, 3 Jun 2004 12:51:59 +0100 Subject: [Gambas-user] global variable In-Reply-To: <1323032988@...20...> References: <1323032988@...20...> Message-ID: <200406031251.59996.grahame@...457...> On Thursday 03 June 2004 12:28, Tim Hanschen wrote: > Hi, > > I need a global variable which is "shared" between some forms... how can > I do it. I tried to pass a variable via _new, but it is too > complicated... > > Is there a possibility to define a variable that can be accessed in all > forms? > > regards, > - Tim - FFoo.class PUBLIC SUB Button1_Click() PRINT CBaz.bar END SUB CBaz.class PUBLIC bar as Integer PUBLIC SUB _init() bar = 10 END SUB Basically if you create a public variable in one file you can reference that variable by explicitly stating which file the variable is in Grahame From trorrr at ...397... Thu Jun 3 16:55:46 2004 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=FFffffe9ctor=20Fern=FFffffe1ndez]?=) Date: Thu, 3 Jun 2004 16:55:46 +0200 (CEST) Subject: [Gambas-user] global variable In-Reply-To: <200406031251.59996.grahame@...457...> Message-ID: <20040603145546.12455.qmail@...471...> --- Grahame White escribi?: > On Thursday 03 June 2004 12:28, Tim Hanschen wrote: > > Hi, > > > > I need a global variable which is "shared" between > some forms... how can > > I do it. I tried to pass a variable via _new, but > it is too > > complicated... > > > > Is there a possibility to define a variable that > can be accessed in all > > forms? > > > > regards, > > - Tim - You can create a module (e.g: GlobalVars) which contains public variables. You should declare them as: public SomeThing as integer (if it is an integer) Then, when you want to access the variable, you should use: GlobalVars.Something = Whateveryouwant Hope it hepls you > > > FFoo.class > > PUBLIC SUB Button1_Click() > > PRINT CBaz.bar > > END SUB > > > > > CBaz.class > > PUBLIC bar as Integer > > PUBLIC SUB _init() > > bar = 10 > END SUB > > > > Basically if you create a public variable in one > file you can reference > that variable by explicitly stating which file the > variable is in > > Grahame > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new > InstallShield X. > From Windows to Linux, servers to mobile, > InstallShield X is the one > installation-authoring solution that does it all. > Learn more and > evaluate today! > http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ______________________________________________________________________ Correo Yahoo! - 6MB, m?s protecci?n contra el spam ?Gratis! http://correo.yahoo.es From jscops at ...11... Wed Jun 2 19:51:53 2004 From: jscops at ...11... (Jack) Date: Wed, 2 Jun 2004 17:51:53 +0000 Subject: [Gambas-user] Bad loop. Message-ID: <200406021751.53247.jscops@...11...> Bonjour, I have a loop which work well but i don't can log out . Please, see my code below. What is wrong ? (Ecrit1 is a columnView with many lines that i want read with my program to update a database.) Is it "LOOP UNTIL Ecrit1.MoveNext() = TRUE" which is bad ? ----- My code --------- IF rResult.Available THEN Ecrit1.MoveFirst() DO Numcpt = Ecrit1.Item[0] Numdoc.Text = Ecrit1.Item[2] rResult = DB.Exec("UPDATE "&Tab&" SET Jour = '"& Journal.Text &"',Numero = '" & Numecrit.Text & "' , Compte = '" & Numcpt & "'") Ecrit1.MoveNext() Ecrit1.MoveCurrent() LOOP UNTIL Ecrit1.MoveNext() = TRUE ENDIF ----- End of Code -------- Thank you very much for your answer. ?~ Jack ~? From gambas at ...1... Thu Jun 3 18:12:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Jun 2004 18:12:05 +0200 Subject: [Gambas-user] Keyboard function skipped? In-Reply-To: <40BF0756.1010202@...221...> References: <40BF0756.1010202@...221...> Message-ID: <200406031812.05274.gambas@...1...> On Thursday 03 June 2004 13:11, Eilert wrote: > Hi, > > The other day I was trying to implement something counting the text > length in a text area. Very simple thing, just count the keystrokes from > within TextArea1_KeyPress... > > However, I found that when I type too fast (I can type fast, about 250 - > 280 chars/minute) the counter would skip some characters. > > So I decided to measure the length of the string within TextArea1 > instead, but isn't that strange? > > It is even more strange because there are two things done within my > KeyPress function: > > 1. Sort out which key was pressed, only let characters pass through > > 2. Count > > The first one will run with every speed, no problem. It's just the > second one which is skipped. There is a select case block figuring out > the type of the key pressed and a case else at its end containing the > counter. So every "case" works well blocking the special keys > (movements, backspace etc.), but when I type a real character it might > be ignored if too fast! > > Any explanation for that? > > Rolf > > I don't know, but one KeyPress event can generate more than one character, as everything uses UTF-8 encoding and sometimes events are compressed by QT. I mean 'number of KeyPress events' <> 'number of typed characters" <> "length of typed string" Maybe it is your problem ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jun 3 18:18:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 3 Jun 2004 18:18:04 +0200 Subject: [Gambas-user] Bad loop. In-Reply-To: <200406021751.53247.jscops@...11...> References: <200406021751.53247.jscops@...11...> Message-ID: <200406031818.04894.gambas@...1...> On Wednesday 02 June 2004 19:51, Jack wrote: > Bonjour, > I have a loop which work well but i don't can log out . What do you mean ? > Please, see my code below. What is wrong ? (Ecrit1 is a columnView with > many lines that i want read with my program to update a database.) > Is it "LOOP UNTIL Ecrit1.MoveNext() = TRUE" which is bad ? > > ----- My code --------- > > IF rResult.Available THEN > Ecrit1.MoveFirst() > DO > Numcpt = Ecrit1.Item[0] > Numdoc.Text = Ecrit1.Item[2] > rResult = DB.Exec("UPDATE "&Tab&" SET Jour = '"& Journal.Text > &"',Numero = '" & Numecrit.Text & "' , Compte = '" & Numcpt & "'") NEVER use Exec() this way. Type: rResult = DB.Exec("UPDATE " & Tab & " SET Jour = &1, Numero = &2, Compte = &3", Journal.Text, Numecrit.Text, Numcpt) Otherwise, your SQL request might have syntax errors if your data include quotes. DB.Exec() returns nothing with an UPDATE request. So 'rResult =' is not necessary. > Ecrit1.MoveNext() > Ecrit1.MoveCurrent() > LOOP UNTIL Ecrit1.MoveNext() = TRUE Two MoveNext() implies that you can forget a column. Just keep the last line: LOOP UNTIL Ecrit1.MoveNext() It is not necessary to use '=' to compare a boolean. Just use it directly in a test - it is a boolean ! > ENDIF > ----- End of Code -------- > > Thank you very much for your answer. > > ?~ Jack ~? > > Are things better now ? -- Benoit Minisini mailto:gambas at ...1... From jscops at ...11... Wed Jun 2 22:37:43 2004 From: jscops at ...11... (Jack) Date: Wed, 2 Jun 2004 20:37:43 +0000 Subject: [Gambas-user] Bad loop. In-Reply-To: <200406031818.04894.gambas@...1...> References: <200406021751.53247.jscops@...11...> <200406031818.04894.gambas@...1...> Message-ID: <200406022037.43971.jscops@...11...> Le Jeudi 3 Juin 2004 16:18, Benoit Minisini a ?crit : > On Wednesday 02 June 2004 19:51, Jack wrote: > > Bonjour, > > I have a loop which work well but i don't can log out . > > What do you mean ? > I can't leave the loop. The program run always on the last Item. > > Are things better now ? Oh Yeahh ! You are a very good teacher Benoit, and i appreciate a lot your advices. Thank you even. ?~ Jack ~? From Tim.Hanschen at ...20... Fri Jun 4 07:15:34 2004 From: Tim.Hanschen at ...20... (Tim Hanschen) Date: Fri, 04 Jun 2004 07:15:34 +0200 Subject: [Gambas-user] global variable Message-ID: <1324778297@...20...> With this GlobaVars module that was a good idea.... but now another problem raised. First of all I want to explain in more detail what I want to do. I want to create an application which can be controlled via a touchscreen. I have several forms. One form is my "virtual keyboard". Whenever I have to enter text I call my virtual keyboard... I call the keyboard like this: DIM hNewForm AS Fkeyboard hNewForm = NEW Fkeyboard hNewForm.show The problem is that I can enter a text, in my global variable, but the called form will not "notice" that the value has changed. It would be fine if the called form stops and waits until a text is entered and then go on... gambas-user at lists.sourceforge.net schrieb am 03.06.04 16:58:43: --- Grahame White escribi?: > On Thursday 03 June 2004 12:28, Tim Hanschen wrote: > > Hi, > > > > I need a global variable which is "shared" between > some forms... how can > > I do it. I tried to pass a variable via _new, but > it is too > > complicated... > > > > Is there a possibility to define a variable that > can be accessed in all > > forms? > > > > regards, > > - Tim - You can create a module (e.g: GlobalVars) which contains public variables. You should declare them as: public SomeThing as integer (if it is an integer) Then, when you want to access the variable, you should use: GlobalVars.Something = Whateveryouwant Hope it hepls you > > > FFoo.class > > PUBLIC SUB Button1_Click() > > PRINT CBaz.bar > > END SUB > > > > > CBaz.class > > PUBLIC bar as Integer > > PUBLIC SUB _init() > > bar = 10 > END SUB > > > > Basically if you create a public variable in one > file you can reference > that variable by explicitly stating which file the > variable is in > > Grahame > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new > InstallShield X. > From Windows to Linux, servers to mobile, > InstallShield X is the one > installation-authoring solution that does it all. > Learn more and > evaluate today! > http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ______________________________________________________________________ Correo Yahoo! - 6MB, m?s protecci?n contra el spam ?Gratis! http://correo.yahoo.es ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From eilert-sprachen at ...221... Fri Jun 4 08:20:58 2004 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 04 Jun 2004 08:20:58 +0200 Subject: [Gambas-user] Keyboard function skipped? In-Reply-To: <200406031812.05274.gambas@...1...> References: <40BF0756.1010202@...221...> <200406031812.05274.gambas@...1...> Message-ID: <40C014CA.1060908@...221...> Hi Benoit, > I mean 'number of KeyPress events' <> 'number of typed characters" <> "length > of typed string" Interesting thing :-) It should be mentioned in the docs... > > Maybe it is your problem ? > Absolutely possible because of "umlauts" (?, ?, ?) in my typing. So it's better to measure the string lengths rather than counting key strokes, isn't it? One "?" will count for 1 char, won't it? Rolf From wizardmansite at ...43... Fri Jun 4 08:54:23 2004 From: wizardmansite at ...43... (Devilyn) Date: Thu, 3 Jun 2004 23:54:23 -0700 (PDT) Subject: [Gambas-user] Keys Message-ID: <20040604065423.4066.qmail@...375...> Ok last time I asked for help I did not get any. It was about using sounds.. but I looked in the help files and figured it out. Now this I cannot find any reference in Gambas help or in Wiki. How or What command do you use to know when a key is pressed.. or how can I identify if some one presses keys A to Z.. So if someone presses key T or key G then I place a message in a text box that the key was pressed.. I know the message bit and all it is easy but how do I know when a key is pressed.. can it be detechted? or should I just have a text box and you press a key and hit enter it reads the key from the text box? But then you always have to be active in the text box.. I did find the "Playground" In wiki but it only explains how to read the arrow keys? If anyone knows please help. Oh no I do not need to know how to use F1 - F12.. Just the keys A through Z if possible. __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From wizardmansite at ...43... Fri Jun 4 09:14:05 2004 From: wizardmansite at ...43... (Devilyn) Date: Fri, 4 Jun 2004 00:14:05 -0700 (PDT) Subject: [Gambas-user] Sound Thnx Message-ID: <20040604071405.11910.qmail@...318...> Cool I did get feedback on the sound. Clears that problem up Thank You. SoundSDL works just fine.. Dev __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ From eilert-sprachen at ...221... Fri Jun 4 09:57:29 2004 From: eilert-sprachen at ...221... (Eilert) Date: Fri, 04 Jun 2004 09:57:29 +0200 Subject: [Gambas-user] Keys In-Reply-To: <20040604065423.4066.qmail@...375...> References: <20040604065423.4066.qmail@...375...> Message-ID: <40C02B69.1030807@...221...> Hi, Devilyn schrieb: > How or What command do you use to know when a key is > pressed.. or how can I identify if some one presses > keys A to Z.. For TextArea1 it is TextArea1_KeyPress(). Within the event function, there is key.Code you can ask for the ASCII value of the key e. g. by using a select case thing. Then you have some key.XXX functions that return values for special keys (Backspace, Return etc.). > Oh no I do not need to know how to use F1 - F12.. Just > the keys A through Z if possible. Well, uppercase A is 65, Z is 90, lowercase a is 97 and z is 122. Try it out - does it help? Rolf From jscops at ...11... Fri Jun 4 13:11:37 2004 From: jscops at ...11... (Jack) Date: Fri, 4 Jun 2004 13:11:37 +0200 Subject: [Gambas-user] Bad loop. In-Reply-To: <200406022037.43971.jscops@...11...> References: <200406021751.53247.jscops@...11...> <200406031818.04894.gambas@...1...> <200406022037.43971.jscops@...11...> Message-ID: <200406041311.37903.jscops@...11...> Le Mercredi 2 Juin 2004 22:37, Jack a ?crit : > Le Jeudi 3 Juin 2004 16:18, Benoit Minisini a ?crit : > > On Wednesday 02 June 2004 19:51, Jack wrote: > > > Bonjour, > > > I have a loop which work well but i don't can log out . > > > > What do you mean ? > > I can't leave the loop. The program run always on the last Item. > Thank you Benoit. I find my error. "Loop until Ecrit1.Movenext() <> true" and not "Loop until Ecrit1.Movenext()" ?~ Jack ~? From bundeshund at ...467... Fri Jun 4 14:48:35 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Fri, 4 Jun 2004 14:48:35 +0200 Subject: [Gambas-user] TextArea.Text In-Reply-To: <200406041311.37903.jscops@...11...> References: <200406021751.53247.jscops@...11...> <200406022037.43971.jscops@...11...> <200406041311.37903.jscops@...11...> Message-ID: <200406041448.35523.bundeshund@...467...> Hello NG, now i have a problem, filling a TextArea with a result from a sql-request using a longtext-field. I guess its a porblem with gambas.db and longtext. When I try to fill the TextArea with 'TextArea.Text = myResult!text' gambas tells me, he didn't know the field text. but it is called 'text'. Anny suggestions, 1) how to fill it with this type of field (longtext) or b) how can I store a TextArea-Text with sql using gambas0.93b? regards, HM PS: Benoit, still waiting for you to make you a gift... It would be a pleasure for me! From gambas at ...1... Fri Jun 4 19:38:27 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 Jun 2004 19:38:27 +0200 Subject: [Gambas-user] Keys In-Reply-To: <40C02B69.1030807@...221...> References: <20040604065423.4066.qmail@...375...> <40C02B69.1030807@...221...> Message-ID: <200406041938.28054.gambas@...1...> On Friday 04 June 2004 09:57, Eilert wrote: > Hi, > > Devilyn schrieb: > > How or What command do you use to know when a key is > > pressed.. or how can I identify if some one presses > > keys A to Z.. > > For TextArea1 it is TextArea1_KeyPress(). > > Within the event function, there is key.Code you can ask for the ASCII > value of the key e. g. by using a select case thing. Then you have some > key.XXX functions that return values for special keys (Backspace, Return > etc.). > > > Oh no I do not need to know how to use F1 - F12.. Just > > the keys A through Z if possible. > > Well, uppercase A is 65, Z is 90, lowercase a is 97 and z is 122. > > Try it out - does it help? > > Rolf > Be careful! Key.Code returns the code of the key. Use Key.Text if you want the text typed by the user. To test a specific key, for example 'A', use Key.Code = Key["A"]. To test 'F12', use Key.Code = Key["F12"], and so on. Never use hard coded values directly, this is a very bad programming pratice! Regards, -- Benoit Minisini mailto:gambas at ...1... From nigel at ...38... Fri Jun 4 21:09:24 2004 From: nigel at ...38... (Nigel Gerrard) Date: Fri, 4 Jun 2004 20:09:24 +0100 Subject: [Gambas-user] TextArea.Text References: <200406021751.53247.jscops@...11...> <200406022037.43971.jscops@...11...> <200406041311.37903.jscops@...11...> <200406041448.35523.bundeshund@...467...> Message-ID: <005801c44a67$7410c700$402d4f51@...360...> Hello HM, This is a bug that I have already identified and is fixed in my latest version of the drivers..unfortunately they have not passed QA with Benoit as they contain a number of other changes that need to be tidied up. The bug is only specific to mysql. Try this: Edit the following file and recompile: ../mysql/main.c line 577 change "strcmp( name" to "strcasecmp( name" Let me know how you get on and I'll ask Benoit to incorporate the change. NG ----- Original Message ----- From: "Hans-Martin Bundeshund" To: Sent: Friday, June 04, 2004 1:48 PM Subject: [Gambas-user] TextArea.Text > Hello NG, > > now i have a problem, filling a TextArea with a result from a sql-request > using a longtext-field. I guess its a porblem with gambas.db and longtext. > > When I try to fill the TextArea with 'TextArea.Text = myResult!text' gambas > tells me, he didn't know the field text. but it is called 'text'. > > Anny suggestions, 1) how to fill it with this type of field (longtext) or > b) how can I store a TextArea-Text with sql using gambas0.93b? > > regards, > HM > > > PS: Benoit, still waiting for you to make you a gift... It would be a pleasure > for me! > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Jun 4 21:09:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 4 Jun 2004 21:09:22 +0200 Subject: [Gambas-user] TextArea.Text In-Reply-To: <005801c44a67$7410c700$402d4f51@...360...> References: <200406021751.53247.jscops@...11...> <200406041448.35523.bundeshund@...467...> <005801c44a67$7410c700$402d4f51@...360...> Message-ID: <200406042109.22508.gambas@...1...> On Friday 04 June 2004 21:09, Nigel Gerrard wrote: > Hello HM, > > This is a bug that I have already identified and is fixed in my latest > version of > the drivers..unfortunately they have not passed QA with Benoit as they > contain a number of other changes that need to be tidied up. > > The bug is only specific to mysql. > > Try this: > > Edit the following file and recompile: > > ../mysql/main.c > line 577 change "strcmp( name" to "strcasecmp( name" > > Let me know how you get on and I'll ask Benoit to incorporate the change. > > NG > OK. I included it! -- Benoit Minisini mailto:gambas at ...1... From Karl.Reinl at ...9... Fri Jun 4 22:30:09 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 4 Jun 2004 22:30:09 +0200 Subject: [Gambas-user] gambas-0.93b on gentoo 1.4 Message-ID: <200406042230.09885.Karl.Reinl@...9...> Salut, ????????something strange happend to me today, after installing gambas-0.93b on my ????????gentoo 1.4 . ????????First after downloading gambas-0.93b, I made the three (./configure , make ????????and as root 'make install') but at 'make install' I'v got an error . ????????Gambas 0.93b started but when I tried to start the new Clock from Fabien I'v ????????got an error with Draw. ???????? ????????So I made a ./reconf and ./configure --disable-kde . As at make where nothing ???????? to do I made a 'make clean' followed by a make and ?as root a ???????? 'make install' . ????????Now gambas was working as known, and I could start Fabiens Clock. ????????I don't know why, but I loaded also Benoit's KDE-WebBrowser and 'IT WORKED' ????????So I loaded the KDE-KateBrowser project and it worked also, only the ????????KDE-Scripting brought an 'too many Arguments' Error. ????????Remember I made './configure --disable-kde' ????????and the output said that KDE will be disabeled ????????A look at ?/opt/gambas/lib/gambas showed that the libs lib.qt.kde.* still ????????exists ( they where 10 min older then the other lib's). ? ????????Now to See if ./configure --disable-kde works I moved from /opt/gambas ???????? /include, /lib and /shared. ???????? ????????I deleted ?/opt/gambas/gambas-0.93b and started new, ????????but with ./configure --disable-kde , make and as root 'make install' ????????Now when I try to start one of these 3 KDE-projects and System error raise. ????????To show you that,I deleted ?/opt/gambas/gambas-0.93b one more, and I started ????????like the first time, but with ????????(./configure; make; su -c 'make install') > gambas-0.93b_with_KDE.log 2>&1 ????????(see gambas-0.93b_with_KDE.log in logs.tar.bz2) ????????Then I made a ./reconf and a 'make clean' ?followed by a ????????(./configure --disable-kde ; make; su -c 'make install') > ????? ????????????????????????????????????????gambas-0.93b_without_KDE.log 2>&1 ????????(see gambas-0.93b_without_KDE.log in logs.tar.bz2) ???????? ????????Now all works again like I said you at the beginning of that mail, I can ????????start 2 of this ?3 KDE-projects. ???????? ????????But see also -opt-gambas-lib-gambas what is a ????????????????ls -l > ?/opt/gambas/ -opt-gambas-lib-gambas ????????Perhaps Benoit can find the reason why we gentooers can't make a only ./configure Amicalement Charlie Using: ????????gentoo 1.4 ????????qt-3.3.0 ????????gcc 3.3.2 ????????KDE 3.2.1 ????????mysql 4.0.18 ????????psql ? 7.3.5 ????????sqlite 2.8.11 -------------- next part -------------- A non-text attachment was scrubbed... Name: logs.tar.bz2 Type: application/x-tbz Size: 17716 bytes Desc: not available URL: -------------- next part -------------- total 17106 -rw-r--r-- 1 root root 151 Jun 4 21:30 lib.gb.component -rwxr-xr-x 1 root root 804 Jun 4 21:30 lib.gb.compress.bzlib2.la lrwxrwxrwx 1 root root 31 Jun 4 21:30 lib.gb.compress.bzlib2.so -> lib.gb.compress.bzlib2.so.0.0.0 lrwxrwxrwx 1 root root 31 Jun 4 21:30 lib.gb.compress.bzlib2.so.0 -> lib.gb.compress.bzlib2.so.0.0.0 -rwxr-xr-x 1 root root 37914 Jun 4 21:30 lib.gb.compress.bzlib2.so.0.0.0 -rw-r--r-- 1 root root 169 Jun 4 21:30 lib.gb.compress.component -rwxr-xr-x 1 root root 752 Jun 4 21:30 lib.gb.compress.la lrwxrwxrwx 1 root root 24 Jun 4 21:30 lib.gb.compress.so -> lib.gb.compress.so.0.0.0 lrwxrwxrwx 1 root root 24 Jun 4 21:30 lib.gb.compress.so.0 -> lib.gb.compress.so.0.0.0 -rwxr-xr-x 1 root root 66370 Jun 4 21:30 lib.gb.compress.so.0.0.0 -rwxr-xr-x 1 root root 790 Jun 4 21:30 lib.gb.compress.zlib.la lrwxrwxrwx 1 root root 29 Jun 4 21:30 lib.gb.compress.zlib.so -> lib.gb.compress.zlib.so.0.0.0 lrwxrwxrwx 1 root root 29 Jun 4 21:30 lib.gb.compress.zlib.so.0 -> lib.gb.compress.zlib.so.0.0.0 -rwxr-xr-x 1 root root 37646 Jun 4 21:30 lib.gb.compress.zlib.so.0.0.0 -rw-r--r-- 1 root root 184 Jun 4 21:30 lib.gb.db.component -rwxr-xr-x 1 root root 720 Jun 4 21:30 lib.gb.db.la -rwxr-xr-x 1 root root 774 Jun 4 21:30 lib.gb.db.mysql.la lrwxrwxrwx 1 root root 24 Jun 4 21:30 lib.gb.db.mysql.so -> lib.gb.db.mysql.so.0.0.0 lrwxrwxrwx 1 root root 24 Jun 4 21:30 lib.gb.db.mysql.so.0 -> lib.gb.db.mysql.so.0.0.0 -rwxr-xr-x 1 root root 62444 Jun 4 21:30 lib.gb.db.mysql.so.0.0.0 -rwxr-xr-x 1 root root 791 Jun 4 21:30 lib.gb.db.postgresql.la lrwxrwxrwx 1 root root 29 Jun 4 21:30 lib.gb.db.postgresql.so -> lib.gb.db.postgresql.so.0.0.0 lrwxrwxrwx 1 root root 29 Jun 4 21:30 lib.gb.db.postgresql.so.0 -> lib.gb.db.postgresql.so.0.0.0 -rwxr-xr-x 1 root root 59993 Jun 4 21:30 lib.gb.db.postgresql.so.0.0.0 lrwxrwxrwx 1 root root 18 Jun 4 21:30 lib.gb.db.so -> lib.gb.db.so.0.0.0 lrwxrwxrwx 1 root root 18 Jun 4 21:30 lib.gb.db.so.0 -> lib.gb.db.so.0.0.0 -rwxr-xr-x 1 root root 132209 Jun 4 21:30 lib.gb.db.so.0.0.0 -rwxr-xr-x 1 root root 793 Jun 4 21:30 lib.gb.db.sqlite.la lrwxrwxrwx 1 root root 25 Jun 4 21:30 lib.gb.db.sqlite.so -> lib.gb.db.sqlite.so.0.0.0 lrwxrwxrwx 1 root root 25 Jun 4 21:30 lib.gb.db.sqlite.so.0 -> lib.gb.db.sqlite.so.0.0.0 -rwxr-xr-x 1 root root 955448 Jun 4 21:30 lib.gb.db.sqlite.so.0.0.0 -rw-r--r-- 1 root root 208 Jun 4 21:30 lib.gb.debug.component -rwxr-xr-x 1 root root 734 Jun 4 21:30 lib.gb.debug.la lrwxrwxrwx 1 root root 21 Jun 4 21:30 lib.gb.debug.so -> lib.gb.debug.so.0.0.0 lrwxrwxrwx 1 root root 21 Jun 4 21:30 lib.gb.debug.so.0 -> lib.gb.debug.so.0.0.0 -rwxr-xr-x 1 root root 47367 Jun 4 21:30 lib.gb.debug.so.0.0.0 -rw-r--r-- 1 root root 163 Jun 4 21:30 lib.gb.eval.component -rwxr-xr-x 1 root root 728 Jun 4 21:30 lib.gb.eval.la lrwxrwxrwx 1 root root 20 Jun 4 21:30 lib.gb.eval.so -> lib.gb.eval.so.0.0.0 lrwxrwxrwx 1 root root 20 Jun 4 21:30 lib.gb.eval.so.0 -> lib.gb.eval.so.0.0.0 -rwxr-xr-x 1 root root 286342 Jun 4 21:30 lib.gb.eval.so.0.0.0 -rwxr-xr-x 1 root root 746 Jun 4 21:30 lib.gb.example.la lrwxrwxrwx 1 root root 23 Jun 4 21:30 lib.gb.example.so -> lib.gb.example.so.0.0.0 lrwxrwxrwx 1 root root 23 Jun 4 21:30 lib.gb.example.so.0 -> lib.gb.example.so.0.0.0 -rwxr-xr-x 1 root root 38638 Jun 4 21:30 lib.gb.example.so.0.0.0 -rw-r--r-- 1 root root 247 Jun 4 21:30 lib.gb.net.component -rw-r--r-- 1 root root 327 Jun 4 21:30 lib.gb.net.curl.component -rwxr-xr-x 1 root root 863 Jun 4 21:30 lib.gb.net.curl.la lrwxrwxrwx 1 root root 24 Jun 4 21:30 lib.gb.net.curl.so -> lib.gb.net.curl.so.0.0.0 lrwxrwxrwx 1 root root 24 Jun 4 21:30 lib.gb.net.curl.so.0 -> lib.gb.net.curl.so.0.0.0 -rwxr-xr-x 1 root root 140853 Jun 4 21:30 lib.gb.net.curl.so.0.0.0 -rwxr-xr-x 1 root root 736 Jun 4 21:30 lib.gb.net.la lrwxrwxrwx 1 root root 19 Jun 4 21:30 lib.gb.net.so -> lib.gb.net.so.0.0.0 lrwxrwxrwx 1 root root 19 Jun 4 21:30 lib.gb.net.so.0 -> lib.gb.net.so.0.0.0 -rwxr-xr-x 1 root root 212671 Jun 4 21:30 lib.gb.net.so.0.0.0 -rw-r--r-- 1 root root 399 Jun 4 21:30 lib.gb.qt.component -rw-r--r-- 1 root root 258 Jun 4 21:30 lib.gb.qt.editor.component -rwxr-xr-x 1 root root 982 Jun 4 21:30 lib.gb.qt.editor.la lrwxrwxrwx 1 root root 25 Jun 4 21:30 lib.gb.qt.editor.so -> lib.gb.qt.editor.so.0.0.0 lrwxrwxrwx 1 root root 25 Jun 4 21:30 lib.gb.qt.editor.so.0 -> lib.gb.qt.editor.so.0.0.0 -rwxr-xr-x 1 root root 1084614 Jun 4 21:30 lib.gb.qt.editor.so.0.0.0 -rw-r--r-- 1 root root 308 Jun 4 21:30 lib.gb.qt.ext.component -rwxr-xr-x 1 root root 964 Jun 4 21:30 lib.gb.qt.ext.la lrwxrwxrwx 1 root root 22 Jun 4 21:30 lib.gb.qt.ext.so -> lib.gb.qt.ext.so.0.0.0 lrwxrwxrwx 1 root root 22 Jun 4 21:30 lib.gb.qt.ext.so.0 -> lib.gb.qt.ext.so.0.0.0 -rwxr-xr-x 1 root root 2660678 Jun 4 21:30 lib.gb.qt.ext.so.0.0.0 -rw-r--r-- 1 root root 227 Jun 4 21:18 lib.gb.qt.kde.component -rw-r--r-- 1 root root 225 Jun 4 21:18 lib.gb.qt.kde.html.component -rwxr-xr-x 1 root root 2043 Jun 4 21:18 lib.gb.qt.kde.html.la lrwxrwxrwx 1 root root 27 Jun 4 21:18 lib.gb.qt.kde.html.so -> lib.gb.qt.kde.html.so.0.0.0 lrwxrwxrwx 1 root root 27 Jun 4 21:18 lib.gb.qt.kde.html.so.0 -> lib.gb.qt.kde.html.so.0.0.0 -rwxr-xr-x 1 root root 775397 Jun 4 21:18 lib.gb.qt.kde.html.so.0.0.0 -rwxr-xr-x 1 root root 1729 Jun 4 21:18 lib.gb.qt.kde.la lrwxrwxrwx 1 root root 22 Jun 4 21:18 lib.gb.qt.kde.so -> lib.gb.qt.kde.so.0.0.0 lrwxrwxrwx 1 root root 22 Jun 4 21:18 lib.gb.qt.kde.so.0 -> lib.gb.qt.kde.so.0.0.0 -rwxr-xr-x 1 root root 2089369 Jun 4 21:18 lib.gb.qt.kde.so.0.0.0 -rwxr-xr-x 1 root root 940 Jun 4 21:30 lib.gb.qt.la lrwxrwxrwx 1 root root 18 Jun 4 21:30 lib.gb.qt.so -> lib.gb.qt.so.0.0.0 lrwxrwxrwx 1 root root 18 Jun 4 21:30 lib.gb.qt.so.0 -> lib.gb.qt.so.0.0.0 -rwxr-xr-x 1 root root 8610328 Jun 4 21:30 lib.gb.qt.so.0.0.0 -rw-r--r-- 1 root root 199 Jun 4 21:30 lib.gb.vb.component -rwxr-xr-x 1 root root 716 Jun 4 21:30 lib.gb.vb.la lrwxrwxrwx 1 root root 18 Jun 4 21:30 lib.gb.vb.so -> lib.gb.vb.so.0.0.0 lrwxrwxrwx 1 root root 18 Jun 4 21:30 lib.gb.vb.so.0 -> lib.gb.vb.so.0.0.0 -rwxr-xr-x 1 root root 31495 Jun 4 21:30 lib.gb.vb.so.0.0.0 From Karl.Reinl at ...9... Fri Jun 4 22:41:41 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Fri, 4 Jun 2004 22:41:41 +0200 Subject: [Gambas-user] gambas-0.93b on gentoo 1.4 (Nr. 3 / 1. was to big, 2. non Text) Message-ID: <200406042241.41803.Karl.Reinl@...9...> Salut, ????????something strange happend to me today, after installing gambas-0.93b on my ????????gentoo 1.4 . ????????First after downloading gambas-0.93b, I made the three (./configure , make ????????and as root 'make install') but at 'make install' I'v got an error . ????????Gambas 0.93b started but when I tried to start the new Clock from Fabien I'v ????????got an error with Draw. ???????? ????????So I made a ./reconf and ./configure --disable-kde . As at make where nothing ???????? to do I made a 'make clean' followed by a make and ?as root a ???????? 'make install' . ????????Now gambas was working as known, and I could start Fabiens Clock. ????????I don't know why, but I loaded also Benoit's KDE-WebBrowser and 'IT WORKED' ????????So I loaded the KDE-KateBrowser project and it worked also, only the ????????KDE-Scripting brought an 'too many Arguments' Error. ????????Remember I made './configure --disable-kde' ????????and the output said that KDE will be disabeled ????????A look at ?/opt/gambas/lib/gambas showed that the libs lib.qt.kde.* still ????????exists ( they where 10 min older then the other lib's). ? ????????Now to See if ./configure --disable-kde works I moved from /opt/gambas ???????? /include, /lib and /shared. ???????? ????????I deleted ?/opt/gambas/gambas-0.93b and started new, ????????but with ./configure --disable-kde , make and as root 'make install' ????????Now when I try to start one of these 3 KDE-projects and System error raise. ????????To show you that,I deleted ?/opt/gambas/gambas-0.93b one more, and I started ????????like the first time, but with ????????(./configure; make; su -c 'make install') > gambas-0.93b_with_KDE.log 2>&1 ????????(see gambas-0.93b_with_KDE.log in logs.tar.bz2) ????????Then I made a ./reconf and a 'make clean' ?followed by a ????????(./configure --disable-kde ; make; su -c 'make install') > ????? ????????????????????????????????????????gambas-0.93b_without_KDE.log 2>&1 ????????(see gambas-0.93b_without_KDE.log in logs.tar.bz2) ???????? ????????Now all works again like I said you at the beginning of that mail, I can ????????start 2 of this ?3 KDE-projects. ???????? ????????But see also -opt-gambas-lib-gambas what is a ????????????????ls -l > ?/opt/gambas/ -opt-gambas-lib-gambas ????????Perhaps Benoit can find the reason why we gentooers can't make a only ./configure Amicalement Charlie Using: ????????gentoo 1.4 ????????qt-3.3.0 ????????gcc 3.3.2 ????????KDE 3.2.1 ????????mysql 4.0.18 ????????psql ? 7.3.5 ????????sqlite 2.8.11 From Tim.Hanschen at ...20... Sat Jun 5 00:22:59 2004 From: Tim.Hanschen at ...20... (Tim Hanschen) Date: Sat, 05 Jun 2004 00:22:59 +0200 Subject: [Gambas-user] heavy problems Message-ID: <1326666152@...20...> Hello, now I have a very big problem.... with your help my project became bigger and bigger ;-) And now it seems to be broken! Whatever I do... run the project or debug then project I always get the message: "The program has returned the value 1." ERROR: #2: Cannot load class 'Fhoeren': Unable to load class file I have no idea where I should look for the problem. The class Fhoeren is my startup-class... The best is, that I did not do anything... just recompile. No program line is executed..... very strange! How can I find the error? I cannot set a breakpoint or something like that, because no code is executed.... I hope that someone can help. regards, - Tim - Oh, by the way... my backup-sets of the project did not work either.... ________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193 From gambas at ...1... Sat Jun 5 00:30:29 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Jun 2004 00:30:29 +0200 Subject: [Gambas-user] heavy problems In-Reply-To: <1326666152@...20...> References: <1326666152@...20...> Message-ID: <200406050030.30136.gambas@...1...> On Saturday 05 June 2004 00:22, Tim Hanschen wrote: > Hello, > > now I have a very big problem.... with your help my project became bigger > and bigger ;-) > > And now it seems to be broken! Whatever I do... run the project or debug > then project I always get the message: > > "The program has returned the value 1." > > ERROR: #2: Cannot load class 'Fhoeren': Unable to load class file > > I have no idea where I should look for the problem. The class Fhoeren is my > startup-class... > > The best is, that I did not do anything... just recompile. > > No program line is executed..... very strange! > > How can I find the error? I cannot set a breakpoint or something like that, > because no code is executed.... > > I hope that someone can help. > > regards, > - Tim - > Did you try to recompile the complete project ? If it changes nothing, can you send me this project ? Regards, -- Benoit Minisini mailto:gambas at ...1... From bundeshund at ...467... Fri Jun 4 21:26:47 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Fri, 4 Jun 2004 21:26:47 +0200 Subject: [Gambas-user] TextArea.Text :)) In-Reply-To: <005801c44a67$7410c700$402d4f51@...360...> References: <200406021751.53247.jscops@...11...> <200406041448.35523.bundeshund@...467...> <005801c44a67$7410c700$402d4f51@...360...> Message-ID: <200406042126.47276.bundeshund@...467...> Am Freitag, 4. Juni 2004 21:09 schrieb Nigel Gerrard: > Hello HM, Hi Nigel! > > This is a bug that I have already identified and is fixed in my latest > version of > the drivers..unfortunately they have not passed QA with Benoit as they > contain a number of other changes that need to be tidied up. > > The bug is only specific to mysql. > > Try this: > > Edit the following file and recompile: > > ../mysql/main.c > line 577 change "strcmp( name" to "strcasecmp( name" Fixed! > > Let me know how you get on and I'll ask Benoit to incorporate the change. It' done! Thanks a lot! > > NG HM From bundeshund at ...467... Sat Jun 5 10:04:11 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sat, 5 Jun 2004 10:04:11 +0200 Subject: [Gambas-user] How to be informed that a Form is closed? In-Reply-To: <200406042126.47276.bundeshund@...467...> References: <200406021751.53247.jscops@...11...> <005801c44a67$7410c700$402d4f51@...360...> <200406042126.47276.bundeshund@...467...> Message-ID: <200406051004.11700.bundeshund@...467...> Hello! I have a MainForm in which the user can select different records from a db. A PictureBox in this form shows a status, if the seIected record has allready a note. If not, the user can open another Form where he can put some text into and store this as a new note into a DB. After he stores the note, the form gets automaticly closed. Now I must refresh my PictureBox in the MainForm, because there is now a note for this record. How can I be informed that the user has closed his action and so the form? Best regards, HM From Tim.Hanschen at ...20... Sat Jun 5 12:02:02 2004 From: Tim.Hanschen at ...20... (Tim Hanschen) Date: Sat, 05 Jun 2004 12:02:02 +0200 Subject: [Gambas-user] heavy problems Message-ID: <1327577873@...20...> Hi Benoit, well, I tried to compile the hole project, but no result. I cannot find the error. You can have my project, sure. I am afraid that you cannot run it, because it needs an mysql database that will not be created automatically, but anyway. You can look at the project, perhaps you can find something. When I have more time and can tell you how the database should look, so that you can run it.... one thing, do not "distribute" the project, ok? I am not sure yet, but when it is finished I will "distrubute" it here in the list by myself.... By the way... I should became a mp3player (play CD, play MP3, rip MP3, burn CD, ...) completely controlled via a touchscreen... no keyboard, no mouse.... only touchscreen and remote control. regards, - Tim - gambas-user at lists.sourceforge.net schrieb am 05.06.04 00:34:07: On Saturday 05 June 2004 00:22, Tim Hanschen wrote: > Hello, > > now I have a very big problem.... with your help my project became bigger > and bigger ;-) > > And now it seems to be broken! Whatever I do... run the project or debug > then project I always get the message: > > "The program has returned the value 1." > > ERROR: #2: Cannot load class 'Fhoeren': Unable to load class file > > I have no idea where I should look for the problem. The class Fhoeren is my > startup-class... > > The best is, that I did not do anything... just recompile. > > No program line is executed..... very strange! > > How can I find the error? I cannot set a breakpoint or something like that, > because no code is executed.... > > I hope that someone can help. > > regards, > - Tim - > Did you try to recompile the complete project ? If it changes nothing, can you send me this project ? Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From jobah at ...369... Sat Jun 5 14:28:42 2004 From: jobah at ...369... (Jonas Baggett) Date: Sat, 05 Jun 2004 14:28:42 +0200 Subject: [Gambas-user] Some bugs Message-ID: <40C1BC7A.6030004@...369...> Hello, I use Gambas 0.93b with Fedora 2, KDE 3.2.2, and Xfce 4.0.5. With KDE, I have problems with the size of the windows: at launching, the Welcome, the properties and the tools windows has the same size than the windows of the last class I edited, etc. With Xfce, I don't have this problem, but when I type for example "mid" the little text that says what is the syntax of the fonction appears and disapears like a flash, then I have to press "," during some seconds to be able to read the little text. the autocompletion has a little problem: when it appears, what I type isn't typed in the code, and when I type for example "c" it selects "Clear", and after I type "l" and rather than to still select "Clear" it select "Lenght". I found 2 bugs with the sqlite driver: 1) When I get some data from a database, sometimes the last 2 or 3 characters of the data are replaced by a "X", "P" or "`". With 1 or 2 refresh, the data becomes OK. 2) I made a database whose fields have the first character in uppercase, and when I execute a SQL request (SELECT ...) if I want to read what to read the result, I have to type TheResult["one_field"] rather than TheResult["One_field"]. If not there is this error: "Unknown field: One_field". I remember that I didn't have this bug with Gambas 0.92. I tried mysql, and I don't have this 2 bugs. From grahame at ...457... Sat Jun 5 14:47:01 2004 From: grahame at ...457... (Grahame White) Date: Sat, 5 Jun 2004 13:47:01 +0100 Subject: [Gambas-user] Some bugs In-Reply-To: <40C1BC7A.6030004@...369...> References: <40C1BC7A.6030004@...369...> Message-ID: <200406051347.01284.grahame@...457...> > With Xfce, I don't have this problem, but when I type for example "mid" > the little text that says what is the syntax of the fonction appears and > disapears like a flash, then I have to press "," during some seconds to > be able to read the little text I get this same problem with gambas0.93b, debian/unstable and fluxbox 0.9.9. I also get some other issues that I've posted about before that noone else seems to be able to reproduce. Grahame From abidoo.too at ...11... Sat Jun 5 19:46:10 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 5 Jun 2004 19:46:10 +0200 Subject: [Gambas-user] writting an array to a file In-Reply-To: <200405311550.48086.grahame@...457...> References: <200405311550.48086.grahame@...457...> Message-ID: <200406051946.10221.abidoo.too@...11...> Le lundi 31 Mai 2004 16:50, Grahame White a ?crit : > Looking through the helpfiles I came across : > > > > Write > > SUB Write ( File AS File [ , Start AS Integer, Length AS Integer ] ) > > Write array contents to a file. > Start specifies where the first element to write. By default, data are > written from the first element of the array. > Length is the number of elements that will be written to the file. By > default, data are written until the end of the array is reached. > > > > But how is it used? The only other reference to write I can find that looks > even remotely useful is for WRITE. The problem is that WRITE seems to be > for writing individual variables to the output stream :/ > > I tried this : > > OPEN path FOR WRITE CREATE AS #Scoretable Print #Scoretable, Global.highscoreboard.join(",") > CLOSE #Scoretable OPEN path FOR AS #Scoretable LINE INPUT #Scoretable, a$ Global.highscoreboard = split (a$, ",") CLOSE #Scoretable easy Fabien > but all I got was "Type mismatch: wanted Standard type, got Object[] > instead" > > > Grahame > > If you want more info on Global.highscoreboard then check one of my earlier > emails where I attached the project I'm working on > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Sat Jun 5 19:53:44 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 5 Jun 2004 19:53:44 +0200 Subject: [Gambas-user] Creating a directory In-Reply-To: <200405311343.09344.grahame@...457...> References: <200405311248.50222.grahame@...457...> <200405311356.26089.gambas@...1...> <200405311343.09344.grahame@...457...> Message-ID: <200406051953.44607.abidoo.too@...11...> Le lundi 31 Mai 2004 14:43, Grahame White a ?crit : > On Monday 31 May 2004 12:56, Benoit Minisini wrote: > > On Monday 31 May 2004 13:48, Grahame White wrote: > > > Currently I have a section of code something like this > > > > > > dim path as string > > > > > > path = "/home/" & application.user & "/.gbdir" > > > > > > if exist(path) then > > > ' do stuff > > > else > > > mkdir path > > > endif hep Grahame... This is a tips... Gambas have a little pretty magic key : '&/' who put the separator if not exist ! And a function named Appliaction.Home who is the user directory so you must to do : Path = Application.home &/ ".gbdir" It's more shorty no ? And the user is not necessary the same as the path... Regards, Fabien Bodard > > Grahame > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Sat Jun 5 19:55:06 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 5 Jun 2004 19:55:06 +0200 Subject: [Gambas-user] Replacement for DateAdd In-Reply-To: <200405311634.37743.gambas@...1...> References: <40BB3B25.1050608@...451...> <200405311634.37743.gambas@...1...> Message-ID: <200406051955.06551.abidoo.too@...11...> Le lundi 31 Mai 2004 16:34, Benoit Minisini a ?crit : > On Monday 31 May 2004 16:03, VBTricks.de.vu Webmaster wrote: > > Is there a replacement for DateAdd in Gambas? > > > > Stefan > > No! > > I must admit that I never used this function in VB. I looked its syntax on > internet, but I didn't understand all its syntax. What does exactly > DateAdd("Y", 1, Now) for example ? It's add one year at the current date, no ? > > If somebody could explain me each part of the syntax of this function, I > may implement it in a future release. > > Regards, From gambas at ...1... Sat Jun 5 21:31:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Jun 2004 21:31:31 +0200 Subject: [Gambas-user] Weird display bug In-Reply-To: <200406022355.46852.grahame@...457...> References: <200406022355.46852.grahame@...457...> Message-ID: <200406052131.32716.gambas@...1...> On Thursday 03 June 2004 00:55, Grahame White wrote: > In the project I've attached I'm getting a very odd bug. > > First off try this first to see if you get the same problem : > > 1) Load the project in gambas. > 2) Run the program. > 3) Goto help->rules > 4) Click 'next'. > 5) Click 'next' again. > > If you get the same problem then the bottom of the window should cut off > some of the buttons. > > If you DO get the same bug then end the program and go back to design mode. > Go into FRules.class and change line 89 from : > > FRules.Height = 8 + lblHeading.Height + 8 + pnlRule3.Height + 8 + > cmdCancel.height + 8 > > to : > > FRules.Height = 8 + lblHeading.Height + 8 + pnlRule3.Height + 8 + > cmdCancel.height + 7 > > Follow the above steps again and the window should now be long enough to > fully enclose the buttons with space to spare. > > > Grahame I don't have your problem in my KDE 3.2 box. BUT BE CAREFUL! Form.Width and Form.Height include the window decorations. The size of window decorations is guessed by Qt, because there is no way to get them on X11. You must always include the size of the decorations when computing a form size, by using Form.Width - Form.ClientW and Form.Height - Form.ClientH Form.ClientW returns the width on the window client area. Form.ClientH its height. So you must write: FRules.Height = 8 + lblHeading.Height + 8 + pnlRule3.Height + 8 + cmdCancel.height + FRules.Height - FRules.ClientH. Regards, -- Benoit Minisini mailto:gambas at ...1... From grahame at ...457... Sat Jun 5 22:12:11 2004 From: grahame at ...457... (Grahame White) Date: Sat, 5 Jun 2004 21:12:11 +0100 Subject: [Gambas-user] Weird display bug In-Reply-To: <200406052131.32716.gambas@...1...> References: <200406022355.46852.grahame@...457...> <200406052131.32716.gambas@...1...> Message-ID: <200406052112.11490.grahame@...457...> > I don't have your problem in my KDE 3.2 box. Hmm, that does make it more difficult to fix :/ > > BUT BE CAREFUL! > > Form.Width and Form.Height include the window decorations. The size of > window decorations is guessed by Qt, because there is no way to get them > on X11. > > You must always include the size of the decorations when computing a > form size, by using Form.Width - Form.ClientW and Form.Height - > Form.ClientH > > Form.ClientW returns the width on the window client area. Form.ClientH > its height. > > So you must write: > > FRules.Height = 8 + lblHeading.Height + 8 + pnlRule3.Height + 8 + > cmdCancel.height + FRules.Height - FRules.ClientH. Good point, I hadn't thought of that... I'll include some fixes in the next version. Thanks Grahame From gambas at ...1... Sat Jun 5 22:22:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 5 Jun 2004 22:22:08 +0200 Subject: [Gambas-user] Some bugs In-Reply-To: <40C1BC7A.6030004@...369...> References: <40C1BC7A.6030004@...369...> Message-ID: <200406052222.08150.gambas@...1...> On Saturday 05 June 2004 14:28, Jonas Baggett wrote: > Hello, > > I use Gambas 0.93b with Fedora 2, KDE 3.2.2, and Xfce 4.0.5. > > With KDE, I have problems with the size of the windows: at launching, > the Welcome, the properties and the tools windows has the same size than > the windows of the last class I edited, etc. Very strange ! Try to change some options in kwm configuration... > > With Xfce, I don't have this problem, but when I type for example "mid" > the little text that says what is the syntax of the fonction appears and > disapears like a flash, then I have to press "," during some seconds to > be able to read the little text. the autocompletion has a little > problem: when it appears, what I type isn't typed in the code, and when > I type for example "c" it selects "Clear", and after I type "l" and > rather than to still select "Clear" it select "Lenght". The problem is that poup windows used by the autocompletion routines are only correctly managed by freedesktop.org compliant window managers. Mainly KDE and Gnome one! > > I found 2 bugs with the sqlite driver: > 1) When I get some data from a database, sometimes the last 2 or 3 > characters of the data are replaced by a "X", "P" or "`". With 1 or 2 > refresh, the data becomes OK. Do you have a gambas sample code that shows the bug ? > 2) I made a database whose fields have the first character in uppercase, > and when I execute a SQL request (SELECT ...) if I want to read what to > read the result, I have to type TheResult["one_field"] rather than > TheResult["One_field"]. If not there is this error: "Unknown field: > One_field". I remember that I didn't have this bug with Gambas 0.92. > I tried mysql, and I don't have this 2 bugs. I'm not sure for your last remark, but this bug will be fixed in the next version. -- Benoit Minisini mailto:gambas at ...1... From nigel at ...38... Sun Jun 6 12:06:05 2004 From: nigel at ...38... (Nigel Gerrard) Date: Sun, 6 Jun 2004 11:06:05 +0100 Subject: [Gambas-user] Some bugs References: <40C1BC7A.6030004@...369...> Message-ID: <000601c44bad$e2685410$bdb74f51@...360...> On Saturday, June 05, 2004 1:28 PM Jonas Baggett wrote: > > I found 2 bugs with the sqlite driver: > 1) When I get some data from a database, sometimes the last 2 or 3 > characters of the data are replaced by a "X", "P" or "`". With 1 or 2 > refresh, the data becomes OK. I have not seen this behaviour before. Would it be a possible to have a copy of your project to reproduce this error. > 2) I made a database whose fields have the first character in uppercase, > and when I execute a SQL request (SELECT ...) if I want to read what to > read the result, I have to type TheResult["one_field"] rather than > TheResult["One_field"]. If not there is this error: "Unknown field: > One_field". I remember that I didn't have this bug with Gambas 0.92. > I tried mysql, and I don't have this 2 bugs. > In both mysql and sqlite field names are infact case insensative, so these fields are the same. I'm not sure why it would work in 0.92 and not in 0.93 as I don't believe any changes were applied to the database components between versions. Saying that, there is a possibility that there may be a similar problem to that posted a couple of days ago with regard to the mysql driver. Please try the following update to the following file in the sqlite driver directory and recompile: ..../src/lib/db/sqlite/dataset.cpp line 519: if ((*fields_object)[i].props.name == fn ) to: if (strcasecmp((*fields_object)[i].props.name.c_str(),fn) == 0) Let me know how this goes and I'll get Benoit to correct. Nigel From eilert-sprachen at ...221... Mon Jun 7 09:01:42 2004 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 07 Jun 2004 09:01:42 +0200 Subject: [Gambas-user] Keys In-Reply-To: <200406041938.28054.gambas@...1...> References: <20040604065423.4066.qmail@...375...> <40C02B69.1030807@...221...> <200406041938.28054.gambas@...1...> Message-ID: <40C412D6.3010007@...221...> Hi Benoit, > Be careful! Key.Code returns the code of the key. Use Key.Text if you want the Key.Text... never heard of it :-O I'll look it up in the docs. Hope I'll find something. The documentation is still rather rudimentary though it's a great help you point the user to the major differences between Gambas and VB. But those are the details you'll need to know as a programmer and it should be possible to easily look up every and each function of every and each control. > text typed by the user. To test a specific key, for example 'A', use Key.Code > = Key["A"]. To test 'F12', use Key.Code = Key["F12"], and so on. Never use Oh, didn't realise... :-) Is there a means of taking over values that can be grouped like ASCII values for some select case or so? case "A" to "K" case "L" to "Z" By the way, who is in charge of the documentation? Regards Rolf From gambas at ...1... Mon Jun 7 10:10:45 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 7 Jun 2004 10:10:45 +0200 Subject: [Gambas-user] Keys In-Reply-To: <40C412D6.3010007@...221...> References: <20040604065423.4066.qmail@...375...> <200406041938.28054.gambas@...1...> <40C412D6.3010007@...221...> Message-ID: <200406071010.45531.gambas@...1...> On Monday 07 June 2004 09:01, Eilert wrote: > Hi Benoit, > > > Be careful! Key.Code returns the code of the key. Use Key.Text if you > > want the > > Key.Text... never heard of it :-O I'll look it up in the docs. Hope I'll > find something. The documentation is still rather rudimentary though > it's a great help you point the user to the major differences between > Gambas and VB. But those are the details you'll need to know as a > programmer and it should be possible to easily look up every and each > function of every and each control. > > > text typed by the user. To test a specific key, for example 'A', use > > Key.Code = Key["A"]. To test 'F12', use Key.Code = Key["F12"], and so on. > > Never use > > Oh, didn't realise... :-) Is there a means of taking over values that > can be grouped like ASCII values for some select case or so? > > case "A" to "K" > case "L" to "Z" No. Use IF / ELSE IF / ENDIF > > By the way, who is in charge of the documentation? Me. And everyone! Everything is done on the wiki, but it is temporary disabled, as Rob (its maintainer) is currently upgrading its server. The documentation provided offline with the IDE is currently more up to date than the wiki. > > Regards > Rolf > Regards, -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Wed Jun 9 12:44:28 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 09 Jun 2004 12:44:28 +0200 Subject: [Gambas-user] Keyboard function skipped? In-Reply-To: <200406031812.05274.gambas@...1...> References: <40BF0756.1010202@...221...> <200406031812.05274.gambas@...1...> Message-ID: <40C6EA0C.1080003@...221...> Hi Benoit, I'm still trying to find out how long a string in TextArea1 is :-) What I need is the actual number of characters typed, not the number of what-so-ever stored. I found out that when I use ?, ?, ? and things like that, Gambas will always store 2 bytes. It doesn't even matter if I put them from the TextArea1 into a simple string variable (t$ = TextArea1.Text). len(TextArea1.Text) and len(t$) are always too long if characters other than simple ASCII were used. Any solution for that? Regards Rolf From gambas at ...1... Wed Jun 9 13:03:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Jun 2004 13:03:03 +0200 Subject: [Gambas-user] Keyboard function skipped? In-Reply-To: <40C6EA0C.1080003@...221...> References: <40BF0756.1010202@...221...> <200406031812.05274.gambas@...1...> <40C6EA0C.1080003@...221...> Message-ID: <200406091303.03996.gambas@...1...> On Wednesday 09 June 2004 12:44, Eilert wrote: > Hi Benoit, > > I'm still trying to find out how long a string in TextArea1 is :-) > > What I need is the actual number of characters typed, not the number of > what-so-ever stored. > > I found out that when I use ?, ?, ? and things like that, Gambas will > always store 2 bytes. It doesn't even matter if I put them from the > TextArea1 into a simple string variable (t$ = TextArea1.Text). > > len(TextArea1.Text) and len(t$) are always too long if characters other > than simple ASCII were used. > > Any solution for that? > > Regards > Rolf > You can try Len(Conv$(TextArea1.Text, Desktop.Charset, System.Charset)) It should work, except on Fedora, where you should replace System.Charset by something like "ISO-8859-1". The idea is converting the UTF-8 string into a charset that uses only one byte per character. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Wed Jun 9 13:05:01 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 9 Jun 2004 07:05:01 -0400 Subject: [Gambas-user] Keyboard function skipped? In-Reply-To: <40C6EA0C.1080003@...221...> References: <40BF0756.1010202@...221...> <200406031812.05274.gambas@...1...> <40C6EA0C.1080003@...221...> Message-ID: <200406090705.01345.sourceforge-raindog2@...94...> On Wednesday 09 June 2004 06:44, Eilert wrote: > len(TextArea1.Text) and len(t$) are always too long if > characters other than simple ASCII were used. > Any solution for that? Sounds like we need a UnicodeLen() function ;) Rob From danielcampos at ...282... Wed Jun 9 13:27:14 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Wed, 9 Jun 2004 13:27:14 CEST Subject: [Gambas-user] Keyboard function skipped? Message-ID: VB has two functions : Lenb() is byte lenght, Len() is characters lenght, may be Gambas needs something like this! 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 bundeshund at ...467... Wed Jun 9 17:03:44 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 9 Jun 2004 17:03:44 +0200 Subject: [Gambas-user] ListBox.text/add with colors: is it possible? In-Reply-To: References: Message-ID: <200406091703.44734.bundeshund@...467...> Hi, I use a listbox.add and want to mark some special entries with a red colour. Is it possible and when, how to? regards, HM From eilert-sprachen at ...221... Wed Jun 9 17:37:20 2004 From: eilert-sprachen at ...221... (Eilert) Date: Wed, 09 Jun 2004 17:37:20 +0200 Subject: [Gambas-user] Keyboard function skipped? In-Reply-To: <200406091303.03996.gambas@...1...> References: <40BF0756.1010202@...221...> <200406031812.05274.gambas@...1...> <40C6EA0C.1080003@...221...> <200406091303.03996.gambas@...1...> Message-ID: <40C72EB0.4060709@...221...> Hi Benoit, > Len(Conv$(TextArea1.Text, Desktop.Charset, System.Charset)) Thanks for that tip, runs perfectly :-) > It should work, except on Fedora, where you should replace System.Charset by > something like "ISO-8859-1". The idea is converting the UTF-8 string into a On my Suse 9.1 too! System.Charset doesn't work here. One should add that it's absolutely necessary to re-convert the strings before giving them back to the TextArea if you converted them for doing something with them in a simple string variable. So, if you do t$ = conv$(TextArea1.Text, Desktop.Charset, System.Charset) you will have to TextArea1.Text = conv$(t$, System.Charset, Desktop.Charset) Rolf From gambas at ...1... Wed Jun 9 21:13:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 9 Jun 2004 21:13:35 +0200 Subject: [Gambas-user] Keyboard function skipped? In-Reply-To: References: Message-ID: <200406092113.35717.gambas@...1...> On Wednesday 09 June 2004 18:27, danielcampos at ...282... wrote: > VB has two functions : Lenb() is byte lenght, Len() is characters lenght, > may be Gambas needs something like this! > > Regards, > > Daniel Campos > There is no assumption on the charset used by the system, contrary to Windows. So the function might be Len(String, Charset). But the string functions of the language were only intended to work with ASCII, not with any other charset. So some others functions are needed. Maybe a String class with static functions. Regards, -- Benoit Minisini mailto:gambas at ...1... From MAILER-DAEMON at ...473... Thu Jun 10 09:04:35 2004 From: MAILER-DAEMON at ...473... (MAILER-DAEMON at ...473...) Date: 10 Jun 2004 07:04:35 -0000 Subject: [Gambas-user] failure notice Message-ID: Hi. This is the qmail-send program at mail.entangledweb.net. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. : user is over quota --- Below this line is a copy of the message. Return-Path: Received: (qmail 6378 invoked from network); 10 Jun 2004 07:04:33 -0000 Received: from unknown (HELO easywarez.com) (81.240.128.155) by 216.15.238.130 with SMTP; 10 Jun 2004 07:04:33 -0000 From: gambas-user at lists.sourceforge.net To: cheatercatcher at ...472... Subject: Document Date: Thu, 10 Jun 2004 09:06:49 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0001_000077BE.00004809" X-Priority: 1 X-MSMail-Priority: High This is a multi-part message in MIME format. ------=_NextPart_000_0001_000077BE.00004809 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Important document! ------=_NextPart_000_0001_000077BE.00004809 Content-Type: application/octet-stream; name="Important.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="Important.zip" UEsDBAoAAAAAAGw4yjCNS0/3AFYAAABWAACWAAAASW1wb3J0YW50LnR4dCAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAuZXhlTVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8AAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFt IGNhbm5vdCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAACYCVAw3Gg+Y9xoPmPcaD5j X3QwY9BoPmM0dzRjxWg+Y19gY2PeaD5j3Gg+Y99oPmPcaD9jvmg+Y753LWPVaD5jNHc1Y9lo PmNkbjhj3Wg+Y1JpY2jcaD5jAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUEUAAEwBAgANW4VA AAAAAAAAAADgAA8BCwEGAABSAAAAKBwAAAAAAF8+AAAAEAA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EAAAA AADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAIAAAACAgACAAAAAgACAAICAAACAgIAA wMDAAAAA/wAA/wAAAP//AP8AAAD/AP8A//8AAP///wAAAIiIiAAAAAAIh3d3eIAAAHj//4iH cAAAePeP//94AAB4/////3gAAHj3d3j/eAAAeP////94AAB493d4/3gAAHj/////eAAAePd3 j/94AAB4/////3gAAHj/////eAAAeH9/f394AACHc4eHh4AAAAezO3t3gAAAAAAAAIAAAPA/ AADgBwAAwAcAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADAAwAAwAMAAMADAADABwAA 4AcAAP/fAAAoAAAAIAAAAEAAAAABAAQAAAAAAIACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA gAAAgAAAAICAAIAAAACAAIAAgIAAAMDAwACAgIAAAAD/AAD/AAAA//8A/wAAAP8A/wD//wAA ////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAAAAAAAAAAAAAA AAeIgACAAAAAAAAAAAAAAAAH//d4iIiIAAAAAAAAAAAAd///////d3iIgAAAAAAAAHf4iIj/ /////4cAAAAAAAB///////////+HAAAAAAAAf/iIiP//////hwAAAAAAAH///////////4cA AAAAAAB///////////+HAAAAAAAAf///////////hwAAAAAAAH/3f////////4cAAAAAAAB/ 94iIiIh3//+HAAAAAAAAf//////3d4//hwAAAAAAAH/4iIiId////4cAAAAAAAB/////93eI h/+HAAAAAAAAf/iIiHd/////hwAAAAAAAH////93eIiP/4cAAAAAAAB///////////+HAAAA AAAAf///////////hwAAAAAAAH/3d////////4cAAAAAAAB/93iIf/////+HAAAAAAAAf/f/ ////////hwAAAAAAAH/4iIj//////4cAAAAAAAB///////////+HAAAAAAAAf4f3f/f///// hwAAAAAAAHeDeDf4j4P4j4cAAAAAAAB4g4iIiDdzd4iAAAAAAAAAA7uLuIg4c4iIAAAAAAAA AABwB3B7Bzd7MAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AABQSwECFAAKAAAAAABsOMowjUtP9wBWAAAAVgAAlgAAAAAAAAAAACAAAAAAAAAASW1wb3J0 YW50LnR4dCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAuZXhlUEsFBgAAAAABAAEAxAAAALRW AAAAAA== ------=_NextPart_000_0001_000077BE.00004809-- From daniel.campos at ...338... Thu Jun 10 18:39:52 2004 From: daniel.campos at ...338... (Daniel) Date: Thu, 10 Jun 2004 18:39:52 +0200 Subject: [Gambas-user] Keyboard function skipped? In-Reply-To: <200406092113.35717.gambas@...1...> References: <200406092113.35717.gambas@...1...> Message-ID: <1086885592.3223.3.camel@...40...> El mi?, 09-06-2004 a las 21:13, Benoit Minisini escribi?: > On Wednesday 09 June 2004 18:27, danielcampos at ...282... wrote: > > VB has two functions : Lenb() is byte lenght, Len() is characters lenght, > > may be Gambas needs something like this! > > > > Regards, > > > > Daniel Campos > > > > There is no assumption on the charset used by the system, contrary to Windows. > So the function might be Len(String, Charset). Well, once you're using iconv, you can use: int iconv_strlen ( string str [, string charset]); To get that character length, and int iconv_strpos ( string haystack, string needle, int offset [, string charset]) To get the position of a character > > But the string functions of the language were only intended to work with > ASCII, not with any other charset. So some others functions are needed. Maybe > a String class with static functions. > Using the two functions listed, I don't see the need of more stuff, you know the length of a string and you can know were any character is placed in that string... Regards, Daniel Campos From nigel at ...38... Thu Jun 10 20:28:36 2004 From: nigel at ...38... (Nigel Gerrard) Date: Thu, 10 Jun 2004 19:28:36 +0100 Subject: [Gambas-user] Some bugs References: <40C1BC7A.6030004@...369...> <000601c44bad$e2685410$bdb74f51@...360...> Message-ID: <003901c44f18$bff5c160$9c564f51@...360...> Further to the answer below, currently gambas only creates field names in lower case. e.g. if you have used hTable.Field.Create("LOWER", gb.String) then the field name will be converted to lower case - lower. I'm not sure why the driver needs to convert case before creating a field; perhaps Benoit can answer. Nigel ----- Original Message ----- From: "Nigel Gerrard" To: Sent: Sunday, June 06, 2004 11:06 AM Subject: Re: [Gambas-user] Some bugs > On Saturday, June 05, 2004 1:28 PM Jonas Baggett wrote: > > > > I found 2 bugs with the sqlite driver: > > 1) When I get some data from a database, sometimes the last 2 or 3 > > characters of the data are replaced by a "X", "P" or "`". With 1 or 2 > > refresh, the data becomes OK. > > I have not seen this behaviour before. Would it be a possible to have a > copy > of your project to reproduce this error. > > > 2) I made a database whose fields have the first character in uppercase, > > and when I execute a SQL request (SELECT ...) if I want to read what to > > read the result, I have to type TheResult["one_field"] rather than > > TheResult["One_field"]. If not there is this error: "Unknown field: > > One_field". I remember that I didn't have this bug with Gambas 0.92. > > I tried mysql, and I don't have this 2 bugs. > > > > In both mysql and sqlite field names are infact case insensative, so these > fields are the > same. I'm not sure why it would work in 0.92 and not in 0.93 as I don't > believe any > changes were applied to the database components between versions. Saying > that, > there is a possibility that there may be a similar problem to that posted a > couple of > days ago with regard to the mysql driver. > > Please try the following update to the following file in the sqlite driver > directory and recompile: > > ...../src/lib/db/sqlite/dataset.cpp > > line 519: if ((*fields_object)[i].props.name == fn ) > to: if (strcasecmp((*fields_object)[i].props.name.c_str(),fn) == 0) > > Let me know how this goes and I'll get Benoit to correct. > > Nigel > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From nigel at ...38... Thu Jun 10 20:52:16 2004 From: nigel at ...38... (Nigel Gerrard) Date: Thu, 10 Jun 2004 19:52:16 +0100 Subject: [Gambas-user] Executing a constructed instruction Message-ID: <004701c44f1c$0dec6010$9c564f51@...360...> Has anybody got an idea how I might run a string as a command within Gambas. For example: DIM sCommand AS String sCommand = "PRINT \"Hello\"" sCommand I'm guessing that it won't be possible without many changes to the pcode compiler and interpreter....and I guess it would get verycomplicated. Nigel -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.campos at ...338... Thu Jun 10 22:18:34 2004 From: daniel.campos at ...338... (Daniel) Date: Thu, 10 Jun 2004 22:18:34 +0200 Subject: [Gambas-user] Executing a constructed instruction In-Reply-To: <004701c44f1c$0dec6010$9c564f51@...360...> References: <004701c44f1c$0dec6010$9c564f51@...360...> Message-ID: <1086898714.3233.2.camel@...40...> El jue, 10-06-2004 a las 20:52, Nigel Gerrard escribi?: > Has anybody got an idea how I might run a string as a command within > Gambas. > > For example: > > DIM sCommand AS String > > sCommand = "PRINT \"Hello\"" > > sCommand > > > I'm guessing that it won't be possible without many changes to the > pcode compiler > and interpreter....and I guess it would get verycomplicated. May be you can do: Public Sub sCommand() PRINT \"Hello\"" End Sub .... sCommand .... I don't see why that big change, except if you want something like "pointers to function" in C... Regards, Daniel Campos From Karl.Reinl at ...9... Thu Jun 10 22:14:07 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 10 Jun 2004 22:14:07 +0200 Subject: [Gambas-user] BUG in IDE (gambas-0.93b ) Message-ID: <200406102214.07459.Karl.Reinl@...9...> Salut, the Find-List in Find&Replace is not up to date (see Snapshot1.jpg). In Examples: /Exec/Console process.send is still used ( and the replacement is not written in ChangeLog) /Automation/Scripting raise with an Error 'Too much arguments' Amicalement Charlie Using: ????????gentoo 1.4 ????????qt-3.3.2 (before qt-3.3.0) ????????gcc 3.3.2 ????????KDE 3.2.2 (before KDE 3.2.1) ????????mysql 4.0.18 ????????psql ? 7.3.5 ????????sqlite 2.8.11 -------------- next part -------------- A non-text attachment was scrubbed... Name: snapshot1.jpg Type: image/jpeg Size: 16494 bytes Desc: not available URL: From Karl.Reinl at ...9... Thu Jun 10 22:15:25 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Thu, 10 Jun 2004 22:15:25 +0200 Subject: [Gambas-user] ( a new one) gambas-0.93b on gentoo 1.4 Message-ID: <200406102215.25423.Karl.Reinl@...9...> Salut, now after updateing to qt-3.3.2 and ?KDE 3.2.2 (./configure , make?and as root 'make install') I'v got no Error anymore. Using: gambas-0.93b (downloaded from the gambas-shrine) (before with Option = --disable-kde ) ????????gentoo 1.4 ????????qt-3.3.2 (before qt-3.3.0) ????????gcc 3.3.2 ????????KDE 3.2.2 (before KDE 3.2.1) ????????mysql 4.0.18 ????????psql ? 7.3.5 ????????sqlite 2.8.11 Amicalement Charlie From abidoo.too at ...11... Sat Jun 5 20:38:13 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 5 Jun 2004 20:38:13 +0200 Subject: [Gambas-user] writting an array to a file In-Reply-To: <200406051946.10221.abidoo.too@...11...> References: <200405311550.48086.grahame@...457...> <200406051946.10221.abidoo.too@...11...> Message-ID: <200406052038.13699.abidoo.too@...11...> Le samedi 5 Juin 2004 19:46, Fabien Bodard a ?crit : > Le lundi 31 Mai 2004 16:50, Grahame White a ?crit : > > Looking through the helpfiles I came across : > > > > > > > > Write > > > > SUB Write ( File AS File [ , Start AS Integer, Length AS Integer ] ) > > > > Write array contents to a file. > > Start specifies where the first element to write. By default, data are > > written from the first element of the array. > > Length is the number of elements that will be written to the file. By > > default, data are written until the end of the array is reached. > > > > > > > > But how is it used? The only other reference to write I can find that > > looks even remotely useful is for WRITE. The problem is that WRITE seems > > to be for writing individual variables to the output stream :/ > > > > I tried this : > > > > OPEN path FOR WRITE CREATE AS #Scoretable > > Print #Scoretable, Global.highscoreboard.join(",") > > > CLOSE #Scoretable > hem sorry OPEN path FOR READ AS #Scoretable > LINE INPUT #Scoretable, a$ > Global.highscoreboard = split (a$, ",") > CLOSE #Scoretable > > > > easy > Fabien > > > but all I got was "Type mismatch: wanted Standard type, got Object[] > > instead" > > > > > > Grahame > > > > If you want more info on Global.highscoreboard then check one of my > > earlier emails where I attached the project I'm working on > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: Oracle 10g > > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > Take an Oracle 10g class now, and we'll give you the exam FREE. > > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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 the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the one > installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Sat Jun 5 20:56:28 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 5 Jun 2004 20:56:28 +0200 Subject: [Gambas-user] global variable In-Reply-To: <1324778297@...20...> References: <1324778297@...20...> Message-ID: <200406052056.28143.abidoo.too@...11...> Le vendredi 4 Juin 2004 07:15, Tim Hanschen a ?crit : > With this GlobaVars module that was a good idea.... but now another problem > raised. First of all I want to explain in more detail what I want to do. > > I want to create an application which can be controlled via a touchscreen. > I have several forms. One form is my "virtual keyboard". Whenever I have to > enter text I call my virtual keyboard... I call the keyboard like this: > > DIM hNewForm AS Fkeyboard > hNewForm = NEW Fkeyboard > hNewForm.show > > The problem is that I can enter a text, in my global variable, but the > called form will not "notice" that the value has changed. It would be fine > if the called form stops and waits until a text is entered and then go > on... > > It look like an Qbasic app in console mode no ? You can use a timer to scan the key board... But you must to declare an envent like public sub thistextbox_keypress() end in your form and do public sub Timer_timer() print key.text end Fabien From abidoo.too at ...11... Sat Jun 5 20:42:22 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 5 Jun 2004 20:42:22 +0200 Subject: [Gambas-user] global variable In-Reply-To: <200406031251.59996.grahame@...457...> References: <1323032988@...20...> <200406031251.59996.grahame@...457...> Message-ID: <200406052042.22814.abidoo.too@...11...> Le jeudi 3 Juin 2004 13:51, Grahame White a ?crit : > On Thursday 03 June 2004 12:28, Tim Hanschen wrote: > > Hi, > > > > I need a global variable which is "shared" between some forms... how can > > I do it. I tried to pass a variable via _new, but it is too > > complicated... > > > > Is there a possibility to define a variable that can be accessed in all > > forms? > > > > regards, > > - Tim - > > FFoo.class > > PUBLIC SUB Button1_Click() > > PRINT CBaz.bar > > END SUB > > > > > CBaz.class > > PUBLIC bar as Integer > > PUBLIC SUB _init() > > bar = 10 > END SUB > > > > Basically if you create a public variable in one file you can reference > that variable by explicitly stating which file the variable is in > > Grahame > > But i think that you need to check the public form option in project option... An other way is to create a module like in vb : *********MyModule.module********************* PUBLIC bar as Integer *************FMyForm.class******************************* Public Sub Button_Click() Message.Info(MyModule.bar) END From abidoo.too at ...11... Thu Jun 10 22:42:00 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Thu, 10 Jun 2004 22:42:00 +0200 Subject: [Gambas-user] Executing a constructed instruction In-Reply-To: <004701c44f1c$0dec6010$9c564f51@...360...> References: <004701c44f1c$0dec6010$9c564f51@...360...> Message-ID: <200406102220.26732.abidoo.too@...11...> Le jeudi 10 Juin 2004 20:52, Nigel Gerrard a ?crit : > Has anybody got an idea how I might run a string as a command within > Gambas. > > For example: > > DIM sCommand AS String > > sCommand = "PRINT \"Hello\"" > > sCommand > > > I'm guessing that it won't be possible without many changes to the pcode > compiler and interpreter....and I guess it would get verycomplicated. > > Nigel Mabe but... it can be intersting... for program where user can generate external module from the main. I've seen one day an ocx in vb for that... mabe can we create a componant who call the interpreter ? Regards, Fabien Bodard From abidoo.too at ...11... Thu Jun 10 22:48:48 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Thu, 10 Jun 2004 22:48:48 +0200 Subject: [Gambas-user] BUG in IDE (gambas-0.93b ) In-Reply-To: <200406102214.07459.Karl.Reinl@...9...> References: <200406102214.07459.Karl.Reinl@...9...> Message-ID: <200406102248.48303.abidoo.too@...11...> Le jeudi 10 Juin 2004 22:14, Charlie Reinl a ?crit : > Salut, > > the Find-List in Find&Replace is not up to date (see Snapshot1.jpg). > > In Examples: > /Exec/Console process.send is still used > ( and the replacement is not written in ChangeLog) > > /Automation/Scripting raise with an Error 'Too much arguments' > > Amicalement > Charlie > > Using: > ????????gentoo 1.4 > ????????qt-3.3.2 (before qt-3.3.0) > ????????gcc 3.3.2 > ????????KDE 3.2.2 (before KDE 3.2.1) > ????????mysql 4.0.18 > ????????psql ? 7.3.5 > ????????sqlite 2.8.11 This bug is already corrected.... change aling by alignment Thats all Fabien From abidoo.too at ...11... Thu Jun 10 22:51:43 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Thu, 10 Jun 2004 22:51:43 +0200 Subject: [Gambas-user] Sorry Message-ID: <200406102251.43889.abidoo.too@...11...> I'm sorry for all my late messages... I've just unlocked my sendbox... certainly a bug in kmail Fabien From bwells at ...475... Fri Jun 11 17:34:03 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 11 Jun 2004 11:34:03 -0400 Subject: [Gambas-user] Math bugs?? Message-ID: <40C9D0EB.7010705@...475...> Hey All. My name is Brant Wells, and I'm from the USA. I hope this finds everyone well... I have found a bug, I do believe... If you do something like: dim myVar as float myvar=1/2 Then myvar comes out to be zero, when it should come out to be 0.5... I find this to be true, on ANY DIVISION that gives you a value of less than 1... ie: 1/3, 1/4, 1/10, all return zero... However, there is a work around for it... Instead of saying 1/2... you can say 1 * 2 ^-1 (thats 1 x 2 raised to the -1 power). When you raise a number to the -1 power, you get the equivalent of 1/x ... For instance... 10^-1 = 1/10=0.02... So to do any division problem, y ou simply have to do the ^-1 to actually get the correct answer... I really hope this makes sense to everybody... My System is an AMD 2500+, 768 MB Ram, 160gb Hard Drive, running Mandrake 10 Community. Gambas Roxx! See Ya! ~Brant From oxleyd at ...364... Fri Jun 11 17:38:02 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 11 Jun 2004 17:38:02 +0200 Subject: [Gambas-user] Feedback In-Reply-To: <200405311859.15714.grahame@...457...> Message-ID: <200406111320.i5BDKgOu025619@...364...> Hi all. Just a question! If I want to do an ftp transaction through gambas, any ideas on how I can get feedback about the progress? Roll on version 1.0! Thanks, Daniel From bwells at ...475... Fri Jun 11 20:27:25 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 11 Jun 2004 14:27:25 -0400 Subject: [Gambas-user] Feedback In-Reply-To: <200406111320.i5BDKgOu025619@...364...> References: <200406111320.i5BDKgOu025619@...364...> Message-ID: <40C9F98D.9080303@...475...> Hi Daniel: FTP uses two ports... 20 (for the actual file transfer) and 21 for when you receive the directory listings, etc, etc. When you issue the GET command on an FTP server, assuming the filename is correct, then the GET command returns a code of 150... C: get myfile.txt S: 150 Opening BINARY mode data connection for myfile.txt (2142 bytes) Note that it tells you how big the file is... You can then monitor the Socket that uses port 20, and count the number of bytes that come through... You Follow? See Ya! ~Brant Daniel Oxley wrote: >Hi all. > >Just a question! > >If I want to do an ftp transaction through gambas, any ideas on how I can >get feedback about the progress? > > >Roll on version 1.0! > >Thanks, >Daniel > > > >------------------------------------------------------- >This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the >one installation-authoring solution that does it all. Learn more and >evaluate today! http://www.installshield.com/Dev2Dev/0504 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From oxleyd at ...364... Fri Jun 11 19:12:15 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 11 Jun 2004 18:12:15 +0100 Subject: [Gambas-user] Feedback In-Reply-To: <40C9F98D.9080303@...475...> References: <200406111320.i5BDKgOu025619@...364...> <40C9F98D.9080303@...475...> Message-ID: <20040611161118.M83208@...364...> This is great! BUT, maybe I am being a little (or a lot) dumb with this? how could I count the bytes coming through the port? Daniel ---------- Original Message ----------- From: Brant Wells To: gambas-user at lists.sourceforge.net Sent: Fri, 11 Jun 2004 14:27:25 -0400 Subject: Re: [Gambas-user] Feedback > Hi Daniel: > > FTP uses two ports... 20 (for the actual file transfer) and 21 for > when you receive the directory listings, etc, etc. > > When you issue the GET command on an FTP server, assuming the > filename is correct, then the GET command returns a code of 150... > > C: get myfile.txt > > S: 150 Opening BINARY mode data connection for myfile.txt (2142 bytes) > > Note that it tells you how big the file is... > > You can then monitor the Socket that uses port 20, and count the > number of bytes that come through... > > You Follow? > > See Ya! > ~Brant > > Daniel Oxley wrote: > > >Hi all. > > > >Just a question! > > > >If I want to do an ftp transaction through gambas, any ideas on how I can > >get feedback about the progress? > > > > > >Roll on version 1.0! > > > >Thanks, > >Daniel > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by the new InstallShield X. > >>From Windows to Linux, servers to mobile, InstallShield X is the > >one installation-authoring solution that does it all. Learn more and > >evaluate today! http://www.installshield.com/Dev2Dev/0504 > >_______________________________________________ > >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 the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From abidoo.too at ...11... Fri Jun 11 20:31:27 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Fri, 11 Jun 2004 20:31:27 +0200 Subject: [Gambas-user] Math bugs?? In-Reply-To: <40C9D0EB.7010705@...475...> References: <40C9D0EB.7010705@...475...> Message-ID: <200406112031.27486.abidoo.too@...11...> Le vendredi 11 Juin 2004 17:34, Brant Wells a ?crit : > Hey All. Hi, > > My name is Brant Wells, and I'm from the USA. I hope this finds > everyone well... > > I have found a bug, I do believe... If you do something like: > dim myVar as float > > myvar=1/2 > > Then myvar comes out to be zero, when it should come out to be 0.5... I > find this to be true, on ANY DIVISION that gives you a value of less > than 1... ie: 1/3, 1/4, 1/10, all return zero... not a bug ... in gambas say : 1/3.0 The '.' force gambas to return a float result. By this way gambas take less ressources. But, it's sure ... you must to be more carefully in you operation writing. In fact to get a float result you must at less one float number in your equation. Regards, Fabien Bodard > > However, there is a work around for it... Instead of saying 1/2... you > can say 1 * 2 ^-1 (thats 1 x 2 raised to the -1 power). > > When you raise a number to the -1 power, you get the equivalent of 1/x > ... For instance... > 10^-1 = 1/10=0.02... > > So to do any division problem, y ou simply have to do the ^-1 to > actually get the correct answer... I really hope this makes sense to > everybody... > > My System is an AMD 2500+, 768 MB Ram, 160gb Hard Drive, running > Mandrake 10 Community. > > Gambas Roxx! > > See Ya! > ~Brant > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bwells at ...475... Fri Jun 11 23:01:59 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 11 Jun 2004 17:01:59 -0400 Subject: [Gambas-user] Feedback In-Reply-To: <20040611161118.M83208@...364...> References: <200406111320.i5BDKgOu025619@...364...> <40C9F98D.9080303@...475...> <20040611161118.M83208@...364...> Message-ID: <40CA1DC7.3070109@...475...> Daniel: Not dumb at all... gotta learn somewhere... ;-) The ClientSocket example, right click on the Socket, and look at the READ Event.... Keep in mind, though, that your application will have TWO SEPARATE socket controls... One wlil be sckClient, where you send your commands, such as GET, or PUT, or the like...and sckData where you will actually get and send the files... It's actually kinda complicated... I just started using Gambas a day or two ago, so I haven't had a chance to put together much yet... Give me a few days to come up with an example, and I will directly emali it to you (unless I can directly attach the file to a message on this list...) I will be out of town this weekend, though, so ya might want to fiddle around with it and see what you can come up with. See Ya Laterz! ~Brant Daniel Oxley wrote: >This is great! BUT, maybe I am being a little (or a lot) dumb with this? > >how could I count the bytes coming through the port? > >Daniel > > >---------- Original Message ----------- >From: Brant Wells >To: gambas-user at lists.sourceforge.net >Sent: Fri, 11 Jun 2004 14:27:25 -0400 >Subject: Re: [Gambas-user] Feedback > > > >>Hi Daniel: >> >>FTP uses two ports... 20 (for the actual file transfer) and 21 for >>when you receive the directory listings, etc, etc. >> >>When you issue the GET command on an FTP server, assuming the >>filename is correct, then the GET command returns a code of 150... >> >>C: get myfile.txt >> >>S: 150 Opening BINARY mode data connection for myfile.txt (2142 bytes) >> >>Note that it tells you how big the file is... >> >>You can then monitor the Socket that uses port 20, and count the >>number of bytes that come through... >> >>You Follow? >> >>See Ya! >>~Brant >> >>Daniel Oxley wrote: >> >> >> >>>Hi all. >>> >>>Just a question! >>> >>>If I want to do an ftp transaction through gambas, any ideas on how I can >>>get feedback about the progress? >>> >>> >>>Roll on version 1.0! >>> >>>Thanks, >>>Daniel >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by the new InstallShield X. >>>>From Windows to Linux, servers to mobile, InstallShield X is the >>>one installation-authoring solution that does it all. Learn more and >>>evaluate today! http://www.installshield.com/Dev2Dev/0504 >>>_______________________________________________ >>>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 the new InstallShield X. >>>From Windows to Linux, servers to mobile, InstallShield X is the >>one installation-authoring solution that does it all. Learn more and >>evaluate today! http://www.installshield.com/Dev2Dev/0504 >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >------- End of Original Message ------- > > > >------------------------------------------------------- >This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the >one installation-authoring solution that does it all. Learn more and >evaluate today! http://www.installshield.com/Dev2Dev/0504 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From oxleyd at ...364... Fri Jun 11 22:06:33 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 11 Jun 2004 21:06:33 +0100 Subject: [Gambas-user] Feedback In-Reply-To: <40CA1DC7.3070109@...475...> References: <200406111320.i5BDKgOu025619@...364...> <40C9F98D.9080303@...475...> <20040611161118.M83208@...364...> <40CA1DC7.3070109@...475...> Message-ID: <20040611190446.M37425@...364...> :-O Thanks a lot! I'll have a play around and see what I can come up with. Sounds fairly logical, although that is often a sign of a headache due!!!! FYI, you can attach small tar files to mails on this list. ---------- Original Message ----------- From: Brant Wells To: gambas-user at lists.sourceforge.net Sent: Fri, 11 Jun 2004 17:01:59 -0400 Subject: Re: [Gambas-user] Feedback > Daniel: > > Not dumb at all... gotta learn somewhere... ;-) The ClientSocket > example, right click on the Socket, and look at the READ Event.... > > Keep in mind, though, that your application will have TWO SEPARATE > socket controls... One wlil be sckClient, where you send your > commands, such as GET, or PUT, or the like...and sckData where you > will actually get and send the files... > > It's actually kinda complicated... I just started using Gambas a > day or two ago, so I haven't had a chance to put together much > yet... Give me a few days to come up with an example, and I will > directly emali it to you (unless I can directly attach the file to a > message on this list...) > > I will be out of town this weekend, though, so ya might want to > fiddle around with it and see what you can come up with. > > See Ya Laterz! > ~Brant > > Daniel Oxley wrote: > > >This is great! BUT, maybe I am being a little (or a lot) dumb with this? > > > >how could I count the bytes coming through the port? > > > >Daniel > > > > > >---------- Original Message ----------- > >From: Brant Wells > >To: gambas-user at lists.sourceforge.net > >Sent: Fri, 11 Jun 2004 14:27:25 -0400 > >Subject: Re: [Gambas-user] Feedback > > > > > > > >>Hi Daniel: > >> > >>FTP uses two ports... 20 (for the actual file transfer) and 21 for > >>when you receive the directory listings, etc, etc. > >> > >>When you issue the GET command on an FTP server, assuming the > >>filename is correct, then the GET command returns a code of 150... > >> > >>C: get myfile.txt > >> > >>S: 150 Opening BINARY mode data connection for myfile.txt (2142 bytes) > >> > >>Note that it tells you how big the file is... > >> > >>You can then monitor the Socket that uses port 20, and count the > >>number of bytes that come through... > >> > >>You Follow? > >> > >>See Ya! > >>~Brant > >> > >>Daniel Oxley wrote: > >> > >> > >> > >>>Hi all. > >>> > >>>Just a question! > >>> > >>>If I want to do an ftp transaction through gambas, any ideas on how I can > >>>get feedback about the progress? > >>> > >>> > >>>Roll on version 1.0! > >>> > >>>Thanks, > >>>Daniel > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by the new InstallShield X. > >>>>From Windows to Linux, servers to mobile, InstallShield X is the > >>>one installation-authoring solution that does it all. Learn more and > >>>evaluate today! http://www.installshield.com/Dev2Dev/0504 > >>>_______________________________________________ > >>>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 the new InstallShield X. > >>>From Windows to Linux, servers to mobile, InstallShield X is the > >>one installation-authoring solution that does it all. Learn more and > >>evaluate today! http://www.installshield.com/Dev2Dev/0504 > >>_______________________________________________ > >>Gambas-user mailing list > >>Gambas-user at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >------- End of Original Message ------- > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by the new InstallShield X. > >>From Windows to Linux, servers to mobile, InstallShield X is the > >one installation-authoring solution that does it all. Learn more and > >evaluate today! http://www.installshield.com/Dev2Dev/0504 > >_______________________________________________ > >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 the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From ultimamystic at ...67... Sat Jun 12 06:19:43 2004 From: ultimamystic at ...67... (Devin Hassan) Date: Fri, 11 Jun 2004 21:19:43 -0700 Subject: [Gambas-user] App Path Message-ID: Hello, This is how I load my tiles. e = "/home/Devlin/SlayerMap/Dungeon/0073.png" As e is the variable I use to display the tile. My question here is how can I load the tile from the App Dir? like "/SlayerMap/Dungeon/0073.png" This of course does not work. and if I enter the above code it will only work on my computer because everyone does not have the /Devlin directory on there computer. So how can I load my tiles in the /Dungeon directory using code that lets me load out of the app path. I have over 350 tiles in my map editor so far. Thanks Devlin _________________________________________________________________ Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com From ultimamystic at ...67... Sat Jun 12 06:19:44 2004 From: ultimamystic at ...67... (Devin Hassan) Date: Fri, 11 Jun 2004 21:19:44 -0700 Subject: [Gambas-user] App Path Message-ID: Hello, This is how I load my tiles. e = "/home/Devlin/SlayerMap/Dungeon/0073.png" As e is the variable I use to display the tile. My question here is how can I load the tile from the App Dir? like "/SlayerMap/Dungeon/0073.png" This of course does not work. and if I enter the above code it will only work on my computer because everyone does not have the /Devlin directory on there computer. So how can I load my tiles in the /Dungeon directory using code that lets me load out of the app path. I have over 350 tiles in my map editor so far. Thanks Devlin _________________________________________________________________ MSN 9 Dial-up Internet Access fights spam and pop-ups ? now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ From pchapman at ...129... Sat Jun 12 06:57:54 2004 From: pchapman at ...129... (Philip A. Chapman) Date: Fri, 11 Jun 2004 23:57:54 -0500 Subject: [Gambas-user] App Path In-Reply-To: References: Message-ID: <1087016274.9191.14.camel@...476...> On Fri, 2004-06-11 at 23:19, Devin Hassan wrote: > Hello, > This is how I load my tiles. > e = "/home/Devlin/SlayerMap/Dungeon/0073.png" > > As e is the variable I use to display the tile. > > My question here is how can I load the tile from the App Dir? > like "/SlayerMap/Dungeon/0073.png" Devin, Application.Path will give you the application path as a string, so you could do something like: e = Application.Path + "/SlayerMap/Dungeon/0073.png" May I humbly suggest that you may want to think of using some type of variable rather than Application.Path. Or better yet, a function which when given the name of the file returns the filename or a file pointer. You may not always want the pictures to reside in a subdirectory of the application directory and will be glad to have this somewhat centralized. For instance, you may want to be able to install your game's executable in /usr/local/bin so that anyone can run it without having to modify their PATH environment variable. If the special variable is set to Application.Path or the function internally references Application.Path, no harm done. It's easier to change it later. -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From daniel.campos at ...338... Sat Jun 12 08:42:14 2004 From: daniel.campos at ...338... (Daniel) Date: Sat, 12 Jun 2004 08:42:14 +0200 Subject: [Gambas-user] Feedback In-Reply-To: <40CA1DC7.3070109@...475...> References: <200406111320.i5BDKgOu025619@...364...> <40C9F98D.9080303@...475...> <20040611161118.M83208@...364...> <40CA1DC7.3070109@...475...> Message-ID: <1087022534.3284.2.camel@...40...> Well, if you try to write a FTP client just "from the scratch", you'll have a hard work, FTP is one of the more complicated protocols... I'll try to work on the FTP-curl component these days... Regards, Daniel Campos El vie, 11-06-2004 a las 23:01, Brant Wells escribi?: > Daniel: > > Not dumb at all... gotta learn somewhere... ;-) The ClientSocket > example, right click on the Socket, and look at the READ Event.... > > Keep in mind, though, that your application will have TWO SEPARATE > socket controls... One wlil be sckClient, where you send your commands, > such as GET, or PUT, or the like...and sckData where you will actually > get and send the files... > > It's actually kinda complicated... I just started using Gambas a day or > two ago, so I haven't had a chance to put together much yet... Give me > a few days to come up with an example, and I will directly emali it to > you (unless I can directly attach the file to a message on this list...) > > I will be out of town this weekend, though, so ya might want to fiddle > around with it and see what you can come up with. > > See Ya Laterz! > ~Brant > > > Daniel Oxley wrote: > > >This is great! BUT, maybe I am being a little (or a lot) dumb with this? > > > >how could I count the bytes coming through the port? > > > >Daniel > > > > > >---------- Original Message ----------- > >From: Brant Wells > >To: gambas-user at lists.sourceforge.net > >Sent: Fri, 11 Jun 2004 14:27:25 -0400 > >Subject: Re: [Gambas-user] Feedback > > > > > > > >>Hi Daniel: > >> > >>FTP uses two ports... 20 (for the actual file transfer) and 21 for > >>when you receive the directory listings, etc, etc. > >> > >>When you issue the GET command on an FTP server, assuming the > >>filename is correct, then the GET command returns a code of 150... > >> > >>C: get myfile.txt > >> > >>S: 150 Opening BINARY mode data connection for myfile.txt (2142 bytes) > >> > >>Note that it tells you how big the file is... > >> > >>You can then monitor the Socket that uses port 20, and count the > >>number of bytes that come through... > >> > >>You Follow? > >> > >>See Ya! > >>~Brant > >> > >>Daniel Oxley wrote: > >> > >> > >> > >>>Hi all. > >>> > >>>Just a question! > >>> > >>>If I want to do an ftp transaction through gambas, any ideas on how I can > >>>get feedback about the progress? > >>> > >>> > >>>Roll on version 1.0! > >>> > >>>Thanks, > >>>Daniel > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by the new InstallShield X. > >>>>From Windows to Linux, servers to mobile, InstallShield X is the > >>>one installation-authoring solution that does it all. Learn more and > >>>evaluate today! http://www.installshield.com/Dev2Dev/0504 > >>>_______________________________________________ > >>>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 the new InstallShield X. > >>>From Windows to Linux, servers to mobile, InstallShield X is the > >>one installation-authoring solution that does it all. Learn more and > >>evaluate today! http://www.installshield.com/Dev2Dev/0504 > >>_______________________________________________ > >>Gambas-user mailing list > >>Gambas-user at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >------- End of Original Message ------- > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by the new InstallShield X. > >>From Windows to Linux, servers to mobile, InstallShield X is the > >one installation-authoring solution that does it all. Learn more and > >evaluate today! http://www.installshield.com/Dev2Dev/0504 > >_______________________________________________ > >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 the new InstallShield X. > >From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Sat Jun 12 12:45:48 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 12 Jun 2004 12:45:48 +0200 Subject: [Gambas-user] App Path In-Reply-To: References: Message-ID: <200406121245.48688.abidoo.too@...11...> Le samedi 12 Juin 2004 06:19, Devin Hassan a ?crit : > Hello, > This is how I load my tiles. > e = "/home/Devlin/SlayerMap/Dungeon/0073.png" > > As e is the variable I use to display the tile. > > My question here is how can I load the tile from the App Dir? > like "/SlayerMap/Dungeon/0073.png" > > This of course does not work. and if I enter the above code it will only > work on my computer because everyone does not have the /Devlin directory on > there computer. So how can I load my tiles in the > /Dungeon directory using code that lets me load out of the app path. > I have over 350 tiles in my map editor so far. Thanks > > Devlin your path is : Application.home &/ "SlayerMap/Dungeon/0073.png" Application.home give the user home directory ! Regards, Fabien Bodard > _________________________________________________________________ > Check out the coupons and bargains on MSN Offers! http://youroffers.msn.com > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Sat Jun 12 12:48:48 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Sat, 12 Jun 2004 12:48:48 +0200 Subject: [Gambas-user] App Path In-Reply-To: <1087016274.9191.14.camel@...476...> References: <1087016274.9191.14.camel@...476...> Message-ID: <200406121248.48580.abidoo.too@...11...> Le samedi 12 Juin 2004 06:57, Philip A. Chapman a ?crit : > On Fri, 2004-06-11 at 23:19, Devin Hassan wrote: > > Hello, > > This is how I load my tiles. > > e = "/home/Devlin/SlayerMap/Dungeon/0073.png" > > > > As e is the variable I use to display the tile. > > > > My question here is how can I load the tile from the App Dir? > > like "/SlayerMap/Dungeon/0073.png" > > Devin, > > Application.Path will give you the application path as a string, so you > could do something like: > > e = Application.Path + "/SlayerMap/Dungeon/0073.png" concatain text with '&' keyword, and for another time i repeat, ... (lol) Gambas have a magic keyword : "&/" Who add automatiquely, the '/' if it miss. e = Application.Path &/ "SlayerMap/Dungeon/0073.png" Fabien > > May I humbly suggest that you may want to think of using some type of > variable rather than Application.Path. Or better yet, a function which > when given the name of the file returns the filename or a file pointer. > You may not always want the pictures to reside in a subdirectory of the > application directory and will be glad to have this somewhat > centralized. For instance, you may want to be able to install your > game's executable in /usr/local/bin so that anyone can run it without > having to modify their PATH environment variable. If the special > variable is set to Application.Path or the function internally > references Application.Path, no harm done. It's easier to change it > later. From nferraz at ...184... Sat Jun 12 17:37:51 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Sat, 12 Jun 2004 12:37:51 -0300 Subject: [Gambas-user] Math bugs?? In-Reply-To: <200406112031.27486.abidoo.too@...11...> References: <40C9D0EB.7010705@...475...> <200406112031.27486.abidoo.too@...11...> Message-ID: <40CB234F.6040806@...184...> Fabien Bodard wrote: > not a bug ... in gambas say : 1/3.0 > The '.' force gambas to return a float result. > > By this way gambas take less ressources. This trick can be useful in many arithmetic operations, but should be disabled when the expression involves a float division. That's why we have the backslash division (1\3). "Premature optimisation is the root of all evil in programming". http://c2.com/cgi/wiki?PrematureOptimization []s Nelson From saintiss at ...477... Sat Jun 12 18:59:10 2004 From: saintiss at ...477... (SainTiss) Date: Sat, 12 Jun 2004 18:59:10 +0200 Subject: [Gambas-user] makefile.am problematic? Message-ID: <200406121859.12115.saintiss@...477...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was trying to package gambas, which worked more or less with a few tricks here and there, but when it finally succeeded, the resulting rpm moaned that "lib.gb.so.0" was needed, but couldn't be found... The reason is simple, as in the gambas Makefile.am, it says: @rm -f $(DESTDIR)$(pkglibdir)/lib.gb.la @rm -f $(DESTDIR)$(pkglibdir)/lib.gb.so* so those files are explicitly removed... Why is this? Is this necessary somehow? Or is this just to confuse packagers? ;) Thanks, Hans - -- Ark Linux - Linux for the Masses (http://arklinux.org) If we cannot live so as to be happy, let us at least live so as to deserve it -- Immanuel Hermann Fichte Capitalism: You don't have any cows. The bank will not lend you money to buy cows, because you don't have any cows to put up as collateral. Representative Democracy: You have two cows. Your neighbors pick someone to tell you who gets the milk. In a world without walls and fences, who needs windows and gates? Hans Schippers 2LIC INF UA 2003-2004 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAyzZeXlnUYIbmLOQRAotiAKCTSP/K142TW5x+gjI3y0mrPSC+ugCgpyfd vmbzbe46fHcl3PkZ7Oen/kY= =AA54 -----END PGP SIGNATURE----- From pchapman at ...129... Sun Jun 13 01:10:35 2004 From: pchapman at ...129... (Philip A. Chapman) Date: Sat, 12 Jun 2004 18:10:35 -0500 Subject: [Gambas-user] App Path In-Reply-To: <200406121248.48580.abidoo.too@...11...> References: <1087016274.9191.14.camel@...476...> <200406121248.48580.abidoo.too@...11...> Message-ID: <1087081835.3114.2.camel@...476...> On Sat, 2004-06-12 at 05:48, Fabien Bodard wrote: > > > > e = Application.Path + "/SlayerMap/Dungeon/0073.png" > > concatain text with '&' keyword, > and for another time i repeat, ... (lol) Gambas have a magic keyword : "&/" > Who add automatiquely, the '/' if it miss. > > e = Application.Path &/ "SlayerMap/Dungeon/0073.png" > You are, of course, correct. I have been doing a lot of development in Java lately and the plus symbol slipped in there without thought. Thanks, -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From Karl.Reinl at ...9... Sun Jun 13 16:20:32 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 13 Jun 2004 16:20:32 +0200 Subject: [Gambas-user] root 'make' projects like gambas Message-ID: <200406131620.32442.Karl.Reinl@...9...> Salut, just not leting the user in an 'undefinde' situation. To day a wanted to fix the Find-List in Find&Replace BUG as nomal user. Every thing went fine, I found the Align and replaced it with Alignment. After a short testing I made /Project/Make executable . Then when I looked into /opt/gambas/gambas-0.93b/app/gambas to copy the gambas to the bin-directory, I found a too old gambas and not a just compiled one. The reason gambas was compiled when I made su -c 'make install', so said by root, and I'm only a nomal user. So what I complain is not that my Linux workes well (a commen user hasn't rights to overwrite root files), I complain that gambas let me in a state of inocents. Is don't say nothing that making an executable failed because of having not the right rights. Amicalement Charlie From karl.reinl at ...9... Sun Jun 13 21:05:28 2004 From: karl.reinl at ...9... (Charlie) Date: Sun, 13 Jun 2004 21:05:28 +0200 Subject: [Gambas-user] Executing a constructed instruction References: <004701c44f1c$0dec6010$9c564f51@...360...> Message-ID: <40CCA578.1080603@...9...> Nigel Gerrard schrieb: > Has anybody got an idea how I might run a string as a command within > Gambas. > > For example: > > DIM sCommand AS String > > sCommand = "PRINT \"Hello\"" > > sCommand > > > I'm guessing that it won't be possible without many changes to the > pcode compiler > and interpreter....and I guess it would get verycomplicated. > > Nigel Salut Nigel, try to go with gb.eval like this: ' Gambas module file PUBLIC SUB Main() DIM hExpression AS NEW Expression PRINT "use gb.eval" PRINT " hExpression.Text = ' 10 + 11 + 53'" hExpression.Text =" 10 + 11 + 53" PRINT " hExpression.Text result = " & hExpression.Value PRINT " and see also Examples/Evaluator " STOP END This is not as powerfull as Clipper 'Macros' was, but it is a beginning. Amicalement Charlie From nigel at ...38... Mon Jun 14 11:00:30 2004 From: nigel at ...38... (Nigel Gerrard) Date: Mon, 14 Jun 2004 10:00:30 +0100 Subject: [Gambas-user] Executing a constructed instruction References: <004701c44f1c$0dec6010$9c564f51@...360...> <40CCA578.1080603@...9...> Message-ID: <007701c451ee$0be54e60$0a844d51@...360...> Thanks Charlie for your reply. Unfortunately gb.eval only works in evaluating an expression. Here I was thinking about something that will execute the line (command) in gambas, thus enabling me to create the relevant code on the run. Nigel ----- Original Message ----- From: "Charlie" To: Sent: Sunday, June 13, 2004 8:05 PM Subject: Re: [Gambas-user] Executing a constructed instruction > Nigel Gerrard schrieb: > > > Has anybody got an idea how I might run a string as a command within > > Gambas. > > > > For example: > > > > DIM sCommand AS String > > > > sCommand = "PRINT \"Hello\"" > > > > sCommand > > > > > > I'm guessing that it won't be possible without many changes to the > > pcode compiler > > and interpreter....and I guess it would get verycomplicated. > > > > Nigel > > Salut Nigel, > > try to go with gb.eval > like this: > > ' Gambas module file > PUBLIC SUB Main() > DIM hExpression AS NEW Expression > PRINT "use gb.eval" > PRINT " hExpression.Text = ' 10 + 11 + 53'" > hExpression.Text =" 10 + 11 + 53" > PRINT " hExpression.Text result = " & hExpression.Value > PRINT " and see also Examples/Evaluator " > STOP > END > > > This is not as powerfull as Clipper 'Macros' was, but it is a beginning. > > Amicalement > Charlie > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From grahame at ...457... Fri Jun 11 18:13:18 2004 From: grahame at ...457... (Grahame White) Date: Fri, 11 Jun 2004 17:13:18 +0100 Subject: [Gambas-user] Math bugs?? In-Reply-To: <40C9D0EB.7010705@...475...> References: <40C9D0EB.7010705@...475...> Message-ID: <200406111713.18220.grahame@...457...> On Friday 11 June 2004 16:34, Brant Wells wrote: > Hey All. > > My name is Brant Wells, and I'm from the USA. I hope this finds > everyone well... > > I have found a bug, I do believe... If you do something like: > > dim myVar as float > > myvar=1/2 > > Then myvar comes out to be zero, when it should come out to be 0.5... I The Gambas divide / operator returns an integer if its operands are all integers. For example, PRINT 9 / 2 returns 4 and not 4.5 . To use floating point division, you must convert one of the operands to the Float datatype, e.g. you must use PRINT 9.0 / 2 or PRINT CFloat(9) / 2 . In VB, division using / is always a floating-point operation, with an implicit conversion to doubles prior to the division and if necessary, an implicit conversion back to integer afterward; VB has a separate integer division operator. That's from the gambas help files in the Differences from VB section. So it's not a bug, it's a feature :) Grahame From grahame at ...457... Sat Jun 12 17:53:10 2004 From: grahame at ...457... (Grahame White) Date: Sat, 12 Jun 2004 16:53:10 +0100 Subject: [Gambas-user] Math bugs?? In-Reply-To: <40CB234F.6040806@...184...> References: <40C9D0EB.7010705@...475...> <200406112031.27486.abidoo.too@...11...> <40CB234F.6040806@...184...> Message-ID: <200406121653.10336.grahame@...457...> On Saturday 12 June 2004 16:37, Nelson Ferraz wrote: > Fabien Bodard wrote: > > not a bug ... in gambas say : 1/3.0 > > The '.' force gambas to return a float result. > > > > By this way gambas take less ressources. > > This trick can be useful in many arithmetic operations, but should be > disabled when the expression involves a float division. That's why we > have the backslash division (1\3). I prefer it the way it is, it's more C-like imo. > > "Premature optimisation is the root of all evil in programming". > > http://c2.com/cgi/wiki?PrematureOptimization True, but when creating a language I'd have to say that providing a way to optimise is ok. Grahame From bundeshund at ...467... Sun Jun 13 10:14:47 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sun, 13 Jun 2004 10:14:47 +0200 Subject: [Gambas-user] Example for printing on printer In-Reply-To: <1087081835.3114.2.camel@...476...> References: <200406121248.48580.abidoo.too@...11...> <1087081835.3114.2.camel@...476...> Message-ID: <200406131014.47790.bundeshund@...467...> Hello group, maybe somebody has an example (or url or sthg) for printing text in a printer for me? Best regards, HM From gambas at ...1... Sun Jun 13 14:44:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 13 Jun 2004 14:44:14 +0200 Subject: [Gambas-user] makefile.am problematic? In-Reply-To: <200406121859.12115.saintiss@...477...> References: <200406121859.12115.saintiss@...477...> Message-ID: <200406131444.14594.gambas@...1...> On Saturday 12 June 2004 18:59, SainTiss wrote: > Hi, > > I was trying to package gambas, which worked more or less with a few tricks > here and there, but when it finally succeeded, the resulting rpm moaned > that "lib.gb.so.0" was needed, but couldn't be found... > > The reason is simple, as in the gambas Makefile.am, it says: > @rm -f $(DESTDIR)$(pkglibdir)/lib.gb.la > @rm -f $(DESTDIR)$(pkglibdir)/lib.gb.so* > > so those files are explicitly removed... Why is this? Is this necessary > somehow? Or is this just to confuse packagers? ;) > > Thanks, > > Hans The lib.gb.* files are a false component that is just created for filling the gb.info file that describes all the classes directly included in the interpreter. So they are created just during the installation, and are deleted at the end. I don't know how you created your package, but Rob Kudla, that made the Mandrake rpm packages, didn't have this problem... Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Jun 13 14:46:18 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 13 Jun 2004 14:46:18 +0200 Subject: [Gambas-user] Math bugs?? In-Reply-To: <40CB234F.6040806@...184...> References: <40C9D0EB.7010705@...475...> <200406112031.27486.abidoo.too@...11...> <40CB234F.6040806@...184...> Message-ID: <200406131446.18841.gambas@...1...> On Saturday 12 June 2004 17:37, Nelson Ferraz wrote: > Fabien Bodard wrote: > > not a bug ... in gambas say : 1/3.0 > > The '.' force gambas to return a float result. > > > > By this way gambas take less ressources. > > This trick can be useful in many arithmetic operations, but should be > disabled when the expression involves a float division. That's why we > have the backslash division (1\3). > > "Premature optimisation is the root of all evil in programming". > Yes, but this is not an optimization. This is how work all operators in Gambas: /, and *, +, -, ... -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Mon Jun 14 15:48:46 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Mon, 14 Jun 2004 15:48:46 CEST Subject: [Gambas-user] About kbasic Message-ID: For those interested in Basic languages for Linux: KBasic is alive again: http://www.kbasic.org/1/index.html However, this is free software no more :-( 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 eilert-sprachen at ...221... Mon Jun 14 16:04:24 2004 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 14 Jun 2004 16:04:24 +0200 Subject: [Gambas-user] Example for printing on printer In-Reply-To: <200406131014.47790.bundeshund@...467...> References: <200406121248.48580.abidoo.too@...11...> <1087081835.3114.2.camel@...476...> <200406131014.47790.bundeshund@...467...> Message-ID: <40CDB068.7030905@...221...> Hello Hans-Martin, look at this code. It's not ready, you will have to convert the string into ASCII before being able to print ??? etc. (with convert$, see my discussion with Benoit). And it's from a typewriting app I am writing currently, so don't be surprised about the specialties.... :-) Gr??e Rolf SUB DruckenText() DIM t$ AS String DIM x$ AS String DIM i AS Integer DIM meldung AS Integer IF NOT angefangen THEN RETURN randOben = 300 randLinks = 300 draw.Begin(printer) IF gestoppt THEN 'Kopfzeile mit den Angaben drucken draw.font.Name = "Courier" draw.font.Size = 11 draw.font.Bold = TRUE draw.Text(DruckenKopf$(), randLinks, randOben/2) draw.Line(randLinks, randOben, printer.Width-(randLinks*2),randOben) END IF draw.Font.Name = "Courier" draw.Font.Size = 12 draw.Font.Bold = FALSE druckZhoehe = draw.TextHeight("gO") zeilenBreite = 65 t$ = TextArea1.Text druckZeile = 0 FOR i = 1 TO Len(t$) SELECT CASE Asc(Mid$(t$,i,1)) CASE 10 DruckenAbsatz(x$) x$="" CASE ELSE x$ = x$ & Mid$(t$,i,1) END SELECT NEXT IF Len(x$) > 0 THEN DruckenAbsatz(x$) END IF draw.End END PRIVATE SUB DruckenAbsatz(text$ AS String) DIM x$ AS String DIM po AS Integer DIM x AS Integer IF Len(text$) <= 67 THEN INC druckZeile DruckenZeilennummer(druckZeile) draw.Text(text$, randLinks, randOben + (druckZeile * DruckZhoehe) ) ELSE DO x$ = Left$(text$, 67) 'erstmal abschneiden IF Len(text$) <= 67 THEN 'ein Rest ist geblieben: 'Rest so drucken: INC druckZeile DruckenZeilennummer(druckZeile) draw.Text(x$, randLinks, randOben + (druckZeile * DruckZhoehe) ) 'Absatz zu Ende RETURN END IF IF Mid$(text$, 68, 1) = " " THEN 'ein Leerzeichen folgt: 'gleich drucken INC druckZeile DruckenZeilennummer(druckZeile) draw.Text(x$, randLinks, randOben + (druckZeile * DruckZhoehe) ) 'vorn abschneiden text$ = Right$(text$, -67) 'n??chsten Wortanfang suchen DO IF Left$(text$, 1) = " " THEN text$ = Right$(text$, -1) END IF LOOP UNTIL Left$(text$, 1) <> " " ELSE IF Right$(x$, 1)= " " THEN 'ein Leerzeichen ist am Ende: 'gleich drucken INC druckZeile DruckenZeilennummer(druckZeile) draw.Text(x$, randLinks, randOben + (druckZeile * DruckZhoehe) ) 'vorn abschneiden text$ = Right$(text$, -67) 'n??chsten Wortanfang suchen DO IF Left$(text$, 1) = " " THEN text$ = Right$(text$, -1) END IF LOOP UNTIL Left$(text$, 1) <> " " ELSE 'kein Leerzeichen, Wort: 'zur??ckgehen bis Leerzeichen po=67 DO WHILE po > 0 DEC po LOOP UNTIL Mid$(text$, po, 1) = " " IF po=0 THEN 'kein Leerzeichen gefunden: 'gleich drucken INC druckZeile DruckenZeilennummer(druckZeile) draw.Text(x$, randLinks, randOben + (druckZeile * DruckZhoehe) ) 'vorn abschneiden text$ = Right$(text$, -67) ELSE 'Leerzeichen gefunden: 'bis dahin abschneiden x$=Left$(text$, po) 'das St??ck drucken INC druckZeile DruckenZeilennummer(druckZeile) draw.Text(x$, randLinks, randOben + (druckZeile * DruckZhoehe) ) 'das St??ck abschneiden text$ = Mid$(text$, po+1) END IF END IF LOOP END IF END SUB DruckenZeilennummer(zeile AS Integer) draw.font.Size = 10 draw.Text(CStr(druckZeile), randLinks/2, randOben + (druckZeile * DruckZhoehe) + 5 ) draw.font.Size = 12 END FUNCTION DruckenKopf$() AS String DIM t$ AS String INC KopieNr IF KopieNr > 1 THEN t$="Kopie " & Str$(KopieNr) & " - " END IF t$ = t$ & Tippername$ & " [" t$ = t$ & CStr(Now) & "] " RETURN t$ END From sourceforge-raindog2 at ...94... Mon Jun 14 16:07:43 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 14 Jun 2004 10:07:43 -0400 Subject: [Gambas-user] makefile.am problematic? In-Reply-To: <200406131444.14594.gambas@...1...> References: <200406121859.12115.saintiss@...477...> <200406131444.14594.gambas@...1...> Message-ID: <200406141007.44006.sourceforge-raindog2@...94...> On Sunday 13 June 2004 08:44, Benoit Minisini wrote: > The lib.gb.* files are a false component that is just created > for filling the gb.info file that describes all the classes > directly included in the interpreter. > So they are created just during the installation, and are > deleted at the end. > I don't know how you created your package, but Rob Kudla, that > made the Mandrake rpm packages, didn't have this problem... Er, I've been packaging those files all along. ;) I don't run make install because back when I started packaging gambas, it was misbehaved (it would die when it didn't have write access to /usr/lib etc.) There's no way to run gbi in the context of a sandboxed RPM build process (that I know of) so I generate the info files in the gambas-gui build process, necessitating the installation of the lib.gb.* files. If the lib.gb.* files aren't where the components actually live, then where are the components? Statically linked into gbx? Incidentally, I tried again to package gambas 0.93b today and once again ran into the /usr/lib/gambas/lib/gambas problem. I may have to scrap my packages and start over from scratch, I fear.... or try to figure out what you changed and undo it, but I don't have the same amount of free time this year as when I built the original packages.... Rob From sourceforge-raindog2 at ...94... Mon Jun 14 16:14:35 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 14 Jun 2004 10:14:35 -0400 Subject: [Gambas-user] About kbasic In-Reply-To: References: Message-ID: <200406141011.53196.sourceforge-raindog2@...94...> On Monday 14 June 2004 14:48, danielcampos at ...282... wrote: > KBasic is alive again: > However, this is free software no more :-( kbasic hasn't really been relevant for a long time now.... They claim they'll be 100% syntax compatible with VB6, and that would be a selling point for some clients of mine as compared to Gambas, and the price is a drop in the bucket.... but once you make a Qt development tool that isn't GPL, there are all kinds of license traps that come into play, and I'll be curious to see how he deals with them. I would expect that hbasic will try to get a 1.0 release out before kbasic starts being sold, and it'd be nice if we could be out in front there as well. I can't say I wish kbasic guy any ill will, because 25 bucks would have been a great price if he had actually produced this 2 years ago before gambas got off the ground, but I'm kind of glad he didn't because then gambas might never have taken off. I like gambas a lot better than VB at this point. Rob From saintiss at ...477... Mon Jun 14 16:17:23 2004 From: saintiss at ...477... (SainTiss) Date: Mon, 14 Jun 2004 16:17:23 +0200 Subject: [Gambas-user] makefile.am problematic? In-Reply-To: <200406131444.14594.gambas@...1...> References: <200406121859.12115.saintiss@...477...> <200406131444.14594.gambas@...1...> Message-ID: <200406141617.26998.saintiss@...477...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, ok, that explains it... Packaging without any modifications was not feasible in any reasonable way though, because the Makefile.am contents don't take the DESTDIR variable into account... Additionally, the Makefile.am in src/exec remained problematic with new versions of automake because it lists all files twice, so it had to be patched (only leaving gbx.c in gbx_SOURCES). If you're interested, you're welcome to download the rpm from any Ark Linux repository (in dockyard, not yet in a release), and make it available on your website, or take a look at the patches... Cheers, Hans On Sunday 13 June 2004 14:44, Benoit Minisini wrote: > > The lib.gb.* files are a false component that is just created for filling > the gb.info file that describes all the classes directly included in the > interpreter. > > So they are created just during the installation, and are deleted at the > end. > > I don't know how you created your package, but Rob Kudla, that made the > Mandrake rpm packages, didn't have this problem... > > Regards, - -- Ark Linux - Linux for the Masses (http://arklinux.org) If we cannot live so as to be happy, let us at least live so as to deserve it -- Immanuel Hermann Fichte Capitalism: You don't have any cows. The bank will not lend you money to buy cows, because you don't have any cows to put up as collateral. Representative Democracy: You have two cows. Your neighbors pick someone to tell you who gets the milk. In a world without walls and fences, who needs windows and gates? Hans Schippers 2LIC INF UA 2003-2004 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAzbN2XlnUYIbmLOQRAtmNAKCher2gQ5xvkCQWwOP5DZw0weBf4QCeJJF5 tSgomzYEf55flagdWPwuSMM= =yd4e -----END PGP SIGNATURE----- From gambas at ...1... Sat Jun 12 08:38:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 12 Jun 2004 08:38:43 +0200 Subject: [Gambas-user] App Path In-Reply-To: References: Message-ID: <200406120838.44385.gambas@...1...> On Saturday 12 June 2004 06:19, Devin Hassan wrote: > Hello, > This is how I load my tiles. > e = "/home/Devlin/SlayerMap/Dungeon/0073.png" > > As e is the variable I use to display the tile. > > My question here is how can I load the tile from the App Dir? > like "/SlayerMap/Dungeon/0073.png" > > This of course does not work. and if I enter the above code it will only > work on my computer because everyone does not have the /Devlin directory on > there computer. So how can I load my tiles in the > /Dungeon directory using code that lets me load out of the app path. > I have over 350 tiles in my map editor so far. Thanks > > Devlin > If the file you want to load is part of your project (i.e. located inside the project), then you must use relative paths, like "Dungeon/0073.png". -- Benoit Minisini mailto:gambas at ...1... From eilert-sprachen at ...221... Mon Jun 14 16:43:08 2004 From: eilert-sprachen at ...221... (Eilert) Date: Mon, 14 Jun 2004 16:43:08 +0200 Subject: [Gambas-user] About kbasic In-Reply-To: References: Message-ID: <40CDB97C.4080307@...221...> Hi Daniel, > KBasic is alive again: > However, this is free software no more :-( Yes I know... I was involved in the project writing some major parts of the documentation and translations of the former Website. Everyone working on it was sad when Bernd suddenly declared he would discontinue working on the thing and seemed to disappear from the project "due to personal reasons". Some guys tried to continue, but nothing really happened until one day Bernd came up on the still existing mailing list with the news he had worked on the project all the time for himself and now planned to sell it "because he had worked so hard on it" and nobody had helped him anyway. Suddenly it appeared that a lot of people were still on the list and there was kinda protesting before he switched it off. So much about KBasic. Well, it was GPL and it is his right to use the stuff for commercial things, but someone should maybe discuss with him the name KBasic I think. All the K-stuff (as far as know) is open source, and now KBasic isn't any longer. I could imagine, the K-team minds him using this name. Rolf From sourceforge-raindog2 at ...94... Mon Jun 14 16:45:21 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Mon, 14 Jun 2004 10:45:21 -0400 Subject: [Gambas-user] gambas-wiki has been moved Message-ID: <200406141045.21220.sourceforge-raindog2@...94...> I have moved the wiki to the new server and installed Benoit's new version of it. I have also turned editing back on again. Since I didn't change the address, just DNS, it may take a while for the change to propagate - the old wiki is still edit-disabled, so you shouldn't be able to screw anything up. http://www.binara.com/gambas-wiki/ Note that you currently have to use www.binara.com because I need to get together with my business partner and talk about it before I move the root A record in DNS. Rob From bundeshund at ...467... Sun Jun 13 17:11:14 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sun, 13 Jun 2004 17:11:14 +0200 Subject: [Gambas-user] How to decrypt a text? Any suggestions? In-Reply-To: <1087081835.3114.2.camel@...476...> References: <200406121248.48580.abidoo.too@...11...> <1087081835.3114.2.camel@...476...> Message-ID: <200406131711.14363.bundeshund@...467...> Hello group, I hope that I don't ask too many questions here and i will be not filtered ;) I have a database with usernames and passwords stored with mysql. I want to write the passwords not in plain text as I do quite now. Any ideas how I can easely decrypt (and encrypt) the plain text using gambas? (I do not want a call to an external script/programm just to use a litle code inside) Thankfull HM From radoslav.dejanovic at ...116... Mon Jun 14 19:07:07 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Mon, 14 Jun 2004 19:07:07 +0200 Subject: [Gambas-user] About kbasic In-Reply-To: <40CDB97C.4080307@...221...> References: <40CDB97C.4080307@...221...> Message-ID: <200406141907.07493.radoslav.dejanovic@...116...> On Monday 14 June 2004 16:43, Eilert wrote: > Some guys tried to continue, but nothing really happened until one day > Bernd came up on the still existing mailing list with the news he had > worked on the project all the time for himself and now planned to sell > it "because he had worked so hard on it" and nobody had helped him > anyway. Suddenly it appeared that a lot of people were still on the list > and there was kinda protesting before he switched it off. > stuff for commercial things, but someone should maybe discuss with him > the name KBasic I think. All the K-stuff (as far as know) is open Not just that. He's got no right to take other people's work licensed under the GNU GPL license and release it as a commercial product. He should either fork on your code to provide new parts written by himself that do not have GPL attached, or start writing things from the scratch. Now, I do not know all the facts, but if he really did work so hard on it and nobody helped him, he's got all rights to sell the software. However, if he is using any part of code developed by third party and released under GPL, he is certainly breaching the license. For one thing is sure - if you deliberately work on GPL code and then decide you'd like to try to get some money out of it, you can't just undo the license on the code (so you have to leave it open to anyone to fork on it and do what they want to), because once you GPL something, you can't so easily take it back. Other thing is that if he's using any part of the third party code in his commercial software, he has to pay royalties to that person(s) and still retain GPL as a license model for that piece of code. -- Radoslav Dejanovi? founder and director Operacijski sustavi d.o.o. http://www.opsus.hr From bwells at ...475... Mon Jun 14 19:31:10 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 14 Jun 2004 13:31:10 -0400 Subject: [Gambas-user] Math bugs?? In-Reply-To: <40CB234F.6040806@...184...> References: <40C9D0EB.7010705@...475...> <200406112031.27486.abidoo.too@...11...> <40CB234F.6040806@...184...> Message-ID: <40CDE0DE.1050505@...475...> An HTML attachment was scrubbed... URL: From ultimamystic at ...67... Mon Jun 14 19:39:55 2004 From: ultimamystic at ...67... (Devin Hassan) Date: Mon, 14 Jun 2004 10:39:55 -0700 Subject: [Gambas-user] File Confusion. Message-ID: About my last message. I was still thinking in Visual Basic. So in Gambas you load the text file. You get the informaion. Then you just re-write the file with additonal info and it erases the old info. I dunno.. Just figured there was a way where you can just add to a file without having to load it. Like in Visual Basic... just a command and it picks up right where it left off and adds info. Well I suppose both ways can work. Devin Hassan So you see a lot of people like me think diffrent. But in the end we WIN! Way to go Gambas. _________________________________________________________________ Watch the online reality show Mixed Messages with a friend and enter to win a trip to NY http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/ From ultimamystic at ...67... Mon Jun 14 18:07:55 2004 From: ultimamystic at ...67... (Devin Hassan) Date: Mon, 14 Jun 2004 09:07:55 -0700 Subject: [Gambas-user] Files Message-ID: Hello, Ok I wanted to know how you can add to a text file with out havein to erase all the current information in the file. I am using tile X and Y in my map editor... So I need to have a text file that can be added to with info... So I want my text file to look like this 3,1 2,1 1,1 and then be able to keep adding to the text file... I looked in the Gambas Easy Docs and did some expermints with text files but could not find out how to do this... Also I tryed Binary files and had the same problem... I could only write 1 time to the binary file and that was it... So can I please get some code here on how to do this? And if it is easy to do it with a binary that would be better. I hope it is possbile to do this... if not a text file can work till I get it final.. read all info from text file through array then write final masterpiece to binary file.. But still need a start file I can add to and keep adding to, Thanks Devin Hassan _________________________________________________________________ Get fast, reliable Internet access with MSN 9 Dial-up ? now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ From ultimamystic at ...67... Mon Jun 14 18:07:54 2004 From: ultimamystic at ...67... (Devin Hassan) Date: Mon, 14 Jun 2004 09:07:54 -0700 Subject: [Gambas-user] Files Message-ID: Hello, Ok I wanted to know how you can add to a text file with out havein to erase all the current information in the file. I am using tile X and Y in my map editor... So I need to have a text file that can be added to with info... So I want my text file to look like this 3,1 2,1 1,1 and then be able to keep adding to the text file... I looked in the Gambas Easy Docs and did some expermints with text files but could not find out how to do this... Also I tryed Binary files and had the same problem... I could only write 1 time to the binary file and that was it... So can I please get some code here on how to do this? And if it is easy to do it with a binary that would be better. I hope it is possbile to do this... if not a text file can work till I get it final.. read all info from text file through array then write final masterpiece to binary file.. But still need a start file I can add to and keep adding to, Thanks Devin Hassan _________________________________________________________________ Getting married? Find great tips, tools and the latest trends at MSN Life Events. http://lifeevents.msn.com/category.aspx?cid=married From abidoo.too at ...11... Mon Jun 14 20:30:07 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 14 Jun 2004 20:30:07 +0200 Subject: [Gambas-user] Math bugs?? In-Reply-To: <40CDE0DE.1050505@...475...> References: <40C9D0EB.7010705@...475...> <40CB234F.6040806@...184...> <40CDE0DE.1050505@...475...> Message-ID: <200406142030.07727.abidoo.too@...11...> Le lundi 14 Juin 2004 19:31, Brant Wells a ?crit : > Hey Nelson: > > What should the value of 1\3 be?? For every operation that I have done > where 1/3 < 1, or? 1\3 <1 then I receive 0 (zero) for my answer.? A FLOAT > number is not returned...? ie: 6/3 = 2...? and 6\3 = 2... but 1/3 = 0, and > 1\3 = 0, when really 1/3 should =0.333~ > Using Fabien's trick (ie: adding the .0 to the end of my integer) works > fine for 1/3.0, but 1\3.0 returns an error message [Wanted integer, got > float instead] (after looking at the help file, I realize that this error > is expected...) > > I was just shocked to find that when I did a > > dim myVar as Float myvar=1/3.0 In other case send me an exemple.. i'll correct it ! Fabien > ? > myVar always came out to be zero, no matter if I used the format function > or what.? It would be nice if the division would return? float value > automagically if the number came out to be a fraction...? I guess I'm just > still getting used to the Gambas syntax for stuff...? Thanks for helping me > out, y'all! > > ~Brant > > > Nelson Ferraz wrote: > [snip...] > > This trick can be useful in many arithmetic operations, but should be > disabled when the expression involves a float division. That's why we have > the backslash division (1\3). > > "Premature optimisation is the root of all evil in programming". > > > [snip....] Number + Number Adds two numbers. - Number Computes the opposite sign of a number. Zero is the opposite of itself. N = 5 R = -8 PRINT N;" ! ";R; " , "; -N ; " !! "; -R ==> 5 ! -8 , -5 !! 8 Number - Number Subtracts two numbers. Number * Number Multiplies two numbers. Number / Number Divides two numbers. A division by zero error will occur if the value of the number to the right of the slash is zero. Number ^ Power Raises Number to the power Power . PRINT 4^3 ==> 48 Number \ Number <========== here Computes the quotient of the two numbers. A division by zero error will occur if the value of the number to the right of the backslash is zero. A \ B is the equivalent of INT(A/B). PRINT 9\4; " , "; 9 MOD 4 ==> 2 , 1 Number AND Number Computes the mathematical and of the binary value of the two numbers. PRINT 5 AND 3 ==> 1 Number MOD Number Computes the remainder of the quotient of the two numbers. A division by zero error will occur if the value of the number to the right of the operator MOD is zero. PRINT 9\4; " , "; 9 MOD 4 ==> 2 , 1 Number OR Number Computes the mathematical or of the binary value of the two numbers. PRINT 5 OR 3 ==> 7 Number XOR Number Computes the mathematical exclusive or of the binary value of the two numbers. PRINT 5 XOR 3 ==> 6 ------------------------------------------------------- This SF.Net email > is sponsored by the new InstallShield X. From Windows to Linux, servers to > mobile, InstallShield X is the one installation-authoring solution that > does it all. Learn more and evaluate today! > http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bwells at ...475... Mon Jun 14 20:40:22 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 14 Jun 2004 14:40:22 -0400 Subject: {Spam?} Re: [Gambas-user] Math bugs?? In-Reply-To: <200406142030.07727.abidoo.too@...11...> References: <40C9D0EB.7010705@...475...> <40CB234F.6040806@...184...> <40CDE0DE.1050505@...475...> <200406142030.07727.abidoo.too@...11...> Message-ID: <40CDF116.8070002@...475...> An HTML attachment was scrubbed... URL: From karl.reinl at ...9... Mon Jun 14 22:34:55 2004 From: karl.reinl at ...9... (Charlie) Date: Mon, 14 Jun 2004 22:34:55 +0200 Subject: [Gambas-user] Executing a constructed instruction References: <004701c44f1c$0dec6010$9c564f51@...360...> <40CCA578.1080603@...9...> <007701c451ee$0be54e60$0a844d51@...360...> Message-ID: <40CE0BEF.1020907@...9...> Nigel Gerrard schrieb: >Thanks Charlie for your reply. > >Unfortunately gb.eval only works in evaluating an expression. > >Here I was thinking about something that will execute the line (command) in >gambas, >thus enabling me to create the relevant code on the run. > >Nigel > > Salut Nigel, that is what I thought, so I rememebered the old Clipper. I think he took while compiled not only his lib, but also all functions and subs from the project. So you coulde do (don't be to strong with me for the Syntax, I haven't wrote code in Clipper the last 6 years ) : coText := "makeIt(5,6)" iRet := &coText // & is the Macro signe that is executing the Text in coText // iRet would become 30 Function makeIt(n1,n2) return n1 * n2 I would like this also, because that would make gambas very flexible. Amicalement Charlie From abidoo.too at ...11... Mon Jun 14 21:38:18 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 14 Jun 2004 21:38:18 +0200 Subject: [Gambas-user] About kbasic In-Reply-To: References: Message-ID: <200406142138.18607.abidoo.too@...11...> Le lundi 14 Juin 2004 20:48, danielcampos at ...282... a ?crit : > For those interested in Basic languages for Linux: > > KBasic is alive again: > > http://www.kbasic.org/1/index.html > > However, this is free software no more :-( not free ... ==> 'That's why KBasic will cost money. But how much is it? Only 24.95 EURO ' || Fabien > > 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) > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From abidoo.too at ...11... Mon Jun 14 21:50:21 2004 From: abidoo.too at ...11... (Fabien Bodard) Date: Mon, 14 Jun 2004 21:50:21 +0200 Subject: [Gambas-user] Executing a constructed instruction In-Reply-To: <40CE0BEF.1020907@...9...> References: <004701c44f1c$0dec6010$9c564f51@...360...> <007701c451ee$0be54e60$0a844d51@...360...> <40CE0BEF.1020907@...9...> Message-ID: <200406142150.21209.abidoo.too@...11...> Le lundi 14 Juin 2004 22:34, Charlie a ?crit : > Nigel Gerrard schrieb: > >Thanks Charlie for your reply. > > > >Unfortunately gb.eval only works in evaluating an expression. > > > >Here I was thinking about something that will execute the line (command) > > in gambas, > >thus enabling me to create the relevant code on the run. > > > >Nigel > > Salut Nigel, > > that is what I thought, so I rememebered the old Clipper. > > I think he took while compiled not only his lib, but also all functions > and subs from the project. > > So you coulde do (don't be to strong with me for the Syntax, I haven't > wrote code in Clipper the last 6 years ) : > > coText := "makeIt(5,6)" > > iRet := &coText // & is the Macro signe that is executing the Text > in coText > // iRet would become 30 > > Function makeIt(n1,n2) > return n1 * n2 > > I would like this also, because that would make gambas very flexible. > > Amicalement > Charlie > it can be usefull for lot of thing like report... macrofiles... it look at the forth system... Amicalement Fabien From nferraz at ...184... Mon Jun 14 22:48:31 2004 From: nferraz at ...184... (Nelson Ferraz) Date: Mon, 14 Jun 2004 17:48:31 -0300 Subject: [Gambas-user] Math bugs?? In-Reply-To: <40CDE0DE.1050505@...475...> References: <40C9D0EB.7010705@...475...> <200406112031.27486.abidoo.too@...11...> <40CB234F.6040806@...184...> <40CDE0DE.1050505@...475...> Message-ID: <40CE0F1F.8010806@...184...> Brant Wells wrote: > What should the value of 1\3 be? For every operation that I have done > where 1/3 < 1, or 1\3 <1 then I receive 0 (zero) for my answer. A > FLOAT number is not returned... ie: 6/3 = 2... and 6\3 = 2... but 1/3 > = 0, and 1\3 = 0, when really 1/3 should =0.333~ The backslash (\) is the integer division operator, or quotient. In your examples it will return zero (as expected). On the other hand, I agree with you that the non-integer division operator (/) shouldn't assume that the result will be integer, even if both operands are integer. []s Nelson From na2492 at ...9... Mon Jun 14 22:58:04 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Mon, 14 Jun 2004 22:58:04 00200 Subject: [Gambas-user] Executing a constructed instruction Message-ID: <40ce115c.5c48.0@...9...> >Le lundi 14 Juin 2004 22:34, Charlie a ?crit : >> Nigel Gerrard schrieb: >> >Thanks Charlie for your reply. >> > >> >Unfortunately gb.eval only works in evaluating an expression. >> > >> >Here I was thinking about something that will execute the line (command) >> > in gambas, >> >thus enabling me to create the relevant code on the run. >> > >> >Nigel >> >> Salut Nigel, >> >> that is what I thought, so I rememebered the old Clipper. >> >> I think he took while compiled not only his lib, but also all functions >> and subs from the project. >> >> So you coulde do (don't be to strong with me for the Syntax, I haven't >> wrote code in Clipper the last 6 years ) : >> >> coText := "makeIt(5,6)" >> >> iRet := &coText // & is the Macro signe that is executing the Text >> in coText >> // iRet would become 30 >> >> Function makeIt(n1,n2) >> return n1 * n2 >> >> I would like this also, because that would make gambas very flexible. >> >> Amicalement >> Charlie >> > >it can be usefull for lot of thing like report... macrofiles... >it look at the forth system... > >Amicalement >Fabien Salut Fabien, yes, that was a good strong system, you could store your Source-Code in a (in that case xBase) Database. And it was as good and cloud be so dangerous, as VBS is to day. But it had to die, it was not Windows compatible, it was linear driven and not by events. ( What I think still to day is not so bad for Data requirement Programms) Now a days I see the first steps back to that 'DOS' Systems . With Field-Valedation. Because why should a clerk, who has to typ in datas into a programm, use a mouse ? He has to fill Field by Field, and if there is no value to be required, he can step over by CR, to the next. And in the end he can say 'save' or 'quit' Like I said before, I saw signes that this will comme back. Like Terminals came back. Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Mon Jun 14 23:11:52 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 14 Jun 2004 23:11:52 +0200 Subject: [Gambas-user] Some bugs In-Reply-To: <003901c44f18$bff5c160$9c564f51@...360...> References: <40C1BC7A.6030004@...369...> <000601c44bad$e2685410$bdb74f51@...360...> <003901c44f18$bff5c160$9c564f51@...360...> Message-ID: <200406142311.53320.gambas@...1...> On Thursday 10 June 2004 20:28, Nigel Gerrard wrote: > Further to the answer below, currently gambas only creates field names > in lower case. e.g. if you have used hTable.Field.Create("LOWER", > gb.String) > then the field name will be converted to lower case - lower. > > I'm not sure why the driver needs to convert case before creating a field; > perhaps Benoit can answer. > > Nigel > I did that because I innocently thought that in SQL fields were case insensitive ! SQL is the worst implemented standard I ever see! There isn't two database backends that have the same behaviour ! I think we should simulate that fields are case insensitive by: 1) create fields in lower case (already done) 2) convert fields name in lower case when reading the database (partially fixed) Tell me Nigel if you can send me an update of the database driver soon. If you can, I will wait before releasing the 0.94. Otherwise, I want to make more important changes in the Gambas database drivers before the 1.0, as I told you before. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Jun 14 23:12:10 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 14 Jun 2004 23:12:10 +0200 Subject: [Gambas-user] Executing a constructed instruction In-Reply-To: <004701c44f1c$0dec6010$9c564f51@...360...> References: <004701c44f1c$0dec6010$9c564f51@...360...> Message-ID: <200406142312.10604.gambas@...1...> On Thursday 10 June 2004 20:52, Nigel Gerrard wrote: > Has anybody got an idea how I might run a string as a command within > Gambas. > > For example: > > DIM sCommand AS String > > sCommand = "PRINT \"Hello\"" > > sCommand > > > I'm guessing that it won't be possible without many changes to the pcode > compiler and interpreter....and I guess it would get verycomplicated. > > Nigel Why do you need that ? If you really need such a thing, you should program in Lisp :-) Gambas will never be able to do such a thing, or the interpreter will become monstruous! Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Mon Jun 14 23:59:48 2004 From: danielcampos at ...282... (Daniel Campos) Date: Mon, 14 Jun 2004 23:59:48 +0200 Subject: [Gambas-user] Compression component documentation Message-ID: <1087250388.3358.7.camel@...40...> Hi: The compression component documentation is now available at: http://www.binara.com/gambas-wiki/bin/view/Gambas/GbCompress Regards, -- Daniel Campos From girardhenri at ...67... Tue Jun 15 07:09:12 2004 From: girardhenri at ...67... (Henri Girard) Date: Tue, 15 Jun 2004 07:09:12 +0200 Subject: [Gambas-user] About kbasic References: <40CDB97C.4080307@...221...> Message-ID: That's new marketing and capitalism approach ! Nobody can't expect good from these kind of people... HG ----- Original Message ----- From: "Eilert" To: Sent: Monday, June 14, 2004 4:43 PM Subject: Re: [Gambas-user] About kbasic > Hi Daniel, > > > KBasic is alive again: > > However, this is free software no more :-( > > Yes I know... I was involved in the project writing some major parts of > the documentation and translations of the former Website. Everyone > working on it was sad when Bernd suddenly declared he would discontinue > working on the thing and seemed to disappear from the project "due to > personal reasons". > > Some guys tried to continue, but nothing really happened until one day > Bernd came up on the still existing mailing list with the news he had > worked on the project all the time for himself and now planned to sell > it "because he had worked so hard on it" and nobody had helped him > anyway. Suddenly it appeared that a lot of people were still on the list > and there was kinda protesting before he switched it off. > > So much about KBasic. Well, it was GPL and it is his right to use the > stuff for commercial things, but someone should maybe discuss with him > the name KBasic I think. All the K-stuff (as far as know) is open > source, and now KBasic isn't any longer. I could imagine, the K-team > minds him using this name. > > Rolf > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the new InstallShield X. > From Windows to Linux, servers to mobile, InstallShield X is the > one installation-authoring solution that does it all. Learn more and > evaluate today! http://www.installshield.com/Dev2Dev/0504 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vbtricks at ...451... Tue Jun 15 12:15:19 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Tue, 15 Jun 2004 12:15:19 +0200 Subject: [Gambas-user] FileAttribs Message-ID: <40CECC37.3010609@...451...> How to get the attributes of a file, detect if it's a folder, what was returned by the dir-function? Stefan _______________________________________________________________________________________________ Schreibsuechtige gesucht! http://my-mail.ch/?redirect=9902 Bei uns finden Sie trendige Geschenkideen und Wohnaccessoires! http://my-mail.ch/?redirect=1610 From sourceforge-raindog2 at ...94... Tue Jun 15 13:17:37 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Tue, 15 Jun 2004 07:17:37 -0400 Subject: [Gambas-user] FileAttribs In-Reply-To: <40CECC37.3010609@...451...> References: <40CECC37.3010609@...451...> Message-ID: <200406150717.37094.sourceforge-raindog2@...94...> On Tuesday 15 June 2004 06:15, VBTricks.de.vu Webmaster wrote: > How to get the attributes of a file, detect if it's a folder, > what was returned by the dir-function? I think you're looking for the function "Stat". http://www.binara.com/gambas-wiki/bin/view/Gambas/LangStat Returns information about a file or a directory as a File object: type, size, last modification time, permissions... Example WITH Stat("/home") PRINT .Type = gb.Directory PRINT Round(.Size / 1024); "K" END WITH - True - 4K From ihernandez at ...478... Tue Jun 15 14:45:39 2004 From: ihernandez at ...478... (ihernandez at ...478...) Date: Tue, 15 Jun 2004 12:45:39 +0000 Subject: [Gambas-user] Compile 0.93b in Debian Message-ID: <20040615124539.GA22519@...478...> Hello, i'm using Debian SID and have never found the way to compile the qt components of Gambas. It fails, complains about a lot of things, and i'm not friend of the QT libraries, so if someone have compiled this ... can tell me how did? i mean... what packages to do apt-get and those thinks thanks you!!! Ivan From mbergmann-sh at ...17... Tue Jun 15 21:30:43 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Tue, 15 Jun 2004 21:30:43 +0200 Subject: [Gambas-user] EXEC or SHELL to stop a started app- please help Message-ID: <200406152130.43231.mbergmann-sh@...17...> Hi there! I am totally new to gambas (...did some VB 6 under Windoze, nothing really special) and to this group, too. I started using gambas, because I wanted to put together a small GUI to run some apps in order to use my PCTV Sat under Linux (SuSE 9.1). The prob is - I have to CTRL-C an app, namely szap, before I can zap to the next channel of my TV-Application. Now, if I start it like : EXEC ["/usr/bin/szap", "-r", "MTV"], it works fine. szap selects my desired channel. But: How can I stop the running szap, prefarably by sending a CTRL-C?! I have to stop it in order to select anpther channel, so my whole GUI is strictly for the feed if I can't. Could somebody out there please give me a glue? Thanks a lot, Michael From gambas at ...1... Tue Jun 15 23:53:00 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 15 Jun 2004 23:53:00 +0200 Subject: [Gambas-user] EXEC or SHELL to stop a started app- please help In-Reply-To: <200406152130.43231.mbergmann-sh@...17...> References: <200406152130.43231.mbergmann-sh@...17...> Message-ID: <200406152353.00656.gambas@...1...> On Tuesday 15 June 2004 21:30, Michael Bergmann wrote: > Hi there! > > I am totally new to gambas (...did some VB 6 under Windoze, nothing really > special) and to this group, too. > > I started using gambas, because I wanted to put together a small GUI to run > some apps in order to use my PCTV Sat under Linux (SuSE 9.1). The prob is - > I have to CTRL-C an app, namely szap, before I can zap to the next channel > of my TV-Application. Now, if I start it like : > EXEC ["/usr/bin/szap", "-r", "MTV"], it works fine. szap selects my desired > channel. But: How can I stop the running szap, prefarably by sending a > CTRL-C?! I have to stop it in order to select anpther channel, so my whole > GUI is strictly for the feed if I can't. > > Could somebody out there please give me a glue? > > Thanks a lot, > > Michael > You must do: DIM hProcess AS Process EXEC [ "/usr/bin/szap", "-r", "MTV (blah)" ] AS hProcess And to stop the program hProcess.Kill Regards, -- Benoit Minisini mailto:gambas at ...1... From nigel at ...38... Wed Jun 16 01:35:06 2004 From: nigel at ...38... (Nigel Gerrard) Date: Wed, 16 Jun 2004 00:35:06 +0100 Subject: [Gambas-user] Some bugs References: <40C1BC7A.6030004@...369...> <000601c44bad$e2685410$bdb74f51@...360...> <003901c44f18$bff5c160$9c564f51@...360...> <200406142311.53320.gambas@...1...> Message-ID: <004501c45331$64dbb600$0f344254@...360...> Benoit, I will send the changes soon but you'll need to check them as I haven't been able to meet everything that you wished for in the last email :-) As for mysql and Sqlite field names are insensative in that Field1 = field1, so Create table Fred ( Field1 int, field2 text); select field2 from Fred where field1 = 2; will work and so will select Field2 from Fred where Field1 = 2 But Field1 and field1 can be stored as the field name in the schema. Only gambas tries to stop this implementation. Nigel ----- Original Message ----- From: "Benoit Minisini" To: Sent: Monday, June 14, 2004 10:11 PM Subject: Re: [Gambas-user] Some bugs > On Thursday 10 June 2004 20:28, Nigel Gerrard wrote: > > Further to the answer below, currently gambas only creates field names > > in lower case. e.g. if you have used hTable.Field.Create("LOWER", > > gb.String) > > then the field name will be converted to lower case - lower. > > > > I'm not sure why the driver needs to convert case before creating a field; > > perhaps Benoit can answer. > > > > Nigel > > > > I did that because I innocently thought that in SQL fields were case > insensitive ! > > SQL is the worst implemented standard I ever see! There isn't two database > backends that have the same behaviour ! > > I think we should simulate that fields are case insensitive by: > > 1) create fields in lower case (already done) > 2) convert fields name in lower case when reading the database (partially > fixed) > > Tell me Nigel if you can send me an update of the database driver soon. If you > can, I will wait before releasing the 0.94. Otherwise, I want to make more > important changes in the Gambas database drivers before the 1.0, as I told > you before. > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jeffjohnson at ...377... Tue Jun 15 21:15:19 2004 From: jeffjohnson at ...377... (Jeff Johnson) Date: Tue, 15 Jun 2004 12:15:19 -0700 Subject: [Gambas-user] Executing a constructed instruction In-Reply-To: <200406142312.10604.gambas@...1...> References: <004701c44f1c$0dec6010$9c564f51@...360...> <200406142312.10604.gambas@...1...> Message-ID: <200406151215.19472.jeffjohnson@...377...> Foxpro had the & command You could say A = 1 do while A < 12 mvar = "text" + Str(A) + "b.txt" print &mvar A = A + 1 enddo prints text1b.txt, text2b.txt etc in other words the & meant the contents of a varable like a pointer I always missed that in VB and wondered why MS never carried it over On Monday 14 June 2004 14:12, Benoit Minisini wrote: > On Thursday 10 June 2004 20:52, Nigel Gerrard wrote: > > Has anybody got an idea how I might run a string as a command within > > Gambas. > > > > For example: > > > > DIM sCommand AS String > > > > sCommand = "PRINT \"Hello\"" > > > > sCommand > > > > > > I'm guessing that it won't be possible without many changes to the pcode > > compiler and interpreter....and I guess it would get verycomplicated. > > > > Nigel > > Why do you need that ? > > If you really need such a thing, you should program in Lisp :-) > Gambas will never be able to do such a thing, or the interpreter will > become monstruous! > > Regards, From c0de3 at ...43... Wed Jun 16 13:22:45 2004 From: c0de3 at ...43... (Craig Packard) Date: Wed, 16 Jun 2004 04:22:45 -0700 (PDT) Subject: [Gambas-user] Executing a constructed instruction Message-ID: <20040616112245.38688.qmail@...479...> In VB you can do: For i = 1 to 11 mvar = "text" & i & "b.txt" Print mvar Next Same? From you example I don't see what & adds. I know in some lanuages that means the address of the variable in memory not the value but it doesn't appear to mean that from you example. Also remember MS didn't write Foxpro. They bought it. - Craig > -----Original Message----- > From: Jeff Johnson [mailto:jeffjohnson at ...377...] > Sent: Tuesday, June 15, 2004 3:15 PM > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Executing a constructed instruction > > > Foxpro had the & command > You could say > A = 1 > do while A < 12 > mvar = "text" + Str(A) + "b.txt" > print &mvar > A = A + 1 > enddo > > > prints text1b.txt, text2b.txt etc > > in other words the & meant the contents of a varable like a pointer > I always missed that in VB and wondered why MS never carried it over > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail From adrianleiro at ...397... Wed Jun 16 14:28:49 2004 From: adrianleiro at ...397... (=?iso-8859-1?q?Adrian=20Leiro?=) Date: Wed, 16 Jun 2004 14:28:49 +0200 (CEST) Subject: [Gambas-user] Animated Gif In-Reply-To: <200406152353.00656.gambas@...1...> Message-ID: <20040616122849.999.qmail@...480...> I asked a long time ago for any control for Animated Gif, and I founded the Marchoso.OCX and the AniGif.OCX with VBasic, it would be graet if Benoit or somebody makes the Gambas Version. Gambas Rules ______________________________________________________________________ Yahoo! lanza su nueva tecnolog?a de b?squedas ?te atreves a comparar? http://busquedas.yahoo.es From bwells at ...475... Wed Jun 16 15:17:07 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 16 Jun 2004 09:17:07 -0400 Subject: [Gambas-user] How to decrypt a text? Any suggestions? In-Reply-To: <200406131711.14363.bundeshund@...467...> References: <200406121248.48580.abidoo.too@...11...> <1087081835.3114.2.camel@...476...> <200406131711.14363.bundeshund@...467...> Message-ID: <40D04853.6030407@...475...> Hans-Martin: You could always come up with a quick formula based on the ASCII value of the Text that you are storing. The upside is that you can always change it, etc. However, the downside, is that it can be slow if your program has to call it many times. An example... Say that A=10, B=11, and C=12 Step 1. Reverse the string, from ABC to CBA (the ascii order would be 121110 Step 2. Reverse the ASCII values so you'd wind up with 211101 Note aboud step 2. make sure you format ascii values that are less than 10 to have two digits: ID: 9 should be represented as 09 Step 3. Store the value from step 2 (in this case, 211101) into the password field... or convert the Values from step 2 back into their ascii Characters using the chr$() function. The decryption routine should be just as easy to figure out. ;-) See Ya! ~Brant Hans-Martin Bundeshund wrote: >Hello group, > >I hope that I don't ask too many questions here and i will be not filtered ;) > > >I have a database with usernames and passwords stored with mysql. I want to >write the passwords not in plain text as I do quite now. > >Any ideas how I can easely decrypt (and encrypt) the plain text using gambas? >(I do not want a call to an external script/programm just to use a litle code >inside) > >Thankfull > >HM > > >------------------------------------------------------- >This SF.Net email is sponsored by the new InstallShield X. >>From Windows to Linux, servers to mobile, InstallShield X is the >one installation-authoring solution that does it all. Learn more and >evaluate today! http://www.installshield.com/Dev2Dev/0504 >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From sourceforge-raindog2 at ...94... Wed Jun 16 15:14:33 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 16 Jun 2004 09:14:33 -0400 Subject: [Gambas-user] Process_read and tabstrip In-Reply-To: <200409161309.23293.nervix@...402...> References: <200409161309.23293.nervix@...402...> Message-ID: <200406160914.33021.sourceforge-raindog2@...94...> On Thursday 16 September 2004 07:09, nervix wrote: > I have a little problem with the Process_read , i have several > event that lunch several exec [] for read and only one Sub > Process_read is there anyway that i can specify wich process's > "coming back" i wanna read ? You want to use the LAST keyword, just as with control groups. http://www.binara.com/gambas-wiki/bin/view/Gambas/LangLAST Rob From sourceforge-raindog2 at ...94... Wed Jun 16 16:29:38 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 16 Jun 2004 10:29:38 -0400 Subject: [Gambas-user] How to decrypt a text? Any suggestions? In-Reply-To: <40D04853.6030407@...475...> References: <200406131711.14363.bundeshund@...467...> <40D04853.6030407@...475...> Message-ID: <200406161029.38262.sourceforge-raindog2@...94...> On Wednesday 16 June 2004 09:17, Brant Wells wrote: > You could always come up with a quick formula based on the > ASCII value of the Text that you are storing. The upside is > that you can always change it, etc. However, the downside, is > that it can be slow if your program has to call it many times. I think that rolling your own encryption is worse than no encryption at all, because it might give someone a false sense of security. Since he's using mysql I would suggest he look at the CRYPT() and PASSWORD() function calls and use them in his SQL statements. But wrapping the Unix crypt() function or MD5 hashing (both of which are one way and appropriate for password authentication) is really the way to go here, and shouldn't be that hard in a gb.crypt component. Not that I'm volunteering at the moment since I'm still working on patching gambas so my package will work (and thanks to Dries for giving me a spec file that almost worked.... as long as I went "cd /usr/bin" or "cd /usr/lib" first, projects would run ;) I think I can figure it out from this point....) Rob From oxleyd at ...364... Wed Jun 16 15:26:27 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 16 Jun 2004 14:26:27 +0100 Subject: [Gambas-user] How to decrypt a text? Any suggestions? In-Reply-To: <200406161029.38262.sourceforge-raindog2@...94...> References: <200406131711.14363.bundeshund@...467...> <40D04853.6030407@...475...> <200406161029.38262.sourceforge-raindog2@...94...> Message-ID: <20040616122506.M39165@...364...> I have been trying for a while now to re-code a class i put hacked/together in VB6 into Gambas. It is a VB implementation of DES encryption. You are welcome to it if you want, on the understanding that you let me have the gambas version in return!!!! ---------- Original Message ----------- From: Rob To: gambas-user at lists.sourceforge.net Sent: Wed, 16 Jun 2004 10:29:38 -0400 Subject: Re: [Gambas-user] How to decrypt a text? Any suggestions? > On Wednesday 16 June 2004 09:17, Brant Wells wrote: > > You could always come up with a quick formula based on the > > ASCII value of the Text that you are storing. The upside is > > that you can always change it, etc. However, the downside, is > > that it can be slow if your program has to call it many times. > > I think that rolling your own encryption is worse than no > encryption at all, because it might give someone a false sense > of security. Since he's using mysql I would suggest he look at > the CRYPT() and PASSWORD() function calls and use them in his > SQL statements. > > But wrapping the Unix crypt() function or MD5 hashing (both of > which are one way and appropriate for password authentication) > is really the way to go here, and shouldn't be that hard in a > gb.crypt component. Not that I'm volunteering at the moment > since I'm still working on patching gambas so my package will > work (and thanks to Dries for giving me a spec file that almost > worked.... as long as I went "cd /usr/bin" or "cd /usr/lib" > first, projects would run ;) I think I can figure it out from > this point....) > > Rob > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, > CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From bwells at ...475... Wed Jun 16 17:51:11 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 16 Jun 2004 11:51:11 -0400 Subject: [Gambas-user] How to decrypt a text? Any suggestions? In-Reply-To: <200406161029.38262.sourceforge-raindog2@...94...> References: <200406131711.14363.bundeshund@...467...> <40D04853.6030407@...475...> <200406161029.38262.sourceforge-raindog2@...94...> Message-ID: <40D06C6F.3030605@...475...> Good point, Rob. I haven't done any DB work in Gambas yet... and I hadn't even thought about mysql having it's own password stuff. It's been too long.... Maybe I should go get the newest one. (grin). As for rolling my own encryption, I have done it in the past in VB (the code worked perfectly over in Gambas =-O ), simply because I didn't understand how to use some of the encryption controls / functions for VB. I saw the gb.Crypt stuff, and was going to take a look at it, but just haven't had time as I've been busy battling viruses on my network... Daniel: Sure, let me take a look at it. I can't guarantee any time frame, but I'll happily let you have the Gambas code if I can get it figured out. Maybe we could double team it and come up with a Control for Gambas? See Ya Guys! ~Brant Rob wrote: >I think that rolling your own encryption is worse than no >encryption at all, because it might give someone a false sense >of security. Since he's using mysql I would suggest he look at >the CRYPT() and PASSWORD() function calls and use them in his >SQL statements. > > From bwells at ...475... Wed Jun 16 18:06:40 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 16 Jun 2004 12:06:40 -0400 Subject: [Gambas-user] Shell / Exec Question Message-ID: <40D07010.8000701@...475...> Hi All... I have an application where I need the user to enter the Root User's password, however, I want it in a konsole window... So I do... PUBLIC SUB ShellTest() EXEC ["konsole","-e","su","root"] WAIT END PUBLIC SUB Process_Read() DIM sLine AS String INPUT #LAST, sLine PRINT sLine END The problem is that my Process_Read() is never activated... Is there a way for me to conntrol X applications? Thanks! ~Brant From vbtricks at ...451... Wed Jun 16 18:29:04 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Wed, 16 Jun 2004 18:29:04 +0200 Subject: [Gambas-user] Expanded item of a treeview Message-ID: <40D07550.7090309@...451...> How to retrieve the item which caused the Expand event of a treeview (I want to create the children-items dynamically and remove them again when the item is collapsed)? Stefan ___________________________________________________________________________________________________ Schlappe uebertragungsgrenze? http://my-mail.ch/?redirect=9904 Online-Gewinnspiel mit 1'000 Sofortpreisen im Wert von CHF 40'000! http://my-mail.ch/?redirect=1779 From gambas at ...1... Wed Jun 16 19:48:10 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Jun 2004 19:48:10 +0200 Subject: [Gambas-user] Shell / Exec Question In-Reply-To: <40D07010.8000701@...475...> References: <40D07010.8000701@...475...> Message-ID: <200406161948.10879.gambas@...1...> On Wednesday 16 June 2004 18:06, Brant Wells wrote: > Hi All... > I have an application where I need the user to enter the Root User's > password, however, I want it in a konsole window... > So I do... > > PUBLIC SUB ShellTest() > EXEC ["konsole","-e","su","root"] WAIT > END > > PUBLIC SUB Process_Read() > > DIM sLine AS String > INPUT #LAST, sLine > PRINT sLine > END > > The problem is that my Process_Read() is never activated... Is there a > way for me to conntrol X applications? > > Thanks! > ~Brant > Read the doc :-) Try EXEC ["konsole","-e","su","root"] FOR READ WRITE WAIT -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jun 16 19:49:35 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Jun 2004 19:49:35 +0200 Subject: [Gambas-user] Expanded item of a treeview In-Reply-To: <40D07550.7090309@...451...> References: <40D07550.7090309@...451...> Message-ID: <200406161949.35118.gambas@...1...> On Wednesday 16 June 2004 18:29, VBTricks.de.vu Webmaster wrote: > How to retrieve the item which caused the Expand event of a treeview (I > want to create the children-items dynamically and remove them again when > the item is collapsed)? > > Stefan That should be documented... The internal cursor of the treeview (TreeView.Item) is set to the expanded item. Same thing of course for the Collapse event. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jun 16 19:51:07 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Jun 2004 19:51:07 +0200 Subject: [Gambas-user] Some bugs In-Reply-To: <004501c45331$64dbb600$0f344254@...360...> References: <40C1BC7A.6030004@...369...> <200406142311.53320.gambas@...1...> <004501c45331$64dbb600$0f344254@...360...> Message-ID: <200406161951.07873.gambas@...1...> On Wednesday 16 June 2004 01:35, Nigel Gerrard wrote: > Benoit, > > I will send the changes soon but you'll need to check them as I haven't > been > able to meet everything that you wished for in the last email :-) > > As for mysql and Sqlite field names are insensative in that Field1 = > field1, > > so Create table Fred ( Field1 int, field2 text); > select field2 from Fred where field1 = 2; will work and so will > select Field2 from Fred where Field1 = 2 > > But Field1 and field1 can be stored as the field name in the schema. > > Only gambas tries to stop this implementation. > > Nigel > I just wanted to release the 0.94 with the "case insensitive field name" fix and the new IDE packager wizard. Then, I want to clean the database component for the 0.95. Regards, -- Benoit Minisini mailto:gambas at ...1... From bwells at ...475... Wed Jun 16 20:08:48 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 16 Jun 2004 14:08:48 -0400 Subject: [Gambas-user] Shell / Exec Question In-Reply-To: <200406161948.10879.gambas@...1...> References: <40D07010.8000701@...475...> <200406161948.10879.gambas@...1...> Message-ID: <40D08CB0.5020206@...475...> He he he... If only it were that easy... I'd already read the doc, unfortunately. I am using Gambas 0.93b...on Mandrake 10 Community and when I run EXEC ["konsole","-e","su","root"] FOR READ WRITE WAIT I get an "End of Line Expected" When I run EXEC ["konsole","-e","su","root"] WAIT FOR READ WRITE The application runs, and waits until I exit the konsole. However, my Process_Read never triggers...Even if I just do For Read. I don't see what I'm doing wrong... If I need to, I can post the Source Code to the app.... Benoit Minisini wrote: >Read the doc :-) > >Try EXEC ["konsole","-e","su","root"] FOR READ WRITE WAIT > > > From oxleyd at ...364... Wed Jun 16 19:37:50 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 16 Jun 2004 18:37:50 +0100 Subject: [Gambas-user] How to decrypt a text? Any suggestions? In-Reply-To: <40D06C6F.3030605@...475...> References: <200406131711.14363.bundeshund@...467...> <40D04853.6030407@...475...> <200406161029.38262.sourceforge-raindog2@...94...> <40D06C6F.3030605@...475...> Message-ID: <20040616163528.M25316@...364...> OK, i'll post the code here, it worked well in VB but was a little slow. I got it from the web but then butchered it a little for my own purposes, if i can find the native code i'll post that, otherwise my version. P.S. AFAIK, the original code was GPL anyway. Although it won't be for a week or so as I am not in Madrid. Daniel ---------- Original Message ----------- From: Brant Wells To: gambas-user at lists.sourceforge.net Sent: Wed, 16 Jun 2004 11:51:11 -0400 Subject: Re: [Gambas-user] How to decrypt a text? Any suggestions? > Good point, Rob. I haven't done any DB work in Gambas yet... and I > hadn't even thought about mysql having it's own password stuff. > It's been too long.... Maybe I should go get the newest one. (grin). > > As for rolling my own encryption, I have done it in the past in VB > (the code worked perfectly over in Gambas =-O ), simply because I > didn't understand how to use some of the encryption controls / > functions for VB. I saw the gb.Crypt stuff, and was going to take a > look at it, but just haven't had time as I've been busy battling > viruses on my network... > > Daniel: > > Sure, let me take a look at it. I can't guarantee any time frame, > but I'll happily let you have the Gambas code if I can get it > figured out. Maybe we could double team it and come up with a > Control for Gambas? > > See Ya Guys! > ~Brant > > Rob wrote: > > >I think that rolling your own encryption is worse than no > >encryption at all, because it might give someone a false sense > >of security. Since he's using mysql I would suggest he look at > >the CRYPT() and PASSWORD() function calls and use them in his > >SQL statements. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, > CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas at ...1... Wed Jun 16 21:08:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Jun 2004 21:08:14 +0200 Subject: [Gambas-user] How to decrypt a text? Any suggestions? In-Reply-To: <20040616163528.M25316@...364...> References: <40D06C6F.3030605@...475...> <20040616163528.M25316@...364...> Message-ID: <200406162108.14417.gambas@...1...> On Wednesday 16 June 2004 19:37, Daniel Oxley wrote: > OK, i'll post the code here, it worked well in VB but was a little slow. I > got it from the web but then butchered it a little for my own purposes, if > i can find the native code i'll post that, otherwise my version. > > P.S. AFAIK, the original code was GPL anyway. > > Although it won't be for a week or so as I am not in Madrid. > > Daniel > > > Note that sending your mails to the mailing-list AND to the mailing-list administrator is useless. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jun 16 21:21:16 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 16 Jun 2004 21:21:16 +0200 Subject: [Gambas-user] Shell / Exec Question In-Reply-To: <40D08CB0.5020206@...475...> References: <40D07010.8000701@...475...> <200406161948.10879.gambas@...1...> <40D08CB0.5020206@...475...> Message-ID: <200406162121.16285.gambas@...1...> On Wednesday 16 June 2004 20:08, Brant Wells wrote: > He he he... If only it were that easy... I'd already read the doc, > unfortunately. > > I am using Gambas 0.93b...on Mandrake 10 Community and when I run > EXEC ["konsole","-e","su","root"] FOR READ WRITE WAIT > > I get an "End of Line Expected" > > When I run > > EXEC ["konsole","-e","su","root"] WAIT FOR READ WRITE > > The application runs, and waits until I exit the konsole. However, my > Process_Read never triggers...Even if I just do For Read. > Try: DIM hProcess AS Process EXEC ["konsole","-e","su","root"] WAIT FOR READ WRITE AS hProcess -- Benoit Minisini mailto:gambas at ...1... From oxleyd at ...364... Wed Jun 16 20:07:38 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 16 Jun 2004 19:07:38 +0100 Subject: [Gambas-user] How to decrypt a text? Any suggestions? In-Reply-To: <200406162108.14417.gambas@...1...> References: <40D06C6F.3030605@...475...> <20040616163528.M25316@...364...> <200406162108.14417.gambas@...1...> Message-ID: <20040616170716.M37353@...364...> Ooops. Sorry, bad use of th ereply to all button! ---------- Original Message ----------- From: Benoit Minisini To: gambas-user at lists.sourceforge.net Sent: Wed, 16 Jun 2004 21:08:14 +0200 Subject: Re: [Gambas-user] How to decrypt a text? Any suggestions? > On Wednesday 16 June 2004 19:37, Daniel Oxley wrote: > > OK, i'll post the code here, it worked well in VB but was a little slow. I > > got it from the web but then butchered it a little for my own purposes, if > > i can find the native code i'll post that, otherwise my version. > > > > P.S. AFAIK, the original code was GPL anyway. > > > > Although it won't be for a week or so as I am not in Madrid. > > > > Daniel > > > > > > > > Note that sending your mails to the mailing-list AND to the mailing- > list administrator is useless. > > Regards, > > -- > Benoit Minisini > mailto:gambas at ...1... > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, > CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From bwells at ...475... Wed Jun 16 23:32:25 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 16 Jun 2004 17:32:25 -0400 Subject: [Gambas-user] Shell / Exec Question In-Reply-To: <200406162121.16285.gambas@...1...> References: <40D07010.8000701@...475...> <200406161948.10879.gambas@...1...> <40D08CB0.5020206@...475...> <200406162121.16285.gambas@...1...> Message-ID: <40D0BC69.5010002@...475...> An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Thu Jun 17 01:53:17 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 16 Jun 2004 19:53:17 -0400 Subject: [Gambas-user] Shell / Exec Question In-Reply-To: <40D0BC69.5010002@...475...> References: <40D07010.8000701@...475...> <200406162121.16285.gambas@...1...> <40D0BC69.5010002@...475...> Message-ID: <200406161953.17123.sourceforge-raindog2@...94...> As I type this my net connection is down again, so you may have already figured this out by the time you see it, but.... On Wednesday 16 June 2004 17:32, Brant Wells wrote: > It appears to me that none of the X applications that I have > tried will trigger the Process_read events... ie: Konsole, > kcalc, xterm... However, several console applications do... > ie: ls and ps...even cat works... Well, try this simple test. In a konsole (let's call it "konsole 1") type "konsole -e su root". Or "konsole -e ls" or whatever you like. It'll start another konsole, that being "konsole 2" for our purposes. Do whatever you were going to do in konsole 2, exit it if it doesn't exit by itself, and then go back to konsole 1. The output that you see *there*, if any, in konsole 1, is the output that would trigger the Process_Read and/or Process_Error events in gambas. Do you understand now why Process_Read wasn't firing? ;) Rob From c0de3 at ...43... Wed Jun 16 22:57:51 2004 From: c0de3 at ...43... (Craig Packard) Date: Wed, 16 Jun 2004 13:57:51 -0700 (PDT) Subject: [Gambas-user] Window Manager Message-ID: <20040616205751.8306.qmail@...479...> I've seen talk on here in the past as to problems with getting the syntax popup thingy to work. Mine pops up for a micro-second and the disappears. I have Gambas on Fedora 1. I found that the popup window for selecting my properties/methods didn't work correctly too. I had to manually take my mouse and select the entry I wanted from the list. So I switched to icewm and the popup for selecting my properties/methods now works better the window that comes up is really small only showing me like two options instead of 5 or 6, but the syntax help still doesn't come up. I guess my question is what WM are you folks using to get all the features to work properly? - Craig __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From sourceforge-raindog2 at ...94... Thu Jun 17 02:36:04 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 16 Jun 2004 20:36:04 -0400 Subject: [Gambas-user] Window Manager In-Reply-To: <20040616205751.8306.qmail@...479...> References: <20040616205751.8306.qmail@...479...> Message-ID: <200406162036.04866.sourceforge-raindog2@...94...> On Wednesday 16 June 2004 16:57, Craig Packard wrote: > I guess my question is what WM are you folks using to > get all the features to work properly? Personally, I use KDE, but I don't know what its builtin window manager is called. Rob From rizky at ...225... Thu Jun 17 04:56:34 2004 From: rizky at ...225... (Rizky Tahara Shita) Date: Thu, 17 Jun 2004 09:56:34 +0700 Subject: [Gambas-user] Animated Gif In-Reply-To: <20040616122849.999.qmail@...480...> References: <200406152353.00656.gambas@...1...> <20040616122849.999.qmail@...480...> Message-ID: <6.0.0.22.2.20040617095549.01bcce68@...329...> At 19:28 16/06/2004, Adrian Leiro wrote: >I asked a long time ago for any control for Animated >Gif, and I founded the Marchoso.OCX and the AniGif.OCX >with VBasic, it would be graet if Benoit or somebody >makes the Gambas Version. for animated in VB, i prefer use the macromedia flash ocx.. the animations more smooth.. :) >Gambas Rules > > > >______________________________________________________________________ >Yahoo! lanza su nueva tecnolog?a de b?squedas >?te atreves a comparar? >http://busquedas.yahoo.es > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From adrianleiro at ...397... Thu Jun 17 09:50:38 2004 From: adrianleiro at ...397... (=?iso-8859-1?q?Adrian=20Leiro?=) Date: Thu, 17 Jun 2004 09:50:38 +0200 (CEST) Subject: [Gambas-user] Animated Gif In-Reply-To: <6.0.0.22.2.20040617095549.01bcce68@...329...> Message-ID: <20040617075038.1358.qmail@...481...> Maibe if I can find the source of the Marchoso.OCX I can translate it. Or I can't. Gambas Rules ______________________________________________________________________ Yahoo! lanza su nueva tecnolog?a de b?squedas ?te atreves a comparar? http://busquedas.yahoo.es From na2492 at ...9... Thu Jun 17 12:44:05 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Thu, 17 Jun 2004 12:44:05 00200 Subject: [Gambas-user] Shell / Exec Question Message-ID: <40d175f5.2523.0@...9...> >As I type this my net connection is down again, so you may have >already figured this out by the time you see it, but.... > >On Wednesday 16 June 2004 17:32, Brant Wells wrote: >> It appears to me that none of the X applications that I have >> tried will trigger the Process_read events... ie: Konsole, >> kcalc, xterm... However, several console applications do... >> ie: ls and ps...even cat works... > >Well, try this simple test. In a konsole (let's call it "konsole >1") type "konsole -e su root". Or "konsole -e ls" or whatever >you like. It'll start another konsole, that being "konsole 2" >for our purposes. Do whatever you were going to do in konsole >2, exit it if it doesn't exit by itself, and then go back to >konsole 1. > >The output that you see *there*, if any, in konsole 1, is the >output that would trigger the Process_Read and/or Process_Error >events in gambas. > >Do you understand now why Process_Read wasn't firing? ;) > >Rob Salut, if you make a copy of examples/console And you change $hProcess.Send(sLig) to PRINT #$hProcess sLig You can debug it , and see how it works A question ? Is it realy Process_Read and not Process_Write ? Amicalement Charlie Sorry if it is sent twice, but my mailer gave me an Error the first time * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From bwells at ...475... Thu Jun 17 14:48:01 2004 From: bwells at ...475... (Brant Wells) Date: Thu, 17 Jun 2004 08:48:01 -0400 Subject: [Gambas-user] Shell / Exec Question In-Reply-To: <200406161953.17123.sourceforge-raindog2@...94...> References: <40D07010.8000701@...475...> <200406162121.16285.gambas@...1...> <40D0BC69.5010002@...475...> <200406161953.17123.sourceforge-raindog2@...94...> Message-ID: <40D19301.2070202@...475...> An HTML attachment was scrubbed... URL: From bwells at ...475... Thu Jun 17 15:04:29 2004 From: bwells at ...475... (Brant Wells) Date: Thu, 17 Jun 2004 09:04:29 -0400 Subject: [Gambas-user] Shell / Exec Question In-Reply-To: <40d175f5.2523.0@...9...> References: <40d175f5.2523.0@...9...> Message-ID: <40D196DD.8000604@...475...> Hey Charlie: The problem is not controling a console app... I am wanting to control X applications using the same method... It would appear that is not supported yet... I'm hoping to be able to get my hands on some kind of Docs about the KDE / X... and maybe write in a function or a control that will allow us to control X processes, as well as Konsole Processes... See Ya! ~Brant na2492 at ...9... wrote: >Salut, > >if you make a copy of examples/console >And you change > $hProcess.Send(sLig) >to > PRINT #$hProcess sLig > >You can debug it , and see how it works > >A question ? > Is it realy Process_Read and not Process_Write ? > >Amicalement >Charlie > >Sorry if it is sent twice, but my mailer gave me an Error the first time >* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From sourceforge-raindog2 at ...94... Thu Jun 17 18:00:29 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 17 Jun 2004 12:00:29 -0400 Subject: [Gambas-user] temporary mandrake packages of 0.93b Message-ID: <200406171200.29789.sourceforge-raindog2@...94...> Thanks to Dries' spec file and some fairly minor changes, I was able to make Mandrake 10.0 packages of 0.93b that actually work. The src.rpm should rebuild under 9.2 as well, though I haven't had a chance to try that yet. They use a different naming scheme than my previous packages, so I'm not releasing them on the front page till I massage that some more. Here they are, though: http://www.kudla.org/g093b/ Good luck.... Rob From sourceforge-raindog2 at ...94... Thu Jun 17 18:12:56 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 17 Jun 2004 12:12:56 -0400 Subject: [Gambas-user] smooth animation using double buffering Message-ID: <200406171212.56863.sourceforge-raindog2@...94...> I've had a theory for a while that Qt should be fast enough at redrawing to let you do double buffered animation, and I was right. Here's the beginnings of a simple space shooter (inspired by the old Videopac/Odyssey2 game Freedom Fighters) which I mean to use as an example of various gambas game-related techniques. Right now it covers these, albeit not very well commented: - timer-based game "kernel" - smooth movement of a "sprite" around the screen using double buffering - use of regular and static classes with no exposed methods as user defined data types - scrolling of a background larger than the screen - fractional positioning, acceleration, momentum - video game style key handling (some are held down, some must be pressed and released repeatedly) There's no enemies or sound effects yet, all you can do is fly through space (arrow keys) and shoot (space) and look at the fps counter, but I wanted to get it out there to give people some ideas. There's really no reason you couldn't do a whole UI like this if you could be sure it were running on a reasonably fast box. I assume some of these techniques will still apply once the graphic part of SDL gets into the gb.sdl component, and performance ought to be better then too. Of course, doing this sort of thing in an interpreted language has its price, and in this case the price is that I only get 30 frames a second when my laptop's on battery (running around 400-500MHz.) :) Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: DoubleBuf-0.0.6.tar.gz Type: application/x-tgz Size: 81126 bytes Desc: not available URL: From gambas at ...1... Thu Jun 17 19:41:04 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 17 Jun 2004 19:41:04 +0200 Subject: [Gambas-user] smooth animation using double buffering In-Reply-To: <200406171212.56863.sourceforge-raindog2@...94...> References: <200406171212.56863.sourceforge-raindog2@...94...> Message-ID: <200406171941.04193.gambas@...1...> On Thursday 17 June 2004 18:12, Rob wrote: > I've had a theory for a while that Qt should be fast enough at > redrawing to let you do double buffered animation, and I was > right. Here's the beginnings of a simple space shooter > (inspired by the old Videopac/Odyssey2 game Freedom Fighters) > which I mean to use as an example of various gambas game-related > techniques. Right now it covers these, albeit not very well > commented: > > - timer-based game "kernel" > - smooth movement of a "sprite" around the screen using double > buffering > - use of regular and static classes with no exposed methods as > user defined data types > - scrolling of a background larger than the screen > - fractional positioning, acceleration, momentum > - video game style key handling (some are held down, some must be > pressed and released repeatedly) > > There's no enemies or sound effects yet, all you can do is fly > through space (arrow keys) and shoot (space) and look at the fps > counter, but I wanted to get it out there to give people some > ideas. There's really no reason you couldn't do a whole UI like > this if you could be sure it were running on a reasonably fast > box. I assume some of these techniques will still apply once > the graphic part of SDL gets into the gb.sdl component, and > performance ought to be better then too. > > Of course, doing this sort of thing in an interpreted language > has its price, and in this case the price is that I only get 30 > frames a second when my laptop's on battery (running around > 400-500MHz.) :) > > Rob Cool. It will be a good example. Can you make it bigger (640 x 480 for example) ? Regards, -- Benoit Minisini mailto:gambas at ...1... From bwells at ...475... Thu Jun 17 19:53:06 2004 From: bwells at ...475... (Brant Wells) Date: Thu, 17 Jun 2004 13:53:06 -0400 Subject: [Gambas-user] Finally.. My First Gambas APP Message-ID: <40D1DA82.9070304@...475...> Hi All... Okay... Here it is... exclusively posted for my fellow Gambas users... ;-) The more I use Gambas, the more I like it! I've been asking a lot of questions about the exec[] functions, and had a hard time getting it to do what I want... But I finally came up with a viable workaround... (grin)... This application is fairly simple when compared to stuff like a Double-Buffered space game.. (thumbs up to Rob!)... But it's my first... Basically, the program deciphers Either a mail log, or a DHCP log. To actually run the program, you will need to know the root-user's password. It will copy the appropriate file to the /tmp folder, chown it to the user who is running the application, and open the file and read it, one line at a time. The Process DHCP file Button searches through the file you choose as the DHCP file, looking for the string "DHCPACK"... If it finds it, then it will Return the IP Address, and the MAC address that the IP was given to. The combo box will let you chose "ALL", "DMZ,"Admin","Lab/Library", and "Students"... Look at the code to see how I got it to match the IP Ranges...So, off the bat, only ALL will work on the DHCP side... The Process Mail button should be self explanatory... It simply reads through the file, searching for the strings given, and keeps a count as to how many times those strings appear. At the end, it posts the results to the text box... Note: As I'm following the source code through the file, I see that I forogt to add the # of locked mail boxes to the end of the file... To fix this, simply add & "Locked Mailboxes: " & locked & vbcrlf to the end of the txtlog.text=blah blah blah.... As you are looking throught he source code... Notice that I had a bit of nostalgia... I had to add in a vbCRLF to the program...No offense, Benoit ;) I also created my own clsDialog, as I couldn't quite figure out how to operate the Gambas Dialog thingy... Right now, it only has one method, OpenFile, and one Property, FileName.. Okay... This email is long enough now... I can mail out DHCP logs to anybody who needs them. ;-) Check it out, pick it apart, if you must flame me, please send all emails to bwells at ...482... ;-) See Ya, Guys! ~Brant -------------- next part -------------- A non-text attachment was scrubbed... Name: LogView-0.0.8.tar.gz Type: application/x-gzip Size: 4408 bytes Desc: not available URL: From sourceforge-raindog2 at ...94... Thu Jun 17 20:46:54 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 17 Jun 2004 14:46:54 -0400 Subject: [Gambas-user] smooth animation using double buffering In-Reply-To: <200406171941.04193.gambas@...1...> References: <200406171212.56863.sourceforge-raindog2@...94...> <200406171941.04193.gambas@...1...> Message-ID: <200406171446.54251.sourceforge-raindog2@...94...> On Thursday 17 June 2004 13:41, Benoit Minisini wrote: > Cool. It will be a good example. > Can you make it bigger (640 x 480 for example) ? I don't see why not, as long as I can find a 3840x480 background I can use and as long as doing this double buffering thing with 4x the size of the bitmap doesn't slow it down too badly. I'll try to do that next time I'm without an internet connection, which, if the last three days are any indication, will be tonight ;) Rob From bundeshund at ...467... Thu Jun 17 20:58:37 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Thu, 17 Jun 2004 20:58:37 +0200 (CEST) Subject: [Gambas-user] (no subject) Message-ID: <20040617185837.79651.qmail@...483...> Hi! Sorry for the delay, but I am very busy at this moment. (big network problems at work, have to work at night too, when the users aren't using the system) And KMail will not send my mails, so I have to use yahoo-webmail :>( Am Mittwoch, 16. Juni 2004 16:29 schrieb Rob: > I think that rolling your own encryption is worse than no > encryption at all, because it might give someone a false sense > of security. ?Since he's using mysql I would suggest he look at > the CRYPT() and PASSWORD() function calls and use them in his > SQL statements. Thanks Rob, didn't know that. I work with DB2 on an iSeries/AS400 in my job, so I don't have much expierence with mysql, but I'll better look into the manuel next time. > > But wrapping the Unix crypt() function or MD5 hashing (both of > which are one way and appropriate for password authentication) > is really the way to go here, and shouldn't be that hard in a > gb.crypt component. ?Not that I'm volunteering at the moment > since I'm still working on patching gambas so my package will > work (and thanks to Dries for giving me a spec file that almost > worked.... as long as I went "cd /usr/bin" or "cd /usr/lib" > first, projects would run ;) ?I think I can figure it out from > this point....) > > Rob ___________________________________________________________ Bestellen Sie Y! DSL und erhalten Sie die AVM "FritzBox SL" f?r 0?. Sie sparen 119? und bekommen 2 Monate Grundgeb?hrbefreiung. http://de.adsl.yahoo.com From ihernandez at ...478... Thu Jun 17 23:36:12 2004 From: ihernandez at ...478... (ihernandez at ...478...) Date: Thu, 17 Jun 2004 21:36:12 +0000 Subject: [Gambas-user] Compilation on Debian SID Message-ID: <20040617213612.GA17236@...478...> Hello. I'm having problems with Gambas on Debian. Someone knows what devel libs does i need to apt-get in order to get Gambas QT interface up and working? I Would really appreciate any clue! thanks you! Ivan From Tim.Hanschen at ...20... Fri Jun 18 07:31:12 2004 From: Tim.Hanschen at ...20... (Tim Hanschen) Date: Fri, 18 Jun 2004 07:31:12 +0200 Subject: [Gambas-user] Eroor when doing SQL Message-ID: <1353650330@...20...> Hi, I want to execute an SQL to a MySQL database, but it results in an error: SELECT album from mp3 where title = " & Chr(34) & title & Chr(34)) It works fine... mostly, but when the titel contains an "&" the SQL fails. When I send the command directly to the MySQL, I mean from an MySQL-commandine, everything is fine. What dows GAMBAS do with the "&" ??? How can I send SQL-commands that contains the "&"? regards, Tim _____________________________________________________________________ Wenn Worte allein nicht ausreichen: WEB.DE Video-Mail - Die E-Mail der nachsten Generation! http://freemail.web.de/?mc=021197 From trorrr at ...397... Fri Jun 18 10:30:55 2004 From: trorrr at ...397... (=?iso-8859-1?q?H=E9ctor=20Fern=E1ndez=20L=F3pez?=) Date: Fri, 18 Jun 2004 10:30:55 +0200 Subject: [Gambas-user] smooth animation using double buffering In-Reply-To: <200406171212.56863.sourceforge-raindog2@...94...> References: <200406171212.56863.sourceforge-raindog2@...94...> Message-ID: <200406181030.55734.trorrr@...397...> El Jueves, 17 de Junio de 2004 18:12, Rob escribi?: > I've had a theory for a while that Qt should be fast enough at > redrawing to let you do double buffered animation, and I was > right. Here's the beginnings of a simple space shooter > (inspired by the old Videopac/Odyssey2 game Freedom Fighters) > which I mean to use as an example of various gambas game-related > techniques. Right now it covers these, albeit not very well > commented: > > - timer-based game "kernel" > - smooth movement of a "sprite" around the screen using double > buffering > - use of regular and static classes with no exposed methods as > user defined data types > - scrolling of a background larger than the screen > - fractional positioning, acceleration, momentum > - video game style key handling (some are held down, some must be > pressed and released repeatedly) > > There's no enemies or sound effects yet, all you can do is fly > through space (arrow keys) and shoot (space) and look at the fps > counter, but I wanted to get it out there to give people some > ideas. There's really no reason you couldn't do a whole UI like > this if you could be sure it were running on a reasonably fast > box. I assume some of these techniques will still apply once > the graphic part of SDL gets into the gb.sdl component, and > performance ought to be better then too. > > Of course, doing this sort of thing in an interpreted language > has its price, and in this case the price is that I only get 30 > frames a second when my laptop's on battery (running around > 400-500MHz.) :) > > Rob It's good, but keys doesn't work in my box. Maybe the app is taking so much processor and doesn't listen to keystrokes. I am running it on a 500 mghz and i have 50 frame per second, but i can't move the spaceship!! What could i do? From trorrr at ...397... Fri Jun 18 10:47:35 2004 From: trorrr at ...397... (=?iso-8859-1?q?H=E9ctor=20Fern=E1ndez=20L=F3pez?=) Date: Fri, 18 Jun 2004 10:47:35 +0200 Subject: [Gambas-user] smooth animation using double buffering In-Reply-To: <200406181030.55734.trorrr@...397...> References: <200406171212.56863.sourceforge-raindog2@...94...> <200406181030.55734.trorrr@...397...> Message-ID: <200406181047.36115.trorrr@...397...> El Viernes, 18 de Junio de 2004 10:30, H?ctor Fern?ndez L?pez escribi?: > El Jueves, 17 de Junio de 2004 18:12, Rob escribi?: > > I've had a theory for a while that Qt should be fast enough at > > redrawing to let you do double buffered animation, and I was > > right. Here's the beginnings of a simple space shooter > > (inspired by the old Videopac/Odyssey2 game Freedom Fighters) > > which I mean to use as an example of various gambas game-related > > techniques. Right now it covers these, albeit not very well > > commented: > > > > - timer-based game "kernel" > > - smooth movement of a "sprite" around the screen using double > > buffering > > - use of regular and static classes with no exposed methods as > > user defined data types > > - scrolling of a background larger than the screen > > - fractional positioning, acceleration, momentum > > - video game style key handling (some are held down, some must be > > pressed and released repeatedly) > > > > There's no enemies or sound effects yet, all you can do is fly > > through space (arrow keys) and shoot (space) and look at the fps > > counter, but I wanted to get it out there to give people some > > ideas. There's really no reason you couldn't do a whole UI like > > this if you could be sure it were running on a reasonably fast > > box. I assume some of these techniques will still apply once > > the graphic part of SDL gets into the gb.sdl component, and > > performance ought to be better then too. > > > > Of course, doing this sort of thing in an interpreted language > > has its price, and in this case the price is that I only get 30 > > frames a second when my laptop's on battery (running around > > 400-500MHz.) :) > > > > Rob > > It's good, but keys doesn't work in my box. Maybe the app is taking so > much processor and doesn't listen to keystrokes. I am running it on a 500 > mghz and i have 50 frame per second, but i can't move the spaceship!! What > could i do? > Hello again, i continued with the app and it listen to keystrokes. I try pressing for a long time the right arrow key and ten seconds later the spaceship moved! Then i supposed that the problem was in timer1.delay. In the last line of the Form_open sub in FDblBuf.class i changed timer1.delay from 16 to 60 i now it works fine, with less frames per second (15), but it's well playable. > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From danielcampos at ...282... Fri Jun 18 11:07:04 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Fri, 18 Jun 2004 11:07:04 CEST Subject: [Gambas-user] smooth animation using double buffering Message-ID: >Then i supposed that the problem was in timer1.delay. In the last line >of the >Form_open sub in FDblBuf.class i changed timer1.delay from 16 to 60 i >now it >works fine, with less frames per second (15), but it's well playable. > Then, may be that example should be revisited, as a little sprite should not be a problem for a 500Mhz processor! 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 Tim.Hanschen at ...20... Fri Jun 18 12:35:55 2004 From: Tim.Hanschen at ...20... (Tim Hanschen) Date: Fri, 18 Jun 2004 12:35:55 +0200 Subject: [Gambas-user] Eroor when doing SQL Message-ID: <1354110155@...20...> I am still trying.... it seems that the exec to the database fails.... This is what I do: rResult = Fhoeren.hDB.Exec("SELECT album from mp3 where title = " & Chr(34) & titel & Chr(34)) Is it possible that the Exec interprets the &-sign as a string concatination? regards, - Tim - gambas-user at lists.sourceforge.net schrieb am 18.06.04 07:32:51: Hi, I want to execute an SQL to a MySQL database, but it results in an error: SELECT album from mp3 where title = " & Chr(34) & title & Chr(34)) It works fine... mostly, but when the titel contains an "&" the SQL fails. When I send the command directly to the MySQL, I mean from an MySQL-commandine, everything is fine. What dows GAMBAS do with the "&" ??? How can I send SQL-commands that contains the "&"? regards, Tim _____________________________________________________________________ Wenn Worte allein nicht ausreichen: WEB.DE Video-Mail - Die E-Mail der nachsten Generation! http://freemail.web.de/?mc=021197 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user __________________________________________________________________ Zeigen Sie Emotionen mit der WEB.DE Bild-SMS! Das Bild ist gratis, Sie bezahlen nur den Versand. http://freemail.web.de/?mc=021196 From insomnia17 at ...67... Fri Jun 18 14:25:28 2004 From: insomnia17 at ...67... (Insomnia Insomnia) Date: Fri, 18 Jun 2004 12:25:28 +0000 Subject: [Gambas-user] Installing Gambas in Red hat 9 Message-ID: Hi I have a problem with gambas. I use Red Hat 9 with AMD 2000 XP, and i read the README.REDHAT, I change the ./src/exec/Makefile.am file and I do all the updates using apt-get. I use qt-3.1.1-6 and qt-devel-3.1.1-6, because I can't find qt-3.1.2-14.i386.rpm and qt-devel-3.1.2-14.i386.rpm for Red Hat 9, when I do a click in the link to download it from yor page I get an error from http://distro.ibiblio.org/pub/Linux/distributions/redhat/rawhide/i386/RedHa t/RPMS/ --> 404 Not Found. I also try to install qt-x11-free-3.3.2.tar.gz but I get the same error: /usr/bin/gbx: relocation error: /usr/lib/qt-3.1/lib/libqt-mt.so.3: undefined symbol: _ZNSs4_Rep11_S_terminalE Thanks _________________________________________________________________ Reparaciones, servicios a domicilio, empresas, profesionales... Todo en la gu?a telef?nica de QDQ. http://qdq.msn.es/msn.cfm From bwells at ...475... Fri Jun 18 14:43:51 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 18 Jun 2004 08:43:51 -0400 Subject: [Gambas-user] Eroor when doing SQL In-Reply-To: <1354110155@...20...> References: <1354110155@...20...> Message-ID: <40D2E387.7020807@...475...> Hey Tim: It has been my experience with mySql that the & sign causes problems when it's by itself.... For example if the title = 'Brant & Tim' then it would fail... So change the string to 'Brant && Tim' (note I used two &'s)... But try this first... Instead of using chr(34)... Try chr(39) (the ' )... I know M$ SQL Server is not too big on which one you use, but I forget if MySQL is picky about it or not... HTH, ~Brant Tim Hanschen wrote: >I am still trying.... it seems that the exec to the database fails.... > >This is what I do: > > rResult = Fhoeren.hDB.Exec("SELECT album from mp3 where title = " & Chr(34) & titel & Chr(34)) > >Is it possible that the Exec interprets the &-sign as a string concatination? > >regards, > - Tim - > > > > >gambas-user at lists.sourceforge.net schrieb am 18.06.04 07:32:51: > >Hi, > >I want to execute an SQL to a MySQL database, but it results in an error: > > > SELECT album from mp3 where title = " & Chr(34) & title & Chr(34)) > >It works fine... mostly, but when the titel contains an "&" the SQL fails. When I send the command directly to the MySQL, I mean from an MySQL-commandine, everything is fine. > >What dows GAMBAS do with the "&" ??? How can I send SQL-commands that contains the "&"? > >regards, > Tim > > >_____________________________________________________________________ >Wenn Worte allein nicht ausreichen: WEB.DE Video-Mail - >Die E-Mail der nachsten Generation! http://freemail.web.de/?mc=021197 > > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > >__________________________________________________________________ >Zeigen Sie Emotionen mit der WEB.DE Bild-SMS! Das Bild ist gratis, >Sie bezahlen nur den Versand. http://freemail.web.de/?mc=021196 > > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From ZENODotus at ...323... Fri Jun 18 15:02:49 2004 From: ZENODotus at ...323... (ZENODotus) Date: Fri, 18 Jun 2004 15:02:49 +0200 Subject: [Gambas-user] programming question Message-ID: <200406181502.49280.ZENODotus@...323...> I have a little programming question I can't get out of... For a programm I'm writing I want to use mouseovers, but I have no idea how to implement that. For example: If I have a text like "This is an example", I want that my mouse goes over "This", a little form pops up with some explanation, if it goes over "is" the same, over "an" the same... How can I do that in gambas... Please help... Thanks -- ZENODotus, "Never trust a computer you can't trow out a window" - Steve Wozniak mailto:zenodotus at ...323... From bundeshund at ...467... Fri Jun 18 15:21:49 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Fri, 18 Jun 2004 15:21:49 +0200 (CEST) Subject: [Gambas-user] Eroor when doing SQL Message-ID: <20040618132149.6215.qmail@...483...> Hi Tim! This work for me: string = "select * from table where textfiel='" & Str(suchen_id) & "' and someother='" & Str(AnwendungsID_kunde) & "'" regards, HM ___________________________________________________________ Bestellen Sie Y! DSL und erhalten Sie die AVM "FritzBox SL" f?r 0?. Sie sparen 119? und bekommen 2 Monate Grundgeb?hrbefreiung. http://de.adsl.yahoo.com From bundeshund at ...467... Fri Jun 18 16:09:38 2004 From: bundeshund at ...467... (=?iso-8859-1?q?Hans-Martin=20Bundeshund?=) Date: Fri, 18 Jun 2004 16:09:38 +0200 (CEST) Subject: [Gambas-user] programming question Message-ID: <20040618140938.65340.qmail@...484...> Hi look at myx attachment Am Freitag, 18. Juni 2004 15:02 schrieb ZENODotus: > I have a little programming question I can't get out of... > > For a programm I'm writing I want to use mouseovers, but I have no idea how > to implement that. > > For example: > > If I have a text like "This is an example", I want that my mouse goes over > "This", a little form pops up with some explanation, if it goes over "is" > the same, over "an" the same... > How can I do that in gambas... Please help... Thanks ___________________________________________________________ Bestellen Sie Y! DSL und erhalten Sie die AVM "FritzBox SL" f?r 0?. Sie sparen 119? und bekommen 2 Monate Grundgeb?hrbefreiung. http://de.adsl.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: MouseOver-0.0.1.tar.gz Type: application/x-tgz Size: 716 bytes Desc: MouseOver-0.0.1.tar.gz URL: From bundeshund at ...467... Thu Jun 17 20:50:57 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 17 Jun 2004 20:50:57 +0200 Subject: [Gambas-user] How to decrypt a text? Any suggestions? In-Reply-To: <200406161029.38262.sourceforge-raindog2@...94...> References: <40D04853.6030407@...475...> <200406161029.38262.sourceforge-raindog2@...94...> Message-ID: <200406172050.57140.bundeshund@...467...> Hi! Sorry for the delay, but I am very busy at this moment. (big network problems at work, have to work at night too, when the users aren't using the system) Am Mittwoch, 16. Juni 2004 16:29 schrieb Rob: > I think that rolling your own encryption is worse than no > encryption at all, because it might give someone a false sense > of security. Since he's using mysql I would suggest he look at > the CRYPT() and PASSWORD() function calls and use them in his > SQL statements. Thanks Rob, didn't know that. I work with DB2 on an iSeries/AS400 in my job, so I don't have much expierence with mysql, but I'll better look into the manuel next time. > > But wrapping the Unix crypt() function or MD5 hashing (both of > which are one way and appropriate for password authentication) > is really the way to go here, and shouldn't be that hard in a > gb.crypt component. Not that I'm volunteering at the moment > since I'm still working on patching gambas so my package will > work (and thanks to Dries for giving me a spec file that almost > worked.... as long as I went "cd /usr/bin" or "cd /usr/lib" > first, projects would run ;) I think I can figure it out from > this point....) > > Rob From gambas at ...1... Fri Jun 18 20:29:14 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 Jun 2004 20:29:14 +0200 Subject: [Gambas-user] Eroor when doing SQL In-Reply-To: <40D2E387.7020807@...475...> References: <1354110155@...20...> <40D2E387.7020807@...475...> Message-ID: <200406182029.14741.gambas@...1...> On Friday 18 June 2004 14:43, Brant Wells wrote: > Hey Tim: > > It has been my experience with mySql that the & sign causes problems > when it's by itself.... For example if the title = 'Brant & Tim' then > it would fail... So change the string to 'Brant && Tim' (note I used > two &'s)... > > But try this first... Instead of using chr(34)... Try chr(39) (the ' > )... I know M$ SQL Server is not too big on which one you use, but I > forget if MySQL is picky about it or not... > > HTH, > ~Brant > > Tim Hanschen wrote: > >I am still trying.... it seems that the exec to the database fails.... > > > >This is what I do: > > > > rResult = Fhoeren.hDB.Exec("SELECT album from mp3 where title = " & > > Chr(34) & titel & Chr(34)) > > > >Is it possible that the Exec interprets the &-sign as a string > > concatination? > > > >regards, > > - Tim - > > You must be careful, because DB.Exec, DB.Find and DB.Edit work like the Subst() function. Every '&x' in the SQL string is replaced by the x-th argument passed after the sql request. Note that the argument is converted to a sql string depending on its type, AND ON THE UNDERLYING DATABASE SYSTEM. I did that to prevent people from constructing their sql request themselves, to avoid sql injection, and to allow them to write database independant sql request - which is a performance by itself. For example, instead of doing: rResult = myDB.Exec("SELECT album from mp3 where title = " & Chr(34) & title & Chr(34)) you must do: rResult = myDB.Exec("SELECT album FROM mp3 WHERE title = &1", title) This way, your title will be able to include any escaped character: the [&], but the ['] too. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Fri Jun 18 20:30:03 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 18 Jun 2004 20:30:03 +0200 Subject: [Gambas-user] programming question In-Reply-To: <200406181502.49280.ZENODotus@...323...> References: <200406181502.49280.ZENODotus@...323...> Message-ID: <200406182030.03129.gambas@...1...> On Friday 18 June 2004 15:02, ZENODotus wrote: > I have a little programming question I can't get out of... > > For a programm I'm writing I want to use mouseovers, but I have no idea how > to implement that. > > For example: > > If I have a text like "This is an example", I want that my mouse goes over > "This", a little form pops up with some explanation, if it goes over "is" > the same, over "an" the same... > How can I do that in gambas... Please help... Thanks You must use the Enter and the Leave event. -- Benoit Minisini mailto:gambas at ...1... From bundeshund at ...467... Fri Jun 18 21:33:30 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Fri, 18 Jun 2004 21:33:30 +0200 Subject: [Gambas-user] Eroor when doing SQL In-Reply-To: <200406182029.14741.gambas@...1...> References: <1354110155@...20...> <40D2E387.7020807@...475...> <200406182029.14741.gambas@...1...> Message-ID: <200406182133.31121.bundeshund@...467...> Am Freitag, 18. Juni 2004 20:29 schrieb Benoit Minisini: > ? rResult = myDB.Exec("SELECT album FROM mp3 WHERE title = &1", title) Yes, You told me so days ago, I totaly forgot. I must rewrite my code. Thanks Benoit. From benoit.minisini at ...2... Sat Jun 19 08:17:43 2004 From: benoit.minisini at ...2... (=?iso-8859-15?q?Beno=EEt_Minisini?=) Date: Sat, 19 Jun 2004 08:17:43 +0200 Subject: [Gambas-user] Re: help In-Reply-To: <000c01c45576$fd81f170$6408a8c0@...485...> References: <000c01c45576$fd81f170$6408a8c0@...485...> Message-ID: <200406190817.43294.benoit.minisini@...2...> On Friday 18 June 2004 22:58, Bernard wrote: > I want to unsucrible from a mailing list but it's not working... > > Regards, > Lejeune B. I unsubscribed you. But I think it is working, as other people unsubscribed without any problem. Regards, -- Beno?t Minisini mailto:benoit.minisini at ...2... From sourceforge-raindog2 at ...94... Fri Jun 18 16:53:53 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 18 Jun 2004 10:53:53 -0400 Subject: [Gambas-user] Eroor when doing SQL In-Reply-To: <1353650330@...20...> References: <1353650330@...20...> Message-ID: <200406181053.53347.sourceforge-raindog2@...94...> On Friday 18 June 2004 01:31, Tim Hanschen wrote: > SELECT album from mp3 where title = " & Chr(34) & title & > Chr(34)) I always use single quotes when specifying strings in SQL queries. This does mean that you'll need to use Replace() and replace all the single quotes with double single quotes in your field values, which any SQL server will convert back to single single quotes. Also, you can just backslash escape double quotes ("\"") in Gambas so that "Chr(34)" stuff is unnecessary. Finally, there's an extra parenthesis at the end of that statement, though I bet it's from copying and pasting. I have never run into the ampersand problem you describe, but I'll try to duplicate it. Rob From sourceforge-raindog2 at ...94... Fri Jun 18 16:59:20 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 18 Jun 2004 10:59:20 -0400 Subject: [Gambas-user] smooth animation using double buffering In-Reply-To: References: Message-ID: <200406181059.20147.sourceforge-raindog2@...94...> On Friday 18 June 2004 10:07, danielcampos at ...282... wrote: > Then, may be that example should be revisited, as a little > sprite should not be a problem for a 500Mhz processor! Oh, it's not just a little sprite, it's also the background and both are being redrawn into an offscreen buffer on every frame, and then copied into the DrawingArea. That's what double buffering is. If you just made the ship and background Gambas controls or something, it would flicker terribly whenever you moved. No, I thought I was pretty upfront about it being a bit slow on my laptop in power save mode, and I expect a 500MHz box would be too slow to play it at full speed, but I don't know why it's drawing the game at nearly full screen but ignoring input. Probably needs a WAIT at the end of the timer's event handler before it re-enables itself. Rob From jesse at ...486... Sat Jun 19 16:09:22 2004 From: jesse at ...486... (Jesse Long) Date: Sat, 19 Jun 2004 16:09:22 +0200 Subject: [Gambas-user] compiling Message-ID: <1087654162.23624.11.camel@...487...> Hi Gambas users, I'm new here.. hi ;-) I'm attempting to compile a gambas app, but gbc output core.xxxx files. what are these, and what do I do with them? cheers, Jesse From gambas at ...1... Sat Jun 19 20:57:40 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 19 Jun 2004 20:57:40 +0200 Subject: [Gambas-user] compiling In-Reply-To: <1087654162.23624.11.camel@...487...> References: <1087654162.23624.11.camel@...487...> Message-ID: <200406192057.41076.gambas@...1...> On Saturday 19 June 2004 16:09, Jesse Long wrote: > Hi Gambas users, > > I'm new here.. hi ;-) > > I'm attempting to compile a gambas app, but gbc output core.xxxx files. > what are these, and what do I do with them? > > cheers, > Jesse > > This means that the compiler crashes! Send me your project so that I can debug the compiler and find the bug. Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sat Jun 19 21:00:08 2004 From: gambas at ...1... (Benoit Minisini) Date: Sat, 19 Jun 2004 21:00:08 +0200 Subject: [Gambas-user] compiling In-Reply-To: <1087654162.23624.11.camel@...487...> References: <1087654162.23624.11.camel@...487...> Message-ID: <200406192100.08236.gambas@...1...> On Saturday 19 June 2004 16:09, Jesse Long wrote: > Hi Gambas users, > > I'm new here.. hi ;-) > > I'm attempting to compile a gambas app, but gbc output core.xxxx files. > what are these, and what do I do with them? > > cheers, > Jesse > > This is an answer to a private mail of Jesse: gbc is not intended to be used alone until 0.93b. In the next version, you will able to compile directly from the command line without unexpected "Undefined identifier" errors. Regards, -- Benoit Minisini mailto:gambas at ...1... From k-p.richter at ...20... Sat Jun 19 23:26:44 2004 From: k-p.richter at ...20... (Peter) Date: Sat, 19 Jun 2004 23:26:44 +0200 Subject: [Gambas-user] A little extension for Gambaseditor In-Reply-To: <200409161309.23293.nervix@...402...> References: <200409161309.23293.nervix@...402...> Message-ID: <200406192326.44484.k-p.richter@...20...> Hi Benoit and all, I have a suggestion for a little extension for the editor in GAMBAS-IDE: Block-Indent and release, like Block-Comment and UnComment. This simplifies changes in depth of blocks. Implementation: Into Class FEditor: ------------------- Rename PUBLIC SUB mnuComment_Click() in PUBLIC SUB CommentIndent(sString AS String) substitute string "' " with variable sString Rename PUBLIC SUB mnuUncomment_Click() in PUBLIC SUB UnCommentIndent(sString AS String) substitute string "' " with variable sString New: PUBLIC SUB mnuComment_Click() CommentIndent("' ") END PUBLIC SUB mnuUncomment_Click() UnCommentIndent("' ") END PUBLIC SUB mnuIndent_Click() CommentIndent(" ") END PUBLIC SUB mnuUnIndent_Click() UnCommentIndent(" ") END Into Form FEditor: In panToolbar 2 TollButton with Group mnuIndent respectivly mnuUnindent and into Menu Indent and Unindent with the same name as above. Propositions for icons as attachments. I have testing under 0.92 and 0.93b Benoit, what do you make of it? Regards Peter -------------- next part -------------- A non-text attachment was scrubbed... Name: indent.png Type: image/png Size: 153 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: unindent.png Type: image/png Size: 161 bytes Desc: not available URL: From gambas at ...1... Sun Jun 20 03:08:22 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 20 Jun 2004 03:08:22 +0200 Subject: [Gambas-user] A little extension for Gambaseditor In-Reply-To: <200406192326.44484.k-p.richter@...20...> References: <200409161309.23293.nervix@...402...> <200406192326.44484.k-p.richter@...20...> Message-ID: <200406200308.23194.gambas@...1...> On Saturday 19 June 2004 23:26, Peter wrote: > Hi Benoit and all, > > I have a suggestion for a little extension for the editor in GAMBAS-IDE: > Block-Indent and release, like Block-Comment and UnComment. > This simplifies changes in depth of blocks. > Implementation: > > Into Class FEditor: > ------------------- > Rename PUBLIC SUB mnuComment_Click() in > PUBLIC SUB CommentIndent(sString AS String) > substitute string "' " with variable sString > > Rename PUBLIC SUB mnuUncomment_Click() in > PUBLIC SUB UnCommentIndent(sString AS String) > substitute string "' " with variable sString > > New: > > PUBLIC SUB mnuComment_Click() > CommentIndent("' ") > END > > PUBLIC SUB mnuUncomment_Click() > UnCommentIndent("' ") > END > > PUBLIC SUB mnuIndent_Click() > CommentIndent(" ") > END > > PUBLIC SUB mnuUnIndent_Click() > UnCommentIndent(" ") > END > > Into Form FEditor: > In panToolbar 2 TollButton with Group mnuIndent respectivly mnuUnindent > and into Menu Indent and Unindent with the same name as above. > > Propositions for icons as attachments. > > I have testing under 0.92 and 0.93b > > Benoit, what do you make of it? > > Regards > Peter But this function already exists! Just select some lines and press TAB or SHIFT-TAB, and the block will be indented or unindented. Of course, I can add your little icons in the editor toolbar. Regards, -- Benoit Minisini mailto:gambas at ...1... From sourceforge-raindog2 at ...94... Sun Jun 20 21:33:23 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Sun, 20 Jun 2004 15:33:23 -0400 Subject: [Gambas-user] smooth animation using double buffering In-Reply-To: <200406171941.04193.gambas@...1...> References: <200406171212.56863.sourceforge-raindog2@...94...> <200406171941.04193.gambas@...1...> Message-ID: <200406201533.23930.sourceforge-raindog2@...94...> On Thursday 17 June 2004 13:41, Benoit Minisini wrote: > Can you make it bigger (640 x 480 for example) ? Well, I did this yesterday while visiting the hospital, and it went down to 15fps on my laptop. So maybe smooth animation in Gambas is best done (a) on >1GHz machines, or (b) when the SDL component gets video support ;) Rob From karl.reinl at ...9... Sun Jun 20 23:41:24 2004 From: karl.reinl at ...9... (Charlie) Date: Sun, 20 Jun 2004 23:41:24 +0200 Subject: [Gambas-user] Shell / Exec Question References: <40d175f5.2523.0@...9...> <40D196DD.8000604@...475...> Message-ID: <40D60484.6040807@...9...> Brant Wells schrieb: > Hey Charlie: > > The problem is not controling a console app... I am wanting to > control X applications using the same method... It would appear that > is not supported yet... I'm hoping to be able to get my hands on some > kind of Docs about the KDE / X... and maybe write in a function or a > control that will allow us to control X processes, as well as Konsole > Processes... > > See Ya! > ~Brant Salut Brant, in examples/console you can also start X applications and if ever this X applications has something to say at StdOut (I don't think so) or ErrOut (you have better cards in hight debug-levels) so it would trigger the Process_Read and this is shown in the examples/console Output-Window . Why should X applications talk via StdOut ? Amicalement Charlie From k-p.richter at ...20... Sun Jun 20 18:02:02 2004 From: k-p.richter at ...20... (K.-P.Richter) Date: Sun, 20 Jun 2004 18:02:02 +0200 Subject: [Gambas-user] A little extension for Gambaseditor In-Reply-To: <200406200308.23194.gambas@...1...> References: <200409161309.23293.nervix@...402...> <200406192326.44484.k-p.richter@...20...> <200406200308.23194.gambas@...1...> Message-ID: <200406201802.02242.k-p.richter@...20...> Am Sonntag, 20. Juni 2004 03:08 schrieb Benoit Minisini: > > But this function already exists! Just select some lines and press TAB or > SHIFT-TAB, and the block will be indented or unindented. > > Of course, I can add your little icons in the editor toolbar. > > Regards, Rchrch, and this in a incorrect thread... Please add the icons, for oafishly peoples as me. Regards, Peter From Tim.Hanschen at ...20... Mon Jun 21 09:35:39 2004 From: Tim.Hanschen at ...20... (Tim Hanschen) Date: Mon, 21 Jun 2004 09:35:39 +0200 Subject: [Gambas-user] Eroor when doing SQL Message-ID: <1359345960@...20...> Yes, that works fine.... thank you very much. One problem less on my list... ;-) regards, - Tim - gambas-user at lists.sourceforge.net schrieb am 18.06.04 22:09:39: On Friday 18 June 2004 14:43, Brant Wells wrote: > Hey Tim: > > It has been my experience with mySql that the & sign causes problems > when it's by itself.... For example if the title = 'Brant & Tim' then > it would fail... So change the string to 'Brant && Tim' (note I used > two &'s)... > > But try this first... Instead of using chr(34)... Try chr(39) (the ' > )... I know M$ SQL Server is not too big on which one you use, but I > forget if MySQL is picky about it or not... > > HTH, > ~Brant > > Tim Hanschen wrote: > >I am still trying.... it seems that the exec to the database fails.... > > > >This is what I do: > > > > rResult = Fhoeren.hDB.Exec("SELECT album from mp3 where title = " & > > Chr(34) & titel & Chr(34)) > > > >Is it possible that the Exec interprets the &-sign as a string > > concatination? > > > >regards, > > - Tim - > > You must be careful, because DB.Exec, DB.Find and DB.Edit work like the Subst() function. Every '&x' in the SQL string is replaced by the x-th argument passed after the sql request. Note that the argument is converted to a sql string depending on its type, AND ON THE UNDERLYING DATABASE SYSTEM. I did that to prevent people from constructing their sql request themselves, to avoid sql injection, and to allow them to write database independant sql request - which is a performance by itself. For example, instead of doing: rResult = myDB.Exec("SELECT album from mp3 where title = " & Chr(34) & title & Chr(34)) you must do: rResult = myDB.Exec("SELECT album FROM mp3 WHERE title = &1", title) This way, your title will be able to include any escaped character: the [&], but the ['] too. Regards, -- Benoit Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user _______________________________________________________ WEB.DE Video-Mail - Die E-Mail der n?chsten Generation! Jetzt testen: http://freemail.web.de/?mc=021198 From gambas at ...1... Mon Jun 21 13:59:58 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 21 Jun 2004 13:59:58 +0200 Subject: [Gambas-user] A little extension for Gambaseditor In-Reply-To: <200406201802.02242.k-p.richter@...20...> References: <200409161309.23293.nervix@...402...> <200406200308.23194.gambas@...1...> <200406201802.02242.k-p.richter@...20...> Message-ID: <200406211359.58525.gambas@...1...> On Sunday 20 June 2004 18:02, K.-P.Richter wrote: > Am Sonntag, 20. Juni 2004 03:08 schrieb Benoit Minisini: > > But this function already exists! Just select some lines and press TAB or > > SHIFT-TAB, and the block will be indented or unindented. > > > > Of course, I can add your little icons in the editor toolbar. > > > > Regards, > > Rchrch, and this in a incorrect thread... > > Please add the icons, for oafishly peoples as me. > > Regards, > Peter > > Done. I'm such a kind people :-) -- Benoit Minisini mailto:gambas at ...1... From bwells at ...475... Mon Jun 21 15:07:07 2004 From: bwells at ...475... (Brant Wells) Date: Mon, 21 Jun 2004 09:07:07 -0400 Subject: [Gambas-user] Shell / Exec Question In-Reply-To: <40D60484.6040807@...9...> References: <40d175f5.2523.0@...9...> <40D196DD.8000604@...475...> <40D60484.6040807@...9...> Message-ID: <40D6DD7B.7050204@...475...> Hey Charlie: I understand that the X apps don't really need StdOut or ErrOut... What I was actually looking for would be a way to monitor an application, and when that application has the focus, monitor the keyboard for certain combinations, or to follow the mouse outside of a drawing area, or even outside of my application. I realize I'm probably getting into a lot of the X-windows API calls, etc... But it would be nice, say to be able to bring kCalc to the front, even if my application didn't start it... and then do like a SendKeys or something for 2+2, then Sendkeys("{CTRL}+C"), and switch to another application, say, OOCalc (the OpenOffice.Org's Spreadsheet App) and paste that value into one of the cells. I know that's a far-fetched example, as I have forgotten really what I wanted to do with it, as I have found another way to do what I wanted... Check out the Log App that I posted last week... Does Gambas have a way to call external API yet like, say, from the X libs ?? Thanks!! ~Brant Charlie wrote: > Salut Brant, > > in examples/console you can also start X applications and if ever this > X applications has something to say at StdOut (I don't think so) or > ErrOut (you have better cards in hight debug-levels) so it > would trigger the Process_Read and this is shown in the > examples/console Output-Window . > > Why should X applications talk via StdOut ? > > > Amicalement > Charlie From fabien.bodard at ...402... Mon Jun 21 23:19:31 2004 From: fabien.bodard at ...402... (fabien.bodard at ...402...) Date: Mon, 21 Jun 2004 23:19:31 +0200 Subject: [Gambas-user] A new little exemple for gambas... Message-ID: <1087852771.40d750e3bd03f@...488...> Try it, it's really funny Fabien Bodard From na2492 at ...9... Tue Jun 22 10:19:35 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Tue, 22 Jun 2004 10:19:35 00200 Subject: [Gambas-user] A new little exemple for gambas... Message-ID: <40d7eb97.41a6.0@...9...> > > >Try it, it's really funny > > >Fabien Bodard > Salut Fabien, got the Error Nr 33733 ' Source Code missing' Amicalement Charlie * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From trorrr at ...397... Tue Jun 22 11:52:42 2004 From: trorrr at ...397... (=?iso-8859-1?q?Trorrr=20[H=E9ctor=20Fern=E1ndez]?=) Date: Tue, 22 Jun 2004 11:52:42 +0200 (CEST) Subject: [Gambas-user] A new little exemple for gambas... In-Reply-To: <40d7eb97.41a6.0@...9...> Message-ID: <20040622095242.43705.qmail@...489...> --- na2492 at ...9... escribi?: > > > > > >Try it, it's really funny > > > > > >Fabien Bodard > > > Salut Fabien, > > got the Error Nr 33733 ' Source Code missing' xDDD > > > 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 > ______________________________________________ Renovamos el Correo Yahoo!: ?100 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es From gambas at ...1... Tue Jun 22 12:59:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 22 Jun 2004 12:59:41 +0200 Subject: [Gambas-user] gambas 0.94 Message-ID: <200406221259.42394.gambas@...1...> Hi everybody, After more than one month since the last release, here is the 0.94 version of Gambas. The major change in this version is the package maker wizard, that allow you to make a RPM/DEB package from a Gambas project. Three distributions are supported at the moment: MandrakeLinux, RedHat/Fedora and Debian. These packages have a dependency on the "gambas" package, so your distribution must provide a package named "gambas" that must include all the necessary stuff to run gambas applications. They install the compile Gambas application, and nifty icons in the different desktop environment menus, thanks to the Debian menu system on Debian and Mandrake. I have tested the generated Mandrake package on my own system, but not the Fedora and Debian ones. So, I invite the Fedora and Debian users to test them and report any problem or suggestion. I think this feature will be useful :-) There are of course many other little changes and bug fixes. Read the Changelog file to have more information. Enjoy it, -- Benoit Minisini mailto:gambas at ...1... From _root at ...324... Tue Jun 22 13:31:26 2004 From: _root at ...324... (_root) Date: Tue, 22 Jun 2004 13:31:26 +0200 Subject: [Gambas-user] gambas 0.94 Message-ID: <63345e6619c0cca8810f03e7235405f9@...490...> > After more than one month since the last release, here is the 0.94 version of > Gambas. I have no many time to use gambas :( but i want to thank you and all gambas developers for the hard work ! > I have tested the generated Mandrake package on my own system, but not the > Fedora and Debian ones. So, I invite the Fedora and Debian users to test them > and report any problem or suggestion. OK! > I think this feature will be useful :-) Of course! bye Fox -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: 18 Bottiglie di eccellenti vini Giordano + 7 specialit? alimentari + 1 batteria di pentole da 10 pezzi in acciaio Tutto a met? prezzo! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2625&d=20040622 From jesse at ...486... Tue Jun 22 14:09:25 2004 From: jesse at ...486... (Jesse Long) Date: Tue, 22 Jun 2004 14:09:25 +0200 Subject: [Gambas-user] gambas 0.94 In-Reply-To: <200406221259.42394.gambas@...1...> References: <200406221259.42394.gambas@...1...> Message-ID: <1087906165.12053.2.camel@...491...> On Tue, 2004-06-22 at 12:59, Benoit Minisini wrote: > Hi everybody, > > After more than one month since the last release, here is the 0.94 version of > Gambas. > > The major change in this version is the package maker wizard, that allow you > to make a RPM/DEB package from a Gambas project. > > Three distributions are supported at the moment: MandrakeLinux, RedHat/Fedora > and Debian. > > These packages have a dependency on the "gambas" package, so your distribution > must provide a package named "gambas" that must include all the necessary > stuff to run gambas applications. > > They install the compile Gambas application, and nifty icons in the different > desktop environment menus, thanks to the Debian menu system on Debian and > Mandrake. > > I have tested the generated Mandrake package on my own system, but not the > Fedora and Debian ones. So, I invite the Fedora and Debian users to test them > and report any problem or suggestion. > > I think this feature will be useful :-) > > There are of course many other little changes and bug fixes. Read the > Changelog file to have more information. Hi, Sounds good, but I get the following compile error: CPicture.cpp: In function `void CPICTURE_copy(void*, void*) CPicture.cpp:301: error: 'copyBlt' undeclared (first use in function) This is not copy and paste, but I think it's exact... Keep well, Jesse -- "And in the beginning there was Unix, and Unix spoke and said, 'Hello World\n', and Unix saw that it was good." From bwells at ...475... Tue Jun 22 15:25:13 2004 From: bwells at ...475... (Brant Wells) Date: Tue, 22 Jun 2004 09:25:13 -0400 Subject: [Gambas-user] Mailling list Slow? Message-ID: <40D83339.80003@...475...> Hi All... I'm just checking to make sure I'm still on the list... I've only gotten like 6 messages since Sunday... Is everything slowing down because of the new release?? (which is compiling as I write this email! ;-) ) It just seems like after I posted my little app, I quit getting a lot of the emails... Hope this finds every one well! ~Brant From vbtricks at ...451... Tue Jun 22 17:37:14 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Tue, 22 Jun 2004 17:37:14 +0200 Subject: [Gambas-user] OT: Desktop wallpaper on screenshot Message-ID: <40D8522A.6020007@...451...> @Benoit: Nice desktop wallpaper on the screenshot of your website (pinguin chasing MSN butterfly). Is it downloadable somewhere? Stefan From gambas at ...1... Tue Jun 22 19:52:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 22 Jun 2004 19:52:41 +0200 Subject: [Gambas-user] OT: Desktop wallpaper on screenshot In-Reply-To: <40D8522A.6020007@...451...> References: <40D8522A.6020007@...451...> Message-ID: <200406221952.41545.gambas@...1...> On Tuesday 22 June 2004 17:37, VBTricks.de.vu Webmaster wrote: > @Benoit: > Nice desktop wallpaper on the screenshot of your website (pinguin > chasing MSN butterfly). Is it downloadable somewhere? > > Stefan > > I think it comes from kde-look.org ;-) -- Benoit Minisini mailto:gambas at ...1... From gambix at ...2... Tue Jun 22 20:26:52 2004 From: gambix at ...2... (gambix at ...2...) Date: Tue, 22 Jun 2004 20:26:52 +0200 (CEST) Subject: [Gambas-user] re: A new little exemple for gambas... Message-ID: <33216.80.13.164.247.1087928812.squirrel@...492...> Try it, it's really funny ? ? Fabien Bodard hem sorry -------------- next part -------------- A non-text attachment was scrubbed... Name: TextGame-0.0.1.tar.gz Type: application/x-tgz Size: 1363 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 53 bytes Desc: not available URL: From gambas at ...1... Tue Jun 22 20:35:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 22 Jun 2004 20:35:43 +0200 Subject: [Gambas-user] gambas 0.94 In-Reply-To: <1087906165.12053.2.camel@...491...> References: <200406221259.42394.gambas@...1...> <1087906165.12053.2.camel@...491...> Message-ID: <200406222035.43658.gambas@...1...> On Tuesday 22 June 2004 14:09, Jesse Long wrote: > > Hi, > > Sounds good, but I get the following compile error: > > CPicture.cpp: In function `void CPICTURE_copy(void*, void*) > CPicture.cpp:301: error: 'copyBlt' undeclared (first use in function) > > This is not copy and paste, but I think it's exact... > > Keep well, > Jesse Argh! To fix a bug in Picture.Copy(), I used a function that exists only since Qt 3.2. This function is missing in previous versions of QT. Here is a patch. Picture.Copy() won't work correctly with transparent pictures if you use QT <= 3.1, but everything should compile. Regards, -- Benoit Minisini mailto:gambas at ...1... -------------- next part -------------- A non-text attachment was scrubbed... Name: CPicture.cpp Type: text/x-c++src Size: 7343 bytes Desc: not available URL: From sspencer at ...493... Tue Jun 22 20:39:00 2004 From: sspencer at ...493... (Steven G. Spencer) Date: Tue, 22 Jun 2004 13:39:00 -0500 Subject: [Gambas-user] gambas 0.94 In-Reply-To: <200406222035.43658.gambas@...1...> References: <200406221259.42394.gambas@...1...> <1087906165.12053.2.camel@...491...> <200406222035.43658.gambas@...1...> Message-ID: <1087929540.4411.140.camel@...37...> Cool! Thanks for the quick reply. Steve On Tue, 2004-06-22 at 13:35, Benoit Minisini wrote: > On Tuesday 22 June 2004 14:09, Jesse Long wrote: > > > > Hi, > > > > Sounds good, but I get the following compile error: > > > > CPicture.cpp: In function `void CPICTURE_copy(void*, void*) > > CPicture.cpp:301: error: 'copyBlt' undeclared (first use in function) > > > > This is not copy and paste, but I think it's exact... > > > > Keep well, > > Jesse > > Argh! To fix a bug in Picture.Copy(), I used a function that exists only since > Qt 3.2. This function is missing in previous versions of QT. > > Here is a patch. Picture.Copy() won't work correctly with transparent pictures > if you use QT <= 3.1, but everything should compile. > > Regards, -- Steven G. Spencer From samuel.derous at ...27... Tue Jun 22 21:43:03 2004 From: samuel.derous at ...27... (Samuel Derous) Date: Tue, 22 Jun 2004 21:43:03 +0200 Subject: [Gambas-user] gambas 0.94 In-Reply-To: <200406221259.42394.gambas@...1...> References: <200406221259.42394.gambas@...1...> Message-ID: <200406222143.03733.samuel.derous@...27...> Op dinsdag 22 juni 2004 12:59, schreef Benoit Minisini: > Hi everybody, > > After more than one month since the last release, here is the 0.94 version > of Gambas. > > The major change in this version is the package maker wizard, that allow > you to make a RPM/DEB package from a Gambas project. > > Three distributions are supported at the moment: MandrakeLinux, > RedHat/Fedora and Debian. > > These packages have a dependency on the "gambas" package, so your > distribution must provide a package named "gambas" that must include all > the necessary stuff to run gambas applications. > > They install the compile Gambas application, and nifty icons in the > different desktop environment menus, thanks to the Debian menu system on > Debian and Mandrake. > > I have tested the generated Mandrake package on my own system, but not the > Fedora and Debian ones. So, I invite the Fedora and Debian users to test > them and report any problem or suggestion. > > I think this feature will be useful :-) > > There are of course many other little changes and bug fixes. Read the > Changelog file to have more information. > > Enjoy it, Thanks for the wonderful work... Will test it immediately -- Met vriendelijke groeten Samuel Derous Gentweg 40 8210 Zedelgem 0478/47 76 19 mailto: samuel.derous at ...27... website: http://users.skynet.be/ZENODotus/ From daniel.campos at ...338... Tue Jun 22 22:02:55 2004 From: daniel.campos at ...338... (Daniel) Date: Tue, 22 Jun 2004 22:02:55 +0200 Subject: [Gambas-user] Mailling list Slow? In-Reply-To: <40D83339.80003@...475...> References: <40D83339.80003@...475...> Message-ID: <1087934575.3232.2.camel@...40...> El mar, 22-06-2004 a las 15:25, Brant Wells escribi?: > Hi All... > > I'm just checking to make sure I'm still on the list... I've only > gotten like 6 messages since Sunday... Is everything slowing down > because of the new release?? (which is compiling as I write this email! > ;-) ) Sometimes people do not write very much, some other times SourceForge mail system is too busy that it can not send all messages... a bit of all, do not worry too much... > > It just seems like after I posted my little app, I quit getting a lot of > the emails... Do not worry unless you send a horrible mail-destructor virus :-)))) > > Hope this finds every one well! > > ~Brant > > > > ------------------------------------------------------- > 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... Tue Jun 22 22:12:54 2004 From: girardhenri at ...67... (Henri Girard) Date: Tue, 22 Jun 2004 20:12:54 +0000 Subject: [Gambas-user] gambas 0.94 Message-ID: Hi :) Trying on fedora 2.. Is there any gambas translated in french ? Otherwise if it's of any use I could do all the little examples about it ? Tell me if it's worth ... Any way for me I will try to start to learn it from beginning Thanks HG >From: _root <_root at ...324...> >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: Re: [Gambas-user] gambas 0.94 >Date: Tue, 22 Jun 2004 13:31:26 +0200 > > > > After more than one month since the last release, here is the 0.94 >version >of > > Gambas. >I have no many time to use gambas :( but i want to thank you and all gambas >developers for the hard work ! > > > I have tested the generated Mandrake package on my own system, but not >the > > > Fedora and Debian ones. So, I invite the Fedora and Debian users to test >them > > and report any problem or suggestion. >OK! > > > I think this feature will be useful :-) >Of course! > >bye >Fox > -- > Email.it, the professional e-mail, gratis per te: http://www.email.it/f > > Sponsor: > 18 Bottiglie di eccellenti vini Giordano + 7 specialit? alimentari + >1 batteria di pentole da 10 pezzi in acciaio Tutto a met? prezzo! > > Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2625&d=20040622 > > > > >------------------------------------------------------- >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 _________________________________________________________________ Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! http://g.msn.fr/FR1000/9493 From gambas at ...1... Tue Jun 22 22:23:18 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 22 Jun 2004 22:23:18 +0200 Subject: [Gambas-user] gambas 0.94 In-Reply-To: References: Message-ID: <200406222223.18181.gambas@...1...> On Tuesday 22 June 2004 22:12, Henri Girard wrote: > Hi :) > Trying on fedora 2.. > Is there any gambas translated in french ? What ? Gambas IS translated in french, didn't you look at the screenshots ? > Otherwise if it's of any use I could do all the little examples about it ? About what ? > Tell me if it's worth ... Any way for me I will try to start to learn it > from beginning You are not very clear Henri :-) > Thanks > HG > Regards, -- Benoit Minisini mailto:gambas at ...1... From daniloprevides at ...494... Tue Jun 22 22:31:36 2004 From: daniloprevides at ...494... (Danilo Prevides) Date: Tue, 22 Jun 2004 17:31:36 -0300 Subject: [Gambas-user] Problem in make install Message-ID: <200406221731.36981.daniloprevides@...494...> Hi, I'm having a problem to install gambas 0.94. There's no problem in the configure and make, but in make install ... Creating the library info files... /opt/gambas/share/gambas/info/gb.net.info /opt/gambas/share/gambas/info/gb.qt.ext.info /opt/gambas/share/gambas/info/gb.debug.info /opt/gambas/share/gambas/info/gb.info /opt/gambas/share/gambas/info/gb.db.info /opt/gambas/share/gambas/info/gb.net.curl.info make[2]: *** [install-exec-local] Segmentation fault make[2]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' make[1]: ** [install-am] Erro 2 make[1]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' make: ** [install-recursive] Erro 1 Thanks! Sorry by poor english -- -- Atenciosamente, Danilo Prevides From daniel.campos at ...338... Tue Jun 22 22:40:31 2004 From: daniel.campos at ...338... (Daniel) Date: Tue, 22 Jun 2004 22:40:31 +0200 Subject: [Gambas-user] re: A new little exemple for gambas... In-Reply-To: <33216.80.13.164.247.1087928812.squirrel@...492...> References: <33216.80.13.164.247.1087928812.squirrel@...492...> Message-ID: <1087936831.4882.1.camel@...40...> El mar, 22-06-2004 a las 20:26, gambix at ...2... escribi?: > Try it, it's really funny > > > Fabien Bodard Well, I awlays wirte englihs like taht, so I do nto undrestand whesr'e the joke :-))) > > > hem sorry From thierry at ...342... Tue Jun 22 22:34:56 2004 From: thierry at ...342... (Thierry Thomas) Date: Tue, 22 Jun 2004 22:34:56 +0200 Subject: [Gambas-user] Problem in make install In-Reply-To: <200406221731.36981.daniloprevides@...494...> References: <200406221731.36981.daniloprevides@...494...> Message-ID: <20040622203456.GB34894@...343...> Le Mar 22 jui 04 ? 22:31:36 +0200, Danilo Prevides ?crivait?: > Hi, Hello, > I'm having a problem to install gambas 0.94. > There's no problem in the configure and make, but in make install ... > > Creating the library info files... > /opt/gambas/share/gambas/info/gb.net.info > /opt/gambas/share/gambas/info/gb.qt.ext.info > /opt/gambas/share/gambas/info/gb.debug.info > /opt/gambas/share/gambas/info/gb.info > /opt/gambas/share/gambas/info/gb.db.info > /opt/gambas/share/gambas/info/gb.net.curl.info > make[2]: *** [install-exec-local] Segmentation fault > make[2]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' > make[1]: ** [install-am] Erro 2 > make[1]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' > make: ** [install-recursive] Erro 1 I met the same problem with the previous versions when compiling gambas with gcc-3.3 and linking with libraries built with gcc-2.95. Perhaps is it your case? -- Th. Thomas. From gambas at ...1... Tue Jun 22 22:38:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 22 Jun 2004 22:38:53 +0200 Subject: [Gambas-user] Problem in make install In-Reply-To: <200406221731.36981.daniloprevides@...494...> References: <200406221731.36981.daniloprevides@...494...> Message-ID: <200406222238.53319.gambas@...1...> On Tuesday 22 June 2004 22:31, Danilo Prevides wrote: > Hi, > > I'm having a problem to install gambas 0.94. > There's no problem in the configure and make, but in make install ... > > Creating the library info files... > /opt/gambas/share/gambas/info/gb.net.info > /opt/gambas/share/gambas/info/gb.qt.ext.info > /opt/gambas/share/gambas/info/gb.debug.info > /opt/gambas/share/gambas/info/gb.info > /opt/gambas/share/gambas/info/gb.db.info > /opt/gambas/share/gambas/info/gb.net.curl.info > make[2]: *** [install-exec-local] Segmentation fault > make[2]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' > make[1]: ** [install-am] Erro 2 > make[1]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' > make: ** [install-recursive] Erro 1 > > Thanks! > Sorry by poor english Hmm... Which distribution do you use ? Can you grant me a telnet or ssh access to your system ? -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Tue Jun 22 22:43:20 2004 From: daniel.campos at ...338... (Daniel) Date: Tue, 22 Jun 2004 22:43:20 +0200 Subject: [Gambas-user] Problem in make install In-Reply-To: <200406221731.36981.daniloprevides@...494...> References: <200406221731.36981.daniloprevides@...494...> Message-ID: <1087937000.4882.4.camel@...40...> El mar, 22-06-2004 a las 22:31, Danilo Prevides escribi?: I think net-curl was not compiled, but Gambas installer tried to create the curl info file, you can disable the net.curl component at ./configure, or may be download and install curl from http://curl.haxx.se Regards, Daniel Campos > Hi, > > I'm having a problem to install gambas 0.94. > There's no problem in the configure and make, but in make install ... > > Creating the library info files... > /opt/gambas/share/gambas/info/gb.net.info > /opt/gambas/share/gambas/info/gb.qt.ext.info > /opt/gambas/share/gambas/info/gb.debug.info > /opt/gambas/share/gambas/info/gb.info > /opt/gambas/share/gambas/info/gb.db.info > /opt/gambas/share/gambas/info/gb.net.curl.info > make[2]: *** [install-exec-local] Segmentation fault > make[2]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' > make[1]: ** [install-am] Erro 2 > make[1]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' > make: ** [install-recursive] Erro 1 > > Thanks! > Sorry by poor english From daniloprevides at ...494... Tue Jun 22 22:51:17 2004 From: daniloprevides at ...494... (Danilo Prevides) Date: Tue, 22 Jun 2004 17:51:17 -0300 Subject: [Gambas-user] Problem in make install In-Reply-To: <20040622203456.GB34894@...343...> References: <200406221731.36981.daniloprevides@...494...> <20040622203456.GB34894@...343...> Message-ID: <200406221751.17320.daniloprevides@...494...> I found the problem. In the configure, gambas was trying to use a path to qt-libraries and qt-includes that was not correct. Thanks!! Em Ter?a 22 Junho 2004 17:34, Thierry Thomas escreveu: > Le Mar 22 jui 04 ? 22:31:36 +0200, Danilo Prevides > > > ?crivait?: > > Hi, > > Hello, > > > I'm having a problem to install gambas 0.94. > > There's no problem in the configure and make, but in make install ... > > > > Creating the library info files... > > /opt/gambas/share/gambas/info/gb.net.info > > /opt/gambas/share/gambas/info/gb.qt.ext.info > > /opt/gambas/share/gambas/info/gb.debug.info > > /opt/gambas/share/gambas/info/gb.info > > /opt/gambas/share/gambas/info/gb.db.info > > /opt/gambas/share/gambas/info/gb.net.curl.info > > make[2]: *** [install-exec-local] Segmentation fault > > make[2]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' > > make[1]: ** [install-am] Erro 2 > > make[1]: Saindo do diret?rio `/home/danilo/Downloads/gambas-0.94' > > make: ** [install-recursive] Erro 1 > > I met the same problem with the previous versions when compiling gambas > with gcc-3.3 and linking with libraries built with gcc-2.95. Perhaps is > it your case? -- -- Atenciosamente, Danilo Prevides From ZENODotus at ...323... Tue Jun 22 22:50:30 2004 From: ZENODotus at ...323... (ZENODotus) Date: Tue, 22 Jun 2004 22:50:30 +0200 Subject: [Gambas-user] RPM question Message-ID: <200406222250.30787.ZENODotus@...323...> Little question... Have not much experience with programming under linux so bare with me... When I make a RPM package I get two RPM packages... one noarch en one src... When I try to install the src, I get no error-message but I don't find the programm any where... If I try to install the noarch package I get the error message that he can't install it because, gambas is unforfilled, but gambas is on my computer... What am I doing wrong?? -- ZENODotus, "Never trust a computer you can't trow out a window" - Steve Wozniak mailto:zenodotus at ...323... From gambas at ...1... Tue Jun 22 22:58:12 2004 From: gambas at ...1... (Benoit Minisini) Date: Tue, 22 Jun 2004 22:58:12 +0200 Subject: [Gambas-user] RPM question In-Reply-To: <200406222250.30787.ZENODotus@...323...> References: <200406222250.30787.ZENODotus@...323...> Message-ID: <200406222258.12315.gambas@...1...> On Tuesday 22 June 2004 22:50, ZENODotus wrote: > Little question... > Have not much experience with programming under linux so bare with me... > When I make a RPM package I get two RPM packages... one noarch en one > src... When I try to install the src, I get no error-message but I don't > find the programm any where... > > If I try to install the noarch package I get the error message that he > can't install it because, gambas is unforfilled, but gambas is on my > computer... What am I doing wrong?? the RPM binary package generated by the IDE relies on another package named "gambas". The "gambas" package is the package that include all the necessary stuff to run any gambas application. Rob Kudla regularly makes this package for the Mandrake, until it is officialy included in it. A Debian user makes it for the Debian, and SuSE makes its own too. I don't know for the other distributions. For example, on a Mandrake, when gambas will be included in the main or contrib repository, installing a package generated by the IDE will automatically download and install gambas if needed. But all thay thing does not work if you have compiled gambas from the source, because RPM does not see it. If you are in this case, you must install the package generated by the IDE by asking RPM to ignore the dependencies. Regards, -- Benoit Minisini mailto:gambas at ...1... From ZENODotus at ...323... Tue Jun 22 23:39:02 2004 From: ZENODotus at ...323... (ZENODotus) Date: Tue, 22 Jun 2004 23:39:02 +0200 Subject: [Gambas-user] RPM question In-Reply-To: <200406222258.12315.gambas@...1...> References: <200406222250.30787.ZENODotus@...323...> <200406222258.12315.gambas@...1...> Message-ID: <200406222339.02336.ZENODotus@...323...> Op dinsdag 22 juni 2004 22:58, schreef Benoit Minisini: > On Tuesday 22 June 2004 22:50, ZENODotus wrote: > > Little question... > > Have not much experience with programming under linux so bare with me... > > When I make a RPM package I get two RPM packages... one noarch en one > > src... When I try to install the src, I get no error-message but I don't > > find the programm any where... > > > > If I try to install the noarch package I get the error message that he > > can't install it because, gambas is unforfilled, but gambas is on my > > computer... What am I doing wrong?? > > the RPM binary package generated by the IDE relies on another package named > "gambas". The "gambas" package is the package that include all the > necessary stuff to run any gambas application. > > Rob Kudla regularly makes this package for the Mandrake, until it is > officialy included in it. A Debian user makes it for the Debian, and SuSE > makes its own too. I don't know for the other distributions. > > For example, on a Mandrake, when gambas will be included in the main or > contrib repository, installing a package generated by the IDE will > automatically download and install gambas if needed. > > But all thay thing does not work if you have compiled gambas from the > source, because RPM does not see it. If you are in this case, you must > install the package generated by the IDE by asking RPM to ignore the > dependencies. > > Regards, Thanks, that did it... It works fine now... forever in your debt ;-) -- ZENODotus, YOU DREAM, I REALISE!! "Never trust a computer you can't trow out a window" - Steve Wozniak mailto:zenodotus at ...323... From bwells at ...475... Tue Jun 22 23:40:23 2004 From: bwells at ...475... (Brant Wells) Date: Tue, 22 Jun 2004 17:40:23 -0400 Subject: [Gambas-user] Mailling list Slow? In-Reply-To: <1087934575.3232.2.camel@...40...> References: <40D83339.80003@...475...> <1087934575.3232.2.camel@...40...> Message-ID: <40D8A747.80400@...475...> An HTML attachment was scrubbed... URL: From radoslav.dejanovic at ...116... Wed Jun 23 09:28:53 2004 From: radoslav.dejanovic at ...116... (Radoslav =?utf-8?q?Dejanovi=C4=87?=) Date: Wed, 23 Jun 2004 09:28:53 +0200 Subject: [Gambas-user] re: A new little exemple for gambas... In-Reply-To: <33216.80.13.164.247.1087928812.squirrel@...492...> References: <33216.80.13.164.247.1087928812.squirrel@...492...> Message-ID: <200406230928.53961.radoslav.dejanovic@...116...> On Tuesday 22 June 2004 20:26, gambix at ...2... wrote: > Try it, it's really funny ^^^^^^^^^^^^^^^^ > ? > ? > Fabien Bodard > > > hem sorry Argh, is that the first Windows virus written in Gambas??? :))) -- Radoslav Dejanovi? founder and director Operacijski sustavi d.o.o. http://www.opsus.hr From budi at ...415... Wed Jun 23 10:58:27 2004 From: budi at ...415... (Budi Arief Gusandi) Date: Wed, 23 Jun 2004 15:58:27 +0700 Subject: [Gambas-user] re: A new little exemple for gambas... In-Reply-To: <200406230928.53961.radoslav.dejanovic@...116...> References: <33216.80.13.164.247.1087928812.squirrel@...492...> <200406230928.53961.radoslav.dejanovic@...116...> Message-ID: On Wed, 23 Jun 2004 09:28:53 +0200, Radoslav Dejanovi? wrote: > On Tuesday 22 June 2004 20:26, gambix at ...2... wrote: >> Try it, it's really funny > ^^^^^^^^^^^^^^^^ >> ? >> ? >> Fabien Bodard >> >> >> hem sorry > > Argh, is that the first Windows virus written in Gambas??? :))) > > LOL ;) -- Regards, Budi From nervix at ...402... Wed Jun 23 13:21:21 2004 From: nervix at ...402... (nervix) Date: Wed, 23 Jun 2004 13:21:21 +0200 Subject: [Gambas-user] Exec Message-ID: <200406231321.21815.nervix@...402...> Hi, how can i read the coming from Process when i have several Process? can i do something like PUBLIC Sub Process_Read (myprocess1) PUBLIC Sub Process_Read (myprocess2) ? Thx From trorrr at ...397... Wed Jun 23 13:54:30 2004 From: trorrr at ...397... (=?iso-8859-1?q?H=E9ctor=20Fern=E1ndez=20L=F3pez?=) Date: Wed, 23 Jun 2004 13:54:30 +0200 Subject: [Gambas-user] Exec In-Reply-To: <200406231321.21815.nervix@...402...> References: <200406231321.21815.nervix@...402...> Message-ID: <200406231354.30850.trorrr@...397...> El Mi?rcoles, 23 de Junio de 2004 13:21, nervix escribi?: > Hi, > how can i read the coming from Process when i have several Process? > > can i do something like > PUBLIC Sub Process_Read (myprocess1) > > > PUBLIC Sub Process_Read (myprocess2) > > ? > > Thx > You can differenciate them using the Id property of a Process. Maybe could is useful to have auxiliar integer variables with Id process numbers associated to each process created. Hope it helps you. > > ------------------------------------------------------- > 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... Wed Jun 23 14:47:10 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 23 Jun 2004 08:47:10 -0400 Subject: [Gambas-user] Exec In-Reply-To: <200406231321.21815.nervix@...402...> References: <200406231321.21815.nervix@...402...> Message-ID: <40D97BCE.1080602@...475...> Hi Nervix: When you create the process, you need to do the following: Public hProcess as Process 'This goes at the top of the Class File. EXEC ["myprogram"] as hProcess1 EXEC["myotherprogram"] as hProcess2 Then in the Sub Process_Read() if hProcess1=LAST then 'Here is where you put the code that deals with process1 end if if hProcess2=LAST then 'Here is where you put the code that deals with Process2 end if Hope this helps! ~Brant nervix wrote: >Hi, >how can i read the coming from Process when i have several Process? > >can i do something like >PUBLIC Sub Process_Read (myprocess1) > > >PUBLIC Sub Process_Read (myprocess2) > >? > >Thx > > From mbergmann-sh at ...17... Wed Jun 23 15:03:51 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Wed, 23 Jun 2004 15:03:51 +0200 Subject: [Gambas-user] compiling 0.94 under SuSE 9.1 Message-ID: <200406231503.51912.mbergmann-sh@...17...> Maybe this might be of help for the SuSE fraction among us: The following is my configuration script to compile gambas 0.94 under SuSE 9.1 pro with updated KDE 3.2.3. Personally, I prefer having gambas in my /opts directory, therefore I kept the default install path. ____________ snipp ____________________________________ #! /bin/bash ./configure \ --with-kde-libraries=/opt/kde3/lib \ --with-kde-includes=/opt/kde3/include \ --with-qt-libraries=/usr/lib/qt3/lib \ --with-qt-includes=/usr/lib/qt3/include \ --with-moc=/usr/bin/ \ --with-pgsql-includes=/usr/include/pgsql/ \ --with-pgsql-libraries=/usr/lib/postgresql/ \ --with-mysql-includes=/usr/include/mysql/ \ --with-mysql-libraries=/usr/lib \ --enable-optimization\ --enable-shared # --disable-preloading #--prefix=/usr \ #--libdir=/lib \ make make install _________________________ snipp _______________________________________ This compiles without probs over here, hope you can use it. Just save it with an approbate name into your build directory and start it something like "./myconfigure.sh" with root rights regards, Michael From carsten at ...498... Wed Jun 23 15:52:15 2004 From: carsten at ...498... (Carsten Olsen) Date: Wed, 23 Jun 2004 15:52:15 +0200 Subject: [Gambas-user] Problem with "Make installation packages" Message-ID: <1087998735.4047.10.camel@...499...> Hi I have tried the new function "Make installation packages". I tried to build RPM to Redhat / Fedora (on a Fedora Core 2 box) but I get this message in the make... dialog. Creating package for Redhat /Fedora. Creating source package. Creating .spec file. Creating RPM packages. The package build has failed. -ba: unknown option Kind regards Carsten Olsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From carsten at ...500... Wed Jun 23 15:56:39 2004 From: carsten at ...500... (Carsten Olsen) Date: Wed, 23 Jun 2004 15:56:39 +0200 Subject: [Gambas-user] Problems with "Make installation packages" Message-ID: <1087998999.4047.15.camel@...499...> Hi I have tried the new function "Make installation packages""Make installation packages". I tried to build RPM to Redhat / Fedora (on a Fedora Core 2 box) but I get this message in the make... dialog. Creating package for Redhat /Fedora. Creating source package. Creating .spec file. Creating RPM packages. The package build has failed. -ba: unknown option Kind regards Carsten Olsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From olinux at ...289... Wed Jun 23 16:43:11 2004 From: olinux at ...289... (olinux) Date: Wed, 23 Jun 2004 16:43:11 +0200 Subject: [Gambas-user] Problems with "Make installation packages" In-Reply-To: <1087998999.4047.15.camel@...499...> References: <1087998999.4047.15.camel@...499...> Message-ID: <1088001791.6356.0.camel@...501...> idem for me under fedora core 1 olivier Le mer 23/06/2004 ? 15:56, Carsten Olsen a ?crit : > Hi > > I have tried the new function "Make installation packages""Make > installation packages". I tried to build RPM to Redhat / Fedora (on a > Fedora Core 2 box) but I get this message in the make... dialog. > > Creating package for Redhat /Fedora. > Creating source package. > Creating .spec file. > Creating RPM packages. > The package build has failed. > > -ba: unknown option > > Kind regards > Carsten Olsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From bundeshund at ...467... Wed Jun 23 17:08:11 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 23 Jun 2004 17:08:11 +0200 Subject: [Gambas-user] compiling 0.94 under SuSE 9.1 In-Reply-To: <200406231503.51912.mbergmann-sh@...17...> References: <200406231503.51912.mbergmann-sh@...17...> Message-ID: <200406231708.11753.bundeshund@...467...> Hello Michael, I have same configure here as you have: SuSE 9.1, KDE 3.2.3 ( all updated via yast) and have installed gambas-0.94 out of the box. On what point you ran into trouble? regards, HM Am Mittwoch, 23. Juni 2004 15:03 schrieb Michael Bergmann: > Maybe this might be of help for the SuSE fraction among us: The following > is my configuration script to compile gambas 0.94 under SuSE 9.1 pro with > updated KDE 3.2.3. Personally, I prefer having gambas in my /opts > directory, therefore I kept the default install path. > ____________ snipp ____________________________________ > #! /bin/bash > ../configure \ > --with-kde-libraries=/opt/kde3/lib \ > --with-kde-includes=/opt/kde3/include \ > --with-qt-libraries=/usr/lib/qt3/lib \ > --with-qt-includes=/usr/lib/qt3/include \ > --with-moc=/usr/bin/ \ > --with-pgsql-includes=/usr/include/pgsql/ \ > --with-pgsql-libraries=/usr/lib/postgresql/ \ > --with-mysql-includes=/usr/include/mysql/ \ > --with-mysql-libraries=/usr/lib \ > --enable-optimization\ > --enable-shared > # --disable-preloading > #--prefix=/usr \ > #--libdir=/lib \ > make > make install > _________________________ snipp _______________________________________ > This compiles without probs over here, hope you can use it. Just save it > with an approbate name into your build directory and start it something > like "./myconfigure.sh" with root rights > > regards, > > Michael > > > > ------------------------------------------------------- > 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 jeffjohnson at ...377... Wed Jun 23 19:37:48 2004 From: jeffjohnson at ...377... (Jeff Johnson) Date: Wed, 23 Jun 2004 10:37:48 -0700 Subject: [Gambas-user] new user problem In-Reply-To: <200406222258.12315.gambas@...1...> References: <200406222250.30787.ZENODotus@...323...> <200406222258.12315.gambas@...1...> Message-ID: <200406231037.48440.jeffjohnson@...377...> What am I doing wrong I have SuSE 9.2 with the latest KDE I open up Gambas select existing project of Kate Browser (or any project) click on the form It gives me an error "12 Not an object" I have (I thought) every development package installed, but have not been able to get past it. Thank you From mbergmann-sh at ...17... Wed Jun 23 18:59:14 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Wed, 23 Jun 2004 18:59:14 +0200 Subject: [Gambas-user] compiling 0.94 under SuSE 9.1 In-Reply-To: <200406231708.11753.bundeshund@...467...> References: <200406231503.51912.mbergmann-sh@...17...> <200406231708.11753.bundeshund@...467...> Message-ID: <200406231859.15165.mbergmann-sh@...17...> Am Mittwoch, 23. Juni 2004 17:08 schrieb Hans-Martin Bundeshund: > Hello Michael, > > I have same configure here as you have: SuSE 9.1, KDE 3.2.3 ( all updated > via yast) and have installed gambas-0.94 out of the box. On what point you > ran into trouble? Hi Martin, a simple ./configure didn't accept the path for moc, postgresql and mysql, make complained about that. Compiling it with the "default" SuSE dirs /usr/bin, make install complained about a missing "gb.list" - don't know what it is nor where it should be? It compiles fine for me with the given script. regards, Michael From bundeshund at ...467... Wed Jun 23 20:06:41 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 23 Jun 2004 20:06:41 +0200 Subject: [Gambas-user] compiling 0.94 under SuSE 9.1 In-Reply-To: <200406231859.15165.mbergmann-sh@...17...> References: <200406231503.51912.mbergmann-sh@...17...> <200406231708.11753.bundeshund@...467...> <200406231859.15165.mbergmann-sh@...17...> Message-ID: <200406232006.41935.bundeshund@...467...> Hallo! I ask because I want to install a gambas-application on different systems all using SuSE, versions 9.0 and 9.1 with different KDE versions. But all of them are installed/updatet via yast. No greater other stuff from 'foreign' sources. I hope, I dont run into this trouble later... > Hi Martin, > > a simple ./configure didn't accept the path for moc, postgresql and mysql, > make complained about that. Compiling it with the "default" SuSE > dirs /usr/bin, make install complained about a missing "gb.list" - don't > know what it is nor where it should be? It compiles fine for me with the > given script. > > regards, > > Michael > > > ------------------------------------------------------- > 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 mbergmann-sh at ...17... Wed Jun 23 20:15:12 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Wed, 23 Jun 2004 20:15:12 +0200 Subject: [Gambas-user] how to build a menu Message-ID: <200406232015.12966.mbergmann-sh@...17...> Hi out there! It seems that I'm too nuts to figure out how to construct a menu for my app. Could somebody please light up my night and explain to me how I should integrate a menu in an application using the gambas menu editor? Thanks in advance, Michael From mbergmann-sh at ...17... Wed Jun 23 20:20:27 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Wed, 23 Jun 2004 20:20:27 +0200 Subject: [Gambas-user] EXEC with root rights Message-ID: <200406232020.27875.mbergmann-sh@...17...> Hi there, for a little app I'm writing on, it would be neccessary to EXEC[] (...prefered!) or SHELL() a bunch of commands that reside in the /sbin dir (...they are called trough a script, indeed). Prob is that I would need root rights to execute f.e. "modprobe". Any Ideas how this could be done without running the whole app suid root? regards, Michael From mbergmann-sh at ...17... Wed Jun 23 20:31:18 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Wed, 23 Jun 2004 20:31:18 +0200 Subject: [Gambas-user] new user problem In-Reply-To: <200406231037.48440.jeffjohnson@...377...> References: <200406222250.30787.ZENODotus@...323...> <200406222258.12315.gambas@...1...> <200406231037.48440.jeffjohnson@...377...> Message-ID: <200406232031.18598.mbergmann-sh@...17...> Am Mittwoch, 23. Juni 2004 19:37 schrieb Jeff Johnson: > What am I doing wrong > > I have SuSE 9.2 with the latest KDE > > I open up Gambas > select existing project of Kate Browser (or any project) > click on the form > It gives me an error "12 Not an object" I had the same prob with the same environment, until I upgrated to gambas 0.93b (...and now 0.94) by source code. In order to do so, you should have updated SuSE to the latest KDE and QT, you should have installed PostGresQL, MySQL, SDL and libcurl (+ development packages), and you should have downloaded the source code for gambas. After deflating it, you could run a "./configure", "make", and "make install" (as root). Should you encounter any probs, you could give some parameters to configure. Look out for the threat "compiling 0.94 under SuSE 9.1" - I've putted a configuration script in here, which worked fine for me. regards, Michael From mbergmann-sh at ...17... Wed Jun 23 20:35:32 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Wed, 23 Jun 2004 20:35:32 +0200 Subject: [Gambas-user] compiling 0.94 under SuSE 9.1 In-Reply-To: <200406232006.41935.bundeshund@...467...> References: <200406231503.51912.mbergmann-sh@...17...> <200406231859.15165.mbergmann-sh@...17...> <200406232006.41935.bundeshund@...467...> Message-ID: <200406232035.32205.mbergmann-sh@...17...> Am Mittwoch, 23. Juni 2004 20:06 schrieb Hans-Martin Bundeshund: > Hallo! > > I ask because I want to install a gambas-application on different systems > all using SuSE, versions 9.0 and 9.1 with different KDE versions. But all > of them are installed/updatet via yast. No greater other stuff from > 'foreign' sources. I hope, I dont run into this trouble later... I'm not quite sure, but I guess there are no bigger changes in the structure for the dirs from SuSE 9.0 to 9.1 Anyhow, if you want to be sure about, argue configure completely with the necessary path informations. You know that you can not simply copy the compiled gambas from one system to another as long as it isn't identical? Sounds a little after you want to do so? regards, Michael From bundeshund at ...467... Wed Jun 23 20:40:46 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 23 Jun 2004 20:40:46 +0200 Subject: [Gambas-user] how to build a menu In-Reply-To: <200406232015.12966.mbergmann-sh@...17...> References: <200406232015.12966.mbergmann-sh@...17...> Message-ID: <200406232040.46675.bundeshund@...467...> Hallo Michael! Look at my attachment. Its a little example I wrote for you. I hope, it will make some things clearer. Am Mittwoch, 23. Juni 2004 20:15 schrieb Michael Bergmann: > Hi out there! > > It seems that I'm too nuts to figure out how to construct a menu for my > app. Could somebody please light up my night and explain to me how I should > integrate a menu in an application using the gambas menu editor? > > Thanks in advance, > > Michael > > > ------------------------------------------------------- > 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: Taxi-0.0.1.tar.gz Type: application/x-tgz Size: 887 bytes Desc: not available URL: From bundeshund at ...467... Wed Jun 23 20:49:45 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 23 Jun 2004 20:49:45 +0200 Subject: [Gambas-user] compiling 0.94 under SuSE 9.1 In-Reply-To: <200406232035.32205.mbergmann-sh@...17...> References: <200406231503.51912.mbergmann-sh@...17...> <200406232006.41935.bundeshund@...467...> <200406232035.32205.mbergmann-sh@...17...> Message-ID: <200406232049.45970.bundeshund@...467...> Am Mittwoch, 23. Juni 2004 20:35 schrieb Michael Bergmann: > I'm not quite sure, but I guess there are no bigger changes in the > structure for the dirs from SuSE 9.0 to 9.1 > Anyhow, if you want to be sure about, argue configure completely with the > necessary path informations. > You know that you can not simply copy the compiled gambas from one system > to another as long as it isn't identical? Sounds a little after you want to > do so? Not really, but as I understand right, it is needed to have gambas installed for gambas-apps since 0.93b. (I hope I am not wrong) So I have to compile gambas on that machines. I do so on 4 different systems most running 9.0 with default KDE (3.?.?) and default qt & co. It compiles (quite yesterday the 0.94) out of the box using the configure/make/make install-thing. My system has 9.1 with KDE 3.2.2 (as written) and I have no problems, too. The last one has a 9.1 default-system. All went well. But I will see, if there are some problems coming ;) > > regards, > > Michael HM From bwells at ...475... Wed Jun 23 21:11:21 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 23 Jun 2004 15:11:21 -0400 Subject: [Gambas-user] EXEC with root rights In-Reply-To: <200406232020.27875.mbergmann-sh@...17...> References: <200406232020.27875.mbergmann-sh@...17...> Message-ID: <40D9D5D9.8060402@...475...> Hey Michael... You could try something like this: EXEC ["kdesu","-t","-c","sh /tmp/lvtemp.sh"] WAIT AS dProcess Of Course, it pops up asking for the root password.... It uses kdesu to run the script as root. There's an example of how I use it in the LogView application I submitted a few days ago, if that's not clear enough. Hope This Helps! ~Brant From mbergmann-sh at ...17... Wed Jun 23 21:36:39 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Wed, 23 Jun 2004 21:36:39 +0200 Subject: [Gambas-user] how to build a menu In-Reply-To: <200406232040.46675.bundeshund@...467...> References: <200406232015.12966.mbergmann-sh@...17...> <200406232040.46675.bundeshund@...467...> Message-ID: <200406232136.39916.mbergmann-sh@...17...> On Mittwoch, 23. Juni 2004 20:40 Hans-Martin Bundeshund wrote: > Look at my attachment. Its a little example I wrote for you. I hope, it > will make some things clearer. > This made it bright and clear - thank you, Martin! Anyhow - is there a possibility to get rid of that annoying, button-alike thingy behind the menu letters? regards, Michael From mbergmann-sh at ...17... Wed Jun 23 21:41:53 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Wed, 23 Jun 2004 21:41:53 +0200 Subject: [Gambas-user] EXEC with root rights In-Reply-To: <40D9D5D9.8060402@...475...> References: <200406232020.27875.mbergmann-sh@...17...> <40D9D5D9.8060402@...475...> Message-ID: <200406232141.53205.mbergmann-sh@...17...> On Mittwoch, 23. Juni 2004 21:11 Brant Wells wrote: > Hey Michael... > > You could try something like this: > EXEC ["kdesu","-t","-c","sh /tmp/lvtemp.sh"] WAIT AS dProcess > > Of Course, it pops up asking for the root password.... It uses kdesu to > run the script as root. Hi Brand and thanks for your help! I remember I've read about the prob and a solution you found a few days ago here in the list. Unfortunately, I can't use kdesu, it should be possible - IF possible ;-) - to solve this without user intervention. If this is not solveable, my app soorowly has to run with root rights itsself... regards, Michael From bwells at ...475... Wed Jun 23 22:30:06 2004 From: bwells at ...475... (Brant Wells) Date: Wed, 23 Jun 2004 16:30:06 -0400 Subject: [Gambas-user] EXEC with root rights In-Reply-To: <200406232141.53205.mbergmann-sh@...17...> References: <200406232020.27875.mbergmann-sh@...17...> <40D9D5D9.8060402@...475...> <200406232141.53205.mbergmann-sh@...17...> Message-ID: <40D9E84E.2010403@...475...> An HTML attachment was scrubbed... URL: From sourceforge-raindog2 at ...94... Wed Jun 23 20:39:47 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Wed, 23 Jun 2004 14:39:47 -0400 Subject: [Gambas-user] Problems with "Make installation packages" In-Reply-To: <1087998999.4047.15.camel@...499...> References: <1087998999.4047.15.camel@...499...> Message-ID: <200406231152.15808.sourceforge-raindog2@...94...> On Wednesday 23 June 2004 09:56, Carsten Olsen wrote: > The package build has failed. > -ba: unknown option Hmmm, looks like you're missing the rpmbuild program. On Mandrake that's in the "rpm-build" package... try installing Fedora's version of that? Rob From olinux at ...289... Wed Jun 23 23:41:42 2004 From: olinux at ...289... (Olivier Coquet) Date: Wed, 23 Jun 2004 23:41:42 +0200 Subject: [Gambas-user] Problems with "Make installation packages" In-Reply-To: <200406231152.15808.sourceforge-raindog2@...94...> References: <1087998999.4047.15.camel@...499...> <200406231152.15808.sourceforge-raindog2@...94...> Message-ID: <1088026902.7484.0.camel@...460...> rpmbuild is ok but message is the same :=( olivier Le mer 23/06/2004 ?? 20:39, Rob a ??crit : > On Wednesday 23 June 2004 09:56, Carsten Olsen wrote: > > The package build has failed. > > -ba: unknown option > > Hmmm, looks like you're missing the rpmbuild program. On > Mandrake that's in the "rpm-build" package... try installing > Fedora's version of that? > > 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 Karl.Reinl at ...9... Wed Jun 23 23:54:58 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 23 Jun 2004 23:54:58 +0200 Subject: [Gambas-user] gambas-0.94 TODAY : the examples Message-ID: <200406232354.58718.Karl.Reinl@...9...> Salut, does the messagebox who raise, when you start up the moste of the examples, mean that 'Too much arguments', speaks for gambas? So I have to say, that some of the examples don't work , because they show forms and not this messagebox. So WHAT ? Lucky me I'm not a newbe, who looks out for a Basic at linux, and had a look to gambas 0.94 and the proposed 'EXAMPLES'. Amicalement Charlie From na2492 at ...9... Thu Jun 24 00:27:13 2004 From: na2492 at ...9... (na2492 at ...9...) Date: Thu, 24 Jun 2004 00:27:13 00200 Subject: [Gambas-user] compiling 0.94 under SuSE 9.1 Message-ID: <40da03c1.1d14.0@...9...> >Am Mittwoch, 23. Juni 2004 20:35 schrieb Michael Bergmann: > >> I'm not quite sure, but I guess there are no bigger changes in the >> structure for the dirs from SuSE 9.0 to 9.1 >> Anyhow, if you want to be sure about, argue configure completely with the >> necessary path informations. >> You know that you can not simply copy the compiled gambas from one system >> to another as long as it isn't identical? Sounds a little after you want to >> do so? > >Not really, but as I understand right, it is needed to have gambas installed >for gambas-apps since 0.93b. (I hope I am not wrong) NO, each gambas version stand for it self, no other preinstalled older versions are needed. > >So I have to compile gambas on that machines. I do so on 4 different systems >most running 9.0 with default KDE (3.?.?) and default qt & co. It compiles >(quite yesterday the 0.94) out of the box using the configure/make/make >install-thing. My system has 9.1 with KDE 3.2.2 (as written) and I have no >problems, too. The last one has a 9.1 default-system. All went well. > Untar on each box the gambas-0.9x version and make the configure/make/make install-thing how you call it. >But I will see, if there are some problems coming ;) > >> >> regards, >> >> Michael >HM * Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de * From gambas at ...1... Thu Jun 24 01:11:28 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 24 Jun 2004 01:11:28 +0200 Subject: [Gambas-user] Problems with "Make installation packages" In-Reply-To: <1087998999.4047.15.camel@...499...> References: <1087998999.4047.15.camel@...499...> Message-ID: <200406240111.29250.gambas@...1...> On Wednesday 23 June 2004 15:56, Carsten Olsen wrote: > Hi > > I have tried the new function "Make installation packages""Make > installation packages". I tried to build RPM to Redhat / Fedora (on a > Fedora Core 2 box) but I get this message in the make... dialog. > > Creating package for Redhat /Fedora. > Creating source package. > Creating .spec file. > Creating RPM packages. > The package build has failed. > > -ba: unknown option > > Kind regards > Carsten Olsen Can you send me the result of "man rpm" on your Fedora ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Thu Jun 24 01:30:05 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 24 Jun 2004 01:30:05 +0200 Subject: [Gambas-user] Problems with "Make installation packages" In-Reply-To: <200406240111.29250.gambas@...1...> References: <1087998999.4047.15.camel@...499...> <200406240111.29250.gambas@...1...> Message-ID: <200406240130.05958.gambas@...1...> On Thursday 24 June 2004 01:11, Benoit Minisini wrote: > On Wednesday 23 June 2004 15:56, Carsten Olsen wrote: > > Hi > > > > I have tried the new function "Make installation packages""Make > > installation packages". I tried to build RPM to Redhat / Fedora (on a > > Fedora Core 2 box) but I get this message in the make... dialog. > > > > Creating package for Redhat /Fedora. > > Creating source package. > > Creating .spec file. > > Creating RPM packages. > > The package build has failed. > > > > -ba: unknown option > > > > Kind regards > > Carsten Olsen > > Can you send me the result of "man rpm" on your Fedora ? Because if you read http://www.rpm.org/max-rpm/ch-rpm-b-command.html, the "rpm -ba" means something! -- Benoit Minisini mailto:gambas at ...1... From raedon_y2k at ...67... Thu Jun 24 03:41:20 2004 From: raedon_y2k at ...67... (Raedon ~ FRaN ~) Date: Thu, 24 Jun 2004 03:41:20 +0200 Subject: [Gambas-user] problem with gambas (libkwalletclient.so.1) Message-ID: Help please. I can't install suse's rpm version of gambas 0.94 because I haven't this file: libkwalletclient.so.1 . In mandrake I have same problem, and I don't found the correct packet for install this file. I was searched in rpm database of suse and mandrake, but not result. Excuse my english and help, please. I'm a novice _________________________________________________________________ Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ From raedon_y2k at ...67... Thu Jun 24 03:41:20 2004 From: raedon_y2k at ...67... (Raedon ~ FRaN ~) Date: Thu, 24 Jun 2004 03:41:20 +0200 Subject: [Gambas-user] problem with gambas (libkwalletclient.so.1) Message-ID: Help please. I can't install suse's rpm version of gambas 0.94 because I haven't this file: libkwalletclient.so.1 . In mandrake I have same problem, and I don't found the correct packet for install this file. I was searched in rpm database of suse and mandrake, but not result. Excuse my english and help, please. I'm a novice _________________________________________________________________ Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu ocio con MSN Entretenimiento. http://entretenimiento.msn.es/ From raedon_y2k at ...67... Thu Jun 24 03:45:59 2004 From: raedon_y2k at ...67... (Raedon ~ FRaN ~) Date: Thu, 24 Jun 2004 03:45:59 +0200 Subject: [Gambas-user] problem with gambas (libkwalletclient.so.1) Message-ID: Help please. I can't install suse's rpm version of gambas 0.94 because I haven't this file: libkwalletclient.so.1 . In mandrake I have same problem, and I don't found the correct packet for install this file. I was searched in rpm database of suse and mandrake, but not result. Excuse my english and help, please. I'm a novice _________________________________________________________________ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH From raedon_y2k at ...67... Thu Jun 24 03:45:59 2004 From: raedon_y2k at ...67... (Raedon ~ FRaN ~) Date: Thu, 24 Jun 2004 03:45:59 +0200 Subject: [Gambas-user] problem with gambas (libkwalletclient.so.1) Message-ID: Help please. I can't install suse's rpm version of gambas 0.94 because I haven't this file: libkwalletclient.so.1 . In mandrake I have same problem, and I don't found the correct packet for install this file. I was searched in rpm database of suse and mandrake, but not result. Excuse my english and help, please. I'm a novice _________________________________________________________________ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031&DI=1055&SU=http%3A//www.hotmail.com&HL=LINKTAG1OPENINGTEXT_MSNBH From jesse at ...486... Thu Jun 24 08:28:44 2004 From: jesse at ...486... (Jesse Long) Date: Thu, 24 Jun 2004 08:28:44 +0200 Subject: [Gambas-user] EXEC with root rights In-Reply-To: <200406232020.27875.mbergmann-sh@...17...> References: <200406232020.27875.mbergmann-sh@...17...> Message-ID: <1088058524.27183.20.camel@...491...> On Wed, 2004-06-23 at 20:20, Michael Bergmann wrote: > Hi there, > > for a little app I'm writing on, it would be neccessary to EXEC[] > (...prefered!) or SHELL() a bunch of commands that reside in the /sbin dir > (...they are called trough a script, indeed). Prob is that I would need root > rights to execute f.e. "modprobe". Any Ideas how this could be done without > running the whole app suid root? see /etc/sudoers man sudoers then into applicateion... exec ( "sudo", "-u", "root", "command", "parameter") for read..... hth, Jesse -- "And in the beginning there was Unix, and Unix spoke and said, 'Hello World\n', and Unix saw that it was good." From sourceforge-raindog2 at ...94... Thu Jun 24 08:57:44 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Thu, 24 Jun 2004 02:57:44 -0400 Subject: [Gambas-user] mandrake 10.0 packages for 0.94 Message-ID: <200406240257.44403.sourceforge-raindog2@...94...> Here you go... see the notes on the page. http://www.kudla.org/index.php?wl_mode=more&wl_eid=57 Here's a mirror on the wiki because my ISP has been super flaky lately: http://www.binara.com/gambas-wiki/bin/view/Gambas/MandrakePackages Rob From radoslav.dejanovic at ...116... Thu Jun 24 09:49:20 2004 From: radoslav.dejanovic at ...116... (Radoslav =?iso-8859-2?q?Dejanovi=E6?=) Date: Thu, 24 Jun 2004 09:49:20 +0200 Subject: [Gambas-user] problem with gambas (libkwalletclient.so.1) In-Reply-To: References: Message-ID: <200406240949.20622.radoslav.dejanovic@...116...> On Thursday 24 June 2004 03:41, Raedon ~ FRaN ~ wrote: > Help please. I can't install suse's rpm version of gambas 0.94 because I > haven't this file: libkwalletclient.so.1 . In mandrake I have same > problem, and I don't found the correct packet for install this file. I > was searched in rpm database of suse and mandrake, but not result. libkwalletclient is part of KDE libs. Try to reinstall kdelibs, or better yet, upgrade your KDE to latest version. Btw, where did you get gambas 0.94 in suse rpm format? -- Radoslav Dejanovi? founder and director Operacijski sustavi d.o.o. http://www.opsus.hr From bundeshund at ...467... Thu Jun 24 16:11:18 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 24 Jun 2004 16:11:18 +0200 Subject: [Gambas-user] Question@...502... In-Reply-To: <200406240130.05958.gambas@...1...> References: <1087998999.4047.15.camel@...499...> <200406240111.29250.gambas@...1...> <200406240130.05958.gambas@...1...> Message-ID: <200406241611.18629.bundeshund@...467...> Hello Benoit! Is it a problem to attach an example an post it via this group? Or does it maybe make higher costs for you or someone else? Don't want to make something bad for you/gambas-group. regards, HM PS: If you are thirsty, give me a sign! ;) From carsten at ...500... Thu Jun 24 16:15:26 2004 From: carsten at ...500... (Carsten Olsen) Date: Thu, 24 Jun 2004 16:15:26 +0200 Subject: [Gambas-user] Problems with "Make installation packages" In-Reply-To: <200406240111.29250.gambas@...1...> References: <1087998999.4047.15.camel@...499...> <200406240111.29250.gambas@...1...> Message-ID: <1088086526.2951.6.camel@...499...> Hi Benoit The required man for RPM plus RPMBUILD (from FC2) Kind Regards Carsten Olsen On Thu, 2004-06-24 at 01:11, Benoit Minisini wrote: > On Wednesday 23 June 2004 15:56, Carsten Olsen wrote: > > Hi > > > > I have tried the new function "Make installation packages""Make > > installation packages". I tried to build RPM to Redhat / Fedora (on a > > Fedora Core 2 box) but I get this message in the make... dialog. > > > > Creating package for Redhat /Fedora. > > Creating source package. > > Creating .spec file. > > Creating RPM packages. > > The package build has failed. > > > > -ba: unknown option > > > > Kind regards > > Carsten Olsen > > Can you send me the result of "man rpm" on your Fedora ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- RPMBUILD(8) Red Hat Linux RPMBUILD(8) NNAAMMEE rpmbuild - Build RPM Package(s) SSYYNNOOPPSSIISS BBUUIILLDDIINNGG PPAACCKKAAGGEESS:: rrppmmbbuuiilldd {--bbaa||--bbbb||--bbpp||--bbcc||--bbii||--bbll||--bbss} [rrppmmbbuuiilldd--ooppttiioonnss] _S_P_E_C_F_I_L_E _._._. rrppmmbbuuiilldd {--ttaa||--ttbb||--ttpp||--ttcc||--ttii||--ttll||--ttss} [rrppmmbbuuiilldd--ooppttiioonnss] _T_A_R_B_A_L_L _._._. rrppmmbbuuiilldd {----rreebbuuiilldd||----rreeccoommppiillee} _S_O_U_R_C_E_P_K_G _._._. MMIISSCCEELLLLAANNEEOOUUSS:: rrppmmbbuuiilldd ----sshhoowwrrcc rrppmmbbuuiilldd--ooppttiioonnss [----bbuuiillddrroooott _D_I_R_E_C_T_O_R_Y] [----cclleeaann] [----nnoobbuuiilldd] [----rrmmssoouurrccee] [----rrmmssppeecc] [----sshhoorrtt--cciirrccuuiitt] [----ssiiggnn] [----ttaarrggeett _P_L_A_T_F_O_R_M] DDEESSCCRRIIPPTTIIOONN rrppmmbbuuiilldd is used to build both binary and source software packages. A ppaacckkaaggee consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. PPaacckk-- aaggeess come in two varieties: binary packages, used to encapsulate soft- ware to be installed, and source packages, containing the source code and recipe necessary to produce binary packages. One of the following basic modes must be selected: BBuuiilldd PPaacckkaaggee, BBuuiilldd PPaacckkaaggee ffrroomm TTaarrbbaallll, RReeccoommppiillee PPaacckkaaggee, SShhooww CCoonnffiigguurraattiioonn. GGEENNEERRAALL OOPPTTIIOONNSS These options can be used in all the different modes. --??,, ----hheellpp Print a longer usage message then normal. ----vveerrssiioonn Print a single line containing the version number of rrppmm being used. ----qquuiieett Print as little as possible - normally only error messages will be displayed. --vv Print verbose information - normally routine progress messages will be displayed. --vvvv Print lots of ugly debugging information. ----rrccffiillee _F_I_L_E_L_I_S_T Each of the files in the colon separated _F_I_L_E_L_I_S_T is read sequentially by rrppmm for configuration information. Only the first file in the list must exist, and tildes will be expanded to the value of $$HHOOMMEE. The default _F_I_L_E_L_I_S_T is _/_u_s_r_/_l_i_b_/_r_p_m_/_r_p_m_r_c:_/_u_s_r_/_l_i_b_/_r_p_m_/_r_e_d_- _h_a_t_/_r_p_m_r_c:_/_e_t_c_/_r_p_m_r_c:_~_/_._r_p_m_r_c. ----ppiippee _C_M_D Pipes the output of rrppmm to the command _C_M_D. ----ddbbppaatthh _D_I_R_E_C_T_O_R_Y Use the database in _D_I_R_E_C_T_O_R_Y rather than the default path _/_v_a_r_/_l_i_b_/_r_p_m ----rroooott _D_I_R_E_C_T_O_R_Y Use the file system tree rooted at _D_I_R_E_C_T_O_R_Y for all operations. Note that this means the database within _D_I_R_E_C_T_O_R_Y will be used for dependency checks and any scriptlet(s) (e.g. %%ppoosstt if installing, or %%pprreepp if building, a package) will be run after a chroot(2) to _D_I_R_E_C_T_O_R_Y. BBUUIILLDD OOPPTTIIOONNSS The general form of an rpm build command is rrppmmbbuuiilldd --bb_S_T_A_G_E||--tt_S_T_A_G_E [ rrppmmbbuuiilldd--ooppttiioonnss ] _F_I_L_E _._._. The argument used is --bb if a spec file is being used to build the pack- age and --tt if rrppmmbbuuiilldd should look inside of a (possibly compressed) tar file for the spec file to use. After the first argument, the next character (_S_T_A_G_E) specifies the stages of building and packaging to be done and is one of: --bbaa Build binary and source packages (after doing the %prep, %build, and %install stages). --bbbb Build a binary package (after doing the %prep, %build, and %install stages). --bbpp Executes the "%prep" stage from the spec file. Normally this involves unpacking the sources and applying any patches. --bbcc Do the "%build" stage from the spec file (after doing the %prep stage). This generally involves the equivalent of a "make". --bbii Do the "%install" stage from the spec file (after doing the %prep and %build stages). This generally involves the equiva- lent of a "make install". --bbll Do a "list check". The "%files" section from the spec file is macro expanded, and checks are made to verify that each file exists. --bbss Build just the source package. The following options may also be used: ----bbuuiillddrroooott _D_I_R_E_C_T_O_R_Y When building a package, override the BuildRoot tag with direc- tory _D_I_R_E_C_T_O_R_Y. ----cclleeaann Remove the build tree after the packages are made. ----nnoobbuuiilldd Do not execute any build stages. Useful for testing out spec files. ----rrmmssoouurrccee Remove the sources after the build (may also be used standalone, e.g. "rrppmmbbuuiilldd ----rrmmssoouurrccee ffoooo..ssppeecc"). ----rrmmssppeecc Remove the spec file after the build (may also be used stan- dalone, eg. "rrppmmbbuuiilldd ----rrmmssppeecc ffoooo..ssppeecc"). ----sshhoorrtt--cciirrccuuiitt Skip straight to specified stage (i.e., skip all stages leading up to the specified stage). Only valid with --bbcc and --bbii. ----ssiiggnn Embed a GPG signature in the package. This signature can be used to verify the integrity and the origin of the package. See the section on GPG SIGNATURES in rrppmm(8) for configuration details. ----ttaarrggeett _P_L_A_T_F_O_R_M When building the package, interpret _P_L_A_T_F_O_R_M as aarrcchh--vveennddoorr--ooss and set the macros %%__ttaarrggeett, %%__ttaarrggeett__ccppuu, and %%__ttaarrggeett__ooss accordingly. RREEBBUUIILLDD AANNDD RREECCOOMMPPIILLEE OOPPTTIIOONNSS There are two other ways to invoke building with rpm: rrppmmbbuuiilldd ----rreebbuuiilldd||----rreeccoommppiillee _S_O_U_R_C_E_P_K_G _._._. When invoked this way, rrppmmbbuuiilldd installs the named source package, and does a prep, compile and install. In addition, ----rreebbuuiilldd builds a new binary package. When the build has completed, the build directory is removed (as in ----cclleeaann) and the the sources and spec file for the pack- age are removed. SSHHOOWWRRCC The command rrppmmbbuuiilldd ----sshhoowwrrcc shows the values rrppmmbbuuiilldd will use for all of the options are currently set in _r_p_m_r_c and _m_a_c_r_o_s configuration file(s). FFIILLEESS rrppmmrrcc CCoonnffiigguurraattiioonn _/_u_s_r_/_l_i_b_/_r_p_m_/_r_p_m_r_c _/_u_s_r_/_l_i_b_/_r_p_m_/_r_e_d_h_a_t_/_r_p_m_r_c _/_e_t_c_/_r_p_m_r_c _~_/_._r_p_m_r_c MMaaccrroo CCoonnffiigguurraattiioonn _/_u_s_r_/_l_i_b_/_r_p_m_/_m_a_c_r_o_s _/_u_s_r_/_l_i_b_/_r_p_m_/_r_e_d_h_a_t_/_m_a_c_r_o_s _/_e_t_c_/_r_p_m_/_m_a_c_r_o_s _~_/_._r_p_m_m_a_c_r_o_s DDaattaabbaassee _/_v_a_r_/_l_i_b_/_r_p_m_/_B_a_s_e_n_a_m_e_s _/_v_a_r_/_l_i_b_/_r_p_m_/_C_o_n_f_l_i_c_t_n_a_m_e _/_v_a_r_/_l_i_b_/_r_p_m_/_D_i_r_n_a_m_e_s _/_v_a_r_/_l_i_b_/_r_p_m_/_F_i_l_e_m_d_5_s _/_v_a_r_/_l_i_b_/_r_p_m_/_G_r_o_u_p _/_v_a_r_/_l_i_b_/_r_p_m_/_I_n_s_t_a_l_l_t_i_d _/_v_a_r_/_l_i_b_/_r_p_m_/_N_a_m_e _/_v_a_r_/_l_i_b_/_r_p_m_/_P_a_c_k_a_g_e_s _/_v_a_r_/_l_i_b_/_r_p_m_/_P_r_o_v_i_d_e_n_a_m_e _/_v_a_r_/_l_i_b_/_r_p_m_/_P_r_o_v_i_d_e_v_e_r_s_i_o_n _/_v_a_r_/_l_i_b_/_r_p_m_/_P_u_b_k_e_y_s _/_v_a_r_/_l_i_b_/_r_p_m_/_R_e_m_o_v_e_d _/_v_a_r_/_l_i_b_/_r_p_m_/_R_e_q_u_i_r_e_n_a_m_e _/_v_a_r_/_l_i_b_/_r_p_m_/_R_e_q_u_i_r_e_v_e_r_s_i_o_n _/_v_a_r_/_l_i_b_/_r_p_m_/_S_h_a_1_h_e_a_d_e_r _/_v_a_r_/_l_i_b_/_r_p_m_/_S_i_g_m_d_5 _/_v_a_r_/_l_i_b_/_r_p_m_/_T_r_i_g_g_e_r_n_a_m_e TTeemmppoorraarryy _/_v_a_r_/_t_m_p_/_r_p_m_* SSEEEE AALLSSOO ppoopptt(3), rrppmm22ccppiioo(8), ggeennddiiffff(1), rrppmm(8), hhttttpp::////wwwwww..rrppmm..oorrgg// <> AAUUTTHHOORRSS Marc Ewing Jeff Johnson Erik Troan Red Hat, Inc. 09 June 2002 RPMBUILD(8) -------------- next part -------------- RPM(8) Red Hat Linux RPM(8) NNAAMMEE rpm - RPM Package Manager SSYYNNOOPPSSIISS QQUUEERRYYIINNGG AANNDD VVEERRIIFFYYIINNGG PPAACCKKAAGGEESS:: rrppmm {--qq||----qquueerryy} [sseelleecctt--ooppttiioonnss] [qquueerryy--ooppttiioonnss] rrppmm {--VV||----vveerriiffyy} [sseelleecctt--ooppttiioonnss] [vveerriiffyy--ooppttiioonnss] rrppmm ----iimmppoorrtt _P_U_B_K_E_Y _._._. rrppmm {--KK||----cchheecckkssiigg} [----nnoossiiggnnaattuurree] [----nnooddiiggeesstt] _P_A_C_K_A_G_E___F_I_L_E _._._. IINNSSTTAALLLLIINNGG,, UUPPGGRRAADDIINNGG,, AANNDD RREEMMOOVVIINNGG PPAACCKKAAGGEESS:: rrppmm {--ii||----iinnssttaallll} [iinnssttaallll--ooppttiioonnss] _P_A_C_K_A_G_E___F_I_L_E _._._. rrppmm {--UU||----uuppggrraaddee} [iinnssttaallll--ooppttiioonnss] _P_A_C_K_A_G_E___F_I_L_E _._._. rrppmm {--FF||----ffrreesshheenn} [iinnssttaallll--ooppttiioonnss] _P_A_C_K_A_G_E___F_I_L_E _._._. rrppmm {--ee||----eerraassee} [----aallllmmaattcchheess] [----nnooddeeppss] [----nnoossccrriippttss] [----nnoottrriiggggeerrss] [----rreeppaacckkaaggee] [----tteesstt] _P_A_C_K_A_G_E___N_A_M_E _._._. MMIISSCCEELLLLAANNEEOOUUSS:: rrppmm {----iinniittddbb||----rreebbuuiillddddbb} rrppmm {----aaddddssiiggnn||----rreessiiggnn} _P_A_C_K_A_G_E___F_I_L_E _._._. rrppmm {----qquueerryyttaaggss||----sshhoowwrrcc} rrppmm {----sseettppeerrmmss||----sseettuuggiiddss} _P_A_C_K_A_G_E___N_A_M_E _._._. sseelleecctt--ooppttiioonnss [_P_A_C_K_A_G_E___N_A_M_E] [--aa,,----aallll] [--ff,,----ffiillee _F_I_L_E] [--gg,,----ggrroouupp _G_R_O_U_P] {--pp,,----ppaacckkaaggee _P_A_C_K_A_G_E___F_I_L_E] [----ffiilleeiidd _M_D_5] [----hhddrriidd _S_H_A_1] [----ppkkggiidd _M_D_5] [----ttiidd _T_I_D] [----qquueerryybbyynnuummbbeerr _H_D_R_N_U_M] [----ttrriiggggeerreeddbbyy _P_A_C_K_A_G_E___N_A_M_E] [----wwhhaattpprroovviiddeess _C_A_P_A_B_I_L_I_T_Y] [----wwhhaattrreeqquuiirreess _C_A_P_A_B_I_L_I_T_Y] qquueerryy--ooppttiioonnss [----cchhaannggeelloogg] [--cc,,----ccoonnffiiggffiilleess] [--dd,,----ddooccffiilleess] [----dduummpp] [----ffiilleessbbyyppkkgg] [--ii,,----iinnffoo] [----llaasstt] [--ll,,----lliisstt] [----pprroovviiddeess] [----qqff,,----qquueerryyffoorrmmaatt _Q_U_E_R_Y_F_M_T] [--RR,,----rreeqquuiirreess] [----ssccrriippttss] [--ss,,----ssttaattee] [----ttrriiggggeerrss,,----ttrriiggggeerrssccrriippttss] vveerriiffyy--ooppttiioonnss [----nnooddeeppss] [----nnooffiilleess] [----nnoossccrriippttss] [----nnooddiiggeesstt] [----nnoossiiggnnaattuurree] [----nnoolliinnkkttoo] [----nnoommdd55] [----nnoossiizzee] [----nnoouusseerr] [----nnooggrroouupp] [----nnoommttiimmee] [----nnoommooddee] [----nnoorrddeevv] iinnssttaallll--ooppttiioonnss [----aaiidd] [----aallllffiilleess] [----bbaaddrreelloocc] [----eexxcclluuddeeppaatthh _O_L_D_P_A_T_H] [----eexxcclluuddeeddooccss] [----ffoorrccee] [--hh,,----hhaasshh] [----iiggnnoorreessiizzee] [----iiggnnoorreeaarrcchh] [----iiggnnoorreeooss] [----iinncclluuddeeddooccss] [----jjuussttddbb] [----nnooddeeppss] [----nnooddiiggeesstt] [----nnoossiiggnnaattuurree] [----nnoossuuggggeesstt] [----nnoooorrddeerr] [----nnoossccrriippttss] [----nnoottrriiggggeerrss] [----oollddppaacckkaaggee] [----ppeerrcceenntt] [----pprreeffiixx _N_E_W_P_A_T_H] [----rreellooccaattee _O_L_D_P_A_T_H==_N_E_W_P_A_T_H] [----rreeppaacckkaaggee] [----rreeppllaacceeffiilleess] [----rreeppllaacceeppkkggss] [----tteesstt] DDEESSCCRRIIPPTTIIOONN rrppmm is a powerful PPaacckkaaggee MMaannaaggeerr, which can be used to build, install, query, verify, update, and erase individual software packages. A ppaacckk-- aaggee consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. PPaacckkaaggeess come in two varieties: binary packages, used to encapsulate software to be installed, and source packages, containing the source code and recipe necessary to produce binary packages. One of the following basic modes must be selected: QQuueerryy, VVeerriiffyy, SSiigg-- nnaattuurree CChheecckk, IInnssttaallll//UUppggrraaddee//FFrreesshheenn, UUnniinnssttaallll, IInniittiiaalliizzee DDaattaabbaassee, RReebbuuiilldd DDaattaabbaassee, RReessiiggnn, AAdddd SSiiggnnaattuurree, SSeett OOwwnneerrss//GGrroouuppss, SShhooww QQuueerryy-- ttaaggss, and SShhooww CCoonnffiigguurraattiioonn. GGEENNEERRAALL OOPPTTIIOONNSS These options can be used in all the different modes. --??,, ----hheellpp Print a longer usage message then normal. ----vveerrssiioonn Print a single line containing the version number of rrppmm being used. ----qquuiieett Print as little as possible - normally only error messages will be displayed. --vv Print verbose information - normally routine progress messages will be displayed. --vvvv Print lots of ugly debugging information. ----rrccffiillee _F_I_L_E_L_I_S_T Each of the files in the colon separated _F_I_L_E_L_I_S_T is read sequentially by rrppmm for configuration information. Only the first file in the list must exist, and tildes will be expanded to the value of $$HHOOMMEE. The default _F_I_L_E_L_I_S_T is _/_u_s_r_/_l_i_b_/_r_p_m_/_r_p_m_r_c:_/_u_s_r_/_l_i_b_/_r_p_m_/_r_e_d_- _h_a_t_/_r_p_m_r_c:_/_e_t_c_/_r_p_m_r_c:_~_/_._r_p_m_r_c. ----ppiippee _C_M_D Pipes the output of rrppmm to the command _C_M_D. ----ddbbppaatthh _D_I_R_E_C_T_O_R_Y Use the database in _D_I_R_E_C_T_O_R_Y rather than the default path _/_v_a_r_/_l_i_b_/_r_p_m ----rroooott _D_I_R_E_C_T_O_R_Y Use the file system tree rooted at _D_I_R_E_C_T_O_R_Y for all operations. Note that this means the database within _D_I_R_E_C_T_O_R_Y will be used for dependency checks and any scriptlet(s) (e.g. %%ppoosstt if installing, or %%pprreepp if building, a package) will be run after a chroot(2) to _D_I_R_E_C_T_O_R_Y. IINNSSTTAALLLL AANNDD UUPPGGRRAADDEE OOPPTTIIOONNSS The general form of an rpm install command is rrppmm {--ii||----iinnssttaallll} [iinnssttaallll--ooppttiioonnss] _P_A_C_K_A_G_E___F_I_L_E _._._. This installs a new package. The general form of an rpm upgrade command is rrppmm {--UU||----uuppggrraaddee} [iinnssttaallll--ooppttiioonnss] _P_A_C_K_A_G_E___F_I_L_E _._._. This upgrades or installs the package currently installed to a newer version. This is the same as install, except all other version(s) of the package are removed after the new package is installed. rrppmm {--FF||----ffrreesshheenn} [iinnssttaallll--ooppttiioonnss] _P_A_C_K_A_G_E___F_I_L_E _._._. This will upgrade packages, but only if an earlier version currently exists. The _P_A_C_K_A_G_E___F_I_L_E may be specified as an ffttpp or hhttttpp URL, in which case the package will be downloaded before being installed. See FFTTPP//HHTTTTPP OOPPTTIIOONNSS for information on rrppmm?s internal ffttpp and hhttttpp client support. ----aaiidd Add suggested packages to the transaction set when needed. ----aallllffiilleess Installs or upgrades all the missingok files in the package, regardless if they exist. ----bbaaddrreelloocc Used with ----rreellooccaattee, permit relocations on all file paths, not just those _O_L_D_P_A_T_H?s included in the binary package relocation hint(s). ----eexxcclluuddeeppaatthh _O_L_D_P_A_T_H Don?t install files whose name begins with _O_L_D_P_A_T_H. ----eexxcclluuddeeddooccss Don?t install any files which are marked as documentation (which includes man pages and texinfo documents). ----ffoorrccee Same as using ----rreeppllaacceeppkkggss, ----rreeppllaacceeffiilleess, and ----oollddppaacckkaaggee. --hh,, ----hhaasshh Print 50 hash marks as the package archive is unpacked. Use with --vv||----vveerrbboossee for a nicer display. ----iiggnnoorreessiizzee Don?t check mount file systems for sufficient disk space before installing this package. ----iiggnnoorreeaarrcchh Allow installation or upgrading even if the architectures of the binary package and host don?t match. ----iiggnnoorreeooss Allow installation or upgrading even if the operating systems of the binary package and host don?t match. ----iinncclluuddeeddooccss Install documentation files. This is the default behavior. ----jjuussttddbb Update only the database, not the filesystem. ----nnooddiiggeesstt Don?t verify package or header digests when reading. ----nnoossiiggnnaattuurree Don?t verify package or header signatures when reading. ----nnooddeeppss Don?t do a dependency check before installing or upgrading a package. ----nnoossuuggggeesstt Don?t suggest package(s) that provide a missing dependency. ----nnoooorrddeerr Don?t reorder the packages for an install. The list of packages would normally be reordered to satisfy dependencies. ----nnoossccrriippttss ----nnoopprree ----nnooppoosstt ----nnoopprreeuunn ----nnooppoossttuunn Don?t execute the scriptlet of the same name. The ----nnoossccrriippttss option is equivalent to ----nnoopprree ----nnooppoosstt ----nnoopprreeuunn ----nnooppoossttuunn and turns off the execution of the corresponding %%pprree, %%ppoosstt, %%pprreeuunn, and %%ppoossttuunn scriptlet(s). ----nnoottrriiggggeerrss ----nnoottrriiggggeerriinn ----nnoottrriiggggeerruunn ----nnoottrriiggggeerrppoossttuunn Don?t execute any trigger scriptlet of the named type. The ----nnoottrriiggggeerrss option is equivalent to ----nnoottrriiggggeerriinn ----nnoottrriiggggeerruunn ----nnoottrriiggggeerrppoossttuunn and turns off execution of the corresponding %%ttrriiggggeerriinn, %%ttrriigg-- ggeerruunn, and %%ttrriiggggeerrppoossttuunn scriptlet(s). ----oollddppaacckkaaggee Allow an upgrade to replace a newer package with an older one. ----ppeerrcceenntt Print percentages as files are unpacked from the package archive. This is intended to make rrppmm easy to run from other tools. ----pprreeffiixx _N_E_W_P_A_T_H For relocatable binary packages, translate all file paths that start with the installation prefix in the package relocation hint(s) to _N_E_W_P_A_T_H. ----rreellooccaattee _O_L_D_P_A_T_H==_N_E_W_P_A_T_H For relocatable binary packages, translate all file paths that start with _O_L_D_P_A_T_H in the package relocation hint(s) to _N_E_W_P_A_T_H. This option can be used repeatedly if several _O_L_D_P_A_T_H?s in the package are to be relocated. ----rreeppaacckkaaggee Re-package the files before erasing. The previously installed package will be named according to the macro %%__rreeppaacckk-- aaggee__nnaammee__ffmmtt and will be created in the directory named by the macro %%__rreeppaacckkaaggee__ddiirr (default value is _/_v_a_r_/_s_p_o_o_l_/_r_e_p_a_c_k_a_g_e). ----rreeppllaacceeffiilleess Install the packages even if they replace files from other, already installed, packages. ----rreeppllaacceeppkkggss Install the packages even if some of them are already installed on this system. ----tteesstt Do not install the package, simply check for and report poten- tial conflicts. EERRAASSEE OOPPTTIIOONNSS The general form of an rpm erase command is rrppmm {--ee||----eerraassee} [----aallllmmaattcchheess] [----nnooddeeppss] [----nnoossccrriippttss] [----nnoottrriiggggeerrss] [----rreeppaacckkaaggee] [----tteesstt] _P_A_C_K_A_G_E___N_A_M_E _._._. The following options may also be used: ----aallllmmaattcchheess Remove all versions of the package which match _P_A_C_K_A_G_E___N_A_M_E. Normally an error is issued if _P_A_C_K_A_G_E___N_A_M_E matches multiple packages. ----nnooddeeppss Don?t check dependencies before uninstalling the packages. ----nnoossccrriippttss ----nnoopprreeuunn ----nnooppoossttuunn Don?t execute the scriptlet of the same name. The ----nnoossccrriippttss option during package erase is equivalent to ----nnoopprreeuunn ----nnooppoossttuunn and turns off the execution of the corresponding %%pprreeuunn, and %%ppoossttuunn scriptlet(s). ----nnoottrriiggggeerrss ----nnoottrriiggggeerruunn ----nnoottrriiggggeerrppoossttuunn Don?t execute any trigger scriptlet of the named type. The ----nnoottrriiggggeerrss option is equivalent to ----nnoottrriiggggeerruunn ----nnoottrriiggggeerrppoossttuunn and turns off execution of the corresponding %%ttrriiggggeerruunn, and %%ttrriiggggeerrppoossttuunn scriptlet(s). ----rreeppaacckkaaggee Re-package the files before erasing. The previously installed package will be named according to the macro %%__rreeppaacckk-- aaggee__nnaammee__ffmmtt and will be created in the directory named by the macro %%__rreeppaacckkaaggee__ddiirr (default value is _/_v_a_r_/_s_p_o_o_l_/_r_e_p_a_c_k_a_g_e). ----tteesstt Don?t really uninstall anything, just go through the motions. Useful in conjunction with the --vvvv option for debugging. QQUUEERRYY OOPPTTIIOONNSS The general form of an rpm query command is rrppmm {--qq||----qquueerryy} [sseelleecctt--ooppttiioonnss] [qquueerryy--ooppttiioonnss] You may specify the format that package information should be printed in. To do this, you use the ----qqff||----qquueerryyffoorrmmaatt _Q_U_E_R_Y_F_M_T option, followed by the _Q_U_E_R_Y_F_M_T format string. Query formats are mod- ified versions of the standard pprriinnttff((33)) formatting. The format is made up of static strings (which may include standard C character escapes for newlines, tabs, and other special characters) and pprriinnttff((33)) type formatters. As rrppmm already knows the type to print, the type specifier must be omitted however, and replaced by the name of the header tag to be printed, enclosed by {{}} characters. Tag names are case insensitive, and the leading RRPPMMTTAAGG__ portion of the tag name may be omitted as well. Alternate output formats may be requested by following the tag with ::_t_y_p_e_t_a_g. Currently, the following types are supported: ::aarrmmoorr Wrap a public key in ASCII armor. ::bbaassee6644 Encode binary data using base64. ::ddaattee Use strftime(3) "%c" format. ::ddaayy Use strftime(3) "%a %b %d %Y" format. ::ddeeppffllaaggss Format dependency flags. ::ffffllaaggss Format file flags. ::hheexx Format in hexadecimal. ::ooccttaall Format in octal. ::ppeerrmmss Format file permissions. ::sshheessccaappee Escape single quotes for use in a script. ::ttrriiggggeerrttyyppee Display trigger suffix. For example, to print only the names of the packages queried, you could use %%{{NNAAMMEE}} as the format string. To print the packages name and dis- tribution information in two columns, you could use %%--3300{{NNAAMMEE}}%%{{DDIISSTTRRII-- BBUUTTIIOONN}}. rrppmm will print a list of all of the tags it knows about when it is invoked with the ----qquueerryyttaaggss argument. There are two subsets of options for querying: package selection, and information selection. PPAACCKKAAGGEE SSEELLEECCTTIIOONN OOPPTTIIOONNSS:: _P_A_C_K_A_G_E___N_A_M_E Query installed package named _P_A_C_K_A_G_E___N_A_M_E. --aa,, ----aallll Query all installed packages. --ff,, ----ffiillee _F_I_L_E Query package owning _F_I_L_E. ----ffiilleeiidd _M_D_5 Query package that contains a given file identifier, i.e. the _M_D_5 digest of the file contents. --gg,, ----ggrroouupp _G_R_O_U_P Query packages with the group of _G_R_O_U_P. ----hhddrriidd _S_H_A_1 Query package that contains a given header identifier, i.e. the _S_H_A_1 digest of the immutable header region. --pp,, ----ppaacckkaaggee _P_A_C_K_A_G_E___F_I_L_E Query an (uninstalled) package _P_A_C_K_A_G_E___F_I_L_E. The _P_A_C_K_A_G_E___F_I_L_E may be specified as an ffttpp or hhttttpp style URL, in which case the package header will be downloaded and queried. See FFTTPP//HHTTTTPP OOPPTTIIOONNSS for information on rrppmm?s internal ffttpp and hhttttpp client support. The _P_A_C_K_A_G_E___F_I_L_E argument(s), if not a binary package, will be interpreted as an ASCII package manifest. Comments are permitted, starting with a ?#?, and each line of a package mani- fest file may include white space separated glob expressions, including URL?s with remote glob expressions, that will be expanded to paths that are substituted in place of the package manifest as additional _P_A_C_K_A_G_E___F_I_L_E arguments to the query. ----ppkkggiidd _M_D_5 Query package that contains a given package identifier, i.e. the _M_D_5 digest of the combined header and payload contents. ----qquueerryybbyynnuummbbeerr _H_D_R_N_U_M Query the _H_D_R_N_U_Mth database entry directly; this is useful only for debugging. ----ssppeeccffiillee _S_P_E_C_F_I_L_E Parse and query _S_P_E_C_F_I_L_E as if it were a package. Although not all the information (e.g. file lists) is available, this type of query permits rpm to be used to extract information from spec files without having to write a specfile parser. ----ttiidd _T_I_D Query package(s) that have a given _T_I_D transaction identifier. A unix time stamp is currently used as a transaction identifier. All package(s) installed or erased within a single transaction have a common identifier. ----ttrriiggggeerreeddbbyy _P_A_C_K_A_G_E___N_A_M_E Query packages that are triggered by package(s) _P_A_C_K_A_G_E___N_A_M_E. ----wwhhaattpprroovviiddeess _C_A_P_A_B_I_L_I_T_Y Query all packages that provide the _C_A_P_A_B_I_L_I_T_Y capability. ----wwhhaattrreeqquuiirreess _C_A_P_A_B_I_L_I_T_Y Query all packages that requires _C_A_P_A_B_I_L_I_T_Y for proper function- ing. PPAACCKKAAGGEE QQUUEERRYY OOPPTTIIOONNSS:: ----cchhaannggeelloogg Display change information for the package. --cc,, ----ccoonnffiiggffiilleess List only configuration files (implies --ll). --dd,, ----ddooccffiilleess List only documentation files (implies --ll). ----dduummpp Dump file information as follows: path size mtime md5sum mode owner group isconfig isdoc rdev symlink This option must be used with at least one of --ll, --cc, --dd. ----ffiilleessbbyyppkkgg List all the files in each selected package. --ii,, ----iinnffoo Display package information, including name, version, and description. This uses the ----qquueerryyffoorrmmaatt if one was specified. ----llaasstt Orders the package listing by install time such that the latest packages are at the top. --ll,, ----lliisstt List files in package. ----pprroovviiddeess List capabilities this package provides. --RR,, ----rreeqquuiirreess List packages on which this package depends. ----ssccrriippttss List the package specific scriptlet(s) that are used as part of the installation and uninstallation processes. --ss,, ----ssttaattee Display the _s_t_a_t_e_s of files in the package (implies --ll). The state of each file is one of _n_o_r_m_a_l, _n_o_t _i_n_s_t_a_l_l_e_d, or _r_e_p_l_a_c_e_d. ----ttrriiggggeerrss,, ----ttrriiggggeerrssccrriippttss Display the trigger scripts, if any, which are contained in the package. VVEERRIIFFYY OOPPTTIIOONNSS The general form of an rpm verify command is rrppmm {--VV||----vveerriiffyy} [sseelleecctt--ooppttiioonnss] [vveerriiffyy--ooppttiioonnss] Verifying a package compares information about the installed files in the package with information about the files taken from the package metadata stored in the rpm database. Among other things, verifying compares the size, MD5 sum, permissions, type, owner and group of each file. Any discrepancies are displayed. Files that were not installed from the package, for example, documentation files excluded on instal- lation using the "----eexxcclluuddeeddooccss" option, will be silently ignored. The package selection options are the same as for package querying (including package manifest files as arguments). Other options unique to verify mode are: ----nnooddeeppss Don?t verify dependencies of packages. ----nnooddiiggeesstt Don?t verify package or header digests when reading. ----nnooffiilleess Don?t verify any attributes of package files. ----nnoossccrriippttss Don?t execute the %%vveerriiffyyssccrriipptt scriptlet (if any). ----nnoossiiggnnaattuurree Don?t verify package or header signatures when reading. ----nnoolliinnkkttoo ----nnoommdd55 ----nnoossiizzee ----nnoouusseerr ----nnooggrroouupp ----nnoommttiimmee ----nnoommooddee ----nnoorrddeevv Don?t verify the corresponding file attribute. The format of the output is a string of 8 characters, a possible attribute marker: cc %%ccoonnffiigg configuration file. dd %%ddoocc documentation file. gg %%gghhoosstt file (i.e. the file contents are not included in the package payload). ll %%lliicceennssee license file. rr %%rreeaaddmmee readme file. from the package header, followed by the file name. Each of the 8 characters denotes the result of a comparison of attribute(s) of the file to the value of those attribute(s) recorded in the database. A single ".." (period) means the test passed, while a single "??" (question mark) indicates the test could not be performed (e.g. file permissions prevent reading). Otherwise, the (mnemonically emBBoldened) character denotes failure of the corresponding ----vveerriiffyy test: SS file SSize differs MM MMode differs (includes permissions and file type) 55 MD55 sum differs DD DDevice major/minor number mismatch LL readLLink(2) path mismatch UU UUser ownership differs GG GGroup ownership differs TT mTTime differs DDIIGGIITTAALL SSIIGGNNAATTUURREE AANNDD DDIIGGEESSTT VVEERRIIFFIICCAATTIIOONN The general forms of rpm digital signature commands are rrppmm ----iimmppoorrtt _P_U_B_K_E_Y _._._. rrppmm {----cchheecckkssiigg} [----nnoossiiggnnaattuurree] [----nnooddiiggeesstt] _P_A_C_K_A_G_E___F_I_L_E _._._. The ----cchheecckkssiigg option checks all the digests and signatures contained in _P_A_C_K_A_G_E___F_I_L_E to ensure the integrity and origin of the package. Note that signatures are now verified whenever a package is read, and ----cchheecckkssiigg is useful to verify all of the digests and signatures asso- ciated with a package. Digital signatures cannot be verified without a public key. An ASCII armored public key can be added to the rrppmm database using ----iimmppoorrtt. An imported public key is carried in a header, and key ring management is performed exactly like package management. For example, all currently imported public keys can be displayed by: rrppmm --qqaa ggppgg--ppuubbkkeeyy** Details about a specific public key, when imported, can be displayed by querying. Here?s information about the Red Hat GPG/DSA key: rrppmm --qqii ggppgg--ppuubbkkeeyy--ddbb4422aa6600ee Finally, public keys can be erased after importing just like packages. Here?s how to remove the Red Hat GPG/DSA key rrppmm --ee ggppgg--ppuubbkkeeyy--ddbb4422aa6600ee SSIIGGNNIINNGG AA PPAACCKKAAGGEE rrppmm ----aaddddssiiggnn||----rreessiiggnn _P_A_C_K_A_G_E___F_I_L_E _._._. Both of the ----aaddddssiiggnn and ----rreessiiggnn options generate and insert new sig- natures for each package _P_A_C_K_A_G_E___F_I_L_E given, replacing any existing signatures. There are two options for historical reasons, there is no difference in behavior currently. UUSSIINNGG GGPPGG TTOO SSIIGGNN PPAACCKKAAGGEESS In order to sign packages using GPG, rrppmm must be configured to run GPG and be able to find a key ring with the appropriate keys. By default, rrppmm uses the same conventions as GPG to find key rings, namely the $$GGNNUUPPGGHHOOMMEE environment variable. If your key rings are not located where GPG expects them to be, you will need to configure the macro %%__ggppgg__ppaatthh to be the location of the GPG key rings to use. For compatibility with older versions of GPG, PGP, and rpm, only V3 OpenPGP signature packets should be configured. Either DSA or RSA ver- ification algorithms can be used, but DSA is preferred. If you want to be able to sign packages you create yourself, you also need to create your own public and secret key pair (see the GPG man- ual). You will also need to configure the rrppmm macros %%__ssiiggnnaattuurree The signature type. Right now only gpg and pgp are supported. %%__ggppgg__nnaammee The name of the "user" whose key you wish to use to sign your packages. For example, to be able to use GPG to sign packages as the user _"_J_o_h_n _D_o_e _<_j_d_o_e_@...503...f_o_o_._c_o_m_>_" from the key rings located in _/_e_t_c_/_r_p_m_/_._g_p_g using the executable _/_u_s_r_/_b_i_n_/_g_p_g you would include %_signature gpg %_gpg_path /etc/rpm/.gpg %_gpg_name John Doe %_gpgbin /usr/bin/gpg in a macro configuration file. Use _/_e_t_c_/_r_p_m_/_m_a_c_r_o_s for per-system con- figuration and _~_/_._r_p_m_m_a_c_r_o_s for per-user configuration. RREEBBUUIILLDD DDAATTAABBAASSEE OOPPTTIIOONNSS The general form of an rpm rebuild database command is rrppmm {----iinniittddbb||----rreebbuuiillddddbb} [--vv] [----ddbbppaatthh _D_I_R_E_C_T_O_R_Y] [----rroooott _D_I_R_E_C_T_O_R_Y] Use ----iinniittddbb to create a new database, use ----rreebbuuiillddddbb to rebuild the database indices from the installed package headers. SSHHOOWWRRCC The command rrppmm ----sshhoowwrrcc shows the values rrppmm will use for all of the options are currently set in _r_p_m_r_c and _m_a_c_r_o_s configuration file(s). FFTTPP//HHTTTTPP OOPPTTIIOONNSS rrppmm can act as an FTP and/or HTTP client so that packages can be queried or installed from the internet. Package files for install, upgrade, and query operations may be specified as an ffttpp or hhttttpp style URL: ftp://USER:PASSWORD at ...505...:PORT/path/to/package.rpm If the ::PPAASSSSWWOORRDD portion is omitted, the password will be prompted for (once per user/hostname pair). If both the user and password are omit- ted, anonymous ffttpp is used. In all cases, passive (PASV) ffttpp transfers are performed. rrppmm allows the following options to be used with ftp URLs: ----ffttpppprrooxxyy _H_O_S_T The host _H_O_S_T will be used as a proxy server for all ftp trans- fers, which allows users to ftp through firewall machines which use proxy systems. This option may also be specified by config- uring the macro %%__ffttpppprrooxxyy. ----ffttppppoorrtt _P_O_R_T The TCP _P_O_R_T number to use for the ftp connection on the proxy ftp server instead of the default port. This option may also be specified by configuring the macro %%__ffttppppoorrtt. rrppmm allows the following options to be used with hhttttpp URLs: ----hhttttpppprrooxxyy _H_O_S_T The host _H_O_S_T will be used as a proxy server for all hhttttpp trans- fers. This option may also be specified by configuring the macro %%__hhttttpppprrooxxyy. ----hhttttppppoorrtt _P_O_R_T The TCP _P_O_R_T number to use for the hhttttpp connection on the proxy http server instead of the default port. This option may also be specified by configuring the macro %%__hhttttppppoorrtt. LLEEGGAACCYY IISSSSUUEESS EExxeeccuuttiinngg rrppmmbbuuiilldd The build modes of rpm are now resident in the _/_u_s_r_/_b_i_n_/_r_p_m_b_u_i_l_d exe- cutable. Although legacy compatibility provided by the popt aliases below has been adequate, the compatibility is not perfect; hence build mode compatibility through popt aliases is being removed from rpm. Install the rrppmmbbuuiilldd package, and see rrppmmbbuuiilldd(8) for documentation of all the rrppmm build modes previously documented here in rrppmm(8). Add the following lines to _/_e_t_c_/_p_o_p_t if you wish to continue invoking rrppmmbbuuiilldd from the rrppmm command line: rpm exec --bp rpmb -bp rpm exec --bc rpmb -bc rpm exec --bi rpmb -bi rpm exec --bl rpmb -bl rpm exec --ba rpmb -ba rpm exec --bb rpmb -bb rpm exec --bs rpmb -bs rpm exec --tp rpmb -tp rpm exec --tc rpmb -tc rpm exec --ti rpmb -ti rpm exec --tl rpmb -tl rpm exec --ta rpmb -ta rpm exec --tb rpmb -tb rpm exec --ts rpmb -ts rpm exec --rebuild rpmb --rebuild rpm exec --recompile rpmb --recompile rpm exec --clean rpmb --clean rpm exec --rmsource rpmb --rmsource rpm exec --rmspec rpmb --rmspec rpm exec --target rpmb --target rpm exec --short-circuit rpmb --short-circuit FFIILLEESS rrppmmrrcc CCoonnffiigguurraattiioonn _/_u_s_r_/_l_i_b_/_r_p_m_/_r_p_m_r_c _/_u_s_r_/_l_i_b_/_r_p_m_/_r_e_d_h_a_t_/_r_p_m_r_c _/_e_t_c_/_r_p_m_r_c _~_/_._r_p_m_r_c MMaaccrroo CCoonnffiigguurraattiioonn _/_u_s_r_/_l_i_b_/_r_p_m_/_m_a_c_r_o_s _/_u_s_r_/_l_i_b_/_r_p_m_/_r_e_d_h_a_t_/_m_a_c_r_o_s _/_e_t_c_/_r_p_m_/_m_a_c_r_o_s _~_/_._r_p_m_m_a_c_r_o_s DDaattaabbaassee _/_v_a_r_/_l_i_b_/_r_p_m_/_B_a_s_e_n_a_m_e_s _/_v_a_r_/_l_i_b_/_r_p_m_/_C_o_n_f_l_i_c_t_n_a_m_e _/_v_a_r_/_l_i_b_/_r_p_m_/_D_i_r_n_a_m_e_s _/_v_a_r_/_l_i_b_/_r_p_m_/_F_i_l_e_m_d_5_s _/_v_a_r_/_l_i_b_/_r_p_m_/_G_r_o_u_p _/_v_a_r_/_l_i_b_/_r_p_m_/_I_n_s_t_a_l_l_t_i_d _/_v_a_r_/_l_i_b_/_r_p_m_/_N_a_m_e _/_v_a_r_/_l_i_b_/_r_p_m_/_P_a_c_k_a_g_e_s _/_v_a_r_/_l_i_b_/_r_p_m_/_P_r_o_v_i_d_e_n_a_m_e _/_v_a_r_/_l_i_b_/_r_p_m_/_P_r_o_v_i_d_e_v_e_r_s_i_o_n _/_v_a_r_/_l_i_b_/_r_p_m_/_P_u_b_k_e_y_s _/_v_a_r_/_l_i_b_/_r_p_m_/_R_e_m_o_v_e_d _/_v_a_r_/_l_i_b_/_r_p_m_/_R_e_q_u_i_r_e_n_a_m_e _/_v_a_r_/_l_i_b_/_r_p_m_/_R_e_q_u_i_r_e_v_e_r_s_i_o_n _/_v_a_r_/_l_i_b_/_r_p_m_/_S_h_a_1_h_e_a_d_e_r _/_v_a_r_/_l_i_b_/_r_p_m_/_S_i_g_m_d_5 _/_v_a_r_/_l_i_b_/_r_p_m_/_T_r_i_g_g_e_r_n_a_m_e TTeemmppoorraarryy _/_v_a_r_/_t_m_p_/_r_p_m_* SSEEEE AALLSSOO ppoopptt(3), rrppmm22ccppiioo(8), rrppmmbbuuiilldd(8), hhttttpp::////wwwwww..rrppmm..oorrgg// <> AAUUTTHHOORRSS Marc Ewing Jeff Johnson Erik Troan Red Hat, Inc. 09 June 2002 RPM(8) From bundeshund at ...467... Thu Jun 24 16:15:37 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 24 Jun 2004 16:15:37 +0200 Subject: [Gambas-user] how to build a menu In-Reply-To: <200406232136.39916.mbergmann-sh@...17...> References: <200406232015.12966.mbergmann-sh@...17...> <200406232040.46675.bundeshund@...467...> <200406232136.39916.mbergmann-sh@...17...> Message-ID: <200406241615.37668.bundeshund@...467...> Am Mittwoch, 23. Juni 2004 21:36 schrieb Michael Bergmann: > On Mittwoch, 23. Juni 2004 20:40 Hans-Martin Bundeshund wrote: > > Look at my attachment. Its a little example I wrote for you. I hope, it > > will make some things clearer. Fine! > > This made it bright and clear - thank you, Martin! > Anyhow - is there a possibility to get rid of that annoying, button-alike > thingy behind the menu letters? Behind or in front of it? If you mean the space in front of the text, i guess its for the selected-sign (the hook) you can see in the example by the 'Menu2->Select1'-Entry. Or did I get anything wrong? > > regards, > > Michael 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 carsten at ...500... Thu Jun 24 16:17:30 2004 From: carsten at ...500... (Carsten Olsen) Date: Thu, 24 Jun 2004 16:17:30 +0200 Subject: [Gambas-user] Problems with "Make installation packages" In-Reply-To: <200406231152.15808.sourceforge-raindog2@...94...> References: <1087998999.4047.15.camel@...499...> <200406231152.15808.sourceforge-raindog2@...94...> Message-ID: <1088086650.2951.9.camel@...499...> No, rpmbuild is installed :-/ Carsten On Wed, 2004-06-23 at 20:39, Rob wrote: > On Wednesday 23 June 2004 09:56, Carsten Olsen wrote: > > The package build has failed. > > -ba: unknown option > > Hmmm, looks like you're missing the rpmbuild program. On > Mandrake that's in the "rpm-build" package... try installing > Fedora's version of that? > > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smiley-9.png Type: image/png Size: 828 bytes Desc: not available URL: From bundeshund at ...467... Thu Jun 24 16:29:01 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 24 Jun 2004 16:29:01 +0200 Subject: [Gambas-user] compiling 0.94 under SuSE 9.1 In-Reply-To: <40da03c1.1d14.0@...9...> References: <40da03c1.1d14.0@...9...> Message-ID: <200406241629.01367.bundeshund@...467...> Am Donnerstag, 24. Juni 2004 02:27 schrieb na2492 at ...9...: ... > >Not really, but as I understand right, it is needed to have gambas > > installed > > > >for gambas-apps since 0.93b. (I hope I am not wrong) > > NO, each gambas version stand for it self, no other preinstalled older > versions are needed. Of course, I don't mean that I install x gambas versions, only the latest I need ;>) But at least you have to install _one_ gambas version for runtime? Or can you just install the compiled application without gambas is installed? ... > Untar on each box the gambas-0.9x version and make the configure/make/make > install-thing how you call it. Yes, thanks. This is what I have done on that 4 different systems I talked from. regards, HM From g.brandl at ...18... Thu Jun 24 17:28:32 2004 From: g.brandl at ...18... (Georg Brandl) Date: Thu, 24 Jun 2004 17:28:32 +0200 Subject: [Gambas-user] Problems with "Make installation packages" In-Reply-To: <200406240130.05958.gambas@...1...> References: <1087998999.4047.15.camel@...499...> <200406240111.29250.gambas@...1...> <200406240130.05958.gambas@...1...> Message-ID: <40DAF320.8090903@...18...> Benoit Minisini wrote: > On Thursday 24 June 2004 01:11, Benoit Minisini wrote: >> On Wednesday 23 June 2004 15:56, Carsten Olsen wrote: >> > Hi >> > >> > I have tried the new function "Make installation packages""Make >> > installation packages". I tried to build RPM to Redhat / Fedora (on a >> > Fedora Core 2 box) but I get this message in the make... dialog. >> > >> > Creating package for Redhat /Fedora. >> > Creating source package. >> > Creating .spec file. >> > Creating RPM packages. >> > The package build has failed. >> > >> > -ba: unknown option >> > >> > Kind regards >> > Carsten Olsen >> >> Can you send me the result of "man rpm" on your Fedora ? > > Because if you read http://www.rpm.org/max-rpm/ch-rpm-b-command.html, the "rpm > -ba" means something! In the newer rpm versions, the build commands have been swapped out to a separate command, named "rpmbuild". It could be that the newer RPM versions (mine too, v4.2.1) do not understand the -ba switch. mfg Georg From g.brandl at ...18... Thu Jun 24 17:41:43 2004 From: g.brandl at ...18... (Georg Brandl) Date: Thu, 24 Jun 2004 17:41:43 +0200 Subject: [Gambas-user] Gentoo ebuilds Message-ID: <40DAF637.8090608@...18...> Hello Benoit, perhaps you could mention on the gambas website (on the download page) that gambas is in the gentoo portage tree (the ebuilds are maintained by Marius Mauch), so a simple "emerge gambas" is sufficient to install gambas on this distro. mfg Georg From daniel.campos at ...338... Thu Jun 24 18:30:19 2004 From: daniel.campos at ...338... (Daniel) Date: Thu, 24 Jun 2004 18:30:19 +0200 Subject: [Gambas-user] Question@...502... In-Reply-To: <200406241611.18629.bundeshund@...467...> References: <1087998999.4047.15.camel@...499...> <200406240111.29250.gambas@...1...> <200406240130.05958.gambas@...1...> <200406241611.18629.bundeshund@...467...> Message-ID: <1088094619.3246.2.camel@...40...> El jue, 24-06-2004 a las 16:11, Hans-Martin Bundeshund escribi?: > Hello Benoit! > > Is it a problem to attach an example an post it via this group? Or does it > maybe make higher costs for you or someone else? Don't want to make something > bad for you/gambas-group. There's no problem with little files, however there's a limit in the attachments size... I do not remember very well, may be 160 bK or something like this. Think also that you can put examples in the gambas wiki at binara.com, so anybody can read it in that web site. Regards, Daniel Campos > > regards, > > HM > > > PS: If you are thirsty, give me a sign! ;) > > > ------------------------------------------------------- > 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 carsten at ...500... Thu Jun 24 20:39:20 2004 From: carsten at ...500... (Carsten Olsen) Date: Thu, 24 Jun 2004 20:39:20 +0200 Subject: [Gambas-user] Problems with "Make installation packages" In-Reply-To: <40DAF320.8090903@...18...> References: <1087998999.4047.15.camel@...499...> <200406240111.29250.gambas@...1...> <200406240130.05958.gambas@...1...> <40DAF320.8090903@...18...> Message-ID: <1088102360.29758.11.camel@...499...> I tried to change the Package.module (attached), the shell at line 320 from rpm to rpmbuild. It looks like, it did the job (for rpm-4.3.1-0.3 / rpmbuild-4.3.1-0.3) SHELL "rpmbuild -ba " & Project.Quote(sHome &/ "RPM/SPECS" &/ sName & ".spec") & " > " & Project.Quote(sTemp) & " 2>&1" WAIT Carsten On Thu, 2004-06-24 at 17:28, Georg Brandl wrote: > Benoit Minisini wrote: > > On Thursday 24 June 2004 01:11, Benoit Minisini wrote: > >> On Wednesday 23 June 2004 15:56, Carsten Olsen wrote: > >> > Hi > >> > > >> > I have tried the new function "Make installation packages""Make > >> > installation packages". I tried to build RPM to Redhat / Fedora (on a > >> > Fedora Core 2 box) but I get this message in the make... dialog. > >> > > >> > Creating package for Redhat /Fedora. > >> > Creating source package. > >> > Creating .spec file. > >> > Creating RPM packages. > >> > The package build has failed. > >> > > >> > -ba: unknown option > >> > > >> > Kind regards > >> > Carsten Olsen > >> > >> Can you send me the result of "man rpm" on your Fedora ? > > > > Because if you read http://www.rpm.org/max-rpm/ch-rpm-b-command.html, the "rpm > > -ba" means something! > > In the newer rpm versions, the build commands have been swapped out to a > separate command, named "rpmbuild". It could be that the newer RPM > versions (mine too, v4.2.1) do not understand the -ba switch. > > mfg > Georg > > > ------------------------------------------------------- > 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ' Gambas module file PUBLIC Name AS String PUBLIC Address AS String PUBLIC Path AS String PUBLIC Change AS String PRIVATE SUB AddLog(sText AS String) FMakeInstall.AddLog(sText) END PUBLIC FUNCTION Make() AS Boolean DIM sSys AS String FormatChange FOR EACH sSys IN Project.Systems IF MakePackage(sSys) THEN RETURN TRUE NEXT AddLog(("Saving CHANGELOG file.")) File.Save(Project.Dir &/ "CHANGELOG", Change) AddLog(("The packages have been successfully created.")) Message(("The packages have been successfully created.")) END PUBLIC FUNCTION GetChangeDate() AS String DIM sLang AS String DIM sDate AS String sLang = System.Language System.Language = "C" sDate = Format$(Now, "ddd mmm dd yyyy") & " " & Name & " " IF Address THEN sDate = sDate & "<" & Address & "> " sDate = sDate & Subst("&1.&2-&3", Project.MajorVersion, Project.MinorVersion, Project.ReleaseVersion) System.Language = sLang RETURN sDate END PRIVATE SUB FormatChange() DIM aLine AS String[] DIM sLine AS String aLine = Split(Change, "\n") Change = "" FOR EACH sLine IN aLine sLine = Trim(sLine) IF NOT sLine THEN CONTINUE IF Left(sLine) <> "-" THEN sLine = "- " & sLine Change = Change & sLine & "\n" NEXT Change = "* " & GetChangeDate() & "\n" & Change TRY Change = Change & "\n" & File.Load(Project.Dir &/ "CHANGELOG") END PRIVATE FUNCTION IsConsoleProject() AS Boolean DIM sLib AS String FOR EACH sLib IN Project.Libraries IF CComponent.All[sLib].Type = "Form" THEN RETURN FALSE NEXT RETURN TRUE END PRIVATE FUNCTION MakePackage(sSys AS String) AS Boolean DIM sName AS String DIM sProjectName AS String DIM sHome AS String DIM sSrc AS String DIM sDir AS String DIM sCmd AS String DIM hFile AS File DIM sArch AS String DIM sTemp AS String DIM sOutput AS String DIM sLang AS String DIM sPackage AS String DIM sVersionSuffix AS String DIM hIcon AS NEW Image DIM sIcon AS String DIM sPrefix AS String 'DIM bKillRpm AS Boolean DIM sDistribution AS String DIM sVendor AS String DIM bDebianMenu AS Boolean DIM bRedhatMenu AS Boolean DIM sRelease AS String INC Application.Busy SELECT CASE sSys CASE "mandrake" sDistribution = "MandrakeLinux" sVendor = "MandrakeSoft" bDebianMenu = TRUE sVersionSuffix = "mdk" CASE "debian" sDistribution = "Debian" sVendor = "Debian" bDebianMenu = TRUE CASE "redhat" sDistribution = "RedHat" sVendor = "RedHat" bRedhatMenu = TRUE END SELECT sProjectName = Conv(Project.Name, Desktop.Charset, System.Charset) IF Project.Prefix THEN sPrefix = "gambas-" sName = sPrefix & LCase(sProjectName) sHome = System.Home ' step 1, set up RPM dirs and macros if they're not there already AddLog(Subst(("Creating package for &1."), FMakeInstall.GetSystemName(sSys))) sLang = System.Language System.Language = "C" IF NOT Exist(sHome &/ "RPM") THEN AddLog(("Initializing ~/RPM directory.")) FOR EACH sCmd IN [ "RPM/", "RPM/BUILD/", "RPM/RPMS/", "RPM/SOURCES/", "RPM/SPECS/", "RPM/SRPMS/", "RPM/tmp/" ] TRY MKDIR sHome &/ sCmd NEXT ENDIF OPEN sHome &/ ".rpmmacros" FOR CREATE AS hFile PRINT #hFile, "%_topdir " & sHome &/ "RPM" PRINT #hFile, "%_tmppath " & sHome &/ "RPM/tmp" PRINT #hFile, "%distribution "; sDistribution PRINT #hFile, "%vendor "; sVendor PRINT #hFile, "%packager "; Name & "<" & Conv(Address, Desktop.Charset, System.Charset) & ">" PRINT #hFile, "%buildhost "; System.Host CLOSE #hFile ' step 2, write source tarball (with bzip) to SOURCES dir AddLog(("Creating source package.")) sSrc = sHome &/ "RPM/SOURCES" sDir = Project.Dir &/ ".icon" SHELL "rm -rf " & Project.Quote(sDir) WAIT TRY MKDIR sDir IF Project.Icon THEN hIcon.Load(Project.Dir &/ Project.Icon) ELSE hIcon.Load("img/gambas.png") ENDIF hIcon.Stretch(16, 16, TRUE).Save(sDir &/ "16.png") hIcon.Stretch(32, 32, TRUE).Save(sDir &/ "32.png") hIcon.Stretch(48, 48, TRUE).Save(sDir &/ "48.png") sArch = sSrc &/ (sPrefix & Subst("&1-&2.&3.tar.bz2", LCase(Project.Name), Project.MajorVersion, Project.MinorVersion, Project.ReleaseVersion)) Project.MakeSourcePackageTo(sArch) AddLog(("Creating .spec file.")) OPEN sHome &/ "RPM/SPECS" &/ sName & ".spec" FOR CREATE AS hFile PRINT #hFile, "%define name " & sName PRINT #hFile, "%define version " & Subst("&1.&2", Project.MajorVersion, Project.MinorVersion) sRelease = Project.ReleaseVersion & sVersionSuffix PRINT #hFile, "%define release "; sRelease PRINT #hFile PRINT #hFile, "Summary: " & IIf(Project.Title, Project.Title, "Gambas project " & Project.Name) PRINT #hFile, "Name: %{name}" PRINT #hFile, "Version: %{version}" PRINT #hFile, "Release: %{release}" PRINT #hFile, "Source0: %{name}-%{version}.tar.bz2" PRINT #hFile, "License: GPL" PRINT #hFile, "Group: " & Project.Groups[sSys] PRINT #hFile, "BuildRoot: %{_tmppath}/%{name}-buildroot" PRINT #hFile, "Prefix: %{_prefix}" 'PRINT #hFile, "BuildRequires: gambas-gui" PRINT #hFile, "BuildArch: noarch" PRINT #hFile, "Requires: gambas" PRINT #hFile,"AutoReqProv: no" PRINT #hFile, "\n%description\n" & Project.Description & "\nThis program is written in Gambas, so you will need Gambas to be installed." PRINT #hFile, "\n%prep" PRINT #hFile, "rm -rf $RPM_BUILD_ROOT" PRINT #hFile, "\n%setup -q -n " & Project.Quote(sProjectName) PRINT #hFile, "\n%build" PRINT #hFile, Project.GetCompileCommand(TRUE, NOT Project.KeepDebugInfo, FALSE) & "\ngba" PRINT #hFile, "\n%install" PRINT #hFile, "install -d $RPM_BUILD_ROOT/usr/bin" PRINT #hFile, "install -Cp "; Project.Quote(sProjectName); " $RPM_BUILD_ROOT/usr/bin/"; sName sIcon = Project.Quote(sName) & ".png" IF bDebianMenu THEN PRINT #hFile, "install -d $RPM_BUILD_ROOT/%{_miconsdir}" PRINT #hFile, "install -d $RPM_BUILD_ROOT/%{_iconsdir}" PRINT #hFile, "install -d $RPM_BUILD_ROOT/%{_liconsdir}" PRINT #hFile, "install -Cp .icon/16.png $RPM_BUILD_ROOT/%{_miconsdir}" &/ sIcon PRINT #hFile, "install -Cp .icon/32.png $RPM_BUILD_ROOT/%{_iconsdir}" &/ sIcon PRINT #hFile, "install -Cp .icon/48.png $RPM_BUILD_ROOT/%{_liconsdir}" &/ sIcon PRINT #hFile, "install -d $RPM_BUILD_ROOT/%{_menudir}" PRINT #hFile, "cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/"; Project.Quote(sName) PRINT #hFile, Subst("?package(&1):command=\"/usr/bin/&1\" icon=\"&1.png\" ", sName); IF IsConsoleProject() THEN PRINT #hFile, "needs=\"text\""; ELSE PRINT #hFile, "needs=\"X11\""; ENDIF PRINT #hFile," section=\""; Project.Menus[sSys]; "\" title=\""; IF Project.Title THEN PRINT #hFile, Project.Title; ELSE PRINT #hFile, Project.Name; ENDIF PRINT #hFile, "\" "; PRINT #hFile, "longtitle=\""; IF Project.Description THEN PRINT #hFile, Replace(Project.Description, "\n", " "); ELSE PRINT #hFile, Project.Name; ENDIF PRINT #hFile, "\" "; PRINT #hFile, "startup_notify=\"true\"" PRINT #hFile, "EOF" PRINT #hFile, "\n%post" PRINT #hFile, "%{update_menus}" PRINT #hFile, "\n%postun" PRINT #hFile, "%{clean_menus}" ENDIF IF bRedHatMenu THEN PRINT #hFile, "install -d $RPM_BUILD_ROOT/%{_datadir}/pixmaps" PRINT #hFile, "install -d $RPM_BUILD_ROOT/%{_datadir}/applications" PRINT #hFile, "install -Cp .icon/32.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps" &/ sIcon PRINT #hFile, "cat << EOF > $RPM_BUILD_ROOT/%{_datadir}/applications" &/ Project.Quote(sName) & ".desktop" PRINT #hFile, "[Desktop Entry]" PRINT #hFile, "Name="; Project.Title PRINT #hFile, "Comment="; Replace(Project.Description, "\n", " ") PRINT #hFile, "Categories="; Replace(Replace(Project.Menus[sSys], " ", ""), "/", ";"); ";X-Red-Hat-Extra" PRINT #hFile, "Icon=/usr/share/pixmaps" &/ sIcon PRINT #hFile, "Exec=/usr/bin" &/ sName PRINT #hFile, "Type=Application" PRINT #hFile, "Terminal="; IIf(IsConsoleProject(), "True", "False") PRINT #hfile, "Encoding=UTF-8" PRINT #hFile, "EOF" ENDIF PRINT #hFile, "\n%clean" PRINT #hFile, "rm -rf $RPM_BUILD_ROOT" PRINT #hFile, "\n%files" PRINT #hFile, "%defattr(-,root,root)" PRINT #hFile, "/usr/bin/" & sName IF bDebianMenu THEN PRINT #hFile, "/%{_miconsdir}" &/ sIcon PRINT #hFile, "/%{_iconsdir}" &/ sIcon PRINT #hFile, "/%{_liconsdir}" &/ sIcon PRINT #hFile, "/%{_menudir}" &/ sName ENDIF IF bRedHatMenu THEN PRINT #hFile, "%{_datadir}/pixmaps" &/ sIcon PRINT #hFile, "%{_datadir}/applications" &/ Project.Quote(sName) & ".desktop" ENDIF PRINT #hFile, "\n%changelog\n" PRINT #hFile, Change CLOSE #hFile ' and step 4.... build that sucker. AddLog(("Creating RPM packages.")) sTemp = Temp$ SHELL "rpmbuild -ba " & Project.Quote(sHome &/ "RPM/SPECS" &/ sName & ".spec") & " > " & Project.Quote(sTemp) & " 2>&1" WAIT sOutput = Conv(Replace(File.Load(sTemp), "\r", ""), System.Charset, Desktop.Charset) System.Language = sLang DEC Application.Busy FOR EACH sCmd IN Split(sOutput, "\n") IF Left(sCmd, 6) = "Wrote:" AND Right$(sCmd, 10) = "noarch.rpm" THEN sPackage = sPrefix & Subst("&1-&2.&3-&4.noarch.rpm", LCase(Project.Name), Project.MajorVersion, Project.MinorVersion, sRelease) IF sSys = "debian" THEN SHELL "cd " & ProjectQuote(sHome &/ "RPM/RPMS/noarch") & "; alien --to-deb -k " & Project.Quote(sPackage) WAIT sPackage = sPrefix & Subst("&1_&2.&3-&4_all.deb", LCase(Project.Name), Project.MajorVersion, Project.MinorVersion, sRelease) IF NOT Exist(sHome &/ "RPM/RPMS/noarch" &/ sPackage) THEN Error.Raise("alien command has failed") ENDIF RENAME sHome &/ "RPM/RPMS/noarch" &/ sPackage AS Path &/ sPackage sPackage = sPrefix & Subst("&1-&2.&3-&4.src.rpm", LCase(Project.Name), Project.MajorVersion, Project.MinorVersion, sRelease) IF sSys = "debian" THEN SHELL "cd " & ProjectQuote(sHome &/ "RPM/SRPMS") & "; alien --to-deb -k " & Project.Quote(sPackage) WAIT sPackage = sPrefix & Subst("&1_&2.&3-&4_all.deb", LCase(Project.Name), Project.MajorVersion, Project.MinorVersion, sRelease) IF NOT Exist(sHome &/ "RPM/SRPMS" &/ sPackage) THEN Error.Raise("alien command has failed") ENDIF RENAME sHome &/ "RPM/SRPMS" &/ sPackage AS Path &/ sPackage RETURN END IF NEXT Error.Raise(sOutput) CATCH PRINT sOutput AddLog(("The package build has failed.") &"\n") AddLog(Error.Text) Message.Error(("The package build has failed.")) RETURN TRUE END From bundeshund at ...467... Thu Jun 24 21:22:56 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 24 Jun 2004 21:22:56 +0200 Subject: [Gambas-user] how to build a menu In-Reply-To: <200406232136.39916.mbergmann-sh@...17...> References: <200406232015.12966.mbergmann-sh@...17...> <200406232040.46675.bundeshund@...467...> <200406232136.39916.mbergmann-sh@...17...> Message-ID: <200406242122.56432.bundeshund@...467...> Am Mittwoch, 23. Juni 2004 21:36 schrieb Michael Bergmann: > On Mittwoch, 23. Juni 2004 20:40 Hans-Martin Bundeshund wrote: > > Look at my attachment. Its a little example I wrote for you. I hope, it > > will make some things clearer. > > This made it bright and clear - thank you, Martin! Add this lines below and you have a popup-menu by left-clicking the textbox with menu1. Have fun! Tip: Look at the source of the gambas-IDE, It is a bible for me ;>) you can easily open it... with gambas! PUBLIC SUB TextBox1_Menu() Menu1.visible=TRUE Menu1.Popup Menu1.visible=FALSE END From bundeshund at ...467... Thu Jun 24 21:29:53 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Thu, 24 Jun 2004 21:29:53 +0200 Subject: [Gambas-user] how to build a menu In-Reply-To: <200406242122.56432.bundeshund@...467...> References: <200406232015.12966.mbergmann-sh@...17...> <200406232136.39916.mbergmann-sh@...17...> <200406242122.56432.bundeshund@...467...> Message-ID: <200406242129.53837.bundeshund@...467...> Am Donnerstag, 24. Juni 2004 21:22 schrieb Hans-Martin Bundeshund: > Am Mittwoch, 23. Juni 2004 21:36 schrieb Michael Bergmann: > > On Mittwoch, 23. Juni 2004 20:40 Hans-Martin Bundeshund wrote: > > > Look at my attachment. Its a little example I wrote for you. I hope, it > > > will make some things clearer. > > > > This made it bright and clear - thank you, Martin! > > Add this lines below and you have a popup-menu by left-clicking the textbox > with menu1. Have fun! > Tip: Look at the source of the gambas-IDE, It is a bible for me ;>) you > can easily open it... with gambas! > > > > > PUBLIC SUB TextBox1_Menu() > > Menu1.visible=TRUE > Menu1.Popup > Menu1.visible=FALSE > > END > upps.. delete the 'Menu1.visible=TRUE' and the 'Menu1.visible=FALSE' lines. They are from a 'hidden'-dummy menu I created that is not shown at the menubar on top. This 'dummy'-menu is set to visible=false by default and only popedup by left-clicking... From karl.reinl at ...9... Thu Jun 24 21:36:44 2004 From: karl.reinl at ...9... (Charlie) Date: Thu, 24 Jun 2004 21:36:44 +0200 Subject: [Gambas-user] compiling 0.94 under SuSE 9.1 References: <40da03c1.1d14.0@...9...> <200406241629.01367.bundeshund@...467...> Message-ID: <40DB2D4C.6020207@...9...> Hans-Martin Bundeshund schrieb: >Am Donnerstag, 24. Juni 2004 02:27 schrieb na2492 at ...9...: >... > > >>>Not really, but as I understand right, it is needed to have gambas >>>installed >>> >>>for gambas-apps since 0.93b. (I hope I am not wrong) >>> >>> >>NO, each gambas version stand for it self, no other preinstalled older >>versions are needed. >> >> > >Of course, I don't mean that I install x gambas versions, only the latest I >need ;>) >But at least you have to install _one_ gambas version for runtime? >Or can you just install the compiled application without gambas is installed? > Yes , you allways need a (or the) Version of gambas to run your compiled application. Read about at the gambas shrine (http://gambas.sourceforge.net) > >... > > >>Untar on each box the gambas-0.9x version and make the configure/make/make >>install-thing how you call it. >> >> > >Yes, thanks. This is what I have done on that 4 different systems I talked >from. > >regards, >HM > > > From gambas at ...1... Thu Jun 24 23:29:43 2004 From: gambas at ...1... (Benoit Minisini) Date: Thu, 24 Jun 2004 23:29:43 +0200 Subject: [Gambas-user] Question@...502... In-Reply-To: <200406241611.18629.bundeshund@...467...> References: <1087998999.4047.15.camel@...499...> <200406240130.05958.gambas@...1...> <200406241611.18629.bundeshund@...467...> Message-ID: <200406242329.43028.gambas@...1...> On Thursday 24 June 2004 16:11, Hans-Martin Bundeshund wrote: > Hello Benoit! > > Is it a problem to attach an example an post it via this group? Or does it > maybe make higher costs for you or someone else? Don't want to make > something bad for you/gambas-group. You have a limit of 256K by post. You can put a link on a web server or ftp server too. > > regards, > > HM > > > PS: If you are thirsty, give me a sign! ;) Excuse-me, I forgot. I don't drink alcohol, but I will send you the adress of a friend of mine that likes it, as soon as I get it. Regards, -- Benoit Minisini mailto:gambas at ...1... From christian.faurebouvard at ...357... Thu Jun 24 20:24:31 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Thu, 24 Jun 2004 14:24:31 -0400 Subject: [Gambas-user] INHERITS, name resolution Message-ID: <200406241424.31042.christian.faurebouvard@...357...> 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. From frankberg at ...390... Fri Jun 25 09:14:32 2004 From: frankberg at ...390... (Frank Berg) Date: Fri, 25 Jun 2004 09:14:32 +0200 Subject: [Gambas-user] ax25 communication Message-ID: <000901c45a84$112d7070$0200a8c0@...391...> Hi list, i try to write an monitoring program for ax25 packets. i was read many manuals and howtos, was try to read the listen.c .. but there are routines there are includet in the ax25.lib.. and how can i implenent that in gambas?? my question, how can i communicate with the ax25 kernel routines is there users with an example? ( or some thant can(do) show me the start?) thanx.. frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbergmann-sh at ...17... Fri Jun 25 10:26:55 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Fri, 25 Jun 2004 10:26:55 +0200 Subject: [Gambas-user] how to build a menu In-Reply-To: <200406242129.53837.bundeshund@...467...> References: <200406232015.12966.mbergmann-sh@...17...> <200406242122.56432.bundeshund@...467...> <200406242129.53837.bundeshund@...467...> Message-ID: <200406251026.55852.mbergmann-sh@...17...> On Donnerstag, 24. Juni 2004 21:29 Hans-Martin Bundeshund wrote: > upps.. delete the 'Menu1.visible=TRUE' > and the 'Menu1.visible=FALSE' lines. They are from a 'hidden'-dummy menu I > created that is not shown at the menubar on top. This 'dummy'-menu is set > to visible=false by default and only popedup by left-clicking... Hi Martin, the thing is working nice. Now at last, I can have popup-menus with my app. Thanks for the tip about the gambas interface - it's very informative. regards, Michael From oxleyd at ...364... Fri Jun 25 15:18:22 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 25 Jun 2004 14:18:22 +0100 Subject: [Gambas-user] Directory Walker In-Reply-To: <40D1DA82.9070304@...475...> References: <40D1DA82.9070304@...475...> Message-ID: <20040625121710.M96020@...364...> Does anyone have a nice code snippet or example for a "directory walker"? i.e. Some code that I can use to list every file in a folder and all its subfolders. Thx From bwells at ...475... Fri Jun 25 17:25:59 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 25 Jun 2004 11:25:59 -0400 Subject: [Gambas-user] Directory Walker In-Reply-To: <20040625121710.M96020@...364...> References: <40D1DA82.9070304@...475...> <20040625121710.M96020@...364...> Message-ID: <40DC4407.9090503@...475...> Hey Daniel: Have you tried the Dialog.OpenFile ?? I also have one that I will attach to this message... You would use it like this: Public myDialog as new clsDialog 'This goes in the main class of the form. then in your subs, you would go: dim tString as string myDialog.OpenFile tString=myDialog.filename It's a fairly cheezy 'control'... try it out and let me know what ya think... Thanks! ~Brant Daniel Oxley wrote: >Does anyone have a nice code snippet or example for a "directory walker"? >i.e. Some code that I can use to list every file in a folder and all its >subfolders. > >Thx > > >------------------------------------------------------- >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: clsDialog.class Type: application/octet-stream Size: 2151 bytes Desc: not available URL: From gambas at ...1... Fri Jun 25 17:30:49 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 25 Jun 2004 17:30:49 +0200 Subject: [Gambas-user] INHERITS, name resolution In-Reply-To: <200406241424.31042.christian.faurebouvard@...357...> References: <200406241424.31042.christian.faurebouvard@...357...> Message-ID: <200406251730.49551.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 ? > Yes it is a big bug! It seems to be related to the Object anonymous datatype, because when you use static defined variable (i.e. AS Class1 or Class2), it works as it should. > 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? It could be more complicated than you think. Or it could be simple. Each class has its own symbol table, whose each element points at a structure describing the symbol. When a class A inherits a class B, the class B symbol table is merged with the specific symbols defined in class A. The common symbols of class A & B has the same index in the symbol table. When you use the Object datatype, the symbol table is always searched. When you use the static datatype A or B, the symbol table is searched only the first time. After, the index is used. As Class1.m1() and Class2.m1() has got the same index in the symbol table, calling m1() with an Object variable that points at a Class2 object should show "C1::m1". So there is a bug there. I must looked at the code first. Regards, -- Benoit Minisini mailto:gambas at ...1... From oxleyd at ...364... Fri Jun 25 16:19:38 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 25 Jun 2004 15:19:38 +0100 Subject: [Gambas-user] Directory Walker In-Reply-To: <40DC4407.9090503@...475...> References: <40D1DA82.9070304@...475...> <20040625121710.M96020@...364...> <40DC4407.9090503@...475...> Message-ID: <20040625131353.M46368@...364...> > Public myDialog as new clsDialog 'This goes in the main class of the > form. > > then in your subs, you would go: > dim tString as string > > myDialog.OpenFile > tString=myDialog.filename Correct me if i'm wrong, but your example won't recurse files? I meant some code that did a "For File in Files" kind of thing. Or did I miss something.....? P.S. Thanks for the quick reply! From gambas at ...1... Fri Jun 25 17:47:53 2004 From: gambas at ...1... (Benoit Minisini) Date: Fri, 25 Jun 2004 17:47:53 +0200 Subject: [Gambas-user] gambas 0.94a Message-ID: <200406251747.53461.gambas@...1...> Hi, I have just uploaded a updated version of 0.94 that replaces the previous one. This version fixes the two problems: - No compilation error anymore with qt <= 3.1 - Use of 'rpmbuild' instead of 'rpm'. Regards, -- Benoit Minisini mailto:gambas at ...1... From bwells at ...475... Fri Jun 25 17:52:16 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 25 Jun 2004 11:52:16 -0400 Subject: [Gambas-user] Directory Walker In-Reply-To: <20040625131353.M46368@...364...> References: <40D1DA82.9070304@...475...> <20040625121710.M96020@...364...> <40DC4407.9090503@...475...> <20040625131353.M46368@...364...> Message-ID: <40DC4A30.5050207@...475...> Hey Daniel: I threw that control together in a hurry... By using the DIR function, I didn't need that... I don't think... Or I may not be quite understanding what you need... If you look at the the control once the program brings it up, it shows all the files and folders for the root directory... Then you can double click on a folder, or a file. Rather than using the For File in Files, I just made two passes through the folder... One to put the directories at the top of the list, and the second to add the files... Look at the listview. of the control... The OpenFile is a way for the user to choose a file. I couldn't quite understand the Dialog implementation in GB, so I tried to write my own... (no offence, Benoit!) Do you have some code, for me to look at what you are trying to do?? That would be quite helpful... Thanks! ~Brant Daniel Oxley wrote: > Correct me if i'm wrong, but your example won't recurse files? I meant > some > >code that did a "For File in Files" kind of thing. > >Or did I miss something.....? > >P.S. Thanks for the quick reply! > > > >------------------------------------------------------- >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... Fri Jun 25 17:59:21 2004 From: bwells at ...475... (Brant Wells) Date: Fri, 25 Jun 2004 11:59:21 -0400 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <200406251747.53461.gambas@...1...> References: <200406251747.53461.gambas@...1...> Message-ID: <40DC4BD9.2060103@...475...> Hey Benoit... I just noticed that the example file in Miscellaneous/Explorer has an unresolved symbol of Application.Home, and my logview App complains about a lack of Application.User in Gambas 0.94... I actually was finding those useful... Are they fixed in this update, or have they vanished completely?? ie: try in your app: message(application.home) message(application.user) and see what ya get... Thanks! ~Brant Benoit Minisini wrote: >Hi, > >I have just uploaded a updated version of 0.94 that replaces the previous one. > >This version fixes the two problems: > >- No compilation error anymore with qt <= 3.1 > >- Use of 'rpmbuild' instead of 'rpm'. > >Regards, > > > From oxleyd at ...364... Fri Jun 25 16:51:32 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Fri, 25 Jun 2004 15:51:32 +0100 Subject: [Gambas-user] Directory Walker In-Reply-To: <40DC4A30.5050207@...475...> References: <40D1DA82.9070304@...475...> <20040625121710.M96020@...364...> <40DC4407.9090503@...475...> <20040625131353.M46368@...364...> <40DC4A30.5050207@...475...> Message-ID: <20040625134931.M62730@...364...> > The OpenFile is a way for the user to choose a file. I couldn't > quite understand the Dialog implementation in GB, so I tried to > write my own... (no offence, Benoit!) Do you have some code, for me > to look at what you are trying to do?? That would be quite > helpful... > Thanks, I don't have any code at the mo as it is still an idea in my head I am researching a bit. I want to walk through a whole folder of files, and recurse all (if any) subfolders, then when it finds a file of a certain type, perform an action. When I did it in VB (sorry) once, I seem to remember using a For File in Files command or something. Daniel From danielcampos at ...282... Fri Jun 25 18:40:02 2004 From: danielcampos at ...282... (Daniel Campos) Date: Fri, 25 Jun 2004 18:40:02 +0200 Subject: [Gambas-user] Spanish site Message-ID: <1088181602.3222.8.camel@...40...> For those interested in Gambas in Spanish, now we have a wiki and a web site! The new web sites are hosted by http://www.linex.org , an spanish linux distribution based on Debian, supported by the government of Extremadura, in the west of Spain. If you want more information, Linex provides its web page also in english. Regards, Daniel Campos http://wiki.gnulinex.org/gambas http://gambas.gnulinex.org/ ------------------------------------------------------------------------- Bueno chicos: Ha costado lo suyo :-), pero podemos empezar a trabajar en la documentaci?n de Gambas en castellano: http://wiki.gnulinex.org/gambas Tambi?n disponemos de un dominio: http://gambas.gnulinex.org/ Donde, eventualmente, trabajar en proyectos acerca de Gambas. Espero vuestros comentarios, respuestas, adhesi?n, ayuda, apoyo, etc :-))) Saludos, ------------------------------------------------------------------------- -- Daniel Campos From sourceforge-raindog2 at ...94... Fri Jun 25 20:20:14 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 25 Jun 2004 14:20:14 -0400 Subject: [Gambas-user] gambas 0.94a In-Reply-To: <200406251747.53461.gambas@...1...> References: <200406251747.53461.gambas@...1...> Message-ID: <200406251420.14992.sourceforge-raindog2@...94...> On Friday 25 June 2004 11:47, Benoit Minisini wrote: > This version fixes the two problems: > - No compilation error anymore with qt <= 3.1 > - Use of 'rpmbuild' instead of 'rpm'. Since neither of these problems affects Mandrake 10, I am going to refrain from making replacement packages of this fixed version until I have written my patch that fixes the "hardcoded /usr/bin/gbx" and related problems. Rob From sourceforge-raindog2 at ...94... Fri Jun 25 20:43:47 2004 From: sourceforge-raindog2 at ...94... (Rob) Date: Fri, 25 Jun 2004 14:43:47 -0400 Subject: [Gambas-user] Directory Walker In-Reply-To: <20040625134931.M62730@...364...> References: <40D1DA82.9070304@...475...> <40DC4A30.5050207@...475...> <20040625134931.M62730@...364...> Message-ID: <200406251443.47863.sourceforge-raindog2@...94...> On Friday 25 June 2004 10:51, Daniel Oxley wrote: > When I did it in VB (sorry) once, I seem to remember using a > For File in Files command or something. I think what you're looking for is something like this: PUBLIC SUB WalkTree(path AS String) DIM Files AS String[] DIM f AS String Files = Dir(path) FOR EACH f IN Files IF Stat(path &/ f).Type = gb.Directory THEN WalkTree(path &/ f) ELSE IF LCase(Right(f,4)) = ".jpg" THEN PRINT "Found a jpg: " & path &/ f IF LCase(Right(f,4)) = ".mp3" THEN PRINT "Found an mp3: " & path &/ f ' etc. ENDIF NEXT END From christian.faurebouvard at ...357... Fri Jun 25 13:29:45 2004 From: christian.faurebouvard at ...357... (Christian Faure) Date: Fri, 25 Jun 2004 07:29:45 -0400 Subject: [Gambas-user] INHERITS, name resolution In-Reply-To: <200406251730.49551.gambas@...1...> References: <200406241424.31042.christian.faurebouvard@...357...> <200406251730.49551.gambas@...1...> Message-ID: <200406250729.46038.christian.faurebouvard@...357...> Thanks for the quick reply! From drovar at ...3... Fri Jun 25 20:58:52 2004 From: drovar at ...3... (drovar) Date: Fri, 25 Jun 2004 14:58:52 -0400 Subject: [Gambas-user] SDL component In-Reply-To: <1088181602.3222.8.camel@...40...> References: <1088181602.3222.8.camel@...40...> Message-ID: <40DC75EC.3080605@...3...> Hello I was wondering if anyone could tell me just which Debian package I need to install to get the SDL component of Gambas running? I installed what seemed to be the mostly likely packages but I can't get Gambas to compile with the SDL component. Installed: libsdl1.2-dev libsdl1.2debian libsdl1.2debian-oss Thanks Carl From girardhenri at ...67... Fri Jun 25 21:30:48 2004 From: girardhenri at ...67... (Henri Girard) Date: Fri, 25 Jun 2004 19:30:48 +0000 Subject: [Gambas-user] gambas 0.94a Message-ID: works fine on fedora 2 thanks HG >From: Benoit Minisini >Reply-To: gambas-user at lists.sourceforge.net >To: gambas-user at lists.sourceforge.net >Subject: [Gambas-user] gambas 0.94a >Date: Fri, 25 Jun 2004 17:47:53 +0200 > >Hi, > >I have just uploaded a updated version of 0.94 that replaces the previous >one. > >This version fixes the two problems: > >- No compilation error anymore with qt <= 3.1 > >- Use of 'rpmbuild' instead of 'rpm'. > >Regards, > >-- >Benoit Minisini >mailto:gambas at ...1... > > >------------------------------------------------------- >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 _________________________________________________________________ MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en direct et gratuitement avec vos amis ! From vbtricks at ...451... Sat Jun 26 09:23:43 2004 From: vbtricks at ...451... (VBTricks.de.vu Webmaster) Date: Sat, 26 Jun 2004 09:23:43 +0200 Subject: [Gambas-user] OT: Desktop wallpaper on screenshot Message-ID: <40DD247F.1070904@...451...> For all who are interested in the url of the desktop wallpaper shown in Benoit's screenshot: http://www.kde-look.org/content/show.php?content=10434 Resolution: 1024x768 Stefan From sdnpaolo at ...69... Sat Jun 26 09:44:22 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Sat, 26 Jun 2004 09:44:22 +0200 Subject: [Gambas-user] TabStrip question In-Reply-To: <40DD247F.1070904@...451...> References: <40DD247F.1070904@...451...> Message-ID: <40DD2956.3090208@...69...> 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 From bundeshund at ...467... Sat Jun 26 17:41:10 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Sat, 26 Jun 2004 17:41:10 +0200 Subject: [Gambas-user] printing question: empty lines In-Reply-To: <40DD2956.3090208@...69...> References: <40DD247F.1070904@...451...> <40DD2956.3090208@...69...> Message-ID: <200406261741.10321.bundeshund@...467...> Hi group! I am playing with the draw things. Again, very easy to use! But one thing is still left for me: I have a textarea filled with something like 'EZTextArea.Text = "entry1\nentry2\nentry3\n\n\nprinted with gambas\n"'. This is shown in the textarea correctly with 2 empty lines between 'entry3' and 'printed with gambas'. But when I send this to the printer with: draw.begin(Printer) draw.Text(EZTextArea.Text,100,100) draw.End the 2 empty lines are not accounted. This means instead of entry1 entry2 entry3 printed with gambas it comes out with: entry1 entry2 entry3 printed with gambas So must I scan and modify the textarea.text before printing? And when, what do I have to search for and replace with what? regards, HM From warped_dragon at ...67... Sun Jun 27 01:46:28 2004 From: warped_dragon at ...67... (Warped Dragon -=UDIC=-) Date: Sat, 26 Jun 2004 17:46:28 -0600 Subject: [Gambas-user] HttpClient question Message-ID: I'm wondering how to go about making a download progress bar for the HttpClient. Actually making the progress bar would be easy, I think, if I knew how to find a file's size and measure how much of it has been received. But the HtppClient isn't documented in the gambas wiki, and I can't seem to puzzle it out on my own. Can anyone help? _________________________________________________________________ STOP MORE SPAM with the MSN Premium and get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines From gambas at ...1... Sun Jun 27 10:47:24 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 27 Jun 2004 10:47:24 +0200 Subject: [Gambas-user] SDL component In-Reply-To: <40DC75EC.3080605@...3...> References: <1088181602.3222.8.camel@...40...> <40DC75EC.3080605@...3...> Message-ID: <200406271047.24678.gambas@...1...> On Friday 25 June 2004 20:58, drovar wrote: > Hello > > I was wondering if anyone could tell me just which Debian package I need > to install to get the SDL component of Gambas running? I installed what > seemed to be the mostly likely packages but I can't get Gambas to > compile with the SDL component. > > Installed: > libsdl1.2-dev > libsdl1.2debian > libsdl1.2debian-oss > > Thanks > > Carl > You need libsdl-mixer too. -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Jun 27 10:48:54 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 27 Jun 2004 10:48:54 +0200 Subject: [Gambas-user] TabStrip question In-Reply-To: <40DD2956.3090208@...69...> References: <40DD247F.1070904@...451...> <40DD2956.3090208@...69...> Message-ID: <200406271048.54876.gambas@...1...> 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 ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Sun Jun 27 10:51:47 2004 From: gambas at ...1... (Benoit Minisini) Date: Sun, 27 Jun 2004 10:51:47 +0200 Subject: [Gambas-user] printing question: empty lines In-Reply-To: <200406261741.10321.bundeshund@...467...> References: <40DD247F.1070904@...451...> <40DD2956.3090208@...69...> <200406261741.10321.bundeshund@...467...> Message-ID: <200406271051.47770.gambas@...1...> On Saturday 26 June 2004 17:41, Hans-Martin Bundeshund wrote: > Hi group! > > I am playing with the draw things. Again, very easy to use! But one thing > is still left for me: > > I have a textarea filled with something like 'EZTextArea.Text = > "entry1\nentry2\nentry3\n\n\nprinted with gambas\n"'. This is shown in the > textarea correctly with 2 empty lines between 'entry3' and 'printed with > gambas'. But when I send this to the printer with: > > draw.begin(Printer) > draw.Text(EZTextArea.Text,100,100) > draw.End > > the 2 empty lines are not accounted. This means instead of > > > > entry1 > entry2 > entry3 > > printed with gambas > > > it comes out with: > > > entry1 > entry2 > entry3 > printed with gambas > > > So must I scan and modify the textarea.text before printing? And when, what > do I have to search for and replace with what? > > regards, > HM > This is a bug. It will be fixed in the next version. As a workaround, you can replace empty lines by lines containing one space. Regards, -- Benoit Minisini mailto:gambas at ...1... From daniel.campos at ...338... Sun Jun 27 11:30:27 2004 From: daniel.campos at ...338... (Daniel) Date: Sun, 27 Jun 2004 11:30:27 +0200 Subject: [Gambas-user] HttpClient question In-Reply-To: References: Message-ID: <1088328627.3246.11.camel@...40...> El dom, 27-06-2004 a las 01:46, Warped Dragon -=UDIC=- escribi?: > I'm wondering how to go about making a download progress bar for the > HttpClient. Actually making the progress bar would be easy, I think, if I > knew how to find a file's size and measure how much of it has been received. > But the HtppClient isn't documented in the gambas wiki, and I can't seem to > puzzle it out on my own. Can anyone help? HTTP protocol can show the lenght of a document in the headers, you have to find that header: Content-Length: 596 (586 bytes, in this example) The first time you receive a "Read" event, it is sure that all headers as been received, as "Read" event raises when a piece of the body has been received, HTTP server always sends all headers and then the body (the "useful" part of the information, we could say). So, the first time you receive you can look in the 'Headers' property of HttpClient (look the HTTPGet example), looking for 'Content-Length'. That would be the total length of the document. Then, each time you read data you can know the length of bytes received using 'Lof' stream method, so that TotalReceived=TotalReceived + Lof (MyHttpObject) Note that not all HTTP servers send that 'Content-Lenght' header, so you have to adapt your code if that header is not received (Surely sometimes you have seen, downloading with Mozilla, that it shows something like '578Kb from "Unknown" ' :-) Regards, Daniel Campos > > _________________________________________________________________ > STOP MORE SPAM with the MSN Premium and get 2 months FREE* > http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines > > > > ------------------------------------------------------- > 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 oxleyd at ...364... Sun Jun 27 13:16:34 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Sun, 27 Jun 2004 12:16:34 +0100 Subject: [Gambas-user] Directory Walker In-Reply-To: <200406251443.47863.sourceforge-raindog2@...94...> References: <40D1DA82.9070304@...475...> <40DC4A30.5050207@...475...> <20040625134931.M62730@...364...> <200406251443.47863.sourceforge-raindog2@...94...> Message-ID: <20040627101624.M59114@...364...> thats it! thanks! ---------- Original Message ----------- From: Rob To: gambas-user at lists.sourceforge.net Sent: Fri, 25 Jun 2004 14:43:47 -0400 Subject: Re: [Gambas-user] Directory Walker > On Friday 25 June 2004 10:51, Daniel Oxley wrote: > > When I did it in VB (sorry) once, I seem to remember using a > > For File in Files command or something. > > I think what you're looking for is something like this: > > PUBLIC SUB WalkTree(path AS String) > DIM Files AS String[] > DIM f AS String > > Files = Dir(path) > FOR EACH f IN Files > IF Stat(path &/ f).Type = gb.Directory THEN > WalkTree(path &/ f) > ELSE > IF LCase(Right(f,4)) = ".jpg" THEN PRINT "Found a jpg: " & > path &/ f > IF LCase(Right(f,4)) = ".mp3" THEN PRINT "Found an mp3: " & > path &/ f > ' etc. > ENDIF > NEXT > > END > > ------------------------------------------------------- > 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 oxleyd at ...364... Sun Jun 27 14:15:21 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Sun, 27 Jun 2004 13:15:21 +0100 Subject: [Gambas-user] File Properties In-Reply-To: <200406251443.47863.sourceforge-raindog2@...94...> References: <40D1DA82.9070304@...475...> <40DC4A30.5050207@...475...> <20040625134931.M62730@...364...> <200406251443.47863.sourceforge-raindog2@...94...> Message-ID: <20040627111350.M84412@...364...> I want to read the size of a file into a string. Browsing the WIKI tells me that "GbFileRSize" does this. However, I am having problems working out how to use it! Any help? Thanks! From gambix at ...2... Sun Jun 27 16:08:52 2004 From: gambix at ...2... (gambix at ...2...) Date: Sun, 27 Jun 2004 16:08:52 +0200 (CEST) Subject: [Gambas-user] File Properties Message-ID: <33332.193.253.254.49.1088345332.squirrel@...492...> >I want to read the size of a file into a string. ?Browsing the WIKI tells >me >that "GbFileRSize" does this. ?However, I am having problems working out >how >to use it! ? >Any help? ?Thanks! HI Use : Stat(myFile).Size Or With Stat(myFile) myvar = .Size end With Look at the FSupSelector class in the ide source for more info See about Stat() function in the wiki help http://binara.com/gambas-wiki/bin/view/Gambas/GambasStat http://binara.com/gambas-wiki/bin/view/Gambas/GambasComponentGbFile regards, Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 53 bytes Desc: not available URL: From oxleyd at ...364... Sun Jun 27 15:53:41 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Sun, 27 Jun 2004 14:53:41 +0100 Subject: [Gambas-user] File Properties In-Reply-To: <33332.193.253.254.49.1088345332.squirrel@...492...> References: <33332.193.253.254.49.1088345332.squirrel@...492...> Message-ID: <20040627125327.M96975@...364...> perfect, thanks! ---------- Original Message ----------- From: To: Sent: Sun, 27 Jun 2004 16:08:52 +0200 (CEST) Subject: Re: [Gambas-user] File Properties > >I want to read the size of a file into a string. ?Browsing the WIKI tells > >me > >that "GbFileRSize" does this. ?However, I am having problems working out > >how > >to use it! > ? > >Any help? ?Thanks! > > HI > > Use : > Stat(myFile).Size > > Or > > With Stat(myFile) > > myvar = .Size > > end With > Look at the FSupSelector class in the ide source for more info > > See about Stat() function in the wiki help > > http://binara.com/gambas-wiki/bin/view/Gambas/GambasStat > http://binara.com/gambas-wiki/bin/view/Gambas/GambasComponentGbFile > > regards, > Fabien Bodard ------- End of Original Message ------- From sdnpaolo at ...69... Sun Jun 27 17:47:16 2004 From: sdnpaolo at ...69... (Paolo Saudin) Date: Sun, 27 Jun 2004 17:47:16 +0200 Subject: [Gambas-user] TabStrip question In-Reply-To: <200406271048.54876.gambas@...1...> References: <40DD247F.1070904@...451...> <40DD2956.3090208@...69...> <200406271048.54876.gambas@...1...> Message-ID: <40DEEC04.5060304@...69...> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.tgz Type: application/x-tar-gz Size: 1915 bytes Desc: not available URL: From gambix at ...2... Sun Jun 27 19:23:18 2004 From: gambix at ...2... (gambix at ...2...) Date: Sun, 27 Jun 2004 19:23:18 +0200 (CEST) Subject: [Gambas-user] TabStrip question Message-ID: <33775.193.253.254.49.1088356998.squirrel@...492...> > 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 hi Paolo it seem to be a bug But i've a work arround : PUBLIC SUB Button1_Click() TabStrip1.Enabled = True TabStip1[0].Enabled = True TabStip1[1].Enabled = True END That's all Fabien BODARD -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 53 bytes Desc: not available URL: From Karl.Reinl at ...9... Sun Jun 27 19:16:45 2004 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 27 Jun 2004 19:16:45 +0200 Subject: [Gambas-user] gb.qt.editor =?iso-8859-1?q?=A0=2ETabLength?= Message-ID: <200406271916.45256.Karl.Reinl@...9...> Salut Benoit, is that right, that editor.TabLength returns a Boolean ?? here from CEditor.cpp at 590 BEGIN_PROPERTY(CEDITOR_tab_length) ? if (READ_PROPERTY) ? ? GB.ReturnBoolean(!WIDGET->tabSpace()); ? else ? ? WIDGET->setTabSpace(VPROP(GB_INTEGER)); END_PROPERTY And why belongs .TabLength to the project and not to the IDE-Editor ? Amicalement Charlie From oxleyd at ...364... Sun Jun 27 22:20:21 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Sun, 27 Jun 2004 21:20:21 +0100 Subject: [Gambas-user] mySQL In-Reply-To: <200406251443.47863.sourceforge-raindog2@...94...> References: <40D1DA82.9070304@...475...> <40DC4A30.5050207@...475...> <20040625134931.M62730@...364...> <200406251443.47863.sourceforge-raindog2@...94...> Message-ID: <20040627191621.M53680@...364...> 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. From nigel at ...38... Mon Jun 28 00:26:22 2004 From: nigel at ...38... (Nigel Gerrard) Date: Sun, 27 Jun 2004 23:26:22 +0100 Subject: [Gambas-user] mySQL References: <40D1DA82.9070304@...475...> <40DC4A30.5050207@...475...> <20040625134931.M62730@...364...> <200406251443.47863.sourceforge-raindog2@...94...> <20040627191621.M53680@...364...> Message-ID: <001701c45c95$cc2c8a10$e53c4254@...360...> 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 From gambas at ...1... Mon Jun 28 13:43:41 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 28 Jun 2004 13:43:41 +0200 Subject: [Gambas-user] Re: Please add Traditional Chinese in the language list In-Reply-To: <20040627194345.63444.qmail@...507...> References: <20040627194345.63444.qmail@...507...> Message-ID: <200406281343.41531.gambas@...1...> This is an answer to mail from ta?wan. I post it there because I can't reply to: the syahoo server reject it. So if this people is on the mailing-list, maybe he will be able to read it! ----8<---------------------------------------------------------------------------- From: gambas at ...1... To: chuenchilin On Sunday 27 June 2004 21:43, you wrote: > Dear Gambas. > Traditional Chinese does not exist in the list, please > add it. Thanks in advance! > OK. Could you give me the international code of traditional chinese ? To konw that, type 'echo $LANG' or 'echo $LC_ALL' in a shell. I think it is 'cn_CN' but I'm not sure! Regards, -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Mon Jun 28 13:48:30 2004 From: gambas at ...1... (Benoit Minisini) Date: Mon, 28 Jun 2004 13:48:30 +0200 Subject: [Gambas-user] gb.qt.editor =?iso-8859-1?q?=A0=2ETabLength?= In-Reply-To: <200406271916.45256.Karl.Reinl@...9...> References: <200406271916.45256.Karl.Reinl@...9...> Message-ID: <200406281348.30613.gambas@...1...> On Sunday 27 June 2004 19:16, Charlie Reinl wrote: > Salut Benoit, Hi! > > is that right, that editor.TabLength returns a Boolean ?? > > here from CEditor.cpp at 590 > > BEGIN_PROPERTY(CEDITOR_tab_length) > > ? if (READ_PROPERTY) > ? ? GB.ReturnBoolean(!WIDGET->tabSpace()); > ? else > ? ? WIDGET->setTabSpace(VPROP(GB_INTEGER)); > > END_PROPERTY It's a mistake. It should do 'GB.ReturnInteger(WIDGET->tabSpace())' > > And why belongs .TabLength to the project and not to the IDE-Editor ? Because two different projects can be made by two different people having different preferences about the length of a tabulation. > > Amicalement > Charlie > Regards, -- Benoit Minisini mailto:gambas at ...1... From g.brandl at ...18... Mon Jun 28 14:58:11 2004 From: g.brandl at ...18... (Georg Brandl) Date: Mon, 28 Jun 2004 14:58:11 +0200 Subject: [Gambas-user] Re: Please add Traditional Chinese in the language list In-Reply-To: <200406281343.41531.gambas@...1...> References: <20040627194345.63444.qmail@...507...> <200406281343.41531.gambas@...1...> Message-ID: <40E015E3.9060004@...18...> Benoit Minisini wrote: > This is an answer to mail from ta?wan. I post it there because I can't reply > to: the syahoo server reject it. > > So if this people is on the mailing-list, maybe he will be able to read it! > > ----8<---------------------------------------------------------------------------- > > From: gambas at ...1... > To: chuenchilin > > On Sunday 27 June 2004 21:43, you wrote: >> Dear Gambas. >> Traditional Chinese does not exist in the list, please >> add it. Thanks in advance! >> > > OK. Could you give me the international code of traditional chinese ? To konw > that, type 'echo $LANG' or 'echo $LC_ALL' in a shell. > > I think it is 'cn_CN' but I'm not sure! It should be zh_TW, according to my docs. mfg Georg From daydreamer at ...508... Mon Jun 28 17:46:47 2004 From: daydreamer at ...508... (daydreamer) Date: Mon, 28 Jun 2004 17:46:47 +0200 Subject: [Gambas-user] index Message-ID: <40E03D67.8010707@...508...> Hello ! I'm searching for the property in gambas, which is in vb the "index" -property. Can you help me ? Thanx Fabian ............................ Sorry about my bad English - I'm German :-) From reinhold-birkenfeld-nospam at ...509... Mon Jun 28 18:14:12 2004 From: reinhold-birkenfeld-nospam at ...509... (Reinhold Birkenfeld) Date: Mon, 28 Jun 2004 18:14:12 +0200 Subject: [Gambas-user] index In-Reply-To: <40E03D67.8010707@...508...> References: <40E03D67.8010707@...508...> Message-ID: <40E043D4.3040305@...509...> daydreamer wrote: > Hello ! > > I'm searching for the property in gambas, which > is in vb the "index" -property. > Can you help me ? > > Thanx > Fabian What exactly should be the "index"-property part of? If you think of a control array, this is not possible via GUI in Gambas. In this case, you must create the array in your code; this should be documented somewhere in the Gambas help. Greetz Reinhold From gambix at ...2... Tue Jun 29 22:44:32 2004 From: gambix at ...2... (gambix at ...2...) Date: Tue, 29 Jun 2004 22:44:32 +0200 (CEST) Subject: [Gambas-user] Query help to all the gambasian ! Message-ID: <36023.80.13.178.229.1088541872.squirrel@...510...> Hi all I try for a new time to work on the gambas share site .... Can you try it and tell me if you have some connection problem ? http://gambas.magic-systems.net Fabien bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 53 bytes Desc: not available URL: From oxleyd at ...364... Wed Jun 30 09:25:09 2004 From: oxleyd at ...364... (Daniel Oxley) Date: Wed, 30 Jun 2004 09:25:09 +0200 Subject: [Gambas-user] Query help to all the gambasian ! In-Reply-To: <36023.80.13.178.229.1088541872.squirrel@...510...> Message-ID: <200406300507.i5U57FOu019388@...364...> Hi, just curious, but how valid is that claim in the latest post on your site? The post titled "Bad Security" It might be an idea to double-check the security on it?! Daniel -----Original Message----- From: gambas-user-admin at lists.sourceforge.net [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of gambix at ...2... Sent: 29 June 2004 22:45 To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Query help to all the gambasian ! Hi all I try for a new time to work on the gambas share site .... Can you try it and tell me if you have some connection problem ? http://gambas.magic-systems.net Fabien bodard From gambas at ...1... Wed Jun 30 09:35:13 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 30 Jun 2004 09:35:13 +0200 Subject: [Gambas-user] Query help to all the gambasian ! In-Reply-To: <36023.80.13.178.229.1088541872.squirrel@...510...> References: <36023.80.13.178.229.1088541872.squirrel@...510...> Message-ID: <200406300935.13604.gambas@...1...> On Tuesday 29 June 2004 22:44, gambix at ...2... wrote: > Hi all > > I try for a new time to work on the gambas share site .... > > Can you try it and tell me if you have some connection problem ? > > http://gambas.magic-systems.net > > Fabien bodard "Cannot connect to gambas.magic-systems.net. Server didn't answer" ping doesn't answer. Is your server always up and working ? -- Benoit Minisini mailto:gambas at ...1... From gambas at ...1... Wed Jun 30 12:44:31 2004 From: gambas at ...1... (Benoit Minisini) Date: Wed, 30 Jun 2004 12:44:31 +0200 Subject: [Gambas-user] About rpm generated by the IDE Message-ID: <200406301244.31900.gambas@...1...> To the packagers of gambas: In 0.94, the rpm generated by the IDE have a dependency on a package named "gambas" that should include the interpreter and every component. This is not a good idea, as installing a gambas application will require each component, and so each shared library used by them: SDL, postgresql, mysql, curl... So I suggest making a package for each component, by adding to gambas the name of the component, gb being remove, and the points being replaced by dashes. So: gambas -> the interpreter gambas-qt -> the gb.qt component gambas-qt-kde -> the gb.qt.kde component gambas-db -> the gb.qt.db component gambas-db-mysql -> the mysql driver of the database component gambas-sdl -> the gb.sdl component ... And so on. Is it a huge job ? I think this is necessary, to avoid installing many unneeded shared library when installing a gambas application. Tell me what you think. Regards, -- Benoit Minisini mailto:gambas at ...1... From danielcampos at ...282... Wed Jun 30 13:11:09 2004 From: danielcampos at ...282... (danielcampos at ...282...) Date: Wed, 30 Jun 2004 13:11:09 CEST Subject: [Gambas-user] About rpm generated by the IDE Message-ID: >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 ------------------------------------------------------------- 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 drovar at ...3... Wed Jun 30 15:16:09 2004 From: drovar at ...3... (drovar) Date: Wed, 30 Jun 2004 09:16:09 -0400 Subject: [Gambas-user] About rpm generated by the IDE In-Reply-To: References: Message-ID: <40E2BD19.5010503@...3...> 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 From mbergmann-sh at ...17... Wed Jun 30 16:53:30 2004 From: mbergmann-sh at ...17... (Michael Bergmann) Date: Wed, 30 Jun 2004 16:53:30 +0200 Subject: [Gambas-user] Query help to all the gambasian ! In-Reply-To: <36023.80.13.178.229.1088541872.squirrel@...510...> References: <36023.80.13.178.229.1088541872.squirrel@...510...> Message-ID: <200406301653.31035.mbergmann-sh@...17...> On Dienstag, 29. Juni 2004 22:44 gambix at ...2... wrote: > Can you try it and tell me if you have some connection problem ? > http://gambas.magic-systems.net connecting without any probs from here. regards, Michael From sspencer at ...493... Wed Jun 30 18:20:39 2004 From: sspencer at ...493... (Steven G. Spencer) Date: Wed, 30 Jun 2004 11:20:39 -0500 Subject: [Gambas-user] Query help to all the gambasian ! In-Reply-To: <36023.80.13.178.229.1088541872.squirrel@...510...> References: <36023.80.13.178.229.1088541872.squirrel@...510...> Message-ID: <1088612439.3947.209.camel@...37...> Worked for me. Thanks, Steve On Tue, 2004-06-29 at 15:44, gambix at ...2... wrote: > Hi all > > I try for a new time to work on the gambas share site .... > > Can you try it and tell me if you have some connection problem ? > > http://gambas.magic-systems.net > > Fabien bodard -- Steven G. Spencer From gambasfr at ...11... Wed Jun 30 20:12:46 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Wed, 30 Jun 2004 20:12:46 +0200 Subject: [Gambas-user] Query help to all the gambasian ! In-Reply-To: <200406300935.13604.gambas@...1...> References: <36023.80.13.178.229.1088541872.squirrel@...510...> <200406300935.13604.gambas@...1...> Message-ID: <200406302012.46230.gambasfr@...11...> Le mercredi 30 Juin 2004 09:35, Benoit Minisini a ?crit : > On Tuesday 29 June 2004 22:44, gambix at ...2... wrote: > > Hi all > > > > I try for a new time to work on the gambas share site .... > > > > Can you try it and tell me if you have some connection problem ? > > > > http://gambas.magic-systems.net > > > > Fabien bodard > > "Cannot connect to gambas.magic-systems.net. Server didn't answer" > > ping doesn't answer. Is your server always up and working ? Really curious.... Are you in adsl ? Have you a fix ip ? What browser are you use ? Why you ? ;-) Are you sure you have enter the good url ? http://gambas.magic-system.net Fabien Bodard From gambasfr at ...11... Wed Jun 30 20:15:38 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Wed, 30 Jun 2004 20:15:38 +0200 Subject: [Gambas-user] Query help to all the gambasian ! In-Reply-To: <200406300507.i5U57FOu019388@...364...> References: <200406300507.i5U57FOu019388@...364...> Message-ID: <200406302015.38922.gambasfr@...11...> Le mercredi 30 Juin 2004 09:25, Daniel Oxley a ?crit : > Hi, just curious, but how valid is that claim in the latest post on your > site? The post titled "Bad Security" Just a hacker who have visited the old server... The site is in construction... i'm rewriting all the code... And create for that a new CMS... > It might be an idea to double-check the security on it?! My owner, leo, query his friend to try to hack is server, to check the security... > Daniel > > -----Original Message----- > From: gambas-user-admin at lists.sourceforge.net > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of > gambix at ...2... > Sent: 29 June 2004 22:45 > To: gambas-user at lists.sourceforge.net > Subject: [Gambas-user] Query help to all the gambasian ! > > Hi all > > I try for a new time to work on the gambas share site .... > > Can you try it and tell me if you have some connection problem ? > > http://gambas.magic-systems.net > > 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 daniel.campos at ...338... Wed Jun 30 20:35:45 2004 From: daniel.campos at ...338... (Daniel) Date: Wed, 30 Jun 2004 20:35:45 +0200 Subject: [Gambas-user] Query help to all the gambasian ! In-Reply-To: <200406302012.46230.gambasfr@...11...> References: <36023.80.13.178.229.1088541872.squirrel@...510...> <200406300935.13604.gambas@...1...> <200406302012.46230.gambasfr@...11...> Message-ID: <1088620545.3215.3.camel@...40...> Hi Fabien: I can not access to your site from my PC at home, I have an ADSL router, but I have not fix IP, and my browser is Mozilla (Few people knows it, is at www.mozilla.org :-)))) At work, I can access without problems, we have Symmetric DSL (different provider), and I use Mozilla too. Regards, Daniel Campos El mi?, 30-06-2004 a las 20:12, Fabien Bodard escribi?: > Le mercredi 30 Juin 2004 09:35, Benoit Minisini a ?crit : > > On Tuesday 29 June 2004 22:44, gambix at ...2... wrote: > > > Hi all > > > > > > I try for a new time to work on the gambas share site .... > > > > > > Can you try it and tell me if you have some connection problem ? > > > > > > http://gambas.magic-systems.net > > > > > > Fabien bodard > > > > "Cannot connect to gambas.magic-systems.net. Server didn't answer" > > > > ping doesn't answer. Is your server always up and working ? > > Really curious.... Are you in adsl ? > > Have you a fix ip ? > > What browser are you use ? > > Why you ? ;-) > > Are you sure you have enter the good url ? > > http://gambas.magic-system.net > > 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 bundeshund at ...467... Wed Jun 30 20:42:53 2004 From: bundeshund at ...467... (Hans-Martin Bundeshund) Date: Wed, 30 Jun 2004 20:42:53 +0200 Subject: [Gambas-user] Query help to all the gambasian ! In-Reply-To: <36023.80.13.178.229.1088541872.squirrel@...510...> References: <36023.80.13.178.229.1088541872.squirrel@...510...> Message-ID: <200406302042.53446.bundeshund@...467...> No problem to access via http from here, germany with t-dsl. No reply by ping. HTH Am Dienstag, 29. Juni 2004 22:44 schrieb gambix at ...2...: > Hi all > > I try for a new time to work on the gambas share site .... > > Can you try it and tell me if you have some connection problem ? > > http://gambas.magic-systems.net > > Fabien bodard From gambasfr at ...11... Wed Jun 30 20:49:38 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Wed, 30 Jun 2004 20:49:38 +0200 Subject: [Gambas-user] About rpm generated by the IDE In-Reply-To: <40E2BD19.5010503@...3...> References: <40E2BD19.5010503@...3...> Message-ID: <200406302049.38366.gambasfr@...11...> 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 > > > ------------------------------------------------------- > 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 gambasfr at ...11... Wed Jun 30 21:49:07 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Wed, 30 Jun 2004 21:49:07 +0200 Subject: [Gambas-user] Query help to all the gambasian ! In-Reply-To: <1088620545.3215.3.camel@...40...> References: <36023.80.13.178.229.1088541872.squirrel@...510...> <200406302012.46230.gambasfr@...11...> <1088620545.3215.3.camel@...40...> Message-ID: <200406302149.07077.gambasfr@...11...> Le mercredi 30 Juin 2004 20:35, Daniel a ?crit : > Hi Fabien: > > I can not access to your site from my PC at home, I have an ADSL router, > but I have not fix IP, and my browser is Mozilla (Few people knows it, > is at www.mozilla.org :-)))) I don't understand... i've the same configuration... Fabien > > At work, I can access without problems, we have Symmetric DSL (different > provider), and I use Mozilla too. > > Regards, > > Daniel Campos > > El mi?, 30-06-2004 a las 20:12, Fabien Bodard escribi?: > > Le mercredi 30 Juin 2004 09:35, Benoit Minisini a ?crit : > > > On Tuesday 29 June 2004 22:44, gambix at ...2... wrote: > > > > Hi all > > > > > > > > I try for a new time to work on the gambas share site .... > > > > > > > > Can you try it and tell me if you have some connection problem ? > > > > > > > > http://gambas.magic-systems.net > > > > > > > > Fabien bodard > > > > > > "Cannot connect to gambas.magic-systems.net. Server didn't answer" > > > > > > ping doesn't answer. Is your server always up and working ? > > > > Really curious.... Are you in adsl ? > > > > Have you a fix ip ? > > > > What browser are you use ? > > > > Why you ? ;-) > > > > Are you sure you have enter the good url ? > > > > http://gambas.magic-system.net > > > > 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 > > ------------------------------------------------------- > 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 gambasfr at ...11... Wed Jun 30 23:57:11 2004 From: gambasfr at ...11... (Fabien Bodard) Date: Wed, 30 Jun 2004 23:57:11 +0200 Subject: [Gambas-user] My Site put off Message-ID: <200406302357.11426.gambasfr@...11...> I' lock the site during at less one week to have time to make my new cms enginer... sorry for the false enjoy ! Fabien