{"id":6047,"date":"2014-04-12T02:54:48","date_gmt":"2014-04-12T02:54:48","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/12\/internet-explorer-development-forumsinternet-explorer-web-developmentrelated-issues-collection-of-common-programming-errors\/"},"modified":"2014-04-12T02:54:48","modified_gmt":"2014-04-12T02:54:48","slug":"internet-explorer-development-forumsinternet-explorer-web-developmentrelated-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/12\/internet-explorer-development-forumsinternet-explorer-web-developmentrelated-issues-collection-of-common-programming-errors\/","title":{"rendered":"internet-explorer-development-forums,internet-explorer-web-developmentRelated issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-extension-development<br \/>\nI encountered a problem when developing a IE9 plugin BHO.\u00a0IE can fire onscroll event when using\u00a0DocumentMode: IE7 or IE8, but\u00a0fail\u00a0tofire\u00a0onscrollevent\u00a0when using Document Mode:\u00a0IE9.I also register the onscroll event on documentElement, it reacts the same way.The BHO class uses:public IDispEventImpl&lt;3, CHelloWorldBHO, &amp;DIID_HTMLWindowEvents2, &amp;LIBID_MSHTML, 4, 0&gt;.\u00a0And sink the event:BEGIN_SINK_MAP(CHelloWorldBHO)SINK_ENTRY_EX(1, DIID_DWebBrow<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHi all!I have 2 webservers, one with an SSO application and one with the core application. Both built on .Net 3.5.Both sites have valid P3P.Client machine is using IE 10 on Win 7. Also reproduced with Terminal server and IE 9, Windows 7 with IE 8 and 9.I open Internet Explorer with fresh session. In the first tab I go to e.g. google.comIn the second tab I navigate to the SSO.I log in and see (in div. tools like Fiddler2 and BurpSuite) that the cookie is issued.However, during the redirect to the<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nI have 11 different websites that use a menu generated by a Pop-Up Menu Creator 5 by Anoxy Software. (http:\/\/www.anoxy.com\/products.asp?id=1)Even their homepage menu fails to operate properly with IE 10 but works fine with all previous versions.One of my websites is http:\/\/www.criderins.comIt does not seem to matter wheither the IE10 is running on Windows 7 or Windows 8The code itself is intentionally obfuscated:\/\/ Pop &#8211; Up Version 5.5 Pro\u00a0 \u00a9 1998 &#8211; 2009 Anoxy Software\u00a0 All Rights Rese<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-extension-development<br \/>\nHello All,I have created a BHO which executes a script, that creates a link (&lt;script src=&#8221;mywebserver.js?blah&#8221;&gt;) in the document header, plus some adding some other generic JS functionality.The problem that I am having is there is a small number Windows 7.0\u00a0PC&#8217;s (primarily IE 8.0 with one occurrence on IE 9.0 I am told) where the script elements are not added, which tells me that the execution was blocked, failed or inhibited. I even shareda desktop with one of the users, th<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHello,I rely on the Microsoft Structured Graphics control for several of my applications, and after installing IE 7 RC1, I have realized that the SGC is no longer functional.\u00a0 The code that I have always used to create the SGC is as followed:&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&lt;object classid=&#8217;369303C2-D7AC-11D0-89D5-00A0C90833E6&#8242; id=&#8217;SG1&#8242; style=&#8221;visibility:visible; position:absolute&#8221;&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHi, allThere is a problem when I developing a C\/S application.The general flow is that client soft accesses to server to get web page every 10 minutes, and then the client soft\u00a0 launches a pop-up window which contains a IE component inside.The web page composes of several JavaScript code, image links and some others.When the server is not so busy client soft acts well. But, when the load average of server is crazily high client soft fails to launch pop-up window. And according to the server<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-extension-development<br \/>\nHi All,I am working on a browser extension for IE7 in Vista. I created a web browser control object and calls navigate2 to open an html file in the local drive. \u00a0But this fails and the file is opened as a new IE process. I have read that this is due to security feature of IE7 in Vista. Is there any way to open a local file using a web browser control object, I created?Thank you,Henry<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHello all,I am having this particularly annoying issue with IE7 on Vista and XP.\u00a0 I&#8217;m attempting to do some simple javascript validation on a form before it is sent off to the server to process.\u00a0 If the validation fails on any item, I want the script to simply block the post from even starting.The trouble I&#8217;ve found, I can&#8217;t seem to work around.\u00a0 I believed there must have been some error in my long and cumbersome set of validation functions, so I removed all that code and put together a very si<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-extension-development<br \/>\nI have a BHO add-on that opens a small window that contains a browser control. the add-on works fine on XP, Vista, IE6 and IE7 but failed to work on IE8. After some investigation and debugging I found out that the API call &#8220;CreateWindow&#8221; fails when protected mode is on and I don&#8217;t know why. It&#8217;s strange since on IE7 it works even when protected mode is on.Any help will be very appreciated Thanks&#8230;Amir<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nBrowser version\u00a0IE 9 ( Beta (Version 9.0.7930.16406)System: Windows 7 UltimateWhile watching a video as a logged-in\u00a0user on Youtube, clicking the &#8220;Add To&#8221; button fails to display dropdown list to list.\u00a0\u00a0 When &#8220;Add To&#8221; is clicked, the\u00a0video being played is added to the playlist queue rather than revealing the optionson &#8220;Add To&#8221;.\u00a0 Anyone having this problem?\u00a0\u00a0http:\/\/top500adverts.com\/blog<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHi all!I have 2 webservers, one with an SSO application and one with the core application. Both built on .Net 3.5.Both sites have valid P3P.Client machine is using IE 10 on Win 7. Also reproduced with Terminal server and IE 9, Windows 7 with IE 8 and 9.I open Internet Explorer with fresh session. In the first tab I go to e.g. google.comIn the second tab I navigate to the SSO.I log in and see (in div. tools like Fiddler2 and BurpSuite) that the cookie is issued.However, during the redirect to the<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nI have 11 different websites that use a menu generated by a Pop-Up Menu Creator 5 by Anoxy Software. (http:\/\/www.anoxy.com\/products.asp?id=1)Even their homepage menu fails to operate properly with IE 10 but works fine with all previous versions.One of my websites is http:\/\/www.criderins.comIt does not seem to matter wheither the IE10 is running on Windows 7 or Windows 8The code itself is intentionally obfuscated:\/\/ Pop &#8211; Up Version 5.5 Pro\u00a0 \u00a9 1998 &#8211; 2009 Anoxy Software\u00a0 All Rights Rese<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHello,I rely on the Microsoft Structured Graphics control for several of my applications, and after installing IE 7 RC1, I have realized that the SGC is no longer functional.\u00a0 The code that I have always used to create the SGC is as followed:&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&lt;object classid=&#8217;369303C2-D7AC-11D0-89D5-00A0C90833E6&#8242; id=&#8217;SG1&#8242; style=&#8221;visibility:visible; position:absolute&#8221;&gt;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHi, allThere is a problem when I developing a C\/S application.The general flow is that client soft accesses to server to get web page every 10 minutes, and then the client soft\u00a0 launches a pop-up window which contains a IE component inside.The web page composes of several JavaScript code, image links and some others.When the server is not so busy client soft acts well. But, when the load average of server is crazily high client soft fails to launch pop-up window. And according to the server<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHello all,I am having this particularly annoying issue with IE7 on Vista and XP.\u00a0 I&#8217;m attempting to do some simple javascript validation on a form before it is sent off to the server to process.\u00a0 If the validation fails on any item, I want the script to simply block the post from even starting.The trouble I&#8217;ve found, I can&#8217;t seem to work around.\u00a0 I believed there must have been some error in my long and cumbersome set of validation functions, so I removed all that code and put together a very si<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nBrowser version\u00a0IE 9 ( Beta (Version 9.0.7930.16406)System: Windows 7 UltimateWhile watching a video as a logged-in\u00a0user on Youtube, clicking the &#8220;Add To&#8221; button fails to display dropdown list to list.\u00a0\u00a0 When &#8220;Add To&#8221; is clicked, the\u00a0video being played is added to the playlist queue rather than revealing the optionson &#8220;Add To&#8221;.\u00a0 Anyone having this problem?\u00a0\u00a0http:\/\/top500adverts.com\/blog<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nWindows 7-32\u00a0&#8211; IE8 working OK, then Windows automatic updates included:KB976422, KB2488113, Windows Internet Explorer 9 for Windows 7.Installed the updates, including IE9 &#8211; did the reboot.Logged back in (user has administrator privileges), launched IE, Window border pops up momentarily, nothing in the client area, then closes. Doesn&#8217;t matter if iexplore.exe is launched from a shortcut, from explorer, or command line.Uninstalled IE9 from the Installed Updates in the Programs and Features &#8211; d<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nI have a Windows Form Control that am using to show users pictures on a secure server, e.g. log on required. The control that I have built runs fine in the Control Debugger but fails when I try to run it in IE 7. The error i get is:Request for the permission of type &#8216;System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#8217; failed.How do I fix this? Can I enable VS 2005 to debug this while it runs in IE? Is there another approach that i could use? Ideal<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHi All,The URL https:\/\/artis.zsservices.com\/InfoViewApp\/logon.jsp\u00a0is failing on IE6 but succeeds in IE8\/IE9. &#8220;The page cannot be displayed&#8221; is the error what it shows. Actually the internet connection is fine.What could be the reason?I compared the Internet settings for all 3 browsers, I enabled\/disabled the settings to match IE6 with IE8\/IE9, but still the url fails.My searches on internet doesn&#8217;t gave me any clue.\u00a0Thanks in Advance.\u00a0Thanks &amp; Regards, Saravanan<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ninternet-explorer-development-forums internet-explorer-web-development<br \/>\nHi, i have a problem using HttpSendRequestEx()\/InternetWriteFile()\/HttpEndRequest() with proxy authentication (NTLM authentication). The HttpEndRequest() is failing with 12032 error.I have followed method 3 specified in the KB article http:\/\/support.microsoft.com\/default.aspx?scid=kb;en-us;194700. This works fine when i upload files to server hosted on IIS7, IIS7.5.\u00a0But, when i try to upload files to my server hosted on IIS6, InternetWriteFile is failing with 12030 error.Thanks for any help<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>msdn internet-explorer-development-forums internet-explorer-extension-development I encountered a problem when developing a IE9 plugin BHO.\u00a0IE can fire onscroll event when using\u00a0DocumentMode: IE7 or IE8, but\u00a0fail\u00a0tofire\u00a0onscrollevent\u00a0when using Document Mode:\u00a0IE9.I also register the onscroll event on documentElement, it reacts the same way.The BHO class uses:public IDispEventImpl&lt;3, CHelloWorldBHO, &amp;DIID_HTMLWindowEvents2, &amp;LIBID_MSHTML, 4, 0&gt;.\u00a0And sink the event:BEGIN_SINK_MAP(CHelloWorldBHO)SINK_ENTRY_EX(1, DIID_DWebBrow msdn internet-explorer-development-forums internet-explorer-web-development Hi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6047","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6047"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6047\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}