Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Howto check if file extension is associated with applica
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00656783
Message ID:
00656790
Views:
11
This message has been marked as the solution to the initial question of the thread.
Alexander,

>I'm using ShellExecute for opening document files of different type. And I want to disable "Open" button if selected file type is not associated with any application and cannot be opened. For instance, for .xls file if Excel is not installed, for .pdf if Acrobat not installed etc.

Have a look at the FindExecutable() funtion in the WINAPI section (api#12662).

Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform