0

I want to display list of supported application for playing video file in combobox in windows application c#; Which is available in user computer like VLC, wmp, KMplayer, zoomplayer etc... Then user will choose his/her favorite player before clicking on play button.

patrik
  • 4,506
  • 6
  • 24
  • 48
Nripendra Ojha
  • 379
  • 2
  • 14
  • You could enumerate the software installed, and filter for known applications. Then check the registry/etc for the path/etc to each of the programs. Check with each application what the launch parameters are. – Kraang Prime Jan 02 '17 at 07:43
  • @KraangPrime plz help me by code. – Nripendra Ojha Jan 02 '17 at 08:36
  • [List applications installed](http://stackoverflow.com/a/908907/3504007) . The rest, you will need to research each application you wish to support. You could go by standards and use the user selected default - much easier: `System.Diagnostics.Process.Start(@"c:\path\to\movie.mpg");` – Kraang Prime Jan 02 '17 at 08:40
  • @KraangPrime Thanks for helping me and also for nice suggestion but i try to give my best so i am trying to do this. – Nripendra Ojha Jan 02 '17 at 09:58
  • 1
    Possible duplicate of [How to get recommended programs associated with file extension in C#](http://stackoverflow.com/questions/6679385/how-to-get-recommended-programs-associated-with-file-extension-in-c-sharp) – Alex K. Jan 02 '17 at 15:59

0 Answers0