Need help with an objIE.Document is nothing statement
Posted on 2012-03-21
We have a Hypertext application that today runs under Windows XP and IE 8. The apps is designed to go out to Active Directory 2003, find the computer object and gathers informaiton about the object as well as collecting it's group membership. Once the information has been gathered the app spawn a window in IE that displays the information found. When testing this HTA under Win 7 and IE 8 an error "The Interface is unknown" occurs any time we are refererencing objIE.Document or any other object that was derived from objIE.Document (i.e. set objHTMLBody = objIE.document.body) . Although I was using an accout that had domain admin rights and local administrator rights on the WIN 7 workstation, the code would always error out when it hit a reference that involded objIE.Document. However, we have discovered that if we run the app using "Run As Administrator" the app works just as it did under Windows XP. Does anyone know how to get around this elevated rights issue?