Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find registered application path
Message
De
01/02/2006 19:35:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Divers
Thread ID:
01092599
Message ID:
01092667
Vues:
23
>If I have a VFP application, and I know that the user is supposed to have Excel installed on the mahine, but I want to be a good little programmer and not use hard-coded paths, how can I find the path to Excel? Do I look for the application registered to handle XLS files? Just forming an idea here ...
>
>&& Art

Hi Arthur,

You can use FindExecutable() API function
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/findexecutable.asp

HTH
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform