Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verify file extension is associated with an application
Message
From
13/11/2001 17:11:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Verify file extension is associated with an application
Miscellaneous
Thread ID:
00581172
Message ID:
00581172
Views:
49
We would like to programmatically confirm that a program has been associated with a specific file extension before trying to launch the file using the ShellExec API.

By programmatically confirm, I mean that we would like to make sure that:

1. A program has been associated with the given file extension

2. That the referenced program actually exists

We would use this information to enable/disable specific files from being clicked on if a user's workstation didn't have a valid application associated with the file in question.

Any thoughts on how we might do this?

Thanks!
Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Next
Reply
Map
View

Click here to load this message in the networking platform