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

2011-07-02 Thread Fabien Bodard
sorry i've done it directly without gambas ... the correction : private sub CreateDirTree(sDir as string) dim s as string if sdir begins / then sdir = right(sdir,-1) For each s in split(sDir, /) sDir /= s if exist(stmpdir) then continue mkdir stmpdir next catch Print The directory

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

2011-07-02 Thread Fabien Bodard
2011/7/1 nando nand...@nothingsimple.com: 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

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

2011-07-02 Thread Fabien Bodard
2011/7/1 Fabián Flores Vadell fabianfloresvad...@gmail.com: 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

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

2011-07-02 Thread Charlie Reinl
Am Freitag, den 01.07.2011, 23:28 +0200 schrieb 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

Re: [Gambas-user] Probable bug with _unknown method when used for properties

2011-07-02 Thread Benoît Minisini
Benoit, Done! Here you go! gwalborn OK, the problem is worse than I thought. It is a deep design error in Gambas, that prevent _unknown from dealing with properties in all possible cases. I will search again for a solution, but I am not optimistic! :-/ Regards, -- Benoît Minisini

Re: [Gambas-user] Probable bug with _unknown method when used for properties

2011-07-02 Thread Benoît Minisini
Benoit, Done! Here you go! gwalborn OK, the problem is worse than I thought. It is a deep design error in Gambas, that prevent _unknown from dealing with properties in all possible cases. I will search again for a solution, but I am not optimistic! :-/ Regards, Here is