Click here to Skip to main content
15,908,634 members
Home / Discussions / C#
   

C#

 
GeneralProblems DWebBrowserEvents2_DocumentCompleteEvent Event Pin
lags200517-Jun-04 1:14
lags200517-Jun-04 1:14 
GeneralRe: Problems DWebBrowserEvents2_DocumentCompleteEvent Event Pin
Heath Stewart17-Jun-04 1:42
protectorHeath Stewart17-Jun-04 1:42 
GeneralRe: Problems DWebBrowserEvents2_DocumentCompleteEvent Event Pin
lags200517-Jun-04 2:06
lags200517-Jun-04 2:06 
GeneralRe: Problems DWebBrowserEvents2_DocumentCompleteEvent Event Pin
Heath Stewart17-Jun-04 2:14
protectorHeath Stewart17-Jun-04 2:14 
GeneralThreads Pin
bouli17-Jun-04 1:03
bouli17-Jun-04 1:03 
GeneralRe: Threads Pin
Corinna John17-Jun-04 1:32
Corinna John17-Jun-04 1:32 
GeneralLog URL's visited Pin
Stuggo17-Jun-04 1:00
Stuggo17-Jun-04 1:00 
GeneralRe: Log URL's visited Pin
Heath Stewart17-Jun-04 1:39
protectorHeath Stewart17-Jun-04 1:39 
This is best done by using a Browser Helper Object (BHO). An old article on MSDN describing BHOs uses just the example you're looking for, except that instead of logging the URL it displays the content of the page when the document is done download. Read Browser Helper Objects: The Browser the Way You Want It[^]. If you need further help on this, please visit the VC++ forum here on CodeProject.

You can write a BHO using C#, but you need to declare a lot of interop'd interfaces and perform a lot of marshaling. Sorry to say, based on how you phrased your question you may have more problems with this. Besides, when you're hooking a majority of the events on DWebBrowserEvents2, you need to be quick. Managed code can be faster than native code, but when a lot of marshaling is involved, you'll find that performance is quite a bit slower.

 

Microsoft MVP, Visual C#
My Articles
GeneralEvents Pin
bouli17-Jun-04 1:00
bouli17-Jun-04 1:00 
GeneralRe: Events Pin
Heath Stewart17-Jun-04 1:34
protectorHeath Stewart17-Jun-04 1:34 
GeneralRe: Events Pin
Corinna John17-Jun-04 1:47
Corinna John17-Jun-04 1:47 
GeneralRe: Events Pin
Heath Stewart17-Jun-04 1:50
protectorHeath Stewart17-Jun-04 1:50 
GeneralRe: Events Pin
bouli17-Jun-04 1:56
bouli17-Jun-04 1:56 
GeneralRe: Events Pin
bouli17-Jun-04 1:48
bouli17-Jun-04 1:48 
GeneralRe: Events Pin
Heath Stewart17-Jun-04 1:52
protectorHeath Stewart17-Jun-04 1:52 
GeneralRe: Events Pin
bouli17-Jun-04 2:08
bouli17-Jun-04 2:08 
GeneralRe: Events Pin
Heath Stewart17-Jun-04 2:15
protectorHeath Stewart17-Jun-04 2:15 
GeneralRe: Events Pin
bouli17-Jun-04 2:34
bouli17-Jun-04 2:34 
GeneralRe: Events Pin
Corinna John17-Jun-04 1:39
Corinna John17-Jun-04 1:39 
GeneralRe: Events Pin
bouli17-Jun-04 1:45
bouli17-Jun-04 1:45 
GeneralRe: Events Pin
Corinna John17-Jun-04 1:52
Corinna John17-Jun-04 1:52 
GeneralRe: Events Pin
bouli17-Jun-04 1:56
bouli17-Jun-04 1:56 
GeneralRe: Events Pin
bouli17-Jun-04 2:01
bouli17-Jun-04 2:01 
Generalcheck programatically if IIS is installed Pin
michalJ17-Jun-04 0:13
michalJ17-Jun-04 0:13 
GeneralRe: check programatically if IIS is installed Pin
Heath Stewart17-Jun-04 1:27
protectorHeath Stewart17-Jun-04 1:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.