Discussion:
How to get the HTML code from the existing IE
(too old to reply)
Jothi Venkatachalam
2009-05-08 16:53:01 UTC
Permalink
Hi All,
I have taken the object of IE (Set IE =
CreateObject("InternetExplorer.Application")). I would like to set or assign
an existing IE browser, to IE object. L
IE.Navigate "about:blank" - Will open the URL in a new browser
But, I want to get the HTML CODE from the existing browser (IE), which is
opened before.

Thanks a lot in advance,
Jothi Venkatachalam
John Goldsmith_Visio_MVP
2009-05-26 09:46:31 UTC
Permalink
Hello Jothi,

Ordinarily (with other Office apps) you would try to use GetObject to test
if an application already exists and then CreateObject if nothing is found,
however IE is an exception I'm afraid.

There's a work around from Michael Harris over here:

http://groups.google.co.uk/group/microsoft.public.inetsdk.programming.scripting.vbscript/browse_thread/thread/3785a7cbcff9cb59/be23810172ad9aa4?hl=en&ie=UTF-8&q=GetObject+fails

Hope that helps.

Best regards

John


John Goldsmith (Visio MVP)
www.visualSignals.typepad.co.uk
www.visualSignals.co.uk
Post by Jothi Venkatachalam
Hi All,
I have taken the object of IE (Set IE =
CreateObject("InternetExplorer.Application")). I would like to set or assign
an existing IE browser, to IE object. L
IE.Navigate "about:blank" - Will open the URL in a new browser
But, I want to get the HTML CODE from the existing browser (IE), which is
opened before.
Thanks a lot in advance,
Jothi Venkatachalam
Continue reading on narkive:
Loading...