Link to home
Start Free TrialLog in
Avatar of chaos_59
chaos_59

asked on

Default File Type

Is it possible to determine the default file type for an extension from within a vb program? I want to be able to execute the default application for an object based on it's extension.
ASKER CERTIFIED SOLUTION
Avatar of bukko
bukko

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bukko
bukko

ShellExecute API automatically performs this for you:

"Using the ShellExecute Function to Launch Applications in Visual Basic"
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarvb4/html/msdn_shelexec.asp