T
tommydogs
I am just starting out with AxWebBrowser and need help with a simple
application. I just want to navigate to a web page, then read in
source code. Here's what I have so far:
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
AxWebBrowser1.Navigate("http://www.google.com")
End Sub
Private Sub AxWebBrowser1_DocumentComplete(ByVal sender As Object,
ByVal e As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent)
' what do I put here to grab the source code?
End Sub
Could someone please provide a snippet of code (along with any
references I might need to add) that would load the page's source code
into a string?
application. I just want to navigate to a web page, then read in
source code. Here's what I have so far:
Private Sub Form1_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
AxWebBrowser1.Navigate("http://www.google.com")
End Sub
Private Sub AxWebBrowser1_DocumentComplete(ByVal sender As Object,
ByVal e As AxSHDocVw.DWebBrowserEvents2_DocumentCompleteEvent)
' what do I put here to grab the source code?
End Sub
Could someone please provide a snippet of code (along with any
references I might need to add) that would load the page's source code
into a string?