>>What version of Internet Explorer are you using? With IE9, I get the same error, but if I switch the document to IE8 or lower compatibility mode the error goes away. I don't know how to do so programmatically though.
>
>Thank you. I installed IE9 yesterday. So, that explains why it started showing up this morning. I don't know how to work around this one. If I install an earlier version of IE the app may continue to load IE9.
I guess you need to get oIE.Version and examine the object model and act accordingly.
If it's not broken, fix it until it is.
My Blog