Microsoft Knowledge Base Email Alertz

UIA binaries do not work to view the document content of a Web page that is displayed in Internet Explorer 7 on a computer that is running Windows XP and Windows Server 2003

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

UIA binaries do not work to view the document content of a Web page that is displayed in Internet Explorer 7 on a computer that is running Windows XP and Windows Server 2003

Article ID: 951027 - View products that this article applies to.
System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Visit the Windows Vista Solution Center

SYMPTOMS

UI Automation (UIA) binaries, such as UI Spy or MitaSpy, do not work correctly to view the document content of a Web page that is displayed in Windows Internet Explorer 7 on a computer that is running Windows XP and Windows Server 2003.

RESOLUTION

Developers can avoid this problem by calling UIA binaries from single-threaded apartment (STA) threads. To do this, use one of the following methods in the code that uses UIA binaries:
  • Use the [STAThread] thread attribute to mark the Main() method.
  • Set the newly created threads to use STA.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, visit the following Microsoft Web sites:
http://msdn2.microsoft.com/en-us/library/ms727247.aspx
http://www.microsoft.com/Downloads/details.aspx?familyid=3755582A-A707-460A-BF21-1373316E13F0&displaylang=en

Properties

Article ID: 951027 - Last Review: April 16, 2008 - Revision: 1.0
APPLIES TO
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Home Edition
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
Keywords: 
kbexpertiseinter kbtshoot kbprb KB951027
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate