How to.

J

Jacek Jurkowski

When I click right button at folder icon in
Windows explorer the context menu shows
up with options "Copy/Pase/Send to" and much more.
How to add item to that menu that would open my
application passing folder name as a parameter?
 
M

Marc Gravell

Not really a C# question, but just add a shortcut to your application
into the %USERPROFILE%\SendTo folder.

Marc
 
M

Marc Gravell

(if you want to do something on the main menu (rather than SendTo) then
you're into shell extension territory... not easy, but can be done;
search for "shell extension")...

Marc
 
I

Ignacio Machin ( .NET/ C# MVP )

When I click right button at folder icon in
Windows explorer the context menu shows
up with options "Copy/Pase/Send to" and much more.
How to add item to that menu that would open my
application passing folder name as a parameter?

Hi,

that is not an easy to do task, take a look at this post from Bob
Powell:
Yes it is...

I'm just preparing an article for Novembers Well Formed on creating
shell
extensions in C# and VB.NET in which I create a thumbnail generator
for a
custom file so that users can browse with "Thumbnails" turned on.


You need to import or define the interfaces you want to use, implement
the
interfaces and then register the DLL for COM interop.


This article has some info on other types of shell extension...
http://www.codeproject.com/csharp/dateparser.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top