Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to set the starting path?
Message
De
14/01/2005 17:56:51
 
 
À
14/01/2005 11:23:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
00977105
Message ID:
00977394
Vues:
20
Hi, Peter

I'm sorry to interfeer, but I want to ask you to explain this a little. I'm not sure it will work - the icon can have Working Directory set to something else. So, doubleclicking it will launch the exe in the directory set by the icon. In that case, CURDIR() will point God knows where.

What about gcStartupDir = Sys(5) + JustPath(Sys(16))?

Thank you.

>
>BTW, put this somewhere on top of your main program::
private gcStartupDir
>gcStartupDir = sys(5) + curdir()
Grigore Dolghin
Class Software.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform