webbrowser returnes "Nothing" when try to set a value into a DOM textarea object
Hello, I am writing a VB.Net application which will open a web browser in a form and then set a multiline value into a DOM object.My problem starts when I am trying to assign the value to the object, like this:element = form.webbrowswer1.Document.getElementById("textAreaObjectID")element.SetAttribute("value",stringVariable)But when debugging, element is NOTHING, thus the SetAttribute statement fails.Does anyone knows what the correct way to refer to a object would be with vb.net??
Hello, I am writing a VB.Net application which will open a web browser in a form and then set a multiline value into a DOM object.My problem starts when I am trying to assign the value to the object, like this:element = form.webbrowswer1.Document.getElementById("textAreaObjectID")element.SetAttribute("value",stringVariable)But when debugging, element is NOTHING, thus the SetAttribute statement fails.Does anyone knows what the correct way to refer to a object would be with vb.net??