how to change working directory within a form
From: rstyles <rstyles_at_acs.uwa.edu.au>
Date: Wed, 27 May 1998 14:00:10 +0800
Message-ID: <356BABEA.C84C8418_at_acs.uwa.edu.au>
I have a forms menu from which I want to call different forms applications with different working directories. When an application is selected, I want the menu form to programatically change the working directory then call the first form of the application. On return, the menu would reset the working directory. I don't want to change forms45_path in the registry and I don't want to have a long and unmanageable forms45_path which includes all possible directories.
Date: Wed, 27 May 1998 14:00:10 +0800
Message-ID: <356BABEA.C84C8418_at_acs.uwa.edu.au>
I have a forms menu from which I want to call different forms applications with different working directories. When an application is selected, I want the menu form to programatically change the working directory then call the first form of the application. On return, the menu would reset the working directory. I don't want to change forms45_path in the registry and I don't want to have a long and unmanageable forms45_path which includes all possible directories.
Is there a way to do this? I have seen elusive references to loadpath (insert loadpath, delete loadpath, describe loadpath) which would seem to be what I am after but there is little info about them and I can't seem to get the syntax to work.
The only other way I can think of is to set a global directory variable in the menu which is prepended to the name of all called forms in the application.
Any suggestions?
Thanks in advance
Richard Styles Received on Wed May 27 1998 - 08:00:10 CEST