Hello Stan,
IE5 Not RunningoNewRef = CREATOBJECT( "InternetExplorer.Application" )
or
oNewRef = NEWOBJECT( "InternetExplorer.Application" )
This last option only works if SET OLEOBJECT is ON.
IE5 Already RunningIE5 is not in the same OLE league as Word or Excel and many other M$ Office applications. With some office apps, if the app is already running you can create an object reference using (for example):
oNewReference = GETOBJECT( "FileName", "Word.Application" ) - but if it is not already running you will get a runtime error that needs to trapped. This is the fastest way to create an object reference, if this approach is available.
I don't think that you can (easily) get an object reference to an already running instance of IE5.
Hope this helps,
Regards,
Houston.
>Houston, that's very interesting and helpful!
>
>What is the easiest way to make IE5 fire up and load a page if not already running, but to use an existing IE5 window if it's already running?
>
>Thanks much!
censored.