Below is a VB6 code snippet that worked flawlessly on Windows XP, but now throws this error on Windows 7...
Error Number: -2147417848
Error Description: Automation Error
The Object invoked has disconnected from its clients.
IE opens & navigates to the specified URL, albeit visible despite setting .Visible = False. While checking the .Busy status is where it errors. I assume it is due to Q319832, but I don't understand sufficiently to correct my code.
Dim ieApp As Object
Set ieApp = Nothing
Set ieApp = CreateObject("InternetExplorer.Application")
.Visible = False
While .Navigate(myUrl): Wend
While .Busy: Wend
Any help would be greatly appreciated!