Add menu to File Explorer when Right click over file.

I'm writing a program that has some neat file utilities.
I want to list my Commands on the File Explorer when a person
"Right-Clicks" over a file.
Like when it says: Open, Print, cut, copy, etc.....
I know it can be done because pgp and other programs
have added commands there. Registry trick?
Please show code if you already have it. Thanks!
jgoreAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

VbmasterCommented:
This is perhaps what you are lookin' for.. "Shell Extension Interfaces v1.20 - Create your own shell extensions" under "TypeLibs" at..

http://www.geocities.com/SiliconValley/Foothills/9940/idxnie.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
VbmasterCommented:
Another solution would be this..

* Open the regedit program (Start button -> "Run" -> "regedit")
* Select HKEY_CLASSES_ROOT
* Right-click on the right-side of the window, choose "Create" -> "Key" (the first item.. think it's called Key in english version).
* Set the name to .ext if ext is the extension of your files
* Select the new key you just created
* Double-click on the (Standard) value, choose a representive text for your files like "Myprogram.Document"
* Select HKEY_CLASSES_ROOT again
* Create a new key and set the name to "Myprogram.Document" or whatever you called the key before
* Select the new key
* Create a key inside it and call the new key "shell"
* Add items under the shell key, and go back to explorer select a file with your extension and see what comes up

* Every key in "shell" will be a item in the right-menu in explorer, but to get explorer to know what is to happen when the user clicks the item you will need to create a key called "command" under every item. There you set the (Standard) value to something like "C:\Myprogram.exe" or whatever file is to be run when the user clicks on the item.


But I think the URL I gave will give you a much nicer interface, note that if you follow these steps you will get the first item in bold text.. don't know how to override it.
0
KDivadCommented:
Or, you can take a look at RegExtension on my website.
http://lightning.prohosting.com/~kdivad/index.html

Later,
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

jgoreAuthor Commented:
VBMaster - Your url is:
http://www.geocities.com/SiliconValley/Foothills/9940/typelibs\shellext.zip
The last slash is backwards.  I got the file, but others might not.
Just thought Id let you know.  All the packages listed there
look real good.  Great work! thanks!
0
mcriderCommented:
jgore, if vbmaster helped you, please select his comment as an answer and grade it...


Cheers!
0
jgoreAuthor Commented:
All of your info has helped me alot!
I tried RegExtension and it seems to work. But, once you set it wrong it's hard to find out how to undo it, heh.
I will probably try the others methods as well.
Thanks for all your help!!!
I couldn't have done it without ya ;-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.