Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Location of a VFP exe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00396912
Message ID:
00397207
Vues:
11
>Andrew and Ed,
> Thank you, thank you, thank you.
>Both "ExeLocation = justpath(_vfp.servername)"
> and "ExeLocation = justpath(SYS(16,0))"
>produce the correct result.

Realize that in the COM environment, they are not identical; I also recommend doing a FULLPATH() on either result, and that you also hook the location that VFP's files from SYS(2004), as opposed to the executable path grabbed above, get snagged, since many people drop things like FOXTOOLS in the same place as the development engine or runtime files.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform