PDA

Click to See Complete Forum and Search --> : problem with IHTMLMetaElement


nagli
Feb 12th, 2001, 11:35 PM
I try to use the IHTMLMetaElement to retrieve the META tag information from a webpage within VB.
I am using the Microsoft Internet Controls for it.
My poblem is to find out with what I ahve to set the IHTMLMetaElement object?

I am doing the following at the moment, but no success:

Dim doc As IHTMLDocument2
Set doc = WebBrowser1.document
Dim div As IHTMLElementCollection
Set div = doc.All
Dim objMETA as IHTMLMetaElement
'Set objMETA = ?????????????
MsgBox Element.httpEquiv, , "element"

I cannot find a lot of help in the MSDN or on the web. Anybody already tried this?
Thanks!