0

[img]http://i15.photobucket.com/albums/a389/bullzeye10/SM.png?t=1291510924[/img]
that is my program.
its pretty self explanatory but what i want it to do is that if someone right clicks a file, (see following image) it shows an option to add it as a shortcut to my program. So if a person would right click -> add as shortcut to shortcut manager:

-open up shortcut manager (if not already open)
-fill in file name & file location
-allow user to input category name then lets the user add the shortcut.

where i want the "add as shortcut to shortcut manager" to go:
[img]http://www.c-sharpcorner.com/uploadfile/scottlysle/customfiletype12082006000848am/Images/CustomFileType4.gif[/img]


thanks =]
link to download my program: http://www.mediafire.com/?q3nn18nruu7w2d7

Edited by trippinz: n/a

3
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by Diamonddrake
0

That last post was about Internet Explorer, That's not what you want.

There are 2 ways to do what you are talking about. The best and most difficult way is to create a com object that catches Windows Explorer.exe's request to create the shell context menu and insert your item there.

The simple way is to create a registry entry for a file type or types in the HKCR. This is probably the way to go for such a small project but you will certainly have to create your application in the singleton pattern and forward comandline arguments to the original instance of your app to get the functionality you are after.

an example to get your started would be http://www.codeproject.com/KB/cs/appendmenu.aspx

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.