Integrating file extensions into Windows

howester77

Active member
Joined
Aug 5, 2005
Messages
38
Programming Experience
5-10
I created a file with the extenion of ".asps", for example, file "del.asps". How do I create something so that when I click on "del.asps", my application opens the asps file?
 
The normal way would be to add an entry in control Panel-> Folder options -> File Types.
Is this what you are after or are you looking for a way to do this in code?

g
 
Some setup/installers allow you to with easy set up file associations for deployment. ClickOnce included with VB 2005 Express and Standard edition does not support this.

This walk-through on setting up File Types for a Setup project is targeted at VB 2003, but the article decribes how file associations work. There is also a link in that article that says "hard way" that will tell you how to work with registry to set this up through code.
Link: http://www.vbcity.com/forums/topic.asp?tid=72258
 
Back
Top