473,394 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

howto send shortcut on page in IE to app?

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
Nov 16 '05 #1
2 1499
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/de...ls/context.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Angelo" <AngeloNNSPMHouben_et_hotmail.com> wrote in message
news:uH**************@TK2MSFTNGP11.phx.gbl...
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

Nov 16 '05 #2
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 [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:e$**************@TK2MSFTNGP11.phx.gbl...
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/de...ls/context.asp
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Angelo" <AngeloNNSPMHouben_et_hotmail.com> wrote in message
news:uH**************@TK2MSFTNGP11.phx.gbl...
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


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

27
by: aa | last post by:
Thought this question might be out of this NG's scope, there are always knowledgable people who might hava an answer. A hyperlink to a shortcut to a file returnes an empty screen, and the source...
5
by: Erwin Kloibhofer | last post by:
what if i have a webpage that displays the text "please wait, this may take a few seconds..." and it now waits until some event on the server happens. whatever this is, this can be quick, but it...
4
by: Marco Meoni | last post by:
Hi. I read the Gordon McMillan's "Socket Programming Howto". I tried to use the example in this howto but this doesn't work. The code is class mysocket: '''classe solamente dimostrativa -...
2
by: Dan Sikorsky | last post by:
I've loaded a string variable with html from a web page URL captured using WebRequest and WebResponse. How can I send this html to the printer?
2
by: ATS | last post by:
HOWTO Override ASP's Response output for 2003/IIS. Please help, I want to have an ASP page write back EVERYTHING to the ASP Response. That includes HTTP Headers. I want my ASP to look...
2
by: =?Utf-8?B?QHdpbg==?= | last post by:
Hello There, I need to page a pager whenever an error event takes place in my app. What is the best approach in this? Should I use and modify the SerialPort class to talk to the modem. I...
0
by: glubber | last post by:
I have a cronned perl script that runs on a different server. when I try to restore it to the server below things dont copy across correctly. the target server is described below. debian 4.0...
0
by: koraykazgan | last post by:
Hi all, I am writing a C# WinForms application. This app should recieve files and will do operations to them. I want to be able to provide an easy approach for using files with my app. So I...
2
by: Aykut Canturk | last post by:
there's an aspnet site. some pages are html and cannot be changed. (no javascript nor links can be changed). these pages have links. for example a.html calls b. html like: <a href="b.html"page...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.