|
-
Jan 15th, 2004, 06:25 AM
#1
Thread Starter
New Member
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?
-
Jan 15th, 2004, 08:28 AM
#2
Do a search on Document.Write
basically... navigate to about:Blank()
then do a IEobject.document.write
been a while....I know its something along those lines
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jan 15th, 2004, 08:51 AM
#3
Thread Starter
New Member
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"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|