Directory dialog box
Posted: Fri Mar 08, 2013 3:09 am
Hi,
I am trying to make a dialog box in order to set a default directory where I store my database (which the program will load), graphs and other stuff (which the program makes). The code I am using is the following:
%directory = "path_name"
@uiedit(%directory, "Directory:")
cd {%mode}
However, once the dialog box opens the path name stops at a "space" in the path_name. My ultimate purpose is to make my program user-friendly, thus for people who do not have any knowledge on programming not to face this little issues. Could this be overcome?
PS, I also tried with
string directory = "path_name"
@uiedit(directory, "Directory:")
cd {%mode}
but it shows an error message saying "No workfile exists...use NEW or OPEN"... however I am not working with a workfile, since my program is creating it
Thanks in advance.
LR
I am trying to make a dialog box in order to set a default directory where I store my database (which the program will load), graphs and other stuff (which the program makes). The code I am using is the following:
%directory = "path_name"
@uiedit(%directory, "Directory:")
cd {%mode}
However, once the dialog box opens the path name stops at a "space" in the path_name. My ultimate purpose is to make my program user-friendly, thus for people who do not have any knowledge on programming not to face this little issues. Could this be overcome?
PS, I also tried with
string directory = "path_name"
@uiedit(directory, "Directory:")
cd {%mode}
but it shows an error message saying "No workfile exists...use NEW or OPEN"... however I am not working with a workfile, since my program is creating it
Thanks in advance.
LR