Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Distribution Problems
Message
De
12/05/1998 16:32:04
 
 
À
12/05/1998 15:37:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00098844
Message ID:
00098853
Vues:
21
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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform