Why not ihtmlelement?
It’s very confusing for many programmers that like to use the auto complete.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is a COM interface that was optimized to be used for scripting languages. The actual type is IDispatch, a late-binding Automation interface type. That will show up as Object in VB.NET.
There are many different element types, IHTMLxxxElement where xxx can be Anchor, Block, Body, Button, Comment, Control, Div, and many more. Simply cast with CType() to get the element type you want, including IHTMLElement. Or take advantage of VB.NET’s built-in support for late binding, albeit that you won’t get IntelliSense with that.