Re: [Gambas-user] Filename as string

2009-02-18 Thread Doriano Blengino
richard terry ha scritto: > On Wed, 18 Feb 2009 11:01:48 pm FoxIII wrote: > >> I have managed to sort this out now. I am using the code; >> >> TextBox1.Text = File.Dir(Dialog.path) & "/" & File.Name(Dialog.path) >> >> But (and I don't know if I should start a new topic or not) I am curious as

Re: [Gambas-user] Filename as string

2009-02-18 Thread richard terry
On Wed, 18 Feb 2009 11:01:48 pm FoxIII wrote: > I have managed to sort this out now. I am using the code; > > TextBox1.Text = File.Dir(Dialog.path) & "/" & File.Name(Dialog.path) > > But (and I don't know if I should start a new topic or not) I am curious as > to how to run a command from gambas.

Re: [Gambas-user] Filename as string

2009-02-18 Thread FoxIII
I have managed to sort this out now. I am using the code; TextBox1.Text = File.Dir(Dialog.path) & "/" & File.Name(Dialog.path) But (and I don't know if I should start a new topic or not) I am curious as to how to run a command from gambas. For example, when you are installing a 'deb' file, you

Re: [Gambas-user] Filename as string

2009-02-17 Thread richard terry
On Wed, 18 Feb 2009 12:30:43 am FoxIII wrote: > I am very new to Gambas (and programming in general). I am trying to > retrieve a filename as string from fileview so I can display it on the > screen, but do not seem to be able to manage it. I know this may sound a > bit of a simple request, but for

Re: [Gambas-user] Filename as string

2009-02-17 Thread Jussi Lahtinen
I'm not completely sure what you want... but if you use fileview mode none or single. You can retrieve filename of selected file like this: StringVariable = FileView1.Selection[0] Hope that helps... Jussi On Tue, Feb 17, 2009 at 3:30 PM, FoxIII wrote: > > I am very new to Gambas (and progra

[Gambas-user] Filename as string

2009-02-17 Thread FoxIII
I am very new to Gambas (and programming in general). I am trying to retrieve a filename as string from fileview so I can display it on the screen, but do not seem to be able to manage it. I know this may sound a bit of a simple request, but for a total beginner, the help files are not entirely, w