Click here to Skip to main content
13,453,986 members (42,709 online)
Rate this:
Please Sign up or sign in to vote.
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
Posted 15-Nov-12 1:39am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.180321.1 | Last Updated 15 Nov 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100