howto send shortcut on page in IE to app?

  • Thread starter Thread starter Angelo
  • Start date Start date
A

Angelo

I would like to create some kind of downloadmanager in c#.

When right-click on a link on a website I would like to have an extra option
with:
"Download with custom program"

I already found this key in the registry: (found it by looking at other
download accelerators)
HCU\Software\Microsoft\Internet Explorer\MenuExt\

But how do I send the url to my application?
Any samples?

Thanks!
Angelo
 
Thanks for your reply!

I'm in the right direction, but I guess I don't understand everything on
that page.
I can't get the url sent to a program. For example:
I created a key called: "open with custom program" value = e:\test.bat

contents of test.bat:
echo %1

This doesn't work.
Perhaps I'm thinking too simple :-)

Thanks!


Nicholas Paldino said:
Angelo,

Check out the section of the MSDN site titled "Adding Entries to the
Standard Context Menu", located at (watch for line wrap):

http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/ext/tutorials/context.asp

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)


Angelo said:
I would like to create some kind of downloadmanager in c#.

When right-click on a link on a website I would like to have an extra
option
with:
"Download with custom program"

I already found this key in the registry: (found it by looking at other
download accelerators)
HCU\Software\Microsoft\Internet Explorer\MenuExt\

But how do I send the url to my application?
Any samples?

Thanks!
Angelo
 
Back
Top