Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining the Drive and Folder of executing program
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01450281
Message ID:
01450283
Vues:
78
This message has been marked as a message which has helped to the initial question of the thread.
Get this info from _VFP.ServerName
=messagebox(justpath(_VFP.ServerName))
>Hi Gang!
>
>question....
>
>I have created a standalone VFP EXE to run (or be called) from inside and outside of the MAIN Exectuable.
>
>When the standalone runs, I would like to be able to determine the Drive and Folder it is located in, when it is started.
>
>The catch is, the user may call it from some other drive and folder OTHER than where the standalone is located.
>
>For example...
>
>they are focused on G:\POS and the standalone is on K:\POSSHARE\
>
>So, if they call it from some other program from the G:\POS folder, how do I get reported back to the standaone that it is on K:\POSSHARE, instead of G:\POS or some other location?
>
>Thanks!
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform