How to get HTML Source of web page opened by web browser using vb.net

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2009
Posts: 14
Reputation: sreeram01 is an unknown quantity at this point 
Solved Threads: 0
sreeram01 sreeram01 is offline Offline
Newbie Poster

How to get HTML Source of web page opened by web browser using vb.net

 
0
  #1
Jun 25th, 2009
hello friends,

i have opened an web browser in vb.net using the below code

Private
Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

Dim nullObject As System.Object = 0

Dim str As String = ""

Dim nullObjStr As System.Object = str

Windows.Forms.Cursor.Current = Cursors.WaitCursor

Dim i As Int16

For i = 1 To 2

AxWebBrowser1.Navigate(
"http://www.google.co.in/search?hl=en&q=test&meta=", True)

AxWebBrowser1.Document.

Next

Windows.Forms.Cursor.Current = Cursors.Default

End Sub

i am getting the new window with the above URL.After going to that URL how to get the HTML source of that page.i need the code to access the the HTML source of that page.Please help me.

with regards,
sreeram
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 3,215
Reputation: sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of sknake has much to be proud of 
Solved Threads: 573
Sponsor
sknake's Avatar
sknake sknake is offline Offline
.NET Enthusiast

Re: How to get HTML Source of web page opened by web browser using vb.net

 
0
  #2
Jun 25th, 2009
Scott Knake
Custom Software Development
Apex Software, Inc.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC