Click here to Skip to main content
16,004,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: comparing objects Pin
saud_a_k17-Jun-04 2:41
saud_a_k17-Jun-04 2:41 
GeneralRe: comparing objects Pin
Heath Stewart17-Jun-04 3:00
protectorHeath Stewart17-Jun-04 3:00 
GeneralRe: comparing objects Pin
saud_a_k17-Jun-04 18:21
saud_a_k17-Jun-04 18:21 
GeneralRe: comparing objects Pin
Heath Stewart17-Jun-04 18:38
protectorHeath Stewart17-Jun-04 18:38 
GeneralRe: comparing objects Pin
saud_a_k17-Jun-04 18:52
saud_a_k17-Jun-04 18:52 
GeneralRe: comparing objects Pin
saud_a_k17-Jun-04 2:06
saud_a_k17-Jun-04 2:06 
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 
If you only want to know when the first page is loaded (the frameset), the use a simple state variable and handle the BeforeNavigate2 event. Set the state variable in the handler for that event. In your DocumentComplete event, check the state of the variable. If it's set, do what you need and reset the variable. If the variable isn't set, ignore further requests.

If you're saving content, however, wouldn't you want to be notified with each documented that is loaded when it finishes? If you just save the first document, all you get is the frameset (or any other document hosting other concent that fires this event). Without the "embedded" content, such a top-level document is useless (a framset without the frame content isn't much now, is it? Smile | :) ).

 

Microsoft MVP, Visual C#
My Articles
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 
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 

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.