开发者

how do I change the default program hat opens an file

I have created a program that opens image fi开发者_Go百科les. How can I make my program from C# the default app for image file's (*.jpg, *.png, *.gif).


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜