all groups > visual c > july 2003 >
You're in the

visual c

group:

How to develop an add-in for internet explorer?


Re: How to develop an add-in for internet explorer? William DePalo [MVP VC++ ]
7/30/2003 11:57:02 PM
visual c:
[quoted text, click to view]

Well, you don't say what you want to do so your question is a bit
open-ended.

You might want to start your research by googling for "browser helper
object" (aka BHO) and/or "explorer bar".

Regards,
Will

Re: How to develop an add-in for internet explorer? William DePalo [MVP VC++ ]
7/31/2003 11:02:07 AM
[quoted text, click to view]

The browser control has an interface named DWebBrowser2. One of the events
on that interface is BeforeNavigate2 which fires just before the control
moves to a new URL. I _think_ (but I am not sure) that a Browser Helper
Object could be used to get access to this interface in IE so that you could
track IE's movements. Alternatively, you could host the browser control in
your own application.

Dino Esposito has written in MSJ or MIND or MSDN magazine on the topic. You
might want to search the web.

Regards,
Will


How to develop an add-in for internet explorer? Tommy Shore
7/31/2003 11:49:14 AM
Give me some advice plz, thanks.

Re: How to develop an add-in for internet explorer? Tommy Shore
7/31/2003 1:34:25 PM
I need this:
I click a href such as http://localhost/down.aspx?nid=123 and in fact it
points to a file named 123.zip, I want to
get the file name "123.zip" before the downloading begins.

So, what should I do?

Thanks.


"William DePalo [MVP VC++ ]" <willd.no.spam@mvps.org> дÈëÏûÏ¢ÐÂÎÅ
:OuE4KfxVDHA.1072@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]

Re: How to develop an add-in for internet explorer? William DePalo [MVP VC++ ]
8/1/2003 1:31:39 AM
[quoted text, click to view]

You are welcome.

[quoted text, click to view]

I don't know for sure. I suggest you do some experimenting. I would expect
that the sequence of events might be something like

BeforeNavigate2 // includes URL
FileDownload
DownloadBegin
DownloadComplete
NavigateComplete2

but that's just speculation on my part.

Regards,
Will

Re: How to develop an add-in for internet explorer? Tommy Shore
8/1/2003 9:35:09 AM
Thanks very much.

Now I can catch the event "DWebBrowserEvent2->FileDownLoad", but I don't
know how can I catch get file name from the website.
What function or class should I use to get the name?For example
http://localhost/vc6.rar, how can I get it?
"William DePalo [MVP VC++ ]" <willd.no.spam@mvps.org> дÈëÏûÏ¢ÐÂÎÅ
:#GLn7S3VDHA.1872@TK2MSFTNGP12.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button