Click here to Skip to main content
15,887,831 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi Programmers
Can any one help me ??
How do I add my Program to (open with context menu)
For example : If I designed a media player program ..And install it on my computer
how to open any mp3 file by Right Click and open with
Thank you. I hope the question is clear .
my language is vb.net
Posted

I found several articles via Google using the search string add entries to windows context menu

Here are just two of them:

Adding Entries to the Standard Context Menu[^]

How to Add Any Application Shortcut to Windows Explorer’s Context Menu[^]
 
Share this answer
 
Comments
Michael Azzar 25-Apr-13 10:18am    
Thank you for links .it's very useful ☺
You'll have to write a shell extension. From what I can tell, it can be done in .net 4.0 now (although it's still recommended to do it in unmanaged code). Here's an example provided by micorsoft. It's not beginner level stuff, and the example provided is C++ - fair warning.

If this is the first time you're reading the term "shell extension", then you might have a look here: The Complete Idiot's Guide to Writing Shell Extensions. No offense intended - that's just the name of the article. Good luck.

- Pete
 
Share this answer
 
Comments
Michael Azzar 13-May-13 12:56pm    
Thank you very much it's very helpful

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