Hooking Webbrowser events?

J

Jim

I'd like to hook events (like when a user clicks or right-clicks on a link
in a web page) to launch a download manager or to open a new window for the
link, but I am finding it difficult to find sources on how this can be done
using VB.Net.

Have you seen any examples such as this?

I am using VB.Net 2005 Professional, but any .Net examples are welcomed.

Thanks!
 
J

Jochen Kalmbach [MVP]

Hi Jim!
I'd like to hook events (like when a user clicks or right-clicks on a link
in a web page) to launch a download manager or to open a new window for the
link, but I am finding it difficult to find sources on how this can be done
using VB.Net.

Browser Helper Objects: The Browser the Way You Want It:
http://msdn.microsoft.com/ie/iedev/default.aspx?pull=/library/en-us/dnwebgen/html/bho.asp


Browser Extensions:
http://msdn.microsoft.com/workshop/browser/ext/extensions.asp

Explorer Bars, Tool Bands, and Desk Bands:
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/shell_adv/bands.asp


--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
 
M

miktro

I'd like to hook events (like when a user clicks or right-clicks on a
link in a web page) to launch a download manager or to open a new
window for the link, but I am finding it difficult to find sources on
how this can be done using VB.Net.

Have you seen any examples such as this?

I am using VB.Net 2005 Professional, but any .Net examples are
welcomed.

Thanks!

There is a good example called
"How To Handle Document Events in a Visual Basic .NET Application"
at http://support.microsoft.com/?kbid=311284.

I have successfully used this in VB.Net apps.

Which events you get depends on the HTML Document / interface you use.


HTHT

Mike
Datalucid.com
 

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