I\'m developing an Internet Explorer command button that will open a specific web page once clicked. Here\'s a snippet of code (IEApp
is a reference to an instance
That's ERROR_BUSY usually happens when IE is doing something else, e.g. displaying a window.alert message box.
Try suppress script errors and Implement IDocHostShowUI and return S_OK without blocking the message pump
could this help: turning off UAC in Windows, if you are using a server kind version:
screen-shoots here: http://blog.vincentbrouillet.com/post/2011/02/10/watin%3A-The-requested-resource-is-in-use
I had this error, and it was quite random. I tried killing IE before running the tests. It kind of work, but not all the time.