Re: [Gambas-user] Database not working to select records, but fields/tables identified (small correction)

2011-07-01 Thread Caveat
I swapped the order of the lines here: While res.Available res.MoveNext Print Field1: res[Field1] Wend to do the Print then MoveNext, as it would have caused me to 'lose' my first line of data. As I'm not getting any results at all, it doesn't actually make a difference right now...(and

Re: [Gambas-user] Please help me!

2011-07-01 Thread M. Cs.
O.K. The printing started now, but it prints the texts one over another regardless to the coordinates given by CFloat(xcor[i]) and CFloat(ycor[i]). Why? 2011/6/30, Fabien Bodard gambas...@gmail.com: Le 30 juin 2011 14:00, Benoît Minisini gam...@users.sourceforge.net a écrit : Yes, Benoit,

Re: [Gambas-user] Try Catch fail when using mkdir....

2011-07-01 Thread Rolf-Werner Eilert
Hi Stephen, my first thought was that it might be If Not Exist... I had such a case some time ago, and it did not react as expected. Just check if it really reports TRUE if the directory isn't there. (I remember Benoit explained why it didn't run correctly in my case, maybe you find the thread

Re: [Gambas-user] Database not working to select records, but fields/tables identified

2011-07-01 Thread Fabien Bodard
While res.Available res.MoveNext Print Field1: res[Field1] Wend me i do that : For each res Print Field1: res!Field1 next It's more simple no ? 2011/7/1 Caveat gam...@caveat.demon.co.uk: Hi, I'm trying to get database access to an ODBC datasource (have been trying for a few

Re: [Gambas-user] Please help me!

2011-07-01 Thread Fabien Bodard
2011/7/1 M. Cs. mohar...@gmail.com: O.K. The printing started now, but it prints the texts one over another regardless to the coordinates given by CFloat(xcor[i]) and CFloat(ycor[i]). Why? Do you use the true size ? What are the coord ? be carefull as the printer with in pixel is différent as

Re: [Gambas-user] Database not working to select records, but fields/tables identified

2011-07-01 Thread Caveat
Thanks for the tip Fabien! It is indeed simpler... it still doesn't work but it's definitely nicer-looking code which I'll bear in mind for if, errrm of course I mean when, I get it working! I just reported another segfault to Benoit, perhaps in fixing that something will start to work...

Re: [Gambas-user] Try Catch fail when using mkdir....

2011-07-01 Thread Fabien Bodard
This is the good way in your way ... but it's a bad way in my fill Private Sub CreateNewOutputFolder(sFolderSpec As String) If Not Exist(sFolderSpec) Then Mkdir sFolderSpec Catch 'if problem try on the prec folder CreateNewOutputFolder(File.Dir(sFolderSpec)) 'Re Try the folder

[Gambas-user] Probable bug with _unknown method when used for propertie

2011-07-01 Thread Gary D Walborn
Benoit, As I expected, the mailing list dropped the project. I made a project that demonstrates the problem using only two small source files (and NO libraries, data files, etc.). Here are the two files. - Begin MMain.module '

Re: [Gambas-user] Try Catch fail when using mkdir....

2011-07-01 Thread nando
In a true multi-user multi-tasking environment the following is good except it is missing one thing: The TRY must be added because during the IF test and the MKDIR, it might have been created. This makes it the list error prone. Private Sub CreateNewOutputFolder(psFolderSpecification As

Re: [Gambas-user] Try Catch fail when using mkdir....

2011-07-01 Thread Stephen Bungay
Greetings Fabien! That works very well, and is so much smaller and cleaner than the SUB you put in the initial email. By the way, that first SUB would have had a problem creating the stmpDir folder, it would, as written, not put in the delimiting / characters and would try to create a

Re: [Gambas-user] Try Catch fail when using mkdir....

2011-07-01 Thread Jussi Lahtinen
File.Path? You mean File.Dir? Jussi On Fri, Jul 1, 2011 at 17:36, nando nand...@nothingsimple.com wrote: In a true multi-user multi-tasking environment the following is good except it is missing one thing: The TRY must be added because during the IF test and the MKDIR, it might have been

[Gambas-user] Issue 73 in gambas: Gambas 3 under LXDE

2011-07-01 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 73 by anishp...@gmail.com: Gambas 3 under LXDE http://code.google.com/p/gambas/issues/detail?id=73 1) I am a first time linux programmer. Please refer the screenshots. I

[Gambas-user] for me, a big step

2011-07-01 Thread Karl Reinl
Salut, found today a very important command (for me) : xdg-open use : xdg-open path/to/file/file I'v tested on Ubuntu and Mandriva (gnom and kde). That saves a lot of coding and entries in config-files -- Amicalement Charlie

Re: [Gambas-user] a observer in a form can't catch an event from other class

2011-07-01 Thread Fabián Flores Vadell
2011/6/29 Benoît Minisini gam...@users.sourceforge.net: Can you make a little project for me so that I can test exactly your code? -- Benoît Minisini Thanks Benoît, but that's unnecesary. I quickly found the error in my code. By the way, I thought that Gambas events could be useful to

Re: [Gambas-user] for me, a big step

2011-07-01 Thread Benoît Minisini
Salut, found today a very important command (for me) : xdg-open use : xdg-open path/to/file/file I'v tested on Ubuntu and Mandriva (gnom and kde). That saves a lot of coding and entries in config-files This is what Desktop.Open() uses in Gambas to open files in a desktop- independent

[Gambas-user] G

2011-07-01 Thread joserribeiro26
Hg -- José Ribeiro -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more.