Page 1 of 1
Save a particular location on an application
Posted: Tue Nov 02, 2004 9:30 am
by Lurokus
Hi im currently designing an application...
I want to know how to load a file from some other locaiton which can be chosen, but when i load it. it saves the file location onto a Menu.
Is this possible?
Can anyone help me?
Thanks in Advance
-Lurokus-
Posted: Tue Nov 02, 2004 12:32 pm
by LarsG
Hi, and welcome..
This might help you abit:
Code: Select all
a$ = OpenFileRequester("Title","","*.*",0)
If a$ <> ""
Debug GetPathPart(a$)
Else
Debug "Cancelled"
EndIf
Getting the debug string onto a Menu shouldn't much harder..
Why don't you try it, and see if you can get it to work?!?

Posted: Fri Nov 05, 2004 7:32 am
by Lurokus
Okay works... Thanks!!
what about this...
When I Close it. It saves this information so when i reopen it i can run the location without having to select it.
Posted: Fri Nov 05, 2004 7:41 am
by carolight
Can you use a Preference file? These are like .ini files, and are really easy to save into and read.
Posted: Fri Nov 05, 2004 7:54 am
by Lurokus
okay lol.
how do i do that??
Posted: Fri Nov 05, 2004 8:21 am
by blueznl
read the help file...
(ever tried pressing F1?)
OpenPreferences()