Click here to Skip to main content
15,894,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Media Player Pin
antoine@orchus-tech24-Mar-04 9:58
antoine@orchus-tech24-Mar-04 9:58 
GeneralRe: Windows Media Player Pin
Stephane Rodriguez.24-Mar-04 19:03
Stephane Rodriguez.24-Mar-04 19:03 
QuestionHow to enumerate an enum. Pin
Anonymous24-Mar-04 6:56
Anonymous24-Mar-04 6:56 
AnswerRe: How to enumerate an enum. Pin
CStiefeling24-Mar-04 8:16
CStiefeling24-Mar-04 8:16 
AnswerRe: How to enumerate an enum. Pin
T Manjaly24-Mar-04 11:49
T Manjaly24-Mar-04 11:49 
GeneralaxWebBrowser DocumentComplete Pin
Jasper4C#24-Mar-04 6:47
Jasper4C#24-Mar-04 6:47 
GeneralRe: axWebBrowser DocumentComplete Pin
Heath Stewart24-Mar-04 8:40
protectorHeath Stewart24-Mar-04 8:40 
GeneralRe: axWebBrowser DocumentComplete Pin
Dave Kreskowiak24-Mar-04 8:42
mveDave Kreskowiak24-Mar-04 8:42 
In a page with Frames, there are multiple web pages being used to render one visible page. There is a frames page that describes the layout of the view panes, then there is a seperate page for each of those panes. DocumentComplete will fire for every one of those pages that is downloaded, not just the frames page.

You can use the uRL property of the eventargs to compare to the URL you sent the browser to. If the page has frames, the last URL to be returned will be the one you originally sent the browser to:
    Private Sub AxWebBrowser1_DocumentComplete( _
            ByVal sender As Object, _
            ByVal e As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent) _
            Handles AxWebBrowser1.DocumentComplete
 
        If AxWebBrowser1.LocationURL = e.uRL Then
            MsgBox("Document Complete!")
        Else
            Debug.WriteLine("DocumentComplete received for URL: " & e.uRL)
        End If
    End Sub



RageInTheMachine9532
GeneralRe: axWebBrowser DocumentComplete Pin
Heath Stewart24-Mar-04 9:03
protectorHeath Stewart24-Mar-04 9:03 
GeneralRe: axWebBrowser DocumentComplete Pin
Jeremy Kimball24-Mar-04 9:27
Jeremy Kimball24-Mar-04 9:27 
GeneralRe: axWebBrowser DocumentComplete Pin
Dave Kreskowiak24-Mar-04 9:28
mveDave Kreskowiak24-Mar-04 9:28 
GeneralRe: axWebBrowser DocumentComplete Pin
Heath Stewart24-Mar-04 9:29
protectorHeath Stewart24-Mar-04 9:29 
GeneralRe: axWebBrowser DocumentComplete Pin
Dave Kreskowiak24-Mar-04 9:35
mveDave Kreskowiak24-Mar-04 9:35 
GeneralRe: axWebBrowser DocumentComplete Pin
Heath Stewart24-Mar-04 9:43
protectorHeath Stewart24-Mar-04 9:43 
GeneralRe: axWebBrowser DocumentComplete Pin
Dave Kreskowiak24-Mar-04 9:50
mveDave Kreskowiak24-Mar-04 9:50 
GeneralRe: axWebBrowser DocumentComplete Pin
Nick Parker24-Mar-04 17:35
protectorNick Parker24-Mar-04 17:35 
GeneralComponent Text Property Pin
dbetting24-Mar-04 6:28
dbetting24-Mar-04 6:28 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 7:54
je_gonzalez24-Mar-04 7:54 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 8:41
protectorHeath Stewart24-Mar-04 8:41 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 8:55
je_gonzalez24-Mar-04 8:55 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 9:02
protectorHeath Stewart24-Mar-04 9:02 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 9:13
je_gonzalez24-Mar-04 9:13 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 9:18
protectorHeath Stewart24-Mar-04 9:18 
GeneralRe: Component Text Property Pin
je_gonzalez24-Mar-04 9:26
je_gonzalez24-Mar-04 9:26 
GeneralRe: Component Text Property Pin
Heath Stewart24-Mar-04 8:47
protectorHeath Stewart24-Mar-04 8:47 

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.