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
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.
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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, visit the following Microsoft Web sites:
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)
| 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