<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Nam, Seungho's Blog : Windows</title><link>http://blogs.msdn.com/nevermet/archive/tags/Windows/default.aspx</link><description>Tags: Windows</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Default Input Language Setting</title><link>http://blogs.msdn.com/nevermet/archive/2009/12/30/default-input-language-setting.aspx</link><pubDate>Wed, 30 Dec 2009 03:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9942156</guid><dc:creator>nevermet</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nevermet/comments/9942156.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nevermet/commentrss.aspx?PostID=9942156</wfw:commentRss><description>&lt;TABLE border=0 cellSpacing=0 cellPadding=0 minmax_bound="true"&gt;
&lt;TBODY minmax_bound="true"&gt;
&lt;TR minmax_bound="true"&gt;
&lt;TD width="100%" minmax_bound="true"&gt;
&lt;DIV class=BlogPostContent minmax_bound="true"&gt;
&lt;P minmax_bound="true"&gt;[Windows 7 Application Compatibility episode 7]&lt;/P&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;Some application that one of my customers has has this problem when running on Windows 7.&lt;/P&gt;
&lt;P&gt;Well, this application is written in Visual Basic 6, which is not supported by Microsoft anymore.&lt;/P&gt;
&lt;P&gt;But I heard that some applications are reported to have this problem anyway...&lt;/P&gt;
&lt;P&gt;This application works perfectly on Windows 7 before instaling Microsoft Office.&lt;/P&gt;
&lt;P&gt;After installing Microsoft Office, the Default Input language value is set to Office IME (I don't know about other languages, but for Korean, this value changes.)&lt;/P&gt;
&lt;P&gt;The problem that this change causes is that language setting is automatically changed back to English whenever a&amp;nbsp;user presses "Enter", even when the user wants to keep typing in Korean.&lt;/P&gt;
&lt;P&gt;The workaround is to change the "Default input language" value back to "Korean(Korea) - Microsoft IME" (This setting can be found here: Start-&amp;gt;Control Panel-&amp;gt;Region and Language-&amp;gt;Keyboards and Languages-&amp;gt;Change Keyboards-&amp;gt;General)&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9942156" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/application+compatibility/default.aspx">application compatibility</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>The minimum IE window size</title><link>http://blogs.msdn.com/nevermet/archive/2009/12/29/the-minimum-ie-window-size.aspx</link><pubDate>Tue, 29 Dec 2009 03:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9941818</guid><dc:creator>nevermet</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nevermet/comments/9941818.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nevermet/commentrss.aspx?PostID=9941818</wfw:commentRss><description>&lt;P&gt;[Windows 7 Application Compatibility episode 6]&lt;/P&gt;
&lt;P&gt;One of my customers&amp;nbsp;came to me and&amp;nbsp;asked&amp;nbsp;why IE8 cannot open a 140px wide&amp;nbsp;window.&lt;/P&gt;
&lt;P&gt;Well, if you drag IE border and resize IE window to the minimum, it can be as small as 250px wide x 100px tall.&lt;/P&gt;
&lt;P&gt;That's the minimum window, which means you cannot 140px wide window anymore with IE7 or later.&lt;/P&gt;
&lt;P&gt;But if you use &lt;A href="http://msdn.microsoft.com/en-us/library/ms536651(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms536651(VS.85).aspx"&gt;open Method&lt;/A&gt;, the constraints are as follows:&lt;/P&gt;
&lt;DT&gt;&lt;EM&gt;&lt;SPAN class=clsRange&gt;width = number&lt;/SPAN&gt; &lt;/EM&gt;
&lt;DD&gt;&lt;EM&gt;Internet Explorer 7. Sets the width of the window in pixels. The minimum value is &lt;CODE&gt;250&lt;/CODE&gt;, and specifies the minimum width of the browsers content area. &lt;/EM&gt;
&lt;P&gt;&lt;!----&gt;&lt;/P&gt;&lt;EM&gt;Prior to Internet Explorer 7 the minimum height value is &lt;CODE&gt;100&lt;/CODE&gt;. &lt;/EM&gt;&lt;/DD&gt;
&lt;DD&gt;&lt;EM&gt;&lt;/EM&gt;&amp;nbsp;&lt;/DD&gt;
&lt;DT&gt;&lt;EM&gt;&lt;SPAN class=clsRange&gt;height = number&lt;/SPAN&gt; &lt;/EM&gt;
&lt;DD&gt;&lt;EM&gt;Internet Explorer 7. Sets the height of the window in pixels. The minimum value is &lt;CODE&gt;150&lt;/CODE&gt;, and specifies the minimum height of the browser content area. &lt;/EM&gt;
&lt;P&gt;&lt;!----&gt;&lt;/P&gt;&lt;EM&gt;Prior to Internet Explorer 7 the minimum height value is &lt;CODE&gt;100&lt;/CODE&gt;.&lt;/EM&gt; &lt;/DD&gt;
&lt;P&gt;As for the height, you can set the value&amp;nbsp;down to 100, not 150.&lt;/P&gt;
&lt;P&gt;But these values are for the content, I mean these sizes don't include the frame size. So, the window can be smaller if you drag the window border.&lt;/P&gt;
&lt;P&gt;If you want to set the window to&amp;nbsp;the smallest, I think you need to use &lt;A href="http://msdn.microsoft.com/en-us/library/ms536723(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms536723(VS.85).aspx"&gt;resizeTo Method&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;When you use this method, you can set the height to 58px and the width to 230px, which is the smallest content size.&lt;/P&gt;
&lt;P&gt;You can also use &lt;A href="http://msdn.microsoft.com/en-us/library/ms536759(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms536759(VS.85).aspx"&gt;showModalDialog Method&lt;/A&gt; and &lt;A href="http://msdn.microsoft.com/en-us/library/ms536761(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/ms536761(VS.85).aspx"&gt;showModelessDialog Method&lt;/A&gt;, and these contraints apply the same to these methods.&lt;/P&gt;
&lt;P&gt;So, anyway you cannot open 140px wide window anymore... I think you need to&amp;nbsp;redesign your window.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9941818" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/IE/default.aspx">IE</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/application+compatibility/default.aspx">application compatibility</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>Do you still use Visual Basic6?</title><link>http://blogs.msdn.com/nevermet/archive/2009/12/28/do-you-still-use-visual-basic6.aspx</link><pubDate>Mon, 28 Dec 2009 06:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9941503</guid><dc:creator>nevermet</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nevermet/comments/9941503.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nevermet/commentrss.aspx?PostID=9941503</wfw:commentRss><description>&lt;P&gt;[Windows 7 Application Compatibility episode 5]&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One of my customers&amp;nbsp;is&amp;nbsp;still&amp;nbsp;using VB6 applications...&lt;/P&gt;
&lt;P&gt;And this caused quite serious problems... such as 'crash'...&lt;/P&gt;
&lt;P&gt;Well, I know VB6 is not supported by Microsoft anymore... so&amp;nbsp;this article cannot be&amp;nbsp;official but I think it's worth trying this...&lt;/P&gt;
&lt;P&gt;If you use non-English application, then VB6 runtime may find your language module, such as VB6KO.dll for Korean.&lt;/P&gt;
&lt;P&gt;But, if you look at the 'system32' folder in Windows 7, it doesn't have the file.&lt;/P&gt;
&lt;P&gt;If your non-English application crashes pointing at&amp;nbsp;msvbvm60.dll, just have a try copying the localization file... to 'system32' folder.&lt;/P&gt;
&lt;P&gt;This was helpful in my case.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9941503" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/application+compatibility/default.aspx">application compatibility</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>Some application tries to write files under system32 folder.</title><link>http://blogs.msdn.com/nevermet/archive/2009/12/01/some-application-tries-to-write-files-under-system32-folder.aspx</link><pubDate>Tue, 01 Dec 2009 06:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9930609</guid><dc:creator>nevermet</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nevermet/comments/9930609.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nevermet/commentrss.aspx?PostID=9930609</wfw:commentRss><description>&lt;P&gt;[Windows 7 Application Compatibility episode 3]&lt;/P&gt;
&lt;P&gt;Someone brought me an application complaining that it fails while installing MSVBVM60.dll...&lt;/P&gt;
&lt;P&gt;Well, I think this application tries to write this file under System32 folder before running the application, because it needed this file but they found that&amp;nbsp;some Windows XP machines don't have it.&lt;/P&gt;
&lt;P&gt;I think the install application&amp;nbsp;was detected as an "installer" by Windows 7, it won't have any problem as Windows applies a shim to make the application get succeed message returned without actually writing the file under System32 folder.&lt;/P&gt;
&lt;P&gt;This document explains Windows Resouce Protection (WRP)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Windows Resource Protection&lt;/P&gt;&lt;!--Content type: HTML. Transform: webcollection2mtps.xslt.--&gt;
&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/cc185681(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/cc185681(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/cc185681(VS.85).aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9930609" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/application+compatibility/default.aspx">application compatibility</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows+7/default.aspx">Windows 7</category></item><item><title>My Windows 7 rebooted continuously...</title><link>http://blogs.msdn.com/nevermet/archive/2009/07/23/my-windows-7-rebooted-continuously.aspx</link><pubDate>Thu, 23 Jul 2009 07:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9845716</guid><dc:creator>nevermet</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nevermet/comments/9845716.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nevermet/commentrss.aspx?PostID=9845716</wfw:commentRss><description>&lt;P&gt;The other morining, I turned on my Windows 7 RC machine and went to bring some snacks...&lt;/P&gt;
&lt;P&gt;When I came back, the machine was rebooting... just after the animation 'Starting Windows...'&lt;/P&gt;
&lt;P&gt;And next time, it asked me if I will boot the machine in safe mode...&lt;/P&gt;
&lt;P&gt;I chose safe mode and rebooted...&lt;/P&gt;
&lt;P&gt;But... it didn't work....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Hmmm.... 'do I have to re-install this RC machine?' 'Is this because of the bug that RC might have?'...&lt;/P&gt;
&lt;P&gt;At that point, It occurred to me that I ran 'verifier.exe' the previous day...&lt;/P&gt;
&lt;P&gt;So I booted the machine in safe mode and ran verifier again and deleted the configuration that I had made...&lt;/P&gt;
&lt;P&gt;Then... my machine came back to the normal state... :)&lt;/P&gt;
&lt;P&gt;If your machine suffers the same... please check the verifier...&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9845716" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows/default.aspx">Windows</category></item><item><title>document.domain can cause invalid argument error in IE8</title><link>http://blogs.msdn.com/nevermet/archive/2009/07/14/document-domain-can-cause-invalid-argument-error-in-ie8.aspx</link><pubDate>Tue, 14 Jul 2009 05:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9832672</guid><dc:creator>nevermet</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nevermet/comments/9832672.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nevermet/commentrss.aspx?PostID=9832672</wfw:commentRss><description>&lt;P&gt;One of my customers asked me how to mitigate this IE8's application compatibility issue.&lt;/P&gt;
&lt;P&gt;Well, when their application tries to execute this code, it failes with 'invalide argument' error:&lt;/P&gt;
&lt;P&gt;document.domain = &lt;EM&gt;somevalue&lt;/EM&gt;;&lt;/P&gt;
&lt;P&gt;Their web application works perfectly on IE6 and now they are considering moving to IE8.&lt;/P&gt;
&lt;P&gt;Do you know why this fails?&lt;/P&gt;
&lt;P&gt;This is explained in IE team blog as follows:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;In Internet Explorer 7, the following set of calls would succeed:&lt;/EM&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;&lt;EM&gt;&lt;FONT color=#008080&gt;// initial document.domain is app1.example.com&lt;/FONT&gt; &lt;BR&gt;document.domain = "app1.example.com";&amp;nbsp; &lt;FONT color=#008080&gt;// 1. Domain property set to &lt;/FONT&gt;&lt;FONT color=#008080&gt;default value&lt;/FONT&gt; &lt;BR&gt;document.domain = "example.com";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;&lt;EM&gt;&lt;FONT color=#008080&gt;// 2. “Loosen” domain &lt;BR&gt;&lt;/FONT&gt;document.domain = "app1.example.com";&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color=#008080&gt;// 3. “Tighten”&lt;/FONT&gt; domain&lt;/EM&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;In Internet Explorer 8 and other browsers, the 3&lt;SUP&gt;rd&lt;/SUP&gt; assignment will throw an exception, because app1.example.com is not a suffix of the then-current value, example.com.&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/ie/archive/2008/09/02/ie8-security-part-vi-beta-2-update.aspx"&gt;http://blogs.msdn.com/ie/archive/2008/09/02/ie8-security-part-vi-beta-2-update.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In this case, I think the developer who&amp;nbsp;understands the application needs to find how to mitigate this issue, considering using&amp;nbsp; &lt;A href="http://msdn.microsoft.com/en-us/library/cc197015(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/cc197015(VS.85).aspx"&gt;&lt;FONT color=#0066aa&gt;postMessage()&lt;/FONT&gt;&lt;/A&gt; or &lt;A href="http://msdn.microsoft.com/en-us/library/cc288060(VS.85).aspx" mce_href="http://msdn.microsoft.com/en-us/library/cc288060(VS.85).aspx"&gt;&lt;FONT color=#0066aa&gt;XDomainRequest&lt;/FONT&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9832672" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nevermet/archive/tags/IE/default.aspx">IE</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/application+compatibility/default.aspx">application compatibility</category></item><item><title>How to identify Windows version and edition with VBS</title><link>http://blogs.msdn.com/nevermet/archive/2008/07/15/how-to-identify-windows-version-and-edition-with-vbs.aspx</link><pubDate>Tue, 15 Jul 2008 08:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8732637</guid><dc:creator>nevermet</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/nevermet/comments/8732637.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nevermet/commentrss.aspx?PostID=8732637</wfw:commentRss><description>&lt;P&gt;Do you need to identify the OS version and edition?&lt;/P&gt;
&lt;P&gt;I really needed this when I make a install package application.&lt;/P&gt;
&lt;P&gt;So, I looked it up from the web and this was really useful for me.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.msfn.org/board/How-to-identify-exact-Windows-Version-t59477.html" mce_href="http://www.msfn.org/board/How-to-identify-exact-Windows-Version-t59477.html"&gt;http://www.msfn.org/board/How-to-identify-exact-Windows-Version-t59477.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;strComputer = "."&lt;BR itxtvisited="1"&gt;Set objWMIService = GetObject("winmgmts:" _&lt;BR itxtvisited="1"&gt;&amp;amp; "{impersonationLevel=impersonate}!\\" &amp;amp; strComputer &amp;amp; "\root\cimv2")&lt;BR itxtvisited="1"&gt;&lt;BR itxtvisited="1"&gt;Set colOperatingSystems = objWMIService.ExecQuery _&lt;BR itxtvisited="1"&gt;("Select * from Win32_OperatingSystem")&lt;BR itxtvisited="1"&gt;&lt;BR itxtvisited="1"&gt;For Each objOperatingSystem in colOperatingSystems&lt;BR itxtvisited="1"&gt;Msgbox objOperatingSystem.Caption &amp;amp; " " &amp;amp; _&lt;BR itxtvisited="1"&gt;objOperatingSystem.Version, 0 + 32,"Window Version"&lt;BR itxtvisited="1"&gt;Next&lt;/P&gt;
&lt;P&gt;And we can see the vaules from the registry value under this:&lt;/P&gt;
&lt;P&gt;HKLM\Software\Microsoft\Windows NT\Current Version&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And some useful VBS reference site is:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.pctools.com/guides/scripting/id/25/?act=reference" mce_href="http://www.pctools.com/guides/scripting/id/25/?act=reference"&gt;http://www.pctools.com/guides/scripting/id/25/?act=reference&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;!-- google_ad_section_end --&gt;&lt;!--IBF.ATTACHMENT_413324--&gt;&lt;!-- THE POST --&gt;&lt;!--QuoteEnd--&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8732637" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nevermet/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.msdn.com/nevermet/archive/tags/VBS/default.aspx">VBS</category></item></channel></rss>