Solved

Need help with an objIE.Document is nothing statement

Posted on 2012-03-21
3
439 Views
Last Modified: 2012-04-18
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?
0
Comment
Question by:msgexpert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
CSI-Windows_com earned 500 total points
ID: 37748287
It does not appear that there is anything that can be done about need admin rights.  You may have already found these threads:
http://social.technet.microsoft.com/Forums/en/ITCG/thread/49f829b6-3c04-403c-97b0-6480aaba3fbe

http://stackoverflow.com/questions/1427370/error-800706b5-when-calling-iwebbrowser2-get-document

You could use a third party tool to give admin rights to just that one HTA.

You may have to configure them to run Iexplore.exe with the HTA as an argument.

Here are some free ones:
http://www.steelsonic.com/steelrunas.htm - this is not free, but the last freeware version (1.2) can be found here: http://www.freewarefiles.com/downloads_counter.php?programid=26832

http://www.joeware.net/freetools/tools/cpau/

http://www.chessware.ch/runitas/

There is also a free enterprise tool that allows you to configure anything to run with admin credentials via group policy - a little bit fussy if this is a one time need:

http://www.scriptlogic.com/products/privilegeauthority/
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to record audio from input sources to your PC ā€“ connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 ā€“ both 32 bit & 64.
No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial sā€¦

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question