How can i go about associating my application with a filetype e.g *.safsg ? How can i get my program to open them file types when that filetype is double clicked on desktop for example. Thanks in advance
Printable View
How can i go about associating my application with a filetype e.g *.safsg ? How can i get my program to open them file types when that filetype is double clicked on desktop for example. Thanks in advance
You will need to create some registry key for this. And since you're writing to the registry, the user account that run your app needs to have administrator role on the computer.
Check out this code project article. It's shows you how to do it.
http://www.codeproject.com/KB/vb/VBFileAssociation.aspx