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 get a window displaying what is happening with the install rather than seeing it through the command line. richard terry-5 wrote: > > 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 a total beginner, the help files are not >> entirely, well, helpful. hehe > > If you post your code to show what you are attempting and what is failing > we > can better help you. > > Regards > > Richard > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://www.nabble.com/Filename-as-string-tp22057355p22077161.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user