Corrupted IE window

Add-in Express™ Support Service
That's what is more important than anything else

Corrupted IE window
When user opens a window it is graphically corrupted 
Itra Itra




Posts: 4
Joined: 2011-05-16
Hi!
I'm developing an IE Plugin with Add-in Express for Internet Explorer. My plugin allows a user to click a button on it which opens a new window using the following code:

object urlObj = string.Format("jav * ascript:void(window.open('{0}','{1}','left={2},top={3},width={4},height={5},resizable=no,scrollbars=yes,toolbar=no,location=no,status=no,menubar=no'))",
                url, "", left, top, windowWidth, windowHeight);
            Module.IEApp.Navigate2(ref urlObj);


This code works perfectly on Windows 7 and opens window as expected. But on the computer with the following configuration:

Model: HP EliteBook 8840p
Windows version: XP SP3 (5.1 Build 2600) IE version: 7.0.5730.13CO
Processor: Intel Core i5 CPU M520 @2.40GHz (4 CPUs)
Memory: 2gb
Display: 1366x768
Video Adapter: Intel HD graphics.
HardDisk: C:\ 232Gb
D:\ DVD-RAM

In 70% of cases the window opens in the corrupted state as it is shown on the picture below:



[img]http://www.flickr.com/photos/66094340@N08/6011872076/sizes/l/in/photostream/[/img]

Does someone know what is it? Or in what direction should I look.
Posted 05 Aug, 2011 10:12:41 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
Hi Itra,

Does the problematic PC has all the latest updates installed?
Also please try to use the MSHTML object model to open the popup and not javascript.
Posted 05 Aug, 2011 12:18:47 Top
Itra Itra




Posts: 4
Joined: 2011-05-16
Hi Sergey! Thanks for your reply. I tried to use MSHTML's InternetExplorer class. It opens not as an active window. It is hidden by the IE's window from which it was opened.
Posted 08 Aug, 2011 04:15:30 Top
Sergey Grischenko


Add-in Express team


Posts: 7224
Joined: 2004-07-05
Hi Itra,

Did you try to use '_blank' in the second parameter as described here:
http://msdn.microsoft.com/en-us/library/aa741489(v=vs.85).aspx
Posted 08 Aug, 2011 05:48:15 Top