Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distribution Problems
Message
From
12/05/1998 16:32:04
 
 
To
12/05/1998 15:37:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00098844
Message ID:
00098853
Views:
20
You need to set your path and default directories. In order to determine the path of the calling program you can use the routine L1Call() below. Then your data path is L1Call()+'DATA\' -- so you can set PATH to that:

l_cNewPath = L1Call()+'DATA\'
Set Path To &l_cNewPath

-Adam

* Make this a separate file L1Call.Prg
* L1Call Returns the calling program's directory
Local l_c
l_c = Sys(16,0)
RETURN Left(l_c,Rat('\',l_c))
****** End L1Call


>Can someone advise?
>
>I have an application which I now wish to create distribution disks for. I run the wizard having first created a disk set directory and placed the data and .exe in the appropriate places. Everything executes fine. I then perform an installation, but the data source used by the application remains the original one. That is, instead of looking to the installation directory data source, \myprogram\data, the application is using the original development data directory!
Previous
Reply
Map
View

Click here to load this message in the networking platform