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."
oIE=CreateObject('InternetExplorer.Application')
oIE.Navigate2('www.yahoo.com')
nStartSeconds = SECONDS()
DO WHILE oIE.ReadyState <> 4 AND (SECONDS()-m.nStartSeconds <= 1 )
DOEVENTS
ENDDO
TIA