Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Help With Error

varcvarc Member Posts: 1
Alright, so I can't figure out what is wrong with this code for the life of me.

[code] Dim ta As HtmlElementCollection = browser.Document.Body.GetElementsByTagName("textarea")
For i As Integer = 0 To ta.Count - 1
ta(i).SetAttribute("value", "textarea" & i)

Every time I run my program I receive a NullReferenceException pointing to my dim statement.


Sign In or Register to comment.