Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine file association options?
Message
From
13/11/2001 17:44:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
How to determine file association options?
Miscellaneous
Thread ID:
00581203
Message ID:
00581203
Views:
76
When you right click on a file in Explorer, Explorer presents you with a list of options dependent on the file extension of the file you clicked on. For example, clicking on a Word document will typically show the following options at the top of the right click menu (this list will be be dependent on the OS and applications installed on one's workstation)

Open
New
Print
Open With
etc.

Is there a way to determine which options (Open, New, Print ...) are associated with a particular file extension so we could provide users with a similar list of options if they right click on a file within our application? Or is there a way to 'summon' the Explorer equivalent of this right click menu via Windows API voodoo?

For anyone following this thread, Daniel Gramunt was gracious enough to explain how to verify that a valid application is associated with a specific file extension - see thread 581172 for Dan's help (Thanks!)
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Next
Reply
Map
View

Click here to load this message in the networking platform