it's a registry query. look in HKeyclassesroot to find the file extension. that may point you to another node in HKCR, which will have a sub-node or sub-sub node called "shell" or "opens with"
i'm guessing here based on what i see in my own local registry. -----Original Message----- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] Behalf Of Mike Andrews Sent: Wednesday, November 01, 2006 10:48 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Associated File Extensions... Guys, I need to know how to retrieve the associated executable for an existing file extension. Example: I want to know the path and executable name for a xxx.pdf file. Any suggestions? Thanks, Mike =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com