Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading ASP data from a web page to VFP
Message
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00417294
Message ID:
00417334
Views:
22
Hello Stan,
IE5 Not Running
oNewRef = CREATOBJECT( "InternetExplorer.Application" )
or
oNewRef = NEWOBJECT( "InternetExplorer.Application" )
This last option only works if SET OLEOBJECT is ON.

IE5 Already Running
IE5 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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform