I'm creating a program and would like to add my program to the list when you right click on a certain file type in Windows Explorer. How do I do this?
The program is in C++ NET 2.0 and I would pass arguments such as the file path/name if right-clicked and my program is selected.
5 replies to this topic
#1
Posted 01 June 2006 - 10:32 AM
|
|
|
#2
Posted 02 June 2006 - 07:15 AM
There's a series of articles on CodeProject that deals with unmanaged C++ and shell extensions.
If you're interested in going the managed route, then you'll need to deal with COM interop. Dino Esposito has a good C# article detailing what you need.
If you're interested in going the managed route, then you'll need to deal with COM interop. Dino Esposito has a good C# article detailing what you need.
#3
Posted 02 June 2006 - 11:11 AM
Ahh.. The second article doesn't load for me. I'll check again later.
I'll probably go managed if possible.
I'll probably go managed if possible.
#4
Posted 10 June 2006 - 05:01 PM
Loads fine for me. I've done this before a long time ago but I can't remember where I got the information or how I did it. I do know it was a simple registry edit though.
#5
Posted 13 June 2006 - 04:22 PM
It works now. Must have been down when I clicked on the link. That is a lot of code for the managed version.
#6
Posted 29 April 2012 - 08:07 PM
You can read about how can you do this by handling registry (independent of programming), read the 'The File Association with FileSystem' part from the tutorial here -- http://forum.codecal...zipperunzipper/.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top










