Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 938306 - Last Review: September 28, 2011 - Revision: 3.0
Internet Explorer stops unexpectedly when you try to use a JavaScript command to start Internet Explorer at a specific size and location
When you try to use the following command to start Windows Internet Explorer at a specific size and location, the command does not work, and Internet Explorer stops unexpectedly:
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" "javascript:resizeTo(800,600);moveTo(0,0);document.location.href='http://www.msn.com'"
This problem occurs when you use the following versions of Microsoft Windows:
- Microsoft Windows XP with Service Pack 2
- Microsoft Windows Server 2003 with Service Pack 1
This problem does not occur when you use the following versions of Windows:
- Microsoft Windows 2000 with Service Pack 4
- Microsoft Windows Server 2003 without a service pack installed
This problem occurs because you cannot use JavaScript to resize the Internet Explorer window. This restriction is for security reasons. Internet Explorer does not support using JavaScript from the command line.
APPLIES TO
- Windows Internet Explorer 9
- Windows Internet Explorer 7
- Windows Internet Explorer 7 for Windows XP
- Windows Internet Explorer 7 for Windows Server 2003
| kbbug kbexpertiseinter kbexpertisebeginner kbtshoot kbprb KB938306 |
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