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.
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.
Ahh.. The second article doesn't load for me. I'll check again later.
I'll probably go managed if possible.
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.
It works now. Must have been down when I clicked on the link. That is a lot of code for the managed version.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks