Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find registered application path
Message
From
01/02/2006 19:35:38
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 5.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01092599
Message ID:
01092667
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform