[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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.