Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have made a simple player using mediaElement. Now I want to add feature like "open with" to my app.
I want to open my videos in my wpf app by clicking open with option.

thanks in advance.
Posted
Updated 22-Apr-12 20:06pm
v2
Comments
Sandeep Mewara 23-Apr-12 2:07am    
And the question is?

Here is what is expected of enquirers:
1. TRY first what you want to do!
2. Formulate what was done by you that looks like an issue/not working.
mane0806 23-Apr-12 8:28am    
No you get me wrong..i dont want any new application for this.
i play my videos in GOM player or windows media player either by drag and drop or we click right click on video and press open with option and select our player to play...
but when i select my player it executes but do not play that video..
so how to do that????????

1 solution

The thing to look for is "file type association". It is done in the registry in HKey Classes Root. There are some programs which can do that for you, e.g. System File Association[^]
 
Share this answer
 
Comments
mane0806 23-Apr-12 8:28am    
No you get me wrong..i dont want any new application for this.
i play my videos in GOM player or windows media player either by drag and drop or we click right click on video and press open with option and select our player to play...
but when i select my player it executes but do not play that video..
so how to do that????????
Bernhard Hiller 23-Apr-12 10:56am    
Then look for "command line arguments"...
mane0806 24-Apr-12 22:22pm    
@ Bernhard Hiller i don't know how to do that as i new to c-sharp and wpf..pls help me..

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