How to set an HTMLDocument to an IE
Hello !
I want to do something like:
SET objIE.Document=objHTML
objIE is an InternetExplorer
objHTML is an HTMLDocument
obviously, the above is not possible, since the document property is read-only.
I don't want to use innerhtml as follows:
objIE.document.body.innerHTML=objHTML.body.innerHTML
since it does not copy frames and iframes.
Besides, it doesn't seem the right way.
Anyone has an idea?
Function not implemented in VB
Thanks for the tip.
But, I've tried it, and it doesn't compile, giving the following error message:
"Function or interface marked as restricted, or function uses an automation type not supported in Visual Basic"