Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE8's new automation interface
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01424698
Message ID:
01424717
Views:
104
>>The code runs w/o errors for me under WinXPSP3 with IE8. It maybe Vista related. Did you try to run code as admin?

Yes. Run as admin solves my problem. Thanks a lot!

Ben


>>
>>
>>>I used the following code to automate IE. It works in IE7 or earlier but failed in IE8. It shows the following error message when oIE.ReadyState is being accessed. Can anybody show me the new IE8 interface and the correct syntax?
>>>
>>>"OLE error code 0x800706b5: The interface is unknown."
>>>
>>>
>>>*-- My code:
>>>oIE=CreateObject('InternetExplorer.Application')
>>>oIE.Navigate2('www.yahoo.com')
>>>
>>>nStartSeconds = SECONDS()
>>>DO WHILE oIE.ReadyState <> 4 AND (SECONDS()-m.nStartSeconds <= 1 )
>>>	DOEVENTS
>>>ENDDO	
>>>&& Do something
>>>
>>>
>>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform