ok,ya the title doesn't explain it too well. What I want to do though, is be able to set a default image for a file extention ( example: *.txt, *.ppt, *.ppf, etc..) as well as an application that opens it when you double-click one of them. And, also tell the app what to do when a user double-clicks one of the specific file and the app opens.

Example: I have made an app that saves a new file that has the extention of ".pgt". But, when it saves one, the file that has saved shows a random MS made image that means there is no image assigned to it. And, when I doulbe-click it, it gives me an error message that says Windows doesn't know what to do with this file. But I want it to open the application and read the file when I double click it.

I've seen this done with VC# before, but im not sure if its possible in VB. If it is could someone explain how it is done?