View Single Post
Join Date: Nov 2008
Posts: 2
Reputation: simulanics is an unknown quantity at this point 
Solved Threads: 0
simulanics simulanics is offline Offline
Newbie Poster

Re: VB.Net HTML document read

 
0
  #2
Nov 19th, 2008
Dim i As Integer = 0

If WebBrowser1.Document IsNot Nothing Then

Dim str As String = String.Empty

For Each form As HtmlElement In WebBrowser1.Document.Forms

i = i + 1

str = i.ToString + " " + str + form.Name + vbCrLf

str = str + form.GetType.ToString + vbCrLf

str = str + form.InnerText.ToString + vbCrLf

str = str + form.OuterText.ToString + vbCrLf

Next

MessageBox.Show(str)


-------------------------------------
Hope this helps :-) Ask me anything you need to know. Any proggin lang too :-) admin@simulanics.com
Reply With Quote