I have a webbrowser in the form, ele is a HtmlElement on the page in the browser. now, I want to get ele's value (if it exists). if I turn off option strict, then
If (ele.DomElement.value() IsNot Nothing) Then
val = ele.DomElement.value.ToString.ToLower()
End If

this works. but if I turn on option strict, then it has error for "disallow late binding".

I guess I should use ctype to convert ele.domElement, but what type should I convert it to? htmlelement will not work.


thanks