views:

34

answers:

2

I have created a program that opens image files. How can I make my program from C# the default app for image file's (*.jpg, *.png, *.gif).

A: 

Have a look here.

Will A
...and be careful!
Will A
A: 

Any of the install/setup package-makers should do this for you.

From Visual Studio you can use the included "Setup Package" project type (located under "Other Project Types"). Right-click on the setup project you created in your solution, and select "view > file types" and you can setup whatever file types you'd like on the client's machine, and how to open them.

InstallShield and all of the others also support this stuff too.

Steve