Re: [Gambas-user] how to start a file?

2009-09-14 Thread Ricardo Díaz Martín
You can use this (you need to have installed in your system xdg-open command - out of the box in ubuntu): EXEC ["xdg-open", PathOfTheFileYouCanOpen] "xdg-open" runs like in windows "start" Regards, Ricardo Díaz 2009/9/15 Robert JUHASZ > I just read the answers in a reverse order... I believe

Re: [Gambas-user] gambas-mysqladmin

2009-09-14 Thread girardhenri
Hi, I tried it with gambas3 and it works great !! thanks -- From: "Demosthenes Koptsis" Sent: Tuesday, September 08, 2009 2:46 PM To: "mailing list for gambas users" Subject: [Gambas-user] gambas-mysqladmin > Hi to all. > > I wrote a very nice pro

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Robert JUHASZ
I just read the answers in a reverse order... I believe that the Desktop.Open is exactly what I need. Many thanks! I'll run the program on a server and I let the user to decide if he saves only the link or "attach" the file - in this case I'll copy the referred file to a dedicated folder on the se

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Robert JUHASZ
Hi, I mean to let the user to attach a file in run time (I save the link) and let him run the file. Just I don't know how open that file using the link (not for my gambas application but just for the user with the default program of the "attached" file). In VBA I used "ShellExecute" for running p

Re: [Gambas-user] form.normal is badly overridden in class

2009-09-14 Thread Benoît Minisini
> When i port my project gambas2 to gambas3 error : "form.normal is > badly overridden in class" in gambas2 no error. it is working. > Window.Normal is a constant, you cannot override it anymore in Gambas 3. Fix your code to use another symbol name. Regards, -- Benoît Minisini --

[Gambas-user] form.normal is badly overridden in class

2009-09-14 Thread abdurrahman ulusoy
     When i port my project  gambas2 to gambas3 error : "form.normal is badly overridden in class" in gambas2 no error. it is working.  ___ Yahoo! Türkiye açıldı! http://yahoo.com.tr İnternet üzerindeki en iyi içeriği Yahoo!

Re: [Gambas-user] Is it a bug or a "feature"?

2009-09-14 Thread Benoît Minisini
> On Monday 14 September 2009 21:59:06 Benoît Minisini wrote: > > Sorry, my joke didn't work! :-/ > > > > I meant that AFAIK, Draw.Ellipse() didn't change at all since the > > beginning. It always took the coordinates of the rectangle surrounding > > it. > > Benoit, > I cannot believe in that beca

Re: [Gambas-user] Gambas architecture

2009-09-14 Thread Benoît Minisini
> Hi! > I'm trying to get better knowledge how Gambas works. > I'm not sure how to progress... any hints? Flow charts, etc.? > > I understand role of gbc, gba and how interpreters works generally. > But why there is gbr and gbx? > Is gbr for gambas executables, and gbx for non archived code? > >

Re: [Gambas-user] Is it a bug or a "feature"?

2009-09-14 Thread Aleksandrs Livshics
On Monday 14 September 2009 21:59:06 Benoît Minisini wrote: > Sorry, my joke didn't work! :-/ > > I meant that AFAIK, Draw.Ellipse() didn't change at all since the > beginning. It always took the coordinates of the rectangle surrounding it. Benoit, I cannot believe in that because I have upgraded m

[Gambas-user] Gambas architecture

2009-09-14 Thread Jussi Lahtinen
Hi! I'm trying to get better knowledge how Gambas works. I'm not sure how to progress... any hints? Flow charts, etc.? I understand role of gbc, gba and how interpreters works generally. But why there is gbr and gbx? Is gbr for gambas executables, and gbx for non archived code? Jussi --

Re: [Gambas-user] Is it a bug or a "feature"?

2009-09-14 Thread Benoît Minisini
> On Sunday 13 September 2009 19:16:34 Benoît Minisini wrote: > > > Hi Gambas users. > > > I have found that in version 2.16 Draw.Ellipse does not > > > work as it was in 2.7 (my previous version). > > > In 2.16 the parameters which should specify coordinates of the > > > Ellipse centre are actuall

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Dimitris Anogiatis
Hey Robi, What I described above is a way to store information in a configuration file. what you need is different Files are going to be attached where? Where is the pdf going to be stored? in the same computer where the project is running? or in a website? To open a file with the default applic

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Benoît Minisini
> Hi Dimitris, > > Thanks for your answer. > I'm not sure if this is exactly what I want but I'll check. I try to tell > more concretly my need: > I wanna make a small project follower application for my colleagues where > they can follow some actions and attach files. For instance a pdf file with

Re: [Gambas-user] What should executable open with?

2009-09-14 Thread Dimitris Anogiatis
CelticBhoy, open a folder that contains a gambas file and right click on it then click on the "Open with" tab and press the add button click on the Use a custom command section and add gbr2 when you do that select the gbr2 in the "open with" tab and click ok and next time you doubleclick on a ga

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Jussi Lahtinen
I'm not sure what you mean, but this code creates file. Dim hFile as File Dim sString as String = "Something to write." hFile = Open "testfile.txt" For Create Write #hFile, sString Close #hFile More from here: http://gambasdoc.org/help/lang/open http://gambasdoc.org/help/cat/stream Or if you m

Re: [Gambas-user] how to start a file?

2009-09-14 Thread Robert JUHASZ
Hi Dimitris, Thanks for your answer. I'm not sure if this is exactly what I want but I'll check. I try to tell more concretly my need: I wanna make a small project follower application for my colleagues where they can follow some actions and attach files. For instance a pdf file with the customer

Re: [Gambas-user] What should executable open with?

2009-09-14 Thread Jussi Lahtinen
I think your system doesn't have gambas MIME type installed. Maybe you should try to install Gambas again. Jussi On Mon, Sep 14, 2009 at 17:14, Jussi Lahtinen wrote: > gbr2 ProgramName.gambas > > > Jussi > > > On Mon, Sep 14, 2009 at 12:18, CelticBhoy wrote: >> >> Really daft question, but on

Re: [Gambas-user] What should executable open with?

2009-09-14 Thread Jussi Lahtinen
gbr2 ProgramName.gambas Jussi On Mon, Sep 14, 2009 at 12:18, CelticBhoy wrote: > > Really daft question, but on my Ubuntu system my compiled gambas app is set > to open with wine for some reason. I just want to know what it should be set > to, to enable it to run. > -- > View this message in c

[Gambas-user] What should executable open with?

2009-09-14 Thread CelticBhoy
Really daft question, but on my Ubuntu system my compiled gambas app is set to open with wine for some reason. I just want to know what it should be set to, to enable it to run. -- View this message in context: http://www.nabble.com/What-should-executable-open-with--tp25432680p25432680.html Sent