Click here to Skip to main content
15,120,937 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi There, created an app embedding windows media player, I am able to play the file by opening the file through open file dialog. My request is how to open the audio file by default with the app i created like (right click on the audio file choose openwith and select the player(app created)) and file should play.

Kindly help

1 solution

that is a trick in OS level once you have to right click on file type then chose open with and set you prog. as default for all same kind file,, i don't know at C# level we have any kind of functionality like this

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900