Click here to Skip to main content
11,429,154 members (64,100 online)
Rate this: bad
good
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 2:39am

1 solution

Rate this: bad
good
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
  Permalink  

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



Advertise | Privacy | Mobile
Web02 | 2.8.150428.2 | Last Updated 15 Nov 2012
Copyright © CodeProject, 1999-2015
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