Click here to Skip to main content
11,582,850 members (77,511 online)
Rate this: bad
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
0 OriginalGriff 365
1 Sergey Alexandrovich Kryukov 220
2 virusstorm 209
3 Kornfeld Eliyahu Peter 165
4 Andy Lanng 139
0 OriginalGriff 1,403
1 Sergey Alexandrovich Kryukov 970
2 Abhinav S 696
3 F-ES Sitecore 505
4 Suvendu Shekhar Giri 503

Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | 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