<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open Software Solutions &#187; MS Visual Studio</title>
	<atom:link href="http://ossmall.info/category/ms-visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://ossmall.info</link>
	<description>Open Software Solutions</description>
	<lastBuildDate>Sun, 05 Feb 2012 17:34:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The screen repeatedly flashes to a blank text-mode screen when you build from the development environment in Visual C++</title>
		<link>http://ossmall.info/the-screen-repeatedly-flashes-to-a-blank-text-mode-screen-when-you-build-from-the-development-environment-in-visual-c/</link>
		<comments>http://ossmall.info/the-screen-repeatedly-flashes-to-a-blank-text-mode-screen-when-you-build-from-the-development-environment-in-visual-c/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 13:18:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fixes]]></category>

		<guid isPermaLink="false">http://ossmall.info/the-screen-repeatedly-flashes-to-a-blank-text-mode-screen-when-you-build-from-the-development-environment-in-visual-c/</guid>
		<description><![CDATA[When you build from the development environment in Visual C++, the screen repeatedly flashes to a blank text-mode screen with no text on it. A text cursor may show up if you move the mouse while the blank screen is showing. The screen returns to Visual C++ and then blanks out again. The blanking occurs [...]]]></description>
			<content:encoded><![CDATA[<p>When you build from the development environment in Visual C++, the screen repeatedly flashes to a blank text-mode screen with no text on it. A text cursor may show up if you move the mouse while the blank screen is showing. The screen returns to Visual C++ and then blanks out again. The blanking occurs at least twice but possibly more times during the entire build process.</p>
<h2>CAUSE</h2>
<p><script type="text/javascript"> loadTOCNode(1, 'cause'); </script>The default settings for the Command Prompt on Microsoft Windows Server 2003, Microsoft Windows XP, Microsoft Windows Server 2000, Microsoft Windows NT, Microsoft Windows Millennium Edition, Microsoft Windows 98, or Microsoft Windows 95 are set to full screen.</p>
<h2>RESOLUTION</h2>
<p><script type="text/javascript"> loadTOCNode(1, 'resolution'); </script>Depending on whether you are on Windows Server 2003, Windows XP, Windows Server 2000, Windows NT, Windows Millennium Edition, Windows 98, or Windows 95, the resolution process is different:</p>
<table border="0" cellpadding="0">
<tr>
<td>
<ul></ul>
</td>
<td>For Windows NT, Windows 2000 Server, Windows XP, and   Windows Server 2003, you must set the options for one of the following to   &#8220;Windowed&#8221;:</p>
<table border="0" cellpadding="0">
<tr>
<td>
<ul></ul>
</td>
<td>The environment settings of all Windows NT Command     Prompts.</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>The program Vcspawn.exe, which Visual C++ runs as a     background process.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>For Windows 95, Windows 98, and Windows Me, you must reset   the options for one or all of the following:</p>
<table border="0" cellpadding="0">
<tr>
<td>
<ul></ul>
</td>
<td>_Default.pif</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>Conagent.exe</td>
</tr>
</table>
</td>
</tr>
</table>
<p>Follow the instructions given in the &#8220;More Information&#8221; section.</p>
<h2>MORE INFORMATION</h2>
<p><script type="text/javascript"> loadTOCNode(1, 'moreinformation'); </script>On Windows NT, Windows Server 2000, Windows XP, and Windows Server 2003, Visual C++ repeatedly invokes a background process called Vcspawn.exe for each command-line tool executed by the development environment. Tools such as Cl.exe, Link.exe, and Bscmake.exe run in the Vcspawn.exe environment, which is a 32-bit console application.</p>
<p>Usually Vcspawn.exe is invoked as a hidden window and you never see it. However, if the setting for Vcspawn.exe is in &#8220;full screen&#8221; mode, the screen switches to text mode each time Vcspawn.exe is invoked. No text is actually sent to the Vcspawn screen, so the screen appears blank.</p>
<p>On Windows 95, Windows 98, and Windows Me, Vcspawn.exe is affected by the presence of the _Default.pif and the settings of the Conagent.exe file. If a _Default.pif is in the path, its properties will be used for all invoked console applications. Often, a _Default.pif is left over from a previous Windows 3.1 or 3.11 installation. Windows 95, Windows 98, and Windows Me do not create one during installation. If _Default.pif is not present, Windows 95, Windows 98, and Windows Me use the properties of Conagent.exe.</p>
<h3>On Windows NT, Windows Server 2000, Windows XP, or Windows Server 2003</h3>
<p><script type="text/javascript"> loadTOCNode(2, 'moreinformation'); </script>Use one of the following two procedures to correct the problem:</p>
<h3>Steps to Reset Default Configuration of ALL Command Prompts</h3>
<p><script type="text/javascript"> loadTOCNode(2, 'moreinformation'); </script>On Windows NT:</p>
<table border="0" cellpadding="0">
<tr>
<td>1.</td>
<td>Go to the Windows NT Control Panel.</td>
</tr>
<tr>
<td>2.</td>
<td>Double-click the <strong>Console</strong> icon.</td>
</tr>
<tr>
<td>3.</td>
<td>Click the <strong>General Settings</strong> or <strong>Options</strong> tab.</td>
</tr>
<tr>
<td>4.</td>
<td>Select <strong>Window</strong> under the <strong>Display Options</strong>   group.</td>
</tr>
<tr>
<td>5.</td>
<td>Click <strong>OK</strong>.</td>
</tr>
</table>
<p>On Windows Server 2000, Windows XP, and Windows Server 2003:</p>
<table border="0" cellpadding="0">
<tr>
<td>1.</td>
<td>Run Regedt32, which is located in the \System32 subfolder   of the Windows NT root folder.</td>
</tr>
<tr>
<td>2.</td>
<td>Open the <strong>\HKEY_CURRENT_USER\Console</strong> branch of the   registry tree.</td>
</tr>
<tr>
<td>3.</td>
<td>Set the <strong>FullScreen</strong> value to 0.</td>
</tr>
<tr>
<td>4.</td>
<td>Exit the registry editor.</td>
</tr>
</table>
<h3>Steps to Reset Configuration for Just Vcspawn.exe by Using Regedt32</h3>
<p><script type="text/javascript"> loadTOCNode(2, 'moreinformation'); </script>Use the following process to add a registry entry so only Vcspawn&#8217;s settings are not &#8220;full screen.&#8221;</p>
<table border="0" cellpadding="0">
<tr>
<td>1.</td>
<td>Run Regedt32, which is located in the \System32   subdirectory of the Windows NT root directory.</td>
</tr>
<tr>
<td>2.</td>
<td>Open the \HKEY_CURRENT_USER\Console branch of the registry   tree.</td>
</tr>
<tr>
<td>3.</td>
<td>Choose <strong>Add Key</strong> on the <strong>Edit</strong> menu to add a   node called:</p>
<pre>C:_MSVC20_BIN_vcspawn.exe</pre>
<pre></pre>
<p>If Visual C++ is installed in a different directory or on   a different drive, use the following form for the Key Name:</p>
<pre>&lt;drive&gt;:_DIR1_DIR2_DIR3..._vcspawn.exe</pre>
<pre></pre>
<p>Leave the Class field empty.</td>
</tr>
<tr>
<td>4.</td>
<td>With &#8220;C:_MSVC20_BIN_vcspawn.exe&#8221; highlighted,   click <strong>Add Value</strong> on the <strong>Edit</strong> menu. In <strong>Value Name</strong>, type FullScreen. In <strong>Data Type</strong>, select <strong>REG_DWORD</strong>.   Click <strong>OK</strong>, and then add a value of 0 (zero).</td>
</tr>
<tr>
<td>5.</td>
<td>Exit the registry editor, and restart Visual C++.</td>
</tr>
</table>
<h3>Steps to Reset Configuration for Just Vcspawn.exe Without Using Regedt32</h3>
<p><script type="text/javascript"> loadTOCNode(2, 'moreinformation'); </script>If you are unfamiliar with the system registry and do not want to reset the default configurations for the Command Prompt, use the following procedure to reset the settings for Vcspawn. This procedure adds the same registry entry.</p>
<p><strong>NOTE:</strong> if you have a fast machine, you may have trouble performing some of the following steps and you need a larger project. Therefore, if you have a fast machine, use one of the previous methods to work around the problem.</p>
<p>If you are compiling a large project, you can switch tasks and see the minimized Vcspawn.exe icon. Resetting the attributes of this icon will reset the attributes of Vcspawn.</p>
<table border="0" cellpadding="0">
<tr>
<td>1.</td>
<td>Open a large project, such as the sample project CTRLBARS   or SUPERPAD supplied with Visual C++.</td>
</tr>
<tr>
<td>2.</td>
<td>Choose to <strong>Rebuild All</strong>.</td>
</tr>
<tr>
<td>3.</td>
<td>Press ALT+TAB to see the minimized Vcspawn icon in the   corner of the screen.</td>
</tr>
<tr>
<td>4.</td>
<td>Quickly open the system menu, and follow the steps shown   in the &#8220;Steps to Reset Default Configuration of ALL Command   Prompts&#8221; section of this article.</td>
</tr>
</table>
<p><strong>NOTE:</strong> You must save the configuration before the development environment finishes the build process. If you do not, the Vcspawn.exe window will be terminated, the icon will disappear and any changes you made will not be saved.</p>
<h3>On Windows 95, Windows 98, and Windows Me:</h3>
<p><script type="text/javascript"> loadTOCNode(2, 'moreinformation'); </script>Use one of the following procedures to correct the problem.</p>
<h3>Steps to Reset Configuration of _Default.pif</h3>
<table border="0" cellpadding="0">
<tr>
<td><script type="text/javascript"> loadTOCNode(2, 'moreinformation');   </script>1.</td>
<td>In the Explorer, right-click the _DEFAULT file with the <strong>MS-DOS</strong>   icon next to it in your Windows directory.</td>
</tr>
<tr>
<td>2.</td>
<td>Choose <strong>Properties</strong>.</td>
</tr>
<tr>
<td>3.</td>
<td>Click the <strong>Screen</strong> tab.</td>
</tr>
<tr>
<td>4.</td>
<td>Choose the <strong>Window</strong> option and click <strong>Apply</strong>,   then <strong>OK</strong>.</td>
</tr>
</table>
<h3>Steps to Reset Configuration of Conagent.exe</h3>
<table border="0" cellpadding="0">
<tr>
<td><script type="text/javascript"> loadTOCNode(2, 'moreinformation');   </script>1.</td>
<td>Make sure there is no _Default.pif file in your path;   specifically check your Windows directory.</td>
</tr>
<tr>
<td>2.</td>
<td>Follow the instructions for steps 2, 3, and 4 above given for   resetting _Default.pif on the file Conagent.exe in your Windows or Windows   System directory.</td>
</tr>
</table>
<hr align="center" size="2" width="100%" />
<h5>APPLIES TO</h5>
<table border="0" cellpadding="0">
<tr>
<td>
<ul></ul>
</td>
<td>Microsoft Visual C++ 6.1</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>Microsoft Visual C++ .NET 2003 Standard Edition</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>Microsoft Visual C++ .NET 2002 Standard Edition</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>Microsoft Visual C++ 2005 Express Edition</td>
</tr>
</table>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/the-screen-repeatedly-flashes-to-a-blank-text-mode-screen-when-you-build-from-the-development-environment-in-visual-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VCRedist from VC++ 2008 installs temporary files in system root directory</title>
		<link>http://ossmall.info/vcredist-from-vc-2008-installs-temporary-files-in-system-root-directory/</link>
		<comments>http://ossmall.info/vcredist-from-vc-2008-installs-temporary-files-in-system-root-directory/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 01:46:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Commerce Server 2007]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[MS Office Suite 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/vcredist-from-vc-2008-installs-temporary-files-in-system-root-directory/</guid>
		<description><![CDATA[VCRedist from VC++ 2008 installs temporary files in system root directory View products that this article applies to. Article ID : 950683 Last Review : March 21, 2008 Revision : 1.0 Source: Microsoft Support Back to the top RAPID PUBLISHING RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>VCRedist from VC++ 2008 installs temporary files in system root directory</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>950683</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>March 21, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=section>
<div class=sbody><b>Source: </b>Microsoft Support
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RAPID PUBLISHING</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Action</h2>
<div class=sbody>Installing the Visual C++ 2008Â Redistributable Package (VCRedist_x86.exe, VCRedist_x64.exe, VCRedist_ia64.exe) for Visual Studio 2008 RTM.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Result</h2>
<div class=sbody>FollowingÂ files are generated on the system root directory : </p>
<p>install.exe <br />install.res.1028.dll <br />install.res.1031.dll <br />install.res.1033.dll <br />install.res.1036.dll <br />install.res.1040.dll <br />install.res.1041.dll <br />install.res.1042.dll <br />install.res.2052.dll <br />install.res.3082.dll <br />vcredist.bmp <br />globdata.ini <br />install.ini <br />eula.1028.txt <br />eula.1031.txt <br />eula.1033.txt <br />eula.1036.txt <br />eula.1040.txt <br />eula.1041.txt <br />eula.1042.txt <br />eula.2052.txt <br />eula.3082.txt <br />vc_redist.msi <br />vc_redist.cab </p>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Cause</h2>
<div class=sbody>These temporary files are erroneously generated by the installer into the system root directory instead of the temp directory.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Resolution</h2>
<div class=sbody>These files are unnecessary and can be safely deleted from the system. The functioning of the runtime library will not be affected by this.<br />Its a known bug and is planned to be fixed in VS2008 SP1.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>More Information</h2>
<div class=sbody><a href=http://msdn2.microsoft.com/en-us/library/ms235299.aspx>Redistributing Visual C++ Files</a><span class=pLink> (http://msdn2.microsoft.com/en-us/library/ms235299.aspx)</span><br />Please visit theÂ <a href=http://msdn2.microsoft.com/en-us/vstudio/default.aspx>Visual Studio home page on MSDN</a><span class=pLink> (http://msdn2.microsoft.com/en-us/vstudio/default.aspx)</span>Â for the latest updates
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>DISCLAIMER</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE â€œMATERIALSâ€) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C++ 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Academic Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Database Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Architecture Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Development Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Foundation Server</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Load Agent</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbnomt kbrapidpub KB950683</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/vcredist-from-vc-2008-installs-temporary-files-in-system-root-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You are not Prompted to Edit a file under Source Control when you begin making changes</title>
		<link>http://ossmall.info/you-are-not-prompted-to-edit-a-file-under-source-control-when-you-begin-making-changes/</link>
		<comments>http://ossmall.info/you-are-not-prompted-to-edit-a-file-under-source-control-when-you-begin-making-changes/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 13:04:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Internet Explorer 7]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[VS General]]></category>

		<guid isPermaLink="false">http://ossmall.info/you-are-not-prompted-to-edit-a-file-under-source-control-when-you-begin-making-changes/</guid>
		<description><![CDATA[You are not Prompted to Edit a file under Source Control when you begin making changes View products that this article applies to. Article ID : 953345 Last Review : May 19, 2008 Revision : 1.1 Source: Microsoft Support Back to the top RAPID PUBLISHING RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>You are not Prompted to Edit a file under Source Control when you begin making changes</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>953345</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>May 19, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.1</td>
</tr>
</table>
</div>
<div class=section>
<div class=sbody><b>Source: </b>Microsoft Support
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RAPID PUBLISHING</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Action</h2>
<div class=sbody>You are using Visual SourceSafe 6.0 or 2005.Â  YouÂ attempt toÂ edit a file from within Visual Studio that has not been checked out.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Result</h2>
<div class=sbody>You are able to edit the file without being prompted and without the file being automatically checked out.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Cause</h2>
<div class=sbody>
<p>Files in the working directory do not have the read only attribute even though they are not checked out from Visual SourceSafe.</p>
<p>Several scenarios can cause this behavior: </p>
<p>1. You may have selected make writable option when getting files from SourceSafe.</p>
<p>2.Â  You may not have Tools&gt; Options&gt; Local Files tabÂ  Use Read-only Flag for files not checked out selected.</p>
<p>3. You may be sharing a working directory with another user that does have the file checked out.</p>
<p>4. You may have intentionally uncheck the read only attribute in order to do testing on the file without checking the file out.</p>
<p>5. You may not have NTFS permissions to set the read only in the working directory.Â </p>
<p>6. In the dialog Tools&gt; Options&gt; expand Source Control and choose Environment, you set the On Edit optionÂ to do nothing and you have checked the box in the same dialogue to Allow checked in items to be edited.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Resolution</h2>
<div class=sbody>
<p>Make sure the user has full permissions to their working folder. </p>
<p>In VSSÂ  Explorer:</p>
<p>Open the Tools&gt; Options&gt; Local Files tab and make sure the Use Read-only Flag for files not checked out option has a check mark in it.</p>
<p>or</p>
<p>In Visual Studio:</p>
<p>Â Go to Tools&gt; Options&gt; expand Source Control and choose Plug-in Settings.Â  Click on the advance button and select the Local Files tab and make sure the Use Read-only Flag for files not checked out option has a check mark in it.</p>
<p>In Visual Studio you have the option to be prompted when editing or to automatically check the file out.</p>
<p>In the dialog Tools&gt; Options&gt; expand Source Control and choose Environment. </p>
<p>Set the On Edit optionÂ to Prompt for Check out or Automatically check out depending on preference. </p>
<p>Move all the files from the working folder and re-issue the Get LatestÂ (making sure you do not select make writable) and try to edit the file.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>More Information</h2>
<div class=sbody>
<p>If you do a Get Latest,Â typically theÂ files should be marked with a read only attribute.Â  However, sometimes the attribute is not set for some reason. Please review the cause section for most common reasons.</p>
<p>Sharing of working directories is not recommend because it can easily lead to the problem described in this article.</p>
<p>If you are editing directly fromÂ the SourceSafe Explorer</p>
<p>Open the Tools&gt; Options&gt;Â General tab and make sure that the Double-click on a file option is set to Ask. </p>
<p>You are prompted by a dialog that contains the following question in a option group: </p>
<p>Do you want to:</p>
<p>View SourceSafe&#8217;s copy of this file</p>
<p>Check out this file and edit it in your working folder.</p>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>DISCLAIMER</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE â€œMATERIALSâ€) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual SourceSafe 2005 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual SourceSafe 6.0d</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual SourceSafe 6.0C</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio .NET 2003 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio .NET 2003 Enterprise Developer</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio .NET 2003 Enterprise Architect</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio .NET 2003 Academic Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005 Professional Edition with MSDN Premium Subscription</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005 Professional Edition with MSDN Professional Subscription</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005 Team Edition for Database Professionals</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005 Team Edition for Software Architects</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005 Team Edition for Software Developers</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005 Team Edition for Software Testers</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Database Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Architecture Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Development Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbnomt kbrapidpub KB953345</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/you-are-not-prompted-to-edit-a-file-under-source-control-when-you-begin-making-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>High Memory and CPU Usage When Debugging Lots of Dynamic Types</title>
		<link>http://ossmall.info/high-memory-and-cpu-usage-when-debugging-lots-of-dynamic-types/</link>
		<comments>http://ossmall.info/high-memory-and-cpu-usage-when-debugging-lots-of-dynamic-types/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 12:41:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VS General]]></category>

		<guid isPermaLink="false">http://ossmall.info/high-memory-and-cpu-usage-when-debugging-lots-of-dynamic-types/</guid>
		<description><![CDATA[RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION. Action Debugging managed code that contains a lot of dynamically created types. Result High memory usage accompanied by high cpu usage. Cause [...]]]></description>
			<content:encoded><![CDATA[<p class="section">
<p class="sbody">RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948032/Memory-Usage-Debugging-Dynamic-Types.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">Action</h2>
<p class="sbody">Debugging managed code that contains a lot of dynamically created types.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948032/Memory-Usage-Debugging-Dynamic-Types.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">Result</h2>
<p class="sbody">High memory usage accompanied by high cpu usage.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948032/Memory-Usage-Debugging-Dynamic-Types.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">Cause</h2>
<p class="sbody">High Memory Usage:<br />
The Visual Studio debugger makes a copy of meta-data every time a managed dynamic type is created, even when it already has a previous copy of the same type cached.  This is because there may still be outstanding references to the old copy.  So, when re-creating dynamic types, not only does the debugger make a copy of meta-data for itself to use, it may also create what amouts to a duplicate copy.</p>
<p>High CPU:<br />
This particular pattern of memory usage can also lead to fragmented native heaps in the process.  As the debugging activity progresses, native heaps can become more and more fragmented, causing high cpu usage as it becomes more and more difficult to free continguous space.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948032/Memory-Usage-Debugging-Dynamic-Types.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">Resolution</h2>
<p class="sbody">This behavior is considered by design.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948032/Memory-Usage-Debugging-Dynamic-Types.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">More Information</h2>
<p class="sbody">The only known workaround is to detach the debugger periodically and re-attach.  When the debugger is detached, the copies of metadata are freed.</p>
<p>Othewise, be sure you are caching dynamic types such that you don&#8217;t re-create them, resulting in multiple copies of metadata for the same type.</p>
<p>Also, try to limit the number of dynamic types used; try to consolidate functionality in as few dynamic types as reasonably possible.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948032/Memory-Usage-Debugging-Dynamic-Types.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">DISCLAIMER</h2>
<p class="sbody">MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948032/Memory-Usage-Debugging-Dynamic-Types.aspx#top"><br />
</a></p>
<hr />
<h5>APPLIES TO</h5>
<table class="list">
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio .NET 2002 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio .NET 2003 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<h5>Microsoft Knowledge Base Article</h5>
<p class="MsoNormal">This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href="http://support.microsoft.com/tou/">Terms of Use</a> | <a href="http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/high-memory-and-cpu-usage-when-debugging-lots-of-dynamic-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detection and deployment guidance for the March 11, 2008 security release</title>
		<link>http://ossmall.info/detection-and-deployment-guidance-for-the-march-11-2008-security-release/</link>
		<comments>http://ossmall.info/detection-and-deployment-guidance-for-the-march-11-2008-security-release/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 01:28:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[App HowTo]]></category>
		<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Application Center]]></category>
		<category><![CDATA[Commerce Server 2007]]></category>
		<category><![CDATA[Internet Explorer 7]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[MS Office Access]]></category>
		<category><![CDATA[MS Office Accounting]]></category>
		<category><![CDATA[MS Office Excel]]></category>
		<category><![CDATA[MS Office Groove]]></category>
		<category><![CDATA[MS Office InfoPath]]></category>
		<category><![CDATA[MS Office OneNote]]></category>
		<category><![CDATA[MS Office Outlook]]></category>
		<category><![CDATA[MS Office Powerpoint]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Publisher]]></category>
		<category><![CDATA[MS Office SharePoint]]></category>
		<category><![CDATA[MS Office Suite 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Office Word]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Vista Center]]></category>
		<category><![CDATA[Vista Easter Eggs]]></category>
		<category><![CDATA[Vista HowTo]]></category>
		<category><![CDATA[Vista Tips]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[VS General]]></category>
		<category><![CDATA[Win XP Center]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>
		<category><![CDATA[XP HowTo]]></category>

		<guid isPermaLink="false">http://ossmall.info/detection-and-deployment-guidance-for-the-march-11-2008-security-release/</guid>
		<description><![CDATA[Detection and deployment guidance for the March 11, 2008 security release View products that this article applies to. Article ID : 950137 Last Review : March 11, 2008 Revision : 1.3 On This Page INTRODUCTION As part of an ongoing commitment to provide detection tools and deployment recommendations for security updates, Microsoft is delivering this [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>Detection and deployment guidance for the March 11, 2008 security release</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>950137</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>March 11, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.3</td>
</tr>
</table>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>INTRODUCTION</h2>
<div class=sbody>As part of an ongoing commitment to provide detection tools and deployment recommendations for security updates, Microsoft is delivering this detection and deployment guidance for all updates that are released during a Microsoft Security Response Center (MSRC) release cycle. </p>
<p>This guidance contains recommendations that are based on the types of scenarios that may exist in various Microsoft operating system environments. This guidance includes how to use tools such as the following tools:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Update</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Update</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office Update</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The Microsoft Baseline Security Analyzer (MBSA)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server Update Services (WSUS)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft System Center Configuration Manager </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Microsoft Systems Management Server (SMS)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The Extended Security Update Inventory Tool </td>
</tr>
</table>
<p>This article describes the detection and deployment guidance for the security release that is dated March 11, 2008.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Detection and deployment</h3>
<h4 id=tocHeadRef>Environments that detect and deploy security updates by using Windows Update, Microsoft Update, Office Update, and Mactopia</h4>
<p>Security updates that were released on March 11, 2008 are available through the following Web sites.  Any exceptions are described in each Web site section. The products that are supported by each Web site are also listed.</p>
<p><b>Note</b> Not every update is available on every Web site that is listed here.<br />
<h5 id=tocHeadRef>Windows Update </h5>
<div class=indent><a href=http://update.microsoft.com/windowsupdate>http://update.microsoft.com/windowsupdate</a><span class=pLink> (http://update.microsoft.com/windowsupdate)</span></div>
<p>The products that are supported by this Web site are as follows:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows XP</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008</td>
</tr>
</table>
<h5 id=tocHeadRef>Microsoft Update</h5>
<div class=indent><a href=http://update.microsoft.com/microsoftupdate>http://update.microsoft.com/microsoftupdate</a><span class=pLink> (http://update.microsoft.com/microsoftupdate)</span></div>
<p>The products that are supported by this Web site are as follows:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Internet Security and Acceleration Server 2004</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Internet Security and Acceleration Server 2006</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Exchange 2000 Server</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Exchange Server 2003</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Exchange Server 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2003</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The 2007 Microsoft Office system</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows 2000 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows XP</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft SQL Server 2005</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Forefront Client Security</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2005</td>
</tr>
</table>
<p><b>General exceptions</b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Update does not support Office 2000 components.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Update does not support any Apple Macintosh products.</td>
</tr>
</table>
<p><b>Specific exceptions</b>Microsoft Update does not support the part of security update 933103 that involves the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2002 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft BizTalk Server 2000 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft BizTalk Server 2002 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Commerce Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft  Internet Security and Acceleration (ISA) Server 2000</td>
</tr>
</table>
<p>For more information about security update 933103, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=933103>933103</a><span class=pLink> (/Feedback.aspx?kbNumber=933103/)</span> MS08-017: Vulnerabilities in Microsoft Office Web Components could allow remote code execution </div>
<h5 id=tocHeadRef>Office Update</h5>
<div class=indent><a href=http://office.microsoft.com>http://office.microsoft.com</a><span class=pLink> (http://office.microsoft.com)</span></div>
<p>The products that are supported by this Web site are as follows:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office 2000 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The 2007 Office system</td>
</tr>
</table>
<p><b>General Exceptions</b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office Update does not support  2007 Office components when they are installed on computers that are running Windows Vista or Windows Server 2008. You must use Microsoft Update instead.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Office Update does not support any Macintosh products.</td>
</tr>
</table>
<h5 id=tocHeadRef>Mactopia </h5>
<div class=indent><a href=http://www.microsoft.com/mac>http://www.microsoft.com/mac/</a><span class=pLink> (http://www.microsoft.com/mac/)</span></div>
<p>The products that are supported by this Web site are as follows:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2001 for Mac</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2004 for Mac</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office X for Mac</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2008 for Mac</td>
</tr>
</table>
<h4 id=tocHeadRef>Environments that detect security updates by using Microsoft Baseline Security Analyzer (MBSA) version 2.0.1</h4>
<p>You can detect security updates that were released on March 11, 2008 if you use MBSA version 2.0.1.</p>
<p><b>General Exceptions</b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>MBSA version 2.0.1 does not support any Office 2000 components.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>MBSA version 2.0.1 does not support any Macintosh products.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>MBSA version 2.0.1 is not supported on Windows Vista. However, MBSA version 2.0.1 supports remote scans of computers that are running Windows Vista. </p>
<p>For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=931943>931943</a><span class=pLink> (/Feedback.aspx?kbNumber=931943/)</span>Microsoft Baseline Security Analyzer (MBSA) support for Windows Vista</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>MBSA version 1.2.1 is no longer supported. It will not detect security updates that were released after October 2007.</td>
</tr>
</table>
<p><b>Specific exceptions</b>MBSA version 2.0.1 does not support the part of security update 933103 that involves the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Visual Studio 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>BizTalk Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> BizTalk Server 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Commerce Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> ISA Server 2000 </td>
</tr>
</table>
<p>For more information about security update 933103, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=933103>933103</a><span class=pLink> (/Feedback.aspx?kbNumber=933103/)</span> MS08-017: Vulnerabilities in Microsoft Office Web Components could allow remote code execution </div>
<h4 id=tocHeadRef>Environments that detect and deploy security updates by using Windows Server Update Services (WSUS)</h4>
<p>You can detect and deploy security updates that were released on March 11, 2008 if you use any of the following items:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 2.0 Service Pack 1 (SP1)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 3.0</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 3.0 Service Pack 1 (SP1)</td>
</tr>
</table>
<p><b>General Exceptions </b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 2.0 SP1, WSUS 3.0, and WSUS 3.0 SP1 do not support any Office 2000 components.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>WSUS 2.0 SP1, WSUS 3.0,  and WSUS 3.0 SP1 do not support any Macintosh products.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SUS 1.0 Service Pack 1 (SP1) is no longer supported. It will not receive security updates. </td>
</tr>
</table>
<p><b>Specific exceptions</b>WSUS 2.0 SP1, WSUS 3.0, and WSUS 3.0 SP1 do not support the part of security update 933103 that involves the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Visual Studio 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>BizTalk Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> BizTalk Server 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Commerce Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> ISA Server 2000 </td>
</tr>
</table>
<p>For more information about security update 933103, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=933103>933103</a><span class=pLink> (/Feedback.aspx?kbNumber=933103/)</span> MS08-017: Vulnerabilities in Microsoft Office Web Components could allow remote code execution </div>
<h4 id=tocHeadRef>Environments that detect and deploy security updates by using SMS 2.0, SMS 2003, or System Center Configuration Manager 2007 </h4>
<p>You can detect and deploy all security updates that were released on March 11, 2008 if you use any of the following items:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Systems Management Server (SMS) 2.0 together with the SUS Feature Pack </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Systems Management Server (SMS) 2003 together with the SUS Feature Pack </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Systems Management Server (SMS) 2003 together with Inventory Tool for Microsoft Updates (ITMU)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>System Center Configuration Manager  2007</td>
</tr>
</table>
<p><b>General Exceptions</b><br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SMS ITMU and System Center Configuration Manager do not support any Office 2000 components.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SMS together with the SUS Feature Pack does not support the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The 2007 Office system</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Internet Explorer 7 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Any x64-based versions of Windows</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Any Itanium-based versions of Windows</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The SMS SUS Feature Pack, SMS ITMU, and System Center Configuration Manager do not support any Macintosh products.</td>
</tr>
</table>
<p><b>Specific exceptions</b>WSUS 2.0, WSUS 3.0, and WSUS 3.0 SP1 do not support the part of security update 933103 that involves the following products:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Visual Studio 2003 </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>BizTalk Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> BizTalk Server 2002</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Commerce Server 2000</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>ISA Server 2000 </td>
</tr>
</table>
<p>For more information about security update 933103, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=933103>933103</a><span class=pLink> (/Feedback.aspx?kbNumber=933103/)</span> MS08-017: Vulnerabilities in Microsoft Office Web Components could allow remote code execution </div>
<p><b>Note</b> The SMS SUS Feature Pack requires the Extended Security Update Inventory Tool   to detect all the security updates. </p>
<p>To obtain the Extended Security Update Inventory Tool, visit the following Microsoft Web site:
<div class=indent><span class=ll><a href=http://www.microsoft.com/downloads/details.aspx?FamilyId=2C93DA1D-48A0-4E5C-991F-87E08954F61B&amp;displaylang=en>http://www.microsoft.com/downloads/details.aspx?FamilyId=2C93DA1D-48A0-4E5C-991F-87E08954F61B&amp;displaylang=en</a></span><span class=pLink> (http://www.microsoft.com/downloads/details.aspx?FamilyId=2C93DA1D-48A0-4E5C-991F-87E08954F61B&amp;displaylang=en)</span></div>
<h4 id=tocHeadRef>Summary of detection and deployment guidance</h4>
<p>The following table summarizes the detection and deployment guidance for each new security update.</p>
<p><b>Note</b> To simplify this table, items that were listed under the General Exceptions heading for each detection and deployment technology are not included. </p>
<p> For example, the Microsoft Update column in this table may include a Yes. However, the security bulletin lists an Office 2000 component as affected. Previously, we would have stated in the table that Microsoft Update partially supported deployment of the security update. However, no Office 2000 components are supported by Microsoft Update. Therefore, we no longer account for that product in the table because it is always listed as a general exception.<br />
<table cellspacing=1 class=table>
<tr>
<th>Security update</th>
<th>Bulletin</th>
<th>Component</th>
<th>Office Update</th>
<th>Windows Update</th>
<th>Microsoft Update</th>
<th>MBSA 2.0.1</th>
<th>WSUS 2.0 and WSUS 3.0</th>
<th>SMS SUS Feature Pack</th>
<th>SMS Inventory Tool for Microsoft Updates</th>
<th>System Center Configuration Manager 2007</th>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
<td>Detect only</td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
<td>Detect and deploy</td>
</tr>
<tr>
<td>949029</td>
<td>MS08-014</td>
<td>Microsoft Excel</td>
<td>Yes</td>
<td>Not applicable</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>949031</td>
<td>MS08-015</td>
<td>Microsoft Outlook</td>
<td>Yes</td>
<td>Not applicable</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>949030</td>
<td>MS08-016</td>
<td>Office</td>
<td>Yes</td>
<td>Not applicable</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>933103</td>
<td>MS08-017</td>
<td>Microsoft Office Web Components</td>
<td>Partially. See Office Update section.</td>
<td>Not applicable</td>
<td>Partially. See Microsoft Update section.</td>
<td>Partially. See MBSA section.</td>
<td>Partially. See WSUS section.</td>
<td>Yes</td>
<td>Partially. See SMS section.</td>
<td>Partially. See System Center Configuration Manager section.</td>
</tr>
</table>
<h4 id=tocHeadRef>Rereleased security updates</h4>
<p>There are no rereleases this month.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Frequently asked questions</h3>
<p><b>What is Microsoft doing to provide guidance about how to deploy these updates? </p>
<p></b>We encourage system administrators to join the monthly technical Webcast to learn more about security updates. The Webcast for this security update airs on   	Thursday, March 13, 2008 12:00 A.M. (Pacific Time). To register, visit the following Microsoft Web site:
<div class=indent><a href=http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032373597>http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032373597</a><span class=pLink> (http://msevents.microsoft.com/CUI/EventDetail.aspx?EventID=1032373597)</span></div>
<p><b>What other information should I know about MBSA? </p>
<p></b>For more information about the programs that MBSA currently does not detect, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=895660>895660</a><span class=pLink> (/Feedback.aspx?kbNumber=895660/)</span>Microsoft Baseline Security Analyzer (MBSA) 2.0 is available </div>
<p>If you installed a program that is listed in the Affected software section of a security bulletin, you may have to manually determine whether you must install the required security update. For more information about MBSA, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/fwlink/?LinkId=21134>http://go.microsoft.com/fwlink/?LinkId=21134</a><span class=pLink> (http://go.microsoft.com/fwlink/?LinkId=21134)</span></div>
<p><b> Can I use SMS or System Center Configuration Manager to determine whether the updates are required? </p>
<p></b>Yes. SMS helps detect and deploy these security updates. SMS 2.0 together with the SUS Feature Pack and SMS 2003 together with SUSFP use MBSA version 1.2.1 technology for detection. Therefore, SMS 2.0 together with the SUS Feature Pack and SMS 2003 together with the SUS Feature Pack have limitations that resemble the limitations of MBSA version 1.2.1. </p>
<p>For more information about SMS, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/fwlink/?LinkId=21158>http://go.microsoft.com/fwlink/?LinkId=21158</a><span class=pLink> (http://go.microsoft.com/fwlink/?LinkId=21158)</span></div>
<p>The SUS Feature Pack together with the Extended Security Update Inventory Tool is required to detect all the security updates on Microsoft Windows and on other affected Microsoft products. </p>
<p>For more informationabout the limitations of the SUS Feature Pack, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=306460>306460</a><span class=pLink> (/Feedback.aspx?kbNumber=306460/)</span> Microsoft Baseline Security Analyzer (MBSA) returns note messages for some updates</div>
<p>SMS 2.0 together with the SUS Feature Pack  and SMS 2003 together with the SUS Feature Pack  also use the Microsoft Office Inventory Tool to detect the required security updates for Microsoft Office programs such as Microsoft Word. </p>
<p>SMS 2003 customers can also use ITMU to detect and to deploy security updates. ITMU uses technology from Microsoft Updates. For more information about ITMU, visit the following Microsoft Web site:
<div class=indent><a href=http://technet.microsoft.com/en-us/sms/bb676783.aspx>http://technet.microsoft.com/en-us/sms/bb676783.aspx</a><span class=pLink> (http://technet.microsoft.com/en-us/sms/bb676783.aspx)</span></div>
<p>System Center Configuration Manager 2007 uses WSUS 3.0 for detection and deployment of these security updates. Therefore, anything that is supported by WSUS 3.0 is also supported by System Center Configuration Manager 2007.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Enterprise</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Basic</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Premium</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Ultimate</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Server 2003 Service Pack 2, when used with:</td>
</tr>
<tr>
<td class=textSub colspan=2>
<table class=list>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Web Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Standard Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter x64 Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise x64 Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Standard x64 Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows XP Professional x64 Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Server 2003 Service Pack 1, when used with:</td>
</tr>
<tr>
<td class=textSub colspan=2>
<table class=list>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Web Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Standard Edition (32-bit x86)</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows XP Service Pack 2, when used with:</td>
</tr>
<tr>
<td class=textSub colspan=2>
<table class=list>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows XP Professional</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows XP Home Edition</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows 2000 Service Pack 4, when used with:</td>
</tr>
<tr>
<td class=textSub colspan=2>
<table class=list>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows 2000 Advanced Server</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows 2000 Datacenter Server</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows 2000 Professional Edition</td>
</tr>
<tr>
<td>Â </td>
<td>Â </td>
<td class=text>Microsoft Windows 2000 Server</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Small Business Server 2003 Premium Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Small Business Server 2003 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Small Business Server 2000 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Datacenter without Hyper-V</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Enterprise without Hyper-V</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 for Itanium-Based Systems</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Standard without Hyper-V</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Datacenter</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Enterprise</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008 Standard</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Web Server 2008</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2000 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office XP Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Standard Edition 2003</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Professional 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Professional Plus 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Standard 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office Ultimate 2007</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2004 for Mac Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2004 for Mac Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2004 for Mac Student and Teacher Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office X for Mac Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2008 for Mac</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2008 for Mac Home and Student Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office 2008 for Mac Special Media Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbhowto kbsecurity kbsecbulletin kbinfo KB950137</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/detection-and-deployment-guidance-for-the-march-11-2008-security-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot add Controls from 64-bit Assemblies to the Toolbox or Use in Designers Within the Visual Studio IDE</title>
		<link>http://ossmall.info/cannot-add-controls-from-64-bit-assemblies-to-the-toolbox-or-use-in-designers-within-the-visual-studio-ide/</link>
		<comments>http://ossmall.info/cannot-add-controls-from-64-bit-assemblies-to-the-toolbox-or-use-in-designers-within-the-visual-studio-ide/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 12:56:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/cannot-add-controls-from-64-bit-assemblies-to-the-toolbox-or-use-in-designers-within-the-visual-studio-ide</guid>
		<description><![CDATA[Article ID: 963017 &#8211; Last Review: January 19, 2009 &#8211; Revision: 1.0 Cannot add Controls from 64-bit Assemblies to the Toolbox or Use in Designers Within the Visual Studio IDE View products that this article applies to. Expand all &#124; Collapse all Source: Microsoft Support Back to the top RAPID PUBLISHING RAPID PUBLISHING ARTICLES PROVIDE [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 963017 &#8211; Last Review: January 19, 2009 &#8211; Revision: 1.0</div>
<p><strong class=title>Cannot add Controls from 64-bit Assemblies to the Toolbox or Use in Designers Within the Visual Studio IDE</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<div class=sbody><b>Source: </b>Microsoft Support
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RAPID PUBLISHING</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Action</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>You attempt to use a 64-bit component within the Microsoft Visual StudioÃ‚Â Integrated Development Environment (IDE).
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Result</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>1. When addingÃ‚Â control contained within an externalÃ‚Â 64-bit assembly to to theÃ‚Â Visual Studio Toolbox, you receive the following error message.</p>
<p>&lt;Control Name.dll&gt; is not a valid .NET module.</p>
<p>2. When dragging and dropping a UserControl defined in a 64-bit assembly to a Form in another project within the same solution, you receive the error:</p>
<p>Failed to load toolbox item &lt;UserControl Name&gt;.Ã‚Â  It will be removed from the toolbox.</p>
<p>3. When openingÃ‚Â the Visual Studio Windows Form Designer for a form thatÃ‚Â attempts to instantiate a control in a 64-bit assembly, you receive the following errors in the Windows Form designer.</p>
<p>Could not find type &lt;typename&gt;. Please make sure that the assembly that contains this type is referenced. If this type is a part of your development project, make sure that the project has been successfully built.</p>
<p>The variableÃ‚Â &lt;variable name&gt;Ã‚Â is either undeclared or was never assigned. </p>
<p>Call Stack:</p>
<p>at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.Error(IDesignerSerializationManager manager, String exceptionText, String helpLink)<br />at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)<br />at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression)<br />at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeStatement(IDesignerSerializationManager manager, CodeStatement statement)
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Cause</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>This behavior is by design.Ã‚Â Visual StudioÃ‚Â is a 32-bitÃ‚Â process, and therefore can onlyÃ‚Â execute 32-bit modules. While Visual Studio allows you to add a reference to a 64-bit assembly, it cannot actually JIT compile it to 64-bit and execute it in process.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Resolution</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>1. Rebuild the assemblyÃ‚Â using the AnyCPU setting. This would allow the component toÃ‚Â run within a 32-bit process (such as Visual Studio), or in a 64-bit process.</p>
<p>Advanced Compiler Settings Dialog Box (Visual Basic)<br /><a href=http://msdn.microsoft.com/en-us/library/07bysfz2.aspx>http://msdn.microsoft.com/en-us/library/07bysfz2.aspx</a><span class=pLink>            (http://msdn.microsoft.com/en-us/library/07bysfz2.aspx)        </span></p>
<p>Ã‚Â /platform (Specify Output Platform) (C# Compiler Options)<br /><a href=http://msdn.microsoft.com/en-us/library/zekwfyz4.aspx>http://msdn.microsoft.com/en-us/library/zekwfyz4.aspx</a><span class=pLink>            (http://msdn.microsoft.com/en-us/library/zekwfyz4.aspx)        </span></p>
<p>If you are using aÃ‚Â third party component and cannot rebuild it yourself,Ã‚Â contact the component vendor to see if an AnyCPU version of the assembly is possible to obtain. This will allow the component to Just-In-Time (JIT) compile to run as either a 32-bit or 64-bit module, depending on the machine architecture the operating systemÃ‚Â and host process are targeting.</p>
<p>2. Add the assembly as a reference and load the control dynamically at run-time. Although you still would be unable toÃ‚Â use the control within any designer inside Visual Studio, you can still writeÃ‚Â the code needed to instantiate the control andÃ‚Â set it&#8217;s properties accordingly.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >More Information</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>Is there a 64-bit version of Visual Studio 2005 or Visual Studio 2008?<br /><a href=http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fdefault.aspx%2fkb%2f951801>http://support.microsoft.com/default.aspx/kb/951801</a><span class=pLink>            (http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fdefault.aspx%2fkb%2f951801)        </span></p>
<p>Ã‚Â </p>
<p>Process Interoperability</p>
<p><a href=http://msdn.microsoft.com/en-us/library/aa384231(VS.85).aspx>http://msdn.microsoft.com/en-us/library/aa384231(VS.85).aspx</a><span class=pLink>            (http://msdn.microsoft.com/en-us/library/aa384231(VS.85).aspx)        </span></p>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >DISCLAIMER</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual Studio 2005 Express Edition</li>
<li>Microsoft Visual Studio 2005 Professional Edition</li>
<li>Microsoft Visual Studio 2005 Service Pack 1</li>
<li>Microsoft Visual Studio 2005 Standard Edition</li>
<li>Microsoft Visual Studio 2005 Team Edition for Software Developers</li>
<li>Microsoft Visual Studio 2005 Team Suite</li>
<li>Microsoft Visual Studio 2008 Academic Edition</li>
<li>Microsoft Visual Studio 2008 Professional Edition</li>
<li>Microsoft Visual Studio 2008 Service Pack 1</li>
<li>Microsoft Visual Studio 2008 Standard Edition</li>
<li>Microsoft Visual Studio Team System 2008 Development Edition</li>
<li>Microsoft Visual Studio Team System 2008 Team Suite</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbnomt kbrapidpub KB963017</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/cannot-add-controls-from-64-bit-assemblies-to-the-toolbox-or-use-in-designers-within-the-visual-studio-ide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Visual Studio Designer does not Respect Assembly Binding Redirection</title>
		<link>http://ossmall.info/the-visual-studio-designer-does-not-respect-assembly-binding-redirection/</link>
		<comments>http://ossmall.info/the-visual-studio-designer-does-not-respect-assembly-binding-redirection/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 04:19:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/the-visual-studio-designer-does-not-respect-assembly-binding-redirection/</guid>
		<description><![CDATA[The Visual Studio Designer does not Respect Assembly Binding Redirection View products that this article applies to. Article ID : 955600 Last Review : July 11, 2008 Revision : 1.0 Source: Microsoft Support Back to the top RAPID PUBLISHING RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>The Visual Studio Designer does not Respect Assembly Binding Redirection</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>955600</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>July 11, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=section>
<div class=sbody><b>Source: </b>Microsoft Support
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RAPID PUBLISHING</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Action</h2>
<div class=sbody>
<p>So we recently came across an issue where Visual Studio 2005 and 2008 Designers were not respecting assembly binding redirection.</p>
<p>Example</p>
<p>We have a file which is now version 2 and stored in the <a href=http://msdn2.microsoft.com/en-us/library/yf1d93sz.aspx>GAC</a><span class=pLink> (http://msdn2.microsoft.com/en-us/library/yf1d93sz.aspx)</span>.Ã‚Â  So the assembly version is 2.0.0.0.Ã‚Â  We have some existing customers using version 1 so we want to be able to use <a href=http://msdn2.microsoft.com/en-us/library/2fc472t2.aspx>Assembly Binding Redirection</a><span class=pLink> (http://msdn2.microsoft.com/en-us/library/2fc472t2.aspx)</span> to point them to the new version of the assembly.</p>
<p>For more information on configuring this, check out <a href=http://msdn2.microsoft.com/en-us/library/433ysdt1.aspx>Configuring Assembly Binding Redirection</a><span class=pLink> (http://msdn2.microsoft.com/en-us/library/433ysdt1.aspx)</span>.</p>
<p>The web page has code like:&lt;tc:TestContacts ID=QuickContacts1 runat=server&gt;    &lt;tc:AContact Name=Test Tester         Email=test@test.com         Phone=(999) 555-1212 /&gt;    &lt;tc:AContact Email=no@spam.thx         Name=Mr. A. Nonymous         Phone=(999) 555-1234 /&gt;&lt;/tc:TestContacts&gt;.csharpcode, .csharpcode pre{font-size:small;color:black;font-family:consolas, Courier New, courier, monospace;background-color:#ffffff;}.csharpcode pre{margin:0em;}.csharpcode .rem{color:#008000;}.csharpcode .kwrd{color:#0000ff;}.csharpcode .str{color:#006080;}.csharpcode .op{color:#0000c0;}.csharpcode .preproc{color:#cc6633;}.csharpcode .asp{background-color:#ffff00;}.csharpcode .html{color:#800000;}.csharpcode .attr{color:#ff0000;}.csharpcode .alt{background-color:#f4f4f4;width:100%;margin:0em;}.csharpcode .lnum{color:#606060;}</p>
<p>We also have a Register Assembly line at the top that points to the 1.0.0.0 version of the file.Ã‚Â  And we have an entry in our web.config that looks like this:&lt;runtime&gt;    &lt;assemblyBinding xmlns=urn:schemas-microsoft-com:asm.v1&gt;        &lt;dependentAssembly&gt;            &lt;assemblyIdentity name=Tester1 publicKeyToken=6ace53ab3256c766/&gt;            &lt;bindingRedirect oldVersion=1.0.0.0-1.1.0.0                             newVersion=2.0.0.0/&gt;        &lt;/dependentAssembly&gt;    &lt;/assemblyBinding&gt;&lt;/runtime&gt;.csharpcode, .csharpcode pre{font-size:small;color:black;font-family:consolas, Courier New, courier, monospace;background-color:#ffffff;}.csharpcode pre{margin:0em;}.csharpcode .rem{color:#008000;}.csharpcode .kwrd{color:#0000ff;}.csharpcode .str{color:#006080;}.csharpcode .op{color:#0000c0;}.csharpcode .preproc{color:#cc6633;}.csharpcode .asp{background-color:#ffff00;}.csharpcode .html{color:#800000;}.csharpcode .attr{color:#ff0000;}.csharpcode .alt{background-color:#f4f4f4;width:100%;margin:0em;}.csharpcode .lnum{color:#606060;}</p>
<p>We could have done this in a policy file and got the same results.Ã‚Â  So now we open this file in Design view inside Visual Studio and change a property of the TestContacts control.Ã‚Â  For instance, adding an AccessKey.Ã‚Â  Switching back to the Source view, we will now see:&lt;tc:TestContacts ID=QuickContacts1 runat=server&gt;    &lt;samples.aspnet.cs.controls.acontact Name=Test Tester         Email=test@test.com         Phone=(999) 555-1212 /&gt;    &lt;samples.aspnet.cs.controls.acontact Email=no@spam.thx         Name=Mr. A. Nonymous         Phone=(999) 555-1234 /&gt;&lt;/tc:TestContacts&gt;.csharpcode, .csharpcode pre{font-size:small;color:black;font-family:consolas, Courier New, courier, monospace;background-color:#ffffff;}.csharpcode pre{margin:0em;}.csharpcode .rem{color:#008000;}.csharpcode .kwrd{color:#0000ff;}.csharpcode .str{color:#006080;}.csharpcode .op{color:#0000c0;}.csharpcode .preproc{color:#cc6633;}.csharpcode .asp{background-color:#ffff00;}.csharpcode .html{color:#800000;}.csharpcode .attr{color:#ff0000;}.csharpcode .alt{background-color:#f4f4f4;width:100%;margin:0em;}.csharpcode .lnum{color:#606060;}</p>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Result</h2>
<div class=sbody>
<p>This breaks the site and it no longer works.</p>
<p>Note: Assembly Binding Redirection works find in other scenarios, it just doesnÃ¢â‚¬â„¢t work right inside the Designer.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Cause</h2>
<div class=sbody>Bug in the Designer
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Resolution</h2>
<div class=sbody>
<p>This is fixed in Visual Studio 2008 Server pack 1</p>
<p>Other work arounds for Visual Studio 2005<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>DonÃ¢â‚¬â„¢t use Assembly Binding Redirection at all and just leave the 1.0.0.0 version of the file in the GAC.Ã‚Â  You will see a lot of .NET files do this, there are versions for .NET 1.0, 1.1, 2.0, etc all inside the GAC at the same time. </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Change the existing files so that the Register Assembly line at the top of the web page points to the 2.0.0.0 version of the file. </td>
</tr>
</table>
<p>Keep in mind that this is only a problem if you are actively changing the older files already, if you donÃ¢â‚¬â„¢t touch the file it will be fine since this issue is only with the Designer.Ã‚Â  So since you are already updating the file, it is trivial to update this line also.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>More Information</h2>
<div class=sbody>
<p>Global Assembly Cache</p>
<p><a href=http://msdn.microsoft.com/en-us/library/yf1d93sz.aspx>http://msdn.microsoft.com/en-us/library/yf1d93sz.aspx</a><span class=pLink> (http://msdn.microsoft.com/en-us/library/yf1d93sz.aspx)</span></p>
<p>Assembly Binding Redirection</p>
<p><a href=http://msdn.microsoft.com/en-us/library/2fc472t2.aspx>http://msdn.microsoft.com/en-us/library/2fc472t2.aspx</a><span class=pLink> (http://msdn.microsoft.com/en-us/library/2fc472t2.aspx)</span><br />Configuring Assembly Binding Redirection<br /><a href=http://msdn.microsoft.com/en-us/library/433ysdt1.aspx>http://msdn.microsoft.com/en-us/library/433ysdt1.aspx</a><span class=pLink> (http://msdn.microsoft.com/en-us/library/433ysdt1.aspx)</span>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>DISCLAIMER</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio 2005 Standard Edition</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â </h5>
</td>
<td class=text>kbnomt kbrapidpub KB955600</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/the-visual-studio-designer-does-not-respect-assembly-binding-redirection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2008 Service Pack 1 Beta release notes and a list of fixed issues</title>
		<link>http://ossmall.info/visual-studio-2008-service-pack-1-beta-release-notes-and-a-list-of-fixed-issues/</link>
		<comments>http://ossmall.info/visual-studio-2008-service-pack-1-beta-release-notes-and-a-list-of-fixed-issues/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 13:50:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/visual-studio-2008-service-pack-1-beta-release-notes-and-a-list-of-fixed-issues/</guid>
		<description><![CDATA[Visual Studio 2008 Service Pack 1 Beta release notes and a list of fixed issues View products that this article applies to. Article ID : 945140 Last Review : April 29, 2008 Revision : 1.2 Notice Beta Information This article discusses a beta release of a Microsoft product. The information in this article is provided [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>Visual Studio 2008 Service Pack 1 Beta release notes and a list of fixed issues</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>945140</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>April 29, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.2</td>
</tr>
</table>
</div>
<div class=notice>
<h5 id=tocHeadRef>Notice</h5>
<div class=notice>
<h5 id=tocHeadRef>Beta Information</h5>
<p>This article discusses a beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.</p>
<p>No formal product support is available from Microsoft for this beta product. For information about how to obtain support for a beta release, see the documentation that is included with the beta product files, or check the Web location where you downloaded the release.</p></div>
<h3 id=tocHeadRef>Microsoft Silverlight users</h3>
<p>Microsoft Visual Studio 2008 Service Pack 1 (SP1) Beta will not be  installed if you have the Microsoft Silverlight Tools Beta 1 already installed on the computer. If you want to apply Visual Studio 2008 SP1 to the release version of  Visual Studio 2008, you must first uninstall Silverlight Tools Beta 1.</p></div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SUMMARY</h2>
<div class=sbody>This article lists known issues with the setup and the removal of Visual Studio 2008 SP1 Beta. Additionally, this article discusses the Visual Studio 2008 SP1 Beta features.</p>
<p>The release notes for Visual Studio 2008 SP1 Beta for Express editions are included in the following Microsoft Knowledge Base (KB) article:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=952283>952283</a><span class=pLink> (/Feedback.aspx?kbNumber=952283/)</span> Visual Studio 2008 Express Editions Service Pack 1 Beta release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Products to which Visual Studio 2008 SP1 Beta applies</h3>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The Microsoft .NET Framework 3.5</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The Microsoft Windows SDK</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Team Edition for Database Professionals</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Team Edition for Software Architects</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Team Edition for Software Developers</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Team Edition for Software Testers</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio 2008 Team Suite</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>How to obtain Visual Studio 2008 SP1 Beta</h3>
<p>To obtain Visual Studio 2008 SP1 Beta, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/fwlink/?LinkId=117351>http://go.microsoft.com/fwlink/?LinkId=117351</a><span class=pLink> (http://go.microsoft.com/fwlink/?LinkId=117351)</span></div>
<p>This package installs the service pack for Microsoft Visual Studio 2008 Standard, Professional, and  Team Editions.</p>
<p>For more information about the download location for Visual Studio 2008 Service Pack 1 Beta for Express Editions, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=952283>952283</a><span class=pLink> (/Feedback.aspx?kbNumber=952283/)</span> Visual Studio 2008 Express Editions Service Pack 1 Beta release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<div class=sbody>
<h3 id=tocHeadRef>Lists of changed features and fixed issues for Visual Studio 2008 SP1 Beta</h3>
<p>For more information about the changed features and fixed issues for Visual Studio 2008 SP1 Beta, visit the following Microsoft Knowledge Base (KB) articles:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=949258>949258</a><span class=pLink> (/Feedback.aspx?kbNumber=949258/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for the Visual Studio Tools for Office System 3.0 Runtime</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=951845>951845</a><span class=pLink> (/Feedback.aspx?kbNumber=951845/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for team editions</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=950263>950263</a><span class=pLink> (/Feedback.aspx?kbNumber=950263/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual C#</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=950264>950264</a><span class=pLink> (/Feedback.aspx?kbNumber=950264/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual Basic</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=950261>950261</a><span class=pLink> (/Feedback.aspx?kbNumber=950261/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual Web Developer 2008</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=951847>951847</a><span class=pLink> (/Feedback.aspx?kbNumber=951847/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for .NET Framework 3.5</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=951846>951846</a><span class=pLink> (/Feedback.aspx?kbNumber=951846/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Data Projects</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=950262>950262</a><span class=pLink> (/Feedback.aspx?kbNumber=950262/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Visual C++</div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=950265>950265</a><span class=pLink> (/Feedback.aspx?kbNumber=950265/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Windows Presentation Foundation Designer</div>
</td>
</tr>
</table>
<p>For more information about the changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Windows SDK, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=951844>951844</a><span class=pLink> (/Feedback.aspx?kbNumber=951844/)</span> List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Windows SDK</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<div class=sbody>This service pack adds the following new features:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>SQL Server 2008 Community Technology Preview (CTP) support is added to Visual Studio 2008.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The following Visual Basic PowerPack controls have been added:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text><b>Line</b></td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text><b> Shape</b></td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text><b>Data Repeater</b></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Basic, the Windows Communication Foundation (WCF) Service renaming process is improved.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Document level features are included for application level add-ins in Visual Studio Tools for Office.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Design-time support has been added in the ClickOnce application for file name extensions and Start menu customization.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>You can send mail from work items in Team Foundation Server.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Version control usability improvements and Microsoft Visual SourceSafe (VSS) converter improvements have been made in Team Foundation Server.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Improved Team System Web access integration with notifications has been added in Team Foundation Server.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Studio Team Edition for Developers, support has improved for Internet Information Services (IIS) 7 in the Visual Studio Performance Tools (Profiler).</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Studio Team Edition for Developers, 64-bit mixed mode (native/managed) instrumentation support has been added in the Profiler.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual C++, the Libraries support for Technical Report 1 (TR1) is added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> In Visual C++, the  Microsoft Foundation Class (MFC) is improved  to support the appearance and behavior of Microsoft Office.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Web Developer, SQL Server 2008 support for Web projects is added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Web Developer,  JavaScript formatting support is added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Visual Web Developer, the WCF Service renaming process is improved.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text> Debugging changes improve support for inspecting the results of in-memory Language-Integrated Query (LINQ) queries.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>A new Visual C# feature is added to provide a richer set of error information about code.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio Industry Partners (VSIP) partners are enabled to install one copy of files for a package that can be used by multiple isolated applications.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>In Windows Presentation Foundation (WPF) Designer, snaplines are now implemented for margins. This behavior enables the designer to control a fixed distance from other controls, container edges, or gridlines.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio Tools for Office System (VSTO) is improved  to support add-in error logging.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>XSD Schema Explorer is improved.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The <b>Step Into Specific</b> debugging feature and the <b>Step Filtering</b> debugging feature for managed properties and managed operators are changed.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The debugger now can cancel symbol and source downloading from Microsoft Public Symbol Servers.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Streamlined support for Reference Source is added to the debugger.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The ADO.NET Entity Designer is added to ease data access.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>You can now add â€œLocal  Database Cacheâ€ to device projects.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>ASP.NET Dynamic Data templates and toolbox controls are added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>IIS 7.0 Managed Module and Handler templates are added.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Support for starting the WCF Test client debug  of a WCF Service file (.svc) by pressing F5 is added.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Supported languages and operating systems</h3>
<h4 id=tocHeadRef>Supported languages</h4>
<p>Visual Studio 2008 SP1 Beta provides updates for the following versions of Visual Studio 2008:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>English (United States)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Japanese</td>
</tr>
</table>
<h4 id=tocHeadRef>Supported operating systems</h4>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows XP Service Pack 2 (SP2)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2003 SP1 or a later version of Windows Server 2003</p>
<p><b>Note</b> If you must have support for Microsoft SQL Server 2008 Community Technology Preview (CTP), you must have Windows Server 2003 SP2 installed.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Server 2008</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Installation requirements</h3>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>A licensed copy of one of the supported Visual Studio 2008 products must be installed on the destination computer.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Windows Installer 3.1 or a later version of Windows Installer must be installed on the destination computer. For more information, visit the following Microsoft Developer Network (MSDN) Web site:
<div class=indent><a href=http://msdn2.microsoft.com/en-us/library/Aa372866.aspx>http://msdn2.microsoft.com/en-us/library/Aa372866.aspx</a><span class=pLink> (http://msdn2.microsoft.com/en-us/library/Aa372866.aspx)</span></div>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>We recommend 512 MB or more RAM.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Visual Studio 2008 SP1 Beta support</h3>
<p>Formal support is available through Microsoft Connect. For more information, visit the following Microsoft Web site:
<div class=indent><a href=http://connect.microsoft.com>http://connect.microsoft.com/</a><span class=pLink> (http://connect.microsoft.com/)</span></div>
<p>Informal community support is available through the MSDN forums. For more information, visit the following Microsoft Web site:
<div class=indent><a href=http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=6&amp;SiteID=1>http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=6&amp;SiteID=1</a><span class=pLink> (http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=6&amp;SiteID=1)</span></div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Administrator deployment of Visual Studio 2008 SP1 Beta</h3>
<p>The Visual Studio 2008 SP1 Beta is a conditional download manager and update installer. Visual Studio 2008 SP1 Beta detects and installs only relevant updates applicable to the computer on which it is running.  For administrator deployment,  create a full package layout on the server computer.  To create a full package layout of Visual Studio 2008 SP1 Beta, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>Download the VS90sp1_KB945140.exe file  to a temporary folder on an computer that connects to the Internet. For example, save the file in the C: VS90SP1 folder.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Click <strong class=uiterm>Start</strong>, click <strong class=uiterm>Run</strong>, type <span class=userInput>cmd</span>, and then click <strong class=uiterm>OK</strong>.</p>
<p><b>Note</b> In Windows Vista, if you are prompted for an administrator password or confirmation, type your password or click <strong class=uiterm>Continue</strong>.</td>
</tr>
<tr>
<td class=number>3.</td>
<td class=text>Type the following command to download all Visual Studio 2008 SP1 Beta packages:
<div class=indent><span class=userInput>VS90sp1-KB945140-ENU.exe /createlayout <var>FullTargetFolderPath</var> /passive</span></div>
<p><b>Note </b><var>FullTargetFolderPath</var> represents the target folder for the package layout. For example, type the following command:
<div class=indent><span class=userInput>VS90sp1-KB945140-ENU.exe /createlayout c: VS90SP1 Layout /passive</span></div>
</td>
</tr>
</table>
<p>When you follow these steps, you download the complete Visual Studio 2008 SP1 Beta packages, you store the packages in the folder that you specify, and you do not install Visual Studio 2008 SP1 Beta. These packages include the SP1 Beta Setup program (SPInstaller.exe).</p>
<p>Then, to deploy the update to the client computers, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>Copy the created Layout folder to a shared network location.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Run SPInstaller.exe from the client computers by using the following command:
<div class=indent><span class=userInput><var>FullNetworkPath</var>SPInstaller.exe /q /log %temp% VS90SP1.htm /promptrestart</span></div>
<p>For example, you type the following command:
<div class=indent><span class=userInput>  <var>Server</var> VS90SP1 Layout SPInstaller.exe /q /log %temp% VS90SP1.htm /promptrestart</span></div>
</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Installation issues for all platforms</h3>
<h4 id=tocHeadRef>Service pack installation takes longer than the original product installation</h4>
<p>Installing Visual Studio 2008 SP1 Beta takes longer than when you install Visual Studio 2008. The Visual Studio 2008 SP1 Beta installation resembles a product installation. However, the Visual Studio 2008 SP1 Beta installation involves more installation tasks. Installation time depends on which product is installed and the computer configuration.<br />
<h4 id=tocHeadRef>Installation requires significant disk space</h4>
<p>You may have to have disk space that is equal to the disk space that the original product installation used when you install a service pack. If you have more than one Visual Studio product installed, you must have disk space for each service pack installation. You can find an estimate of the required disk space on the download page for the service pack.<br />
<h4 id=tocHeadRef>Visual Studio 2008 SP1 Beta is language specific</h4>
<p>If you have more than one language instance of Visual Studio 2008 on a computer, you must install a separate service pack for each language.<br />
<h4 id=tocHeadRef>Visual Studio 2008 SP1 Beta will not install immediately after a Visual Studio compilation</h4>
<p>You cannot install Visual Studio 2008 SP1 Beta until the debugger service closes.</p>
<p>To resolve this issue, use one of the following methods:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Finish compilations that are in progress, and wait for the debugger service to close. You may have to wait up to 10 minutes. </td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Use Windows Task Manager to end all instances of the Mspdbsrv.exe service.</td>
</tr>
</table>
<h4 id=tocHeadRef>You receive a Visual Studio 2008 SP1 Beta error message during the setup process</h4>
<p>During the Visual Studio 2008 SP1 Beta setup process, the progress window reports an Install failed &#8211; rolling back error message. However, the progress window then reports success on a finish page. </p>
<p>This is a Beta release issue. This issue occurs because incorrect progress reporting for one of the setup packages. This issue does not represent the result of an operation.  You can safely ignore  this error message in the progress window.  If the finish page reports success, all updates have been installed successfully.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Removal issues for all platforms</h3>
<h4 id=tocHeadRef>Mixed-mode configurations</h4>
<p>For multiple editions of Visual Studio 2008, Microsoft only supports configurations in which all editions are at the same service pack level.  If a computer has multiple language versions of Visual Studio 2008, multiple editions of Visual Studio 2008, or both, all editions must be at the release level or at the SP1 level to be supported by Microsoft.<br />
<h4 id=tocHeadRef>How to remove the Visual Studio 2008 SP1 Beta</h4>
<p>The Visual Studio 2008 SP1 Beta is a set of updates and upgrades that should be uninstalled individually.  To uninstall the SP1 Beta updates, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>Depending on the version of Windows, use one of the following methods.</p>
<p>If you are running a version of Windows that is earlier than Windows Vista, follow these steps:<br />
<table class=list al>
<tr>
<td class=number>a. </td>
<td class=text>In Control Panel, open the <strong class=uiterm>Add or Remove Programs</strong> item.</td>
</tr>
<tr>
<td class=number>b. </td>
<td class=text>Click to select the <strong class=uiterm> Show updates</strong> check box.</td>
</tr>
</table>
<p>If you are running Windows Vista, follow these steps:<br />
<table class=list al>
<tr>
<td class=number>a. </td>
<td class=text>In Control Panel, open the <strong class=uiterm>Programs and Features</strong> item.</td>
</tr>
<tr>
<td class=number>b. </td>
<td class=text>Click to select the <strong class=uiterm>Show updates</strong> check box.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Uninstall the following updates if they are listed:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	Microsoft Visual Studio Team System 2008 Team Suite &#8211; Service Pack 1 (KB945140)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	Microsoft Visual Studio Team System 2008 Team Suite &#8211; Service Pack 1 (KB948560)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite &#8211; Service Pack 1 (KB947888)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite &#8211; Service Pack 1 (KB948484)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	Microsoft Visual Studio 2008 Remote Debugger &#8211; Service Pack 1 (KB945140)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	KB945140 under Visual Studio .NET Prerequisites</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Update for WebDesigner 2007 (KB945140)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows SDK for Visual Studio 2008 SP1 KB946729</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows SDK for Visual Studio 2008 KB946733</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft SQL Server Compact 3.5 SP1 Design Tools English</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft SQL Server Compact 3.5 SP1 English</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft SQL Server Database Publishing Wizard</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio Tools for the Office system 3.0 Runtime Service Pack 1 Language Pack (KB949258)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual Studio Tools for the Office system 3.0 Runtime Service Pack 1 (KB949258)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual C++ 2008 IA64 Runtime &#8211; (v9.0.304xx)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual C++ 2008 x64 Runtime &#8211; (v9.0.304xx)</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Visual C++ 2008 x86 Runtime &#8211; (v9.0.304xx)</td>
</tr>
</table>
</td>
</tr>
</table>
<h4 id=tocHeadRef>Restoring to the release version of Visual Studio 2008</h4>
<p>After  the complete removal of all Visual Studio 2008 SP1 Beta editions, you must repair the remaining Visual Studio 2008 release version to restore all the features that were replaced during the SP1 Beta update.  </p>
<p>The .NET Framework 3.5 SP1 Beta will remain on the operating system after you uninstall Visual Studio 2008 SP1 Beta. We recommend that you do not remove this product from the operating system. The .NET Framework 3.5 SP1 Beta is backward compatible with earlier versions of Visual Studio. To restore Visual Studio 2008 to a supported release version state, follow these steps.</p>
<p><b>Note</b> If any Visual Studio 2008 SP1 Beta Express editions were installed, uninstall them  all by following the steps that are listed in the How to remove Visual Studio 2008 Express SP1 Beta section in the following Microsoft KB article:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=952283>952283</a><span class=pLink> (/Feedback.aspx?kbNumber=952283/)</span> Visual Studio 2008 Express Editions Service Pack 1 Beta release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<div class=sbody>
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>If Visual Studio 2008 SP1 Beta was applied to any non-Express editions of Visual Studio 2008, follow the steps in the How to remove the Visual Studio 2008 SP1 Beta section.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Follow these steps:<br />
<table class=list al>
<tr>
<td class=number>a. </td>
<td class=text>In versions of Windows earlier than Windows Vista, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>In Control Panel, open the <strong class=uiterm>Add or Remove Programs</strong> item.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Click each instance of Visual Studio 2008, and then click <strong class=uiterm>Change/Remove</strong> to start the Visual Studio Setup program in maintenance mode.</td>
</tr>
</table>
<p>In Windows Vista, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>In Control Panel, open the <strong class=uiterm>Programs and Features</strong> item.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Click each instance of Visual Studio 2008, and then click <strong class=uiterm>Uninstall/Change</strong> to start the Visual Studio Setup program in maintenance mode.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=number>b. </td>
<td class=text>Select the <strong class=uiterm>Repair/Reinstall</strong> option on the maintenance mode window, and then let the Setup program repair the existing Visual Studio 2008 features.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=number>3.</td>
<td class=text>
<table class=list al>
<tr>
<td class=number>a. </td>
<td class=text>In versions of Windows earlier than Windows Vista, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>In Control Panel, open the <strong class=uiterm>Add or Remove Programs</strong> item.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Click each instance of Visual Studio 2008, and then click <strong class=uiterm>Change/Remove</strong> to start the Visual Studio Setup program in maintenance mode.</td>
</tr>
</table>
<p>In Windows Vista, follow these steps:<br />
<table class=list ol>
<tr>
<td class=number>1.</td>
<td class=text>In Control Panel, open the <strong class=uiterm>Programs and Features</strong> item.</td>
</tr>
<tr>
<td class=number>2.</td>
<td class=text>Click each instance of Visual Studio 2008, and then click <strong class=uiterm>Uninstall/Change</strong> to start the Visual Studio Setup program in maintenance mode.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=number>b. </td>
<td class=text>Select the <strong class=uiterm>Add or Remove Features</strong> option on the maintenance mode window.</td>
</tr>
<tr>
<td class=number>c. </td>
<td class=text>Click to clear and then click to select one of the feature check boxes in the feature tree of the product. Or, add or remove any feature components that you want to modify.</td>
</tr>
<tr>
<td class=number>d. </td>
<td class=text>Click <strong class=uiterm>Update</strong>,  and then wait for the Setup program to update the Visual Studio components that are installed on the computer.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=number>4.</td>
<td class=text>Reinstall any desired Visual Studio 2008 Express edition.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Known issues with the service pack</h3>
<h4 id=tocHeadRef>Visual Studio Team Edition for Software Developers</h4>
<p>The Beta release will not update the remote debugger components or the stand-alone profiler unless Visual Studio 2008 is installed on the local computer. After you update Visual Studio 2008 to the SP1 Beta, you can manually copy the updated version of these components to computers that do not have Visual Studio 2008 installed.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>REFERENCES</h2>
<div class=sbody>For more information, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/fwlink/?LinkID=110456>http://go.microsoft.com/fwlink/?LinkID=110456</a><span class=pLink> (http://go.microsoft.com/fwlink/?LinkID=110456)</span></div>
<p>For more information about Visual Studio 2008 Service Pack 1 Beta for Express Editions, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=952283>952283</a><span class=pLink> (/Feedback.aspx?kbNumber=952283/)</span> Visual Studio 2008 Express Editions Service Pack 1 Beta release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Database Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Architecture Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Development Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbhowto kbinfo KB945140</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/visual-studio-2008-service-pack-1-beta-release-notes-and-a-list-of-fixed-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>After you use the ReportResult method to customize the error icon when a logon failure occurs in Windows Vista, the general error icon (CPSI_ERROR) is displayed unexpectedly</title>
		<link>http://ossmall.info/after-you-use-the-reportresult-method-to-customize-the-error-icon-when-a-logon-failure-occurs-in-windows-vista-the-general-error-icon-cpsierror-is-displayed-unexpectedly/</link>
		<comments>http://ossmall.info/after-you-use-the-reportresult-method-to-customize-the-error-icon-when-a-logon-failure-occurs-in-windows-vista-the-general-error-icon-cpsierror-is-displayed-unexpectedly/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 13:04:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Vista Center]]></category>
		<category><![CDATA[Vista Easter Eggs]]></category>
		<category><![CDATA[Vista HowTo]]></category>
		<category><![CDATA[Vista Tips]]></category>
		<category><![CDATA[VS General]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/after-you-use-the-reportresult-method-to-customize-the-error-icon-when-a-logon-failure-occurs-in-windows-vista-the-general-error-icon-cpsierror-is-displayed-unexpectedly/</guid>
		<description><![CDATA[After you use the ReportResult method to customize the error icon when a logon failure occurs in Windows Vista, the general error icon (CPSI_ERROR) is displayed unexpectedly View products that this article applies to. Article ID : 953181 Last Review : May 22, 2008 Revision : 1.0 On This Page SYMPTOMS To develop a custom [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>After you use the ReportResult method to customize the error icon when a logon failure occurs in Windows Vista, the general error icon (CPSI_ERROR) is displayed unexpectedly</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>953181</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>May 22, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SYMPTOMS</h2>
<div class=sbody>To develop a custom credential provider for Windows Vista, you use the <b>ReportResult</b> method to customize the string and the error icon that are displayed in  a logon failure situation. However, when a logon failure occurs, the general error icon (CPSI_ERROR) is displayed instead of the customized error icon in the credential provider.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RESOLUTION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Hotfix information</h3>
<p>A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows Vista service pack that contains this hotfix.</p>
<p>To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:
<div class=indent><a href=http://go.microsoft.com/?linkid=6294451>http://go.microsoft.com/?linkid=6294451</a><span class=pLink> (http://go.microsoft.com/?linkid=6294451)</span></div>
<p><b>Note</b>  If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink> (http://support.microsoft.com/contactus/?ws=support)</span></div>
<h4 id=tocHeadRef>Prerequisites</h4>
<p>To apply this hotfix, you must have Windows Vista Service Pack 1 installed.<br />
<h4 id=tocHeadRef>Restart requirement</h4>
<p>You must  restart the computer after you apply this hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p> This hotfix does not replace any other previously released hotfixes.<br />
<h4 id=tocHeadRef>Registry information</h4>
<p> To use this hotfix, you do not have to make any changes to the registry.<br />
<h4 id=tocHeadRef>File information</h4>
<p>The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the <strong class=uiterm>Time Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control Panel.<br />
<h5 id=tocHeadRef>Windows Vista with SP1, x86-based versions</h5>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Package_1_for_kb953181~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,789</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_2_for_kb953181~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,956</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_3_for_kb953181~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,794</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_4_for_kb953181~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,794</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,367</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_client~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,431</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,421</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,423</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,425</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,431</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv_0~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,422</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv~31bf3856ad364e35~x86~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,429</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Update.mum</td>
<td>Not Applicable</td>
<td>3,077</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>X86_3515116c017ac72b22e29358e7ac307e_31bf3856ad364e35_6.0.6001.22180_none_adbb6519d9d9eaf4.manifest</td>
<td>Not Applicable</td>
<td>709</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>X86_microsoft-windows-authentication-authui_31bf3856ad364e35_6.0.6001.22180_none_0c269a820ec66149.manifest</td>
<td>Not Applicable</td>
<td>56,697</td>
<td>16-May-2008</td>
<td>05:34</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Authui.dll</td>
<td>6.0.6001.2218</td>
</tr>
</table>
<h5 id=tocHeadRef>Windows Vista with SP1, x64-based versions</h5>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Amd64_41c0fa786f1529b488706cf78138a781_31bf3856ad364e35_6.0.6001.22180_none_90ff3bd856c48710.manifest</td>
<td>Not Applicable</td>
<td>1,066</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Amd64_4e8f87e8a6837219230bcf256a6a6d75_31bf3856ad364e35_6.0.6001.22180_none_13cff55103278822.manifest</td>
<td>Not Applicable</td>
<td>713</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Amd64_microsoft-windows-authentication-authui_31bf3856ad364e35_6.0.6001.22180_none_68453605c723d27f.manifest</td>
<td>Not Applicable</td>
<td>56,755</td>
<td>16-May-2008</td>
<td>06:12</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_1_for_kb953181~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,799</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_2_for_kb953181~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,195</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_3_for_kb953181~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,031</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_4_for_kb953181~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,031</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,375</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_client~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,439</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,429</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,431</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,433</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,439</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,430</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,437</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Update.mum</td>
<td>Not Applicable</td>
<td>3,099</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Authui.dll</td>
<td>6.0.6001.22180</td>
<td>2,271,744</td>
<td>16-May-2008</td>
<td>05:30</td>
<td>x64</td>
</tr>
</table>
<h5 id=tocHeadRef>Windows Vista with SP1, Itanium-based versions</h5>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Ia64_6326e9a85dd88b916eb63888d204b95c_31bf3856ad364e35_6.0.6001.22180_none_aca4bab8d67480f7.manifest</td>
<td>Not Applicable</td>
<td>711</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Ia64_83b064555600877e9f2a65fba95455fa_31bf3856ad364e35_6.0.6001.22180_none_1c99b700ed4c5f55.manifest</td>
<td>Not Applicable</td>
<td>1,064</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Ia64_microsoft-windows-authentication-authui_31bf3856ad364e35_6.0.6001.22180_none_0c283e780ec46a45.manifest</td>
<td>Not Applicable</td>
<td>55,780</td>
<td>16-May-2008</td>
<td>06:11</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_1_for_kb953181~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,794</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_2_for_kb953181~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,026</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_3_for_kb953181~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>2,026</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,425</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_sc~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,426</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,429</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_server~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,434</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv_0~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,426</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Package_for_kb953181_winpesrv~31bf3856ad364e35~ia64~~6.0.1.0.mum</td>
<td>Not Applicable</td>
<td>1,433</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Update.mum</td>
<td>Not Applicable</td>
<td>2,423</td>
<td>16-May-2008</td>
<td>17:27</td>
<td>Not Applicable</td>
</tr>
<tr>
<td>Authui.dll</td>
<td>6.0.6001.22180</td>
<td>2,941,952</td>
<td>16-May-2008</td>
<td>05:15</td>
<td>IA-64</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>STATUS</h2>
<div class=sbody>Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>For more information about  credential providers in Windows Vista, visit the following Microsoft Web site:
<div class=indent><a href=http://msdn.microsoft.com/en-us/library/bb530197.aspx>http://msdn.microsoft.com/en-us/library/bb530197.aspx</a><span class=pLink> (http://msdn.microsoft.com/en-us/library/bb530197.aspx)</span></div>
<p>For more information about  the <b>ReportResult</b> method, visit the following Microsoft Web site:
<div class=indent><a href=http://msdn.microsoft.com/en-us/library/bb776030(VS.85).aspx>http://msdn.microsoft.com/en-us/library/bb776030(VS.85).aspx</a><span class=pLink> (http://msdn.microsoft.com/en-us/library/bb776030(VS.85).aspx)</span></div>
<p>For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a><span class=pLink> (/Feedback.aspx?kbNumber=824684/)</span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Enterprise 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Basic 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Premium 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Ultimate 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Business 64-bit Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Enterprise</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Basic</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Home Premium</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Windows Vista Ultimate</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbfix kbqfe kbhotfixserver KB953181</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/after-you-use-the-reportresult-method-to-customize-the-error-icon-when-a-logon-failure-occurs-in-windows-vista-the-general-error-icon-cpsierror-is-displayed-unexpectedly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for the Visual Studio Tools for Office System 3.0 Runtime</title>
		<link>http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-the-visual-studio-tools-for-office-system-30-runtime/</link>
		<comments>http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-the-visual-studio-tools-for-office-system-30-runtime/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 13:50:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Office Access]]></category>
		<category><![CDATA[MS Office Accounting]]></category>
		<category><![CDATA[MS Office Excel]]></category>
		<category><![CDATA[MS Office Groove]]></category>
		<category><![CDATA[MS Office InfoPath]]></category>
		<category><![CDATA[MS Office OneNote]]></category>
		<category><![CDATA[MS Office Outlook]]></category>
		<category><![CDATA[MS Office Powerpoint]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Publisher]]></category>
		<category><![CDATA[MS Office SharePoint]]></category>
		<category><![CDATA[MS Office Suite 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Office Word]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-the-visual-studio-tools-for-office-system-30-runtime/</guid>
		<description><![CDATA[List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for the Visual Studio Tools for Office System 3.0 Runtime View products that this article applies to. Article ID : 949258 Last Review : April 29, 2008 Revision : 1.1 Notice Beta Information This article discusses a beta release of a [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for the Visual Studio Tools for Office System 3.0 Runtime</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>949258</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>April 29, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.1</td>
</tr>
</table>
</div>
<div class=notice>
<h5 id=tocHeadRef>Notice</h5>
<div class=notice>
<h5 id=tocHeadRef>Beta Information</h5>
<p>This article discusses a beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.</p>
<p>No formal product support is available from Microsoft for this beta product. For information about how to obtain support for a beta release, see the documentation that is included with the beta product files, or check the Web location where you downloaded the release.</p></div>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SUMMARY</h2>
<div class=sbody>This article lists the following aspects of Microsoft Visual Studio 2008 Service Pack 1 (SP1) Beta for the Visual Studio Tools for Office System (VSTO) 3.0 Runtime:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The known issues in this service pack and how to work around the known issues</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>	The issues that may occur when you uninstall this service pack and how to roll back to the release version of Visual Studio 2008</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The hotfixes that are included in this service pack</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The features and the functionalities that are new, changed, or improved  </td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Known issues in this service pack and how to work around the known issues</h3>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>For multiple editions of Visual Studio 2008, Microsoft only supports a configuration in which all editions are at the same service pack level.  If a computer has multiple languages, multiple editions, or both of Visual Studio 2008 installed, all editions must be at the release level or at the SP1 level to be supported by Microsoft.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>This beta release is not applied if you have Microsoft Silverlight Beta installed in the operating system.</td>
</tr>
</table>
<p>For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Issues that may occur when you uninstall this service pack and how to roll back to the release version of Visual Studio 2008</h3>
<p>For more information about the issues that may occur when you uninstall this service pack and about how to roll back to the release version of Visual Studio 2008, see the Removal issues for all platforms section in Microsoft Knowledge Base article 945140. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Hotfixes that are included in this service pack</h3>
<p>No hotfixes which are included in this service pack.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Features and functionalities that are new, changed, or improved</h3>
<h4 id=tocHeadRef>New features or functionalities</h4>
<p>Document-level features are enabled for VSTO add-ins. For example, the <b>ListObject</b> control and managed controls are enabled.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Fixed issues for which hotfixes were not released </h3>
<p>The following table lists some issues that this service pack fixes. No hotfixes were released for these issues.<br />
<table cellspacing=1 class=table>
<tr>
<th>Connect ID</th>
<th>Description</th>
</tr>
<tr>
<td>301392</td>
<td>The VSTO and Visual Basic for Applications Interop does not work. This behavior causes  the <b>EnableVBACallers</b> property to force a VBA error in Visual Studio 2008.</td>
</tr>
<tr>
<td>306900</td>
<td>You add a <b>TextBox</b> control in a Microsoft Outlook Form region. Then, you try to copy, cut, or  paste from the control by using the keyboard. When you do this, the <b>TextBox</b> control does not work.</td>
</tr>
<tr>
<td>311397</td>
<td>The release version of VSTO 3.0 does not release the allocated memory by itself.</td>
</tr>
<tr>
<td>328329</td>
<td>The data cache is corrupted when protected word customizations exist.</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>REFERENCES</h2>
<div class=sbody>For more information about Visual Studio 2008 Service Pack 1 Beta, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Basic 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C# 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C++ 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Database Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Architecture Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Development Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbhowto kbinfo KB949258</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-the-visual-studio-tools-for-office-system-30-runtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: The HTML tag may become distorted when you edit a segment of relative HTML text that is big and complex, or random Web code corruption occurs when you work on an ASP Web page in the Design view in Visual Studio 2008</title>
		<link>http://ossmall.info/fix-the-html-tag-may-become-distorted-when-you-edit-a-segment-of-relative-html-text-that-is-big-and-complex-or-random-web-code-corruption-occurs-when-you-work-on-an-asp-web-page-in-the-design-view-in-/</link>
		<comments>http://ossmall.info/fix-the-html-tag-may-become-distorted-when-you-edit-a-segment-of-relative-html-text-that-is-big-and-complex-or-random-web-code-corruption-occurs-when-you-work-on-an-asp-web-page-in-the-design-view-in-/#comments</comments>
		<pubDate>Sun, 25 Dec 2011 12:56:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/fix-the-html-tag-may-become-distorted-when-you-edit-a-segment-of-relative-html-text-that-is-big-and-complex-or-random-web-code-corruption-occurs-when-you-work-on-an-asp-web-page-in-the-design-view-in-visual-studio-2008</guid>
		<description><![CDATA[Article ID: 961932 &#8211; Last Review: January 21, 2009 &#8211; Revision: 1.0 FIX: The HTML tag may become distorted when you edit a segment of relative HTML text that is big and complex, or random Web code corruption occurs when you work on an ASP Web page in the Design view in Visual Studio 2008 [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 961932 &#8211; Last Review: January 21, 2009 &#8211; Revision: 1.0</div>
<p><strong class=title>FIX: The HTML tag may become distorted when you edit a segment of relative HTML text that is big and complex, or random Web code corruption occurs when you work on an ASP Web page in the Design view in Visual Studio 2008</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=notice></div>
<div id=kb_section class=section>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<h2 class=subTitle id=tocHeadRef><span><a >SYMPTOMS</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>You may experience one of the following problems when you use Microsoft Visual Studio 2008:
<ul>
<li> In Visual Studio 2008 IDE, when you open and edit a segment of relative HTML text that is big and complex, an  HTML tag may become distorted. For example, &lt;/i&gt; becomes /i&gt;, or &lt;/h4&gt; becomes /h4&gt;. Additionally, some HTML fragments may be moved to other locations.</li>
<li>You open an ASP.NET Web application in Visual Studio 2008 IDE. In the Design view, you select a part of the content, you delete it, and then you paste a segment  of text from Microsoft Word or Notepad. When you do this, a random segment of code appears near the previously selected text in the Source view.</li>
</ul>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >CAUSE</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>This problem occurs because the HTMLed feature ignores the first set of changes from Fpac.msp for the relative page.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RESOLUTION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>To resolve these problems, install Microsoft Visual Studio 2008 Service Pack 1 (SP1). For more information about Visual Studio 2008 SP1, visit the following Microsoft Web site:
<div class=indent><span class=ll><a href=https://www.microsoft.com/downloads/details.aspx?familyid=FBEE1648-7106-44A7-9649-6D9F6D58056E&amp;displaylang=en>https://www.microsoft.com/downloads/details.aspx?familyid=FBEE1648-7106-44A7-9649-6D9F6D58056E&amp;displaylang=en</a></span><span class=pLink>            (https://www.microsoft.com/downloads/details.aspx?familyid=FBEE1648-7106-44A7-9649-6D9F6D58056E&amp;displaylang=en)        </span></div>
<p>For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a>Ã‚Â                             <span class=pLink>            (/Feedback.aspx?kbNumber=945140/                        )        </span> Visual Studio 2008 Service Pack 1 release notes and a list of fixed issues</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >MORE INFORMATION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>After you install Visual Studio 2008 SP1, the META tag in FPAC will be changed from <b>&lt;meta name=GENERATOR content=Microsoft FrontPage 6.0&gt;</b> to <b>&lt;meta name=GENERATOR content=Microsoft FrontPage 12.0&gt;</b>. The HTMLed feature will then cover all the  changes for the relative page.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual Studio 2008 Professional Edition</li>
<li>Microsoft Visual Studio 2008 Standard Edition</li>
<li>Microsoft Visual Studio Team System 2008 Database Edition</li>
<li>Microsoft Visual Studio Team System 2008 Architecture Edition</li>
<li>Microsoft Visual Studio Team System 2008 Development Edition</li>
<li>Microsoft Visual Studio Team System 2008 Test Edition</li>
<li>Microsoft Visual Studio Team System 2008 Team Suite</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbexpertiseadvanced kbqfe kbsurveynew KB961932</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/fix-the-html-tag-may-become-distorted-when-you-edit-a-segment-of-relative-html-text-that-is-big-and-complex-or-random-web-code-corruption-occurs-when-you-work-on-an-asp-web-page-in-the-design-view-in-/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling A .NET Managed Method from Native Code</title>
		<link>http://ossmall.info/calling-a-net-managed-method-from-native-code-1/</link>
		<comments>http://ossmall.info/calling-a-net-managed-method-from-native-code-1/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 13:42:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Application Center]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/calling-a-net-managed-method-from-native-code-1/</guid>
		<description><![CDATA[Calling A .NET Managed Method from Native Code View products that this article applies to. Article ID : 953836 Last Review : May 31, 2008 Revision : 1.0 Source: Microsoft Support Back to the top RAPID PUBLISHING RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>Calling A .NET Managed Method from Native Code</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>953836</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>May 31, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=section>
<div class=sbody><b>Source: </b>Microsoft Support
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RAPID PUBLISHING</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>Action</h2>
<div class=sbody>
<p>This is a sample native console application which will query the registry to verify if a specific version of the .NET Framework is installed. It will then use the CorBindToRuntimeEx API to load a specific version of the Common Language Runtime (CLR). Finally, it uses the Interfaces and methods exposed in mscorlib.tlb to load an assembly and type and execute methods.</p>
<p>Create a new C++ Console application named CheckCLR and replace the code in CheckCLR.cpp with the following code:</p>
<p>/*<br />Â Â Â Â CheckCLR.cpp &#8211; A Native Code CLR Host Sample</p>
<p>Â Â Â  CheckCLR is a native console application which queries the registry to <br />Â Â Â  determine if a specific version of the .NET runtime is installed on the<br />Â Â Â  machine. It then loads the specific CLR required.</p>
<p>Â Â Â  It will then load a managed console app and execute the Main method.<br />Â Â Â  It then loads a managed assembly and executes a method.<br />*/<br />#include stdafx.h<br />#include &lt;windows.h&gt;<br />#include &lt;mscoree.h&gt;<br />#include &lt;assert.h&gt;<br />#include &lt;stdio.h&gt;<br />#include &lt;tchar.h&gt;</p>
<p>// Import mscorlib typelib. Using 1.0 for maximum backwards compatibility<br />#import C: windows Microsoft.NET Framework v1.0.3705 mscorlib.tlb auto_rename<br />// Link with mscoree.dll import lib.<br />#pragma comment(lib,mscoree.lib)</p>
<p>using namespace mscorlib;</p>
<p>int _tmain(int argc, _TCHAR* argv[])<br />{<br />Â Â Â Â //<br />Â Â Â Â // Query &#8216;HKEY_LOCAL_MACHINE SOFTWARE Microsoft NET Framework Setup NDP v3.5 Install&#8217; DWORD value<br />Â Â Â Â // See <a href=/Feedback.aspx?kbNumber=318785>/Feedback.aspx?kbNumber=318785/</a><span class=pLink> (/Feedback.aspx?kbNumber=318785/)</span> for more information on .NET runtime versioning information<br />Â Â Â Â //<br />Â Â Â Â HKEY key = NULL;<br />Â Â Â Â DWORD lastError = 0;<br />Â Â Â Â lastError = RegOpenKeyEx(HKEY_LOCAL_MACHINE,TEXT(SOFTWARE  Microsoft  NET Framework Setup  NDP  v3.5),0,KEY_QUERY_VALUE,&amp;key);<br />Â Â Â Â if(lastError!=ERROR_SUCCESS) {<br />Â Â Â Â Â Â Â Â _putts(TEXT(Error opening HKEY_LOCAL_MACHINE  SOFTWARE  Microsoft  NET Framework Setup  NDP  v3.5));<br />Â Â Â Â Â Â Â Â return 1;<br />Â Â Â Â }</p>
<p>Â Â Â Â DWORD type;<br />Â Â Â Â BYTE data[4];<br />Â Â Â Â DWORD len = sizeof(data);<br />Â Â Â Â lastError = RegQueryValueEx(key,TEXT(Install),NULL,&amp;type,data,&amp;len);<br />Â <br />Â Â Â Â if(lastError!=ERROR_SUCCESS) {<br />Â Â Â Â Â Â Â Â RegCloseKey(key);<br />Â Â Â Â Â Â Â Â _putts(TEXT(Error querying HKEY_LOCAL_MACHINE  SOFTWARE  Microsoft  NET Framework Setup  NDP  v3.5  Install));<br />Â Â Â Â Â Â Â Â return 2;<br />Â Â Â Â }</p>
<p>Â Â Â Â RegCloseKey(key);</p>
<p>Â Â Â Â // Was Install DWORD key value == 1 ??<br />Â Â Â Â if(data[0]==1)<br />Â Â Â Â Â Â Â Â _putts(TEXT(.NET Framework 3.5 is installed));<br />Â Â Â Â else {<br />Â Â Â Â Â Â Â Â _putts(TEXT(.NET Framework 3.5 is NOT installed));<br />Â Â Â Â Â Â Â Â return 3;<br />Â Â Â Â }</p>
<p>Â Â Â Â //Â <br />Â Â Â Â // Load the runtime the 3.5 Runtime (CLR version 2.0)<br />Â Â Â Â //<br />Â Â Â Â LPWSTR pszVer = Lv2.0.50727;Â  // .NET Fx 3.5 needs CLR 2.0<br />Â Â Â Â LPWSTR pszFlavor = Lwks;<br />Â Â Â Â ICorRuntimeHost *pHost = NULL;</p>
<p>Â Â Â Â HRESULT hr = CorBindToRuntimeEx( pszVer,Â Â Â Â Â Â Â <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â pszFlavor,Â Â Â Â <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â STARTUP_LOADER_OPTIMIZATION_SINGLE_DOMAIN | STARTUP_CONCURRENT_GC,Â <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  CLSID_CorRuntimeHost,Â <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  IID_ICorRuntimeHost, <br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â Â Â  (void **)&amp;pHost);</p>
<p>Â Â Â  if (!SUCCEEDED(hr)) {<br />Â Â Â Â Â Â Â  _tprintf(TEXT(CorBindToRuntimeEx failed 0x%x n),hr);<br />Â Â Â Â Â Â Â  return 1;<br />Â Â Â  }<br />Â <br />Â Â Â Â _putts(TEXT(Loaded version 2.0.50727 of the CLR n));<br />Â <br />Â Â Â Â pHost-&gt;Start(); // Start the CLR</p>
<p>Â Â Â Â //<br />Â Â Â Â // Get a pointer to the default domain in the CLR<br />Â Â Â Â //<br />Â Â Â Â _AppDomainPtr pDefaultDomain = NULL;<br />Â Â Â Â IUnknownPtrÂ Â  pAppDomainPunk = NULL;</p>
<p>Â Â Â Â hr = pHost-&gt;GetDefaultDomain(&amp;pAppDomainPunk);<br />Â Â Â Â assert(pAppDomainPunk);Â <br />Â <br />Â Â Â Â hr = pAppDomainPunk-&gt;QueryInterface(__uuidof(_AppDomain),(void**) &amp;pDefaultDomain);<br />Â Â Â Â assert(pDefaultDomain);</p>
<p>Â Â Â Â //<br />Â Â Â Â // Load an Exe Assembly and call Main()<br />Â Â Â Â //<br />Â Â Â Â _bstr_t bstrExeName = LConsoleApplication1.exe;<br />Â Â Â Â try {<br />Â Â Â Â Â Â Â Â hr = pDefaultDomain-&gt;ExecuteAssembly_2(bstrExeName);<br />Â Â Â Â }<br />Â Â Â Â catch(_com_error&amp; error) {<br />Â Â Â Â Â Â Â Â _tprintf(TEXT(ERROR: %s n),(_TCHAR*)error.Description());<br />Â Â Â Â Â Â Â Â goto exit;<br />Â Â Â Â }</p>
<p>Â Â Â Â /*<br />Â Â Â Â Â Â Â Â Load a type from a DLL Assembly and call it</p>
<p>Â Â Â Â Â Â Â  Doing the same thing from native code as this C# code:</p>
<p>Â Â Â Â Â Â Â Â Â Â Â Â System.Runtime.Remoting.ObjectHandle objptr;<br />Â Â Â Â Â Â Â Â Â Â Â  objptr = AppDomain.CurrentDomain.CreateInstanceFrom(ClassLibrary1.dll,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  ClassLibrary1.Class1);<br />Â Â Â Â Â Â Â Â Â Â Â  object obj = objptr.Unwrap();<br />Â Â Â Â Â Â Â Â Â Â Â  Type t = obj.GetType();<br />Â Â Â Â Â Â Â Â Â Â Â  t.InvokeMember(Test,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  BindingFlags.InvokeMethod,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  null,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  obj,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  new object[0]);<br />Â Â Â Â */<br />Â Â Â Â try {<br />Â Â Â Â Â Â Â Â _ObjectHandlePtr pObjectHandle;Â <br />Â Â Â Â Â Â Â Â _ObjectPtr pObject;Â <br />Â Â Â Â Â Â Â Â _TypePtr pType;<br />Â Â Â Â Â Â Â Â SAFEARRAY* psa;</p>
<p>Â Â Â Â Â Â Â Â // Create an instance of a type from an assembly<br />Â Â Â Â Â Â Â Â pObjectHandle = pDefaultDomain-&gt;CreateInstanceFrom(LClassLibrary1.dll,Â Â Â Â  // no path &#8212; local directory<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â  LClassLibrary1.Class1);<br />Â Â <br />Â Â Â Â Â Â Â Â variant_t vtobj = pObjectHandle-&gt;Unwrap();Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // Get an _Object (as variant) from the _ObjectHandle<br />Â Â Â Â Â Â Â Â vtobj.pdispVal-&gt;QueryInterface(__uuidof(_Object),(void**)&amp;pObject);Â Â // QI the variant for the Object iface<br />Â Â Â Â Â Â Â Â pType = pObject-&gt;GetType();Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // Get the _Type iface<br />Â Â Â Â Â Â Â Â psa = SafeArrayCreateVector(VT_VARIANT,0,0);Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // Create a safearray (0 length)<br />Â Â Â Â Â Â Â Â pType-&gt;InvokeMember_3(Test,Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â // Invoke Test method on pType<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â Â Â Â Â Â Â  BindingFlags_InvokeMethod,<br />Â Â Â  Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  NULL,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  Â Â Â Â Â Â Â Â Â  vtobj,<br />Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  psa );<br />Â Â Â Â Â Â Â Â SafeArrayDestroy(psa);Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  // Destroy safearray<br />Â Â Â Â }<br />Â Â Â Â catch(_com_error&amp; error) {<br />Â Â Â Â Â Â Â Â _tprintf(TEXT(ERROR: %s n),(_TCHAR*)error.Description());<br />Â Â Â Â Â Â Â Â goto exit;<br />Â Â Â Â }</p>
<p>exit:<br />Â Â Â Â pHost-&gt;Stop();<br />Â Â Â Â pHost-&gt;Release();</p>
<p>Â Â Â Â return 0;<br />}</p>
<p>/*** End of file CheckCLR.cpp ***/</p>
<p>Create a C# Console Application namedÂ ConsoleApplication1. Add a Console.WriteLine call in the Main method andÂ output a simple string message. Build ConsoleApplication1. Copy the ConsoleApplication1.exe build target to the ouput directory where CheckCLR.exe is built. Alternatively, you can change the code above to have the full path name to where ConsoleApplication1.exe is built.</p>
<p>Create a C# Class Library named ClassLibrary1. In the Class1 class, add a public method named Test. In Test, add a Console.WriteLine call and output a simple string message. Build ClassLibrary1.dll. Copy the ClassLibrary1.dll build target to the outut directory where CheckCLR.exe is built. Alternatively, you can change the code above to have the full path name to where ClassLibrary1.dll is built.</p>
<p>After building CheckCLR, you should should be able to run CheckCLR.exe from a command prompt and see the output of the Console.WriteLine calls:</p>
<p><i>Â Â Â Â .NET Framework 3.5 is installed<br />Â Â Â Â Loaded version 2.0.50727 of the CLR</i></p>
<p><i>Â Â Â Â Hello World from ConsoleApplication1.Main<br />Â Â Â Â Hello World from ClassLibrary1.Class1</i></p>
<p>If running CheckCLR.exe under the debugger from your Visual C++ project, you may get <i>could not load file or assembly</i> error messages. In that case, copy ConsoleApplication1.exe and ClassLibrary1.dll to the folder containing the CheckCLR.sln solution file. The debugger uses that folder as the application default directory.</p>
<p>Â </p>
<p>Â </p>
<p>Â 
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>DISCLAIMER</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE â€œMATERIALSâ€) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C++ 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C++ 2005 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C# 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C# 2005 Express Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbnomt kbrapidpub KB953836</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/calling-a-net-managed-method-from-native-code-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: The DataSets panel is not available in the report designer when you open a SQL Server Reporting Services 2005 RDLC file in Visual Studio 2008</title>
		<link>http://ossmall.info/fix-the-datasets-panel-is-not-available-in-the-report-designer-when-you-open-a-sql-server-reporting-services-2005-rdlc-file-in-visual-studio-2008/</link>
		<comments>http://ossmall.info/fix-the-datasets-panel-is-not-available-in-the-report-designer-when-you-open-a-sql-server-reporting-services-2005-rdlc-file-in-visual-studio-2008/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 01:07:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Commerce Server 2007]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/fix-the-datasets-panel-is-not-available-in-the-report-designer-when-you-open-a-sql-server-reporting-services-2005-rdlc-file-in-visual-studio-2008/</guid>
		<description><![CDATA[FIX: The DataSets panel is not available in the report designer when you open a SQL Server Reporting Services 2005 RDLC file in Visual Studio 2008 View products that this article applies to. Article ID : 947173 Last Review : March 6, 2008 Revision : 1.0 SYMPTOMS In Microsoft Visual Studio 2005, the following behavior [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>FIX: The DataSets panel is not available in the report designer when you open a SQL Server Reporting Services 2005 RDLC file in Visual Studio 2008</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>947173</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>March 6, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SYMPTOMS</h2>
<div class=sbody>In Microsoft Visual Studio 2005, the following behavior occurs:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>You perform one of the following actions:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>You double-click a Microsoft SQL Server Reporting Services 2005 RDLC file.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>You right-click the RDLC file, click <strong class=uiterm>Open With</strong>, and then click <strong class=uiterm>Microsoft Visual Studio 2005</strong>.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The report design window and the <strong class=uiterm>DataSets</strong> panel appear.  The <strong class=uiterm>DataSets</strong> panel enables you to drag-and-drop the fields onto the report design surface.</td>
</tr>
</table>
<p>If the <strong class=uiterm>DataSets</strong> panel is closed in Visual Studio 2005, you can reopen it by using one of the following methods:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Press ALT+SHIFT+D.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Click <strong class=uiterm>Show Data Sources</strong> on the <strong class=uiterm>Data Design</strong> toolbar.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>On the <strong class=uiterm>Data</strong> menu, click <strong class=uiterm>Show Data Sources</strong>.</td>
</tr>
</table>
<p>In Visual Studio 2008, the <strong class=uiterm>DataSets</strong> panel is not available, and you experience the following behavior:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>When you press ALT-SHIFT-D, the hotkey sequence does not work.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The <strong class=uiterm>Show Data Sources</strong> button is unavailable on the <strong class=uiterm>Data Design</strong> toolbar.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>The  <strong class=uiterm>Show Data Sources</strong> item is not on the <strong class=uiterm>Data</strong> menu.</td>
</tr>
</table>
<p><b>Note</b> You can still access the field names by using the expression editor.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>RESOLUTION</h2>
<div class=sbody>A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio 2008 service pack that contains this hotfix.</p>
<p>To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink> (http://support.microsoft.com/contactus/?ws=support)</span></div>
<p><b>Note</b>   In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.</p>
<p>The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the <strong class=uiterm>Time Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control Panel.<br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
</tr>
<tr>
<td>Microsoft.reportdesigner.dll</td>
<td>9.0.21022.40</td>
<td>6,094,848</td>
<td>16-Jan-2008</td>
<td>11:38</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>STATUS</h2>
<div class=sbody>Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a><span class=pLink> (/Feedback.aspx?kbNumber=824684/)</span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Academic Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbfix kbpubtypekc kbqfe kbhotfixserver KB947173</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/fix-the-datasets-panel-is-not-available-in-the-report-designer-when-you-open-a-sql-server-reporting-services-2005-rdlc-file-in-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restoring a Maximized or Minimized MDI Parent Form Causes its Height to Shrink</title>
		<link>http://ossmall.info/restoring-a-maximized-or-minimized-mdi-parent-form-causes-its-height-to-shrink/</link>
		<comments>http://ossmall.info/restoring-a-maximized-or-minimized-mdi-parent-form-causes-its-height-to-shrink/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 12:56:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Application Center]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/restoring-a-maximized-or-minimized-mdi-parent-form-causes-its-height-to-shrink</guid>
		<description><![CDATA[Article ID: 967173 &#8211; Last Review: January 29, 2009 &#8211; Revision: 1.0 Restoring a Maximized or Minimized MDI Parent Form Causes its Height to Shrink View products that this article applies to. Expand all &#124; Collapse all Source: Microsoft Support Back to the top RAPID PUBLISHING RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 967173 &#8211; Last Review: January 29, 2009 &#8211; Revision: 1.0</div>
<p><strong class=title>Restoring a Maximized or Minimized MDI Parent Form Causes its Height to Shrink</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<div class=sbody><b>Source: </b>Microsoft Support
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RAPID PUBLISHING</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Symptom</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>When restoring a maximized or minimized MDI parent form, the height of the restored MDI parent form shrinks.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Cause</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>This behavior occurs whenÃ‚Â the MDI parent form does not contain a menu, and if it containsÃ‚Â a maximized MDI child form. Under these circumstances, theÃ‚Â MDI parent window calculates the window size incorrectly when trying to restore from a maximizedÃ‚Â or minimizedÃ‚Â window. This is a bug in Windows Forms (System.Windows.Forms.dll) within theÃ‚Â Microsoft .NET Framework.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Resolution</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>If possible, add a MenuStrip control to the MDI parent form. This is the easiest workaround. Alternatively, you can override the form&#8217;s WndProc procedure, and resetÃ‚Â the appropriate height of the form when it is restored. The following sample code demonstrates how to do this.</p>
<p>Sample Code in Visual Basic .NET<br />============================<br />Ã‚Â <br />Public Class Form1<br />Ã‚Â Ã‚Â Ã‚Â  Inherits System.Windows.Forms.Form</p>
<p>Ã‚Â Ã‚Â Ã‚Â  Private currentHeight As Integer<br />Ã‚Â Ã‚Â Ã‚Â  Const WM_SYSCOMMAND As Integer = &amp;H112<br />Ã‚Â Ã‚Â Ã‚Â  Const SC_RESTORE As Integer = &amp;HF120</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  If m.Msg = WM_SYSCOMMAND Then<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â &#8217;Check to see if the window state is being restored.<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â &#8217;If so, reset the Height to the value we cached<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â If IsRestoring(m.WParam) Then<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Me.Height = currentHeight<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â End If<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â End If</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â &#8217;If the current state is normal (restored), then cache the height<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â If Me.WindowState = FormWindowState.Normal Then<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  currentHeight = Me.Size.Height<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â End If<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â MyBase.WndProc(m)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â End Sub</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Function IsRestoring(ByVal WParam As IntPtr) As Boolean<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  &#8216;Used to determine the state of the WParam to see if it is SC_RESTORE<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â &#8217;RETURNS: True or False depending on if SC_RESTORE is set</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â &#8217;We must determine the size of the pointer from the OS we are using.<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â &#8217;IfÃ‚Â using 32-bit pointers, we need to cast WParamÃ‚Â to Int32. If using<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â &#8217;64-bit pointers, we cast to Int64. Then we assign to our UInt32 variable.</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â &#8217;Note that when processing WM_SYSCOMMAND, we must use the AND operator to combine with &amp;HFFF0 as<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  &#8216;documented on MSDN at http://msdn.microsoft.com/en-us/library/ms646360.aspx</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  Dim param As UInt32<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â If IntPtr.Size = 4 Then &#8217;32-bit<br />Ã‚Â Ã‚Â  Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  param = CUInt(WParam.ToInt32)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Else<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  param = CUInt(WParam.ToInt64) &#8217;64-bit<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â End If<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Return ((param And &amp;HFFF0) = SC_RESTORE)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â End Function<br />End Class</p>
<p>Sample Code in Visual C#<br />======================<br />public partial class Form1 : Form<br />{<br />Ã‚Â Ã‚Â  public Form1()<br />Ã‚Â Ã‚Â  {<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  InitializeComponent();<br />Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â Ã‚Â  private int currentHeight;<br />Ã‚Â Ã‚Â  private const int WM_SYSCOMMAND = 0&#215;112;<br />Ã‚Â Ã‚Â  private const int SC_RESTORE = 0xF120;</p>
<p>Ã‚Â Ã‚Â  protected override void WndProc(ref Message m)<br />Ã‚Â Ã‚Â  {<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if (m.Msg == WM_SYSCOMMAND)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //Check to see if the window state is being restored.<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //If so, reset the Height to the value we cached<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if (IsRestoring(m.WParam))<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  this.Height = currentHeight;<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //If the current state is normal (restored), then cache the height<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if (this.WindowState == FormWindowState.Normal)<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  currentHeight = this.Size.Height;<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  base.WndProc(ref m);<br />Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â Ã‚Â  bool IsRestoring(IntPtr WParam)<br />Ã‚Â Ã‚Â  {<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //Used to determine the state of the WParam to see if it is SC_RESTORE<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //RETURNS: True or False depending on if SC_RESTORE is set</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //We must determine the size of the pointer from the OS we are using.<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //If using 32-bit pointers, we need to cast WParam to Int32. If using<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //64-bit pointers, we cast to Int64. Then we assign to our UInt32 variable.</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //Note that when processing WM_SYSCOMMAND, we must use the AND operator to combine with 0xHFFF0 as<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  //documented on MSDN at http://msdn.microsoft.com/en-us/library/ms646360.aspxÃ‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  UInt32 param;<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if(IntPtr.Size == 4)// 32-bit<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  param = (UInt32)(WParam.ToInt32());<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  else // 64-bit<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  param = (UInt32)(WParam.ToInt64());<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }<br />Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return ((param &amp; 0xFFF0) == SC_RESTORE);<br />Ã‚Â Ã‚Â  }<br />}
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >More Information</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>Steps To Reproduce Problem<br />========================<br />1. Create a new Windows Forms application using Visual Basic 2005 or 2008.<br />2. For the default form (Form1), set the IsMDIContainer property to True in the Windows Form Designer.<br />3. On the Project menu, select Add Windows Form.<br />4. Keep the default name (Form2), and click Add.<br />5. Save Form2 and close it.<br />6. Add the following code to the Load event handler in Form1.</p>
<p>Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />Ã‚Â Ã‚Â  Me.StartPosition = FormStartPosition.Manual<br />Ã‚Â Ã‚Â  Dim f2 As New Form2<br />Ã‚Â Ã‚Â  f2.MdiParent = Me<br />Ã‚Â Ã‚Â  f2.WindowState = FormWindowState.Maximized<br />Ã‚Â Ã‚Â  f2.Show()<br />End Sub</p>
<p>7. On the Debug menu, click Start Debugging. Note that the MDI Parent form is displayed in a restored window, with a maximized child window.<br />8. Maximize or minimize the MDI Parent form.<br />9. Restore the MDI Parent form. Note the bottom edge of MDI Parent form has crept up slightly.<br />10. Repeat steps 8-9 as needed to see the effect occur over time.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >DISCLAIMER</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft .NET Framework 2.0</li>
<li>Microsoft .NET Framework 3.0</li>
<li>Microsoft .NET Framework 3.5</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbnomt kbrapidpub KB967173</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/restoring-a-maximized-or-minimized-mdi-parent-form-causes-its-height-to-shrink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error C2039: &#8216;GetAsDBTIMESTAMP&#8217; : is not a member of ATL::COleDateTime</title>
		<link>http://ossmall.info/error-c2039-getasdbtimestamp-is-not-a-member-of-atlcoledatetime/</link>
		<comments>http://ossmall.info/error-c2039-getasdbtimestamp-is-not-a-member-of-atlcoledatetime/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 13:57:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fixes]]></category>

		<guid isPermaLink="false">http://ossmall.info/error-c2039-getasdbtimestamp-is-not-a-member-of-atlcoledatetime/</guid>
		<description><![CDATA[Action 1. Open Visual Studio 2005 or 2008 and create default MFC Single Document application. 2. Add the following code in the OnDraw() method of the wizard-generated custom view class: COleDateTime t = COleDateTime::GetCurrentTime(); DBTIMESTAMP ts; t.GetAsDBTIMESTAMP( ts ); // retrieves the time in t into the ts structure 3. Now compile the project. Result You [...]]]></description>
			<content:encoded><![CDATA[<p class="section">
<h2 class="subTitle" id="tocHeadRef">Action</h2>
<p class="sbody">1. Open Visual Studio 2005 or 2008 and create default MFC Single Document application.<br />
2. Add the following code in the OnDraw() method of the wizard-generated custom view class:<br />
COleDateTime t = COleDateTime::GetCurrentTime();<br />
DBTIMESTAMP ts;<br />
t.GetAsDBTIMESTAMP( ts ); // retrieves the time in t into the ts structure<br />
3. Now compile the project.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948938/Error-member.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">Result</h2>
<p class="sbody">You receive the following error:<br />
&#8220;testoleview.cpp(59) : error C2039: &#8216;GetAsDBTIMESTAMP&#8217; : is not a member of &#8216;ATL::COleDateTime&#8217;<br />
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\atlmfc\include\atlcomtime.h(104) : see declaration of<br />
&#8216;ATL::COleDateTime&#8217;&#8221;<br />
[Even including the required header files in the View class does not resolve the error:<br />
#include &lt;oledb.h&gt;<br />
#include &lt;ATLComTime.h&gt;]</p>
<p class="topOfPage"><a href="http://kbalertz.com/948938/Error-member.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">Cause</h2>
<p class="sbody">Only ATLComTime.h was included indirectly from #include &lt;afxdisp.h&gt;, which was added in stdafx.h by the wizard while generating the default code for the project.  But for GetAsDBTIMESTAMP to be compiled as part of COleDateTime, __oledb_h__ must have been defined previously. Even if Database support was selected in the wizard during project generation, afxoledb.h is added to stdafx.h, but it is added <strong>after</strong> afxdisp.h, which is too late.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948938/Error-member.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">Resolution</h2>
<p class="sbody">
<p>Move the #include &lt;afxoledb.h&gt; above the #include &lt;afxdisp.h&gt; in the precompilation header file, stdafx.h.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948938/Error-member.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">More Information</h2>
<p class="sbody">This bug has been reported, and may be fixed in a later Service Pack.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948938/Error-member.aspx#top"><br />
</a></p>
<h2 class="subTitle" id="tocHeadRef">DISCLAIMER</h2>
<p class="sbody">MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948938/Error-member.aspx#top"><br />
</a></p>
<hr />
<h5>APPLIES TO</h5>
<table class="list">
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Express Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Service Pack 1</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Standard Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Team Suite</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Academic Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<h5>Microsoft Knowledge Base Article</h5>
<p class="MsoNormal">This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href="http://support.microsoft.com/tou/">Terms of Use</a> | <a href="http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a></p>
<p><o:p> </o:p></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/error-c2039-getasdbtimestamp-is-not-a-member-of-atlcoledatetime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You cannot use Microsoft Visual Basic for Application (VBA) to modify a chart that you have inserted in PowerPoint 2007</title>
		<link>http://ossmall.info/you-cannot-use-microsoft-visual-basic-for-application-vba-to-modify-a-chart-that-you-have-inserted-in-powerpoint-2007/</link>
		<comments>http://ossmall.info/you-cannot-use-microsoft-visual-basic-for-application-vba-to-modify-a-chart-that-you-have-inserted-in-powerpoint-2007/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 02:16:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Application Center]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[MS Office Powerpoint]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/you-cannot-use-microsoft-visual-basic-for-application-vba-to-modify-a-chart-that-you-have-inserted-in-powerpoint-2007/</guid>
		<description><![CDATA[You cannot use Microsoft Visual Basic for Application (VBA) to modify a chart that you have inserted in PowerPoint 2007 View products that this article applies to. Article ID : 948683 Last Review : March 3, 2008 Revision : 1.0 SYMPTOMS You cannot use Microsoft Visual Basic for Application (VBA) to modify a chart that [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>You cannot use Microsoft Visual Basic for Application (VBA) to modify a chart that you have inserted in PowerPoint 2007</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>948683</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>March 3, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SYMPTOMS</h2>
<div class=sbody>You		  cannot use Microsoft Visual Basic for Application (VBA) to modify a chart that		  you have inserted in PowerPoint 2007. </p>
<p><b>Note</b> You can use VBA modify a chart that you insert in earlier versions of PowerPoint.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>CAUSE</h2>
<div class=sbody>In Microsoft Office PowerPoint 2007, the chart object model (OM) is no longer available in  Microsoft Visual Basic for Application (VBA).
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>WORKAROUND</h2>
<div class=sbody>To work around this issue, use VBA in Excel to modify the		  inserted chart. Then, paste the chart from Excel into PowerPoint 2007 by using		  the VBA Automation techniques.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>STATUS</h2>
<div class=sbody>This change to Microsoft Office PowerPoint 2007 is a known limitation.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Office PowerPoint 2007</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbtshoot kbprb KB948683</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<p><CITE>Microsoft Knowledge Base Article.This article contents is Microsoft Copyrighted material.<br />
2005-2007 Microsoft Corporation. All rights reserved. </CITE></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/you-cannot-use-microsoft-visual-basic-for-application-vba-to-modify-a-chart-that-you-have-inserted-in-powerpoint-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Microsoft Foundation Classes (MFC) AppWizard or MFC Application Wizard in Visual C++ does not generate resources in sublanguages</title>
		<link>http://ossmall.info/the-microsoft-foundation-classes-mfc-appwizard-or-mfc-application-wizard-in-visual-c-does-not-generate-resources-in-sublanguages/</link>
		<comments>http://ossmall.info/the-microsoft-foundation-classes-mfc-appwizard-or-mfc-application-wizard-in-visual-c-does-not-generate-resources-in-sublanguages/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 13:56:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VS General]]></category>

		<guid isPermaLink="false">http://ossmall.info/the-microsoft-foundation-classes-mfc-appwizard-or-mfc-application-wizard-in-visual-c-does-not-generate-resources-in-sublanguages/</guid>
		<description><![CDATA[The Microsoft Foundation Classes (MFC) AppWizard or MFC Application Wizard in Visual C++ .NET or in Visual C++ 2005 does not generate resources in sublanguages if the language setting of the operating system is set to a sublanguage instead of one of the five standard languages that Visual C++ supports. CAUSE AppWizard or Application Wizard [...]]]></description>
			<content:encoded><![CDATA[<p>The Microsoft Foundation Classes (MFC) AppWizard or MFC Application Wizard in Visual C++ .NET or in Visual C++ 2005 does not generate resources in sublanguages if the language setting of the operating system is set to a sublanguage instead of one of the five standard languages that Visual C++ supports.</p>
<h2>CAUSE</h2>
<p><script type="text/javascript"> loadTOCNode(1, 'cause'); </script>AppWizard or Application Wizard does not allow selection of sublanguage during application creation. If the language setting of the operating system is set to a sublanguage instead of a standard dialect, AppWizard or Application Wizard does not use that information.</p>
<h2>RESOLUTION</h2>
<p><script type="text/javascript"> loadTOCNode(1, 'resolution'); </script>Change the &#8220;Language Settings&#8221; property for the resource to match the exact language setting for the operating system.</p>
<p>To do this for a dialog resource:</p>
<table border="0" cellpadding="0">
<tr>
<td>1.</td>
<td>Right-click the dialog&#8217;s name in <strong>Resource View</strong>, and   then click <strong>Properties</strong>.</p>
<p><strong>NOTE</strong>: in Visual C++ .NET you can select multiple resources with   Shift-click. In previous versions, this could cause the IDE to crash.</td>
</tr>
<tr>
<td>2.</td>
<td>In <strong>Dialog Properties</strong> window, change <strong>Language   Settings</strong> to match the current setting for the operating system.</p>
<p>Visual C++ .NET or Visual C++ 2005:<br />
In the <strong>Properties</strong> window, choose a value from the <strong>Language</strong>   property drop-down list to match the current setting for the operating   system. If the <strong>Properties</strong> window is not visible, from the <strong>View</strong>   menu, select <strong>Properties Window</strong>.</td>
</tr>
</table>
<p>As an alternative, you can create a new copy of the resource in some other language by following these steps:</p>
<table border="0" cellpadding="0">
<tr>
<td>1.</td>
<td>Right-click the dialog&#8217;s name in <strong>Resource View</strong>, and   then click <strong>Insert Copy</strong>.</td>
</tr>
<tr>
<td>2.</td>
<td>In the <strong>Insert Resource Copy</strong> window, select the <strong>Language</strong>   that exactly matches the language setting of the operating system.</td>
</tr>
</table>
<h2>STATUS</h2>
<p><script type="text/javascript"> loadTOCNode(1, 'status'); </script>This behavior is by design.</p>
<h2>MORE INFORMATION</h2>
<h3><script type="text/javascript"> loadTOCNode(1, 'moreinformation'); </script>Steps to Reproduce Behavior</h3>
<table border="0" cellpadding="0">
<tr>
<td><script type="text/javascript"> loadTOCNode(2, 'moreinformation');   </script>1.</td>
<td>In Windows 95, Windows 98, and Windows Millennium Edition   (Me), from the Control Panel, change <strong>Regional Settings</strong> to <strong>French   (Swiss)</strong>.</p>
<p>In Windows NT and Windows 2000, select <strong>French (Swiss)</strong> as the default   language.</td>
</tr>
<tr>
<td>2.</td>
<td>Restart your computer, and then start Visual C++.</td>
</tr>
<tr>
<td>3.</td>
<td>Use MFC AppWizard to create a dialog-based application. AppWizard   allows you to choose five languages for resources. Sublanguages are not   listed and cannot be specified. Select <strong>French (Standard)</strong> for the   resource language.</p>
<p>Visual C++ .NET or Visual C++ 2005:<br />
On the <strong>Application Type</strong> tab of the MFC Application Wizard, the   resource language and its sublanguage are listed for the languages which the   wizard can generate. Select <strong>French (France)</strong> for the resource language.</td>
</tr>
<tr>
<td>4.</td>
<td>Generate the application.</td>
</tr>
<tr>
<td>5.</td>
<td>Change to <strong>Resource View</strong>.</td>
</tr>
<tr>
<td>6.</td>
<td>Open the main window dialog box. It shows the label   &#8220;French (French)&#8221; with the dialog&#8217;s name.</td>
</tr>
</table>
<p>Because the language setting for the resource does not match the language setting of the operating system, you may see another behavior where ClassWizard does not show Control IDs under the Member Variables Tab. This is a not behavior previous to version 4.0.</p>
<p>For additional information about this behavior, click the article number below to view the article in the Microsoft Knowledge Base:</p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/the-microsoft-foundation-classes-mfc-appwizard-or-mfc-application-wizard-in-visual-c-does-not-generate-resources-in-sublanguages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Windows SDK</title>
		<link>http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-windows-sdk/</link>
		<comments>http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-windows-sdk/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 13:51:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-windows-sdk/</guid>
		<description><![CDATA[List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Windows SDK View products that this article applies to. Article ID : 951844 Last Review : April 29, 2008 Revision : 1.1 Notice Beta Information This article discusses a beta release of a Microsoft product. The information in this article [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>List of changes and fixed issues for Visual Studio 2008 Service Pack 1 Beta for Windows SDK</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>951844</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>April 29, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.1</td>
</tr>
</table>
</div>
<div class=notice>
<h5 id=tocHeadRef>Notice</h5>
<div class=notice>
<h5 id=tocHeadRef>Beta Information</h5>
<p>This article discusses a beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.</p>
<p>No formal product support is available from Microsoft for this beta product. For information about how to obtain support for a beta release, see the documentation that is included with the beta product files, or check the Web location where you downloaded the release.</p></div>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SUMMARY</h2>
<div class=sbody>This article describes the following aspects of Microsoft Visual Studio 2008 Service Pack 1 (SP1) Beta for Windows SDK:<br />
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Known issues in this service pack and how to work around those issues</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Issues that may occur when you uninstall this service pack and how to roll back to the release version of Visual Studio 2008</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Hotfixes that are included in this service pack</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Features and functionalities that are added, changed, or improved</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Fixed issues for which hotfixes were not released</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Known issues in this service pack and how to work around those issues</h3>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>For multiple editions of Visual Studio 2008, Microsoft supports only those scenarios in which all editions are at the same service pack level.  If there are multiple language versions or multiple editions of Visual Studio 2008 on a computer, all must be at the same level to be supported by Microsoft. For example, all versions or editions must be at the RTM level or at the SP1 level.</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>You cannot install this service pack if you have the beta version of Silverlight installed on your computer.</td>
</tr>
</table>
<p>For more information, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Issues that may occur when you uninstall this service pack and how to roll back to the release version of Visual Studio 2008</h3>
<p>For information about issues that may occur when you uninstall this service pack and about how to roll back to the release version of Visual Studio 2008, see the Removal issues for all platforms section in the following article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 release notes and a list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Hotfixes that are included in this service pack</h3>
<p>No hotfixes are included in this service pack.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Features and functionalities that are added, changed, or improved</h3>
<p>No added, changed, or improved features or functionalities are included in this service pack.
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<h3 id=tocHeadRef>Fixed issues for which hotfixes were not released</h3>
<table class=list ul>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=946729>946729</a><span class=pLink> (/Feedback.aspx?kbNumber=946729/)</span> FIX: Visual Studio 2008 IDE access violation occurs when you open an .rc file that is generated by the file fuzzer</div>
<p><b>Category</b> Visual Studio 2008 SP1 Updates from Windows SDK Content.</p>
<p><b>Description</b> FIX: Manifest Tool for generating signed files and catalogs can occasionally corrupt a binary fileâ€™s header when embedding the manifest.</p>
<p><b>Related DevDiv bugs</b><br />
<table class=list ul></table>
</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=946733>946733</a><span class=pLink> (/Feedback.aspx?kbNumber=946733/)</span> Installation fixes and updates that are included Visual Studio 2008 S946733 Beta for WinSDK</div>
<p><b>Category</b> Visual Studio 2008 SP1 Updates from Windows SDK built in Visual Studio Setup</p>
<p><b>Description</b> Improve and repair development tools that are provided by the .NET Framework team for managed code. Extend native C# and Visual Basic language, integrated data access syntax with class libraries to improve query, set, and transform operations.</p>
<p><b>Related DevDiv bugs</b><br />
<table class=list ul></table>
</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>REFERENCES</h2>
<div class=sbody>For more information about Visual Studio 2008 SP1 Beta, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=945140>945140</a><span class=pLink> (/Feedback.aspx?kbNumber=945140/)</span> Visual Studio 2008 Service Pack 1 Beta release notes and list of fixed issues</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Database Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Architecture Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Development Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio Team System 2008 Test Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Standard Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual Basic 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C# 2008 Express Edition</td>
</tr>
<tr>
<td class=bullet>â€¢</td>
<td class=text>Microsoft Visual C++ 2008 Express Edition</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Â </h5>
</td>
<td class=text>kbexpertiseadvanced kbhowto kbinfo KB951844</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/list-of-changes-and-fixed-issues-for-visual-studio-2008-service-pack-1-beta-for-windows-sdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: In the WPF Designer for Visual Studio 2008, IntelliSense for XAML may stop working after you install the Windows SDK or MSDN</title>
		<link>http://ossmall.info/fix-in-the-wpf-designer-for-visual-studio-2008-intellisense-for-xaml-may-stop-working-after-you-install-the-windows-sdk-or-msdn/</link>
		<comments>http://ossmall.info/fix-in-the-wpf-designer-for-visual-studio-2008-intellisense-for-xaml-may-stop-working-after-you-install-the-windows-sdk-or-msdn/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 12:56:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/fix-in-the-wpf-designer-for-visual-studio-2008-intellisense-for-xaml-may-stop-working-after-you-install-the-windows-sdk-or-msdn</guid>
		<description><![CDATA[Article ID: 953196 &#8211; Last Review: November 10, 2008 &#8211; Revision: 1.0 FIX: In the WPF Designer for Visual Studio 2008, IntelliSense for XAML may stop working after you install the Windows SDK or MSDN View products that this article applies to. On This Page Expand all &#124; Collapse all SYMPTOMS In the Windows Presentation [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 953196 &#8211; Last Review: November 10, 2008 &#8211; Revision: 1.0</div>
<p><strong class=title>FIX: In the WPF Designer for Visual Studio 2008, IntelliSense for XAML may stop working after you install the Windows SDK or MSDN</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<h2 class=subTitle id=tocTitle><span><a >On This Page</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody id=tocDiv></div>
<p><noscript></noscript>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<h2 class=subTitle id=tocHeadRef><span><a >SYMPTOMS</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>In the Windows Presentation Foundation (WPF) Designer for Microsoft Visual Studio 2008, you can use Microsoft IntelliSense for Extensible Application Markup Language (XAML). However, IntelliSense for XAML may stop working after you install the Microsoft Windows Software Development Kit (SDK) or Microsoft Developer Network (MSDN). When this problem occurs, the (Default) registry value in one of the following registry keys is empty:
<ul>
<li>On an x86-based computer:
<div class=indent>HKEY_CLASSES_ROOT CLSID {73B7DC00-F498-4ABD-AB79-D07AFD52F395} InProcServer32</div>
</li>
<li>On an  x64-based computer:
<div class=indent>HKEY_CLASSES_ROOT Wow6432Node CLSID {73B7DC00-F498-4ABD-AB79-D07AFD52F395} InProcServer32</div>
</li>
</ul>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >CAUSE</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>This problem occurs because the (Default) registry value in the InProcServer32 registry key is reset incorrectly after you install Document Explorer.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RESOLUTION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.</p>
<p>To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink>            (http://support.microsoft.com/contactus/?ws=support)        </span></div>
<p><b>Note</b>   In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.<br />
<h4 id=tocHeadRef>Prerequisites</h4>
<p>   There are no prerequisites.<br />
<h4 id=tocHeadRef>Restart requirement</h4>
<p>   You do not have to restart the computer after you apply this hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p>   This hotfix does not replace any other hotfixes.<br />
<h4 id=tocHeadRef>File information</h4>
<p>The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the <strong class=uiterm>Time Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control Panel.
<div class=kb_outertablewrapper kb_outertablewrapper_closed>
<div class=kb_tabletop><span class=kb_collapsetext_close><span class=kb_collapsetext_background></span>Collapse this table</span><span class=kb_expandtext><span class=kb_expandtext_background></span>Expand this table</span></div>
<div class=kb_tablewrapper>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Textmgrp.dll</td>
<td>9.0.21022.128</td>
<td>76,800</td>
<td>24-Jun- 2008</td>
<td>06:39</td>
<td>x86</td>
</tr>
</table>
</div>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >WORKAROUND</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>To work around this problem, use one of the following methods.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<h3 id=tocHeadRef>Method 1: Repair Visual Studio 2008</h3>
<h4 id=tocHeadRef>Windows Vista and Windows Server 2008</h4>
<ol>
<li>Click  <strong class=uiterm>Start</strong>
<div class=kb_outergraphicwrapper kb_outergraphicwrapper_closed>
<div class=kb_graphictop><span class=kb_collapsetext_close><span class=kb_collapsetext_background></span>Collapse this image</span><span class=kb_expandtext><span class=kb_expandtext_background></span>Expand this image</span></div>
<div class=kb_graphicwrapper><img class=graphic src=http://support.microsoft.com/library/images/support/kbgraphics/Public/EN-US/VistaStartButton.jpg alt=Start button title=Start button></div>
</div>
<p>, and then type  <span class=userInput>appwiz.cpl</span>in the  <strong class=uiterm>Start Search</strong>box. </li>
<li>In the  <strong class=uiterm>Programs</strong>list,right-click <strong class=uiterm>appwiz.cpl</strong>, and then click  <strong class=uiterm>Run as administrator</strong>.
<div class=kb_outergraphicwrapper kb_outergraphicwrapper_closed>
<div class=kb_graphictop><span class=kb_collapsetext_close><span class=kb_collapsetext_background></span>Collapse this image</span><span class=kb_expandtext><span class=kb_expandtext_background></span>Expand this image</span></div>
<div class=kb_graphicwrapper><img class=graphic src=http://support.microsoft.com/library/images/support/kbgraphics/Public/EN-US/SecurityShield.jpg alt=User Account Control permission title=User Account Control permission></div>
</div>
<p>If you are prompted for an administrator password or for confirmation, type the password, or provide confirmation.</li>
<li>	In the list of installed programs, locate Visual Studio 2008, and then click <strong class=uiterm>Change</strong>. </li>
<li>Click <strong class=uiterm>Repair</strong>.</li>
</ol>
<h4 id=tocHeadRef>Windows XP and Windows Server 2003</h4>
<ol>
<li>Click  <strong class=uiterm>Start</strong>, click <strong class=uiterm>Run</strong>, type  <span class=userInput>appwiz.cpl</span>in the  <strong class=uiterm>Open</strong>box, and then click <strong class=uiterm>OK</strong>.</li>
<li>	In the list of installed programs, locate Visual Studio 2008, and then click <strong class=uiterm>Change</strong>. </li>
<li>Click <strong class=uiterm>Repair</strong>.</li>
</ol>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<h3 id=tocHeadRef>Method 2: Register the TextMgrP.dll file manually</h3>
<h4 id=tocHeadRef>Windows Vista and Windows Server 2008</h4>
<ol>
<li>Click  <strong class=uiterm>Start</strong>
<div class=kb_outergraphicwrapper kb_outergraphicwrapper_closed>
<div class=kb_graphictop><span class=kb_collapsetext_close><span class=kb_collapsetext_background></span>Collapse this image</span><span class=kb_expandtext><span class=kb_expandtext_background></span>Expand this image</span></div>
<div class=kb_graphicwrapper><img class=graphic src=http://support.microsoft.com/library/images/support/kbgraphics/Public/EN-US/VistaStartButton.jpg alt=Start button title=Start button></div>
</div>
<p>, and then type  <span class=userInput>cmd</span>in the  <strong class=uiterm>Start Search</strong>box. </li>
<li>In the  <strong class=uiterm>Programs</strong>list,right-click <strong class=uiterm>cmd</strong>, and then click  <strong class=uiterm>Run as administrator</strong>.
<div class=kb_outergraphicwrapper kb_outergraphicwrapper_closed>
<div class=kb_graphictop><span class=kb_collapsetext_close><span class=kb_collapsetext_background></span>Collapse this image</span><span class=kb_expandtext><span class=kb_expandtext_background></span>Expand this image</span></div>
<div class=kb_graphicwrapper><img class=graphic src=http://support.microsoft.com/library/images/support/kbgraphics/Public/EN-US/SecurityShield.jpg alt=User Account Control permission title=User Account Control permission></div>
</div>
<p>If you are prompted for an administrator password or for confirmation, type the password, or provide confirmation.</li>
<li>At the command prompt, type the appropriate command, and then press ENTER:
<ul>
<li>On an x86-based computer, type the following command:
<div class=indent><span class=userInput>regsvr32 %CommonProgramFiles% Microsoft Shared MSEnv TextMgrP.dll</span></div>
</li>
<li>On an x64-based computer, type the following command:
<div class=indent><span class=userInput>regsvr32 %CommonProgramFiles(X86)% Microsoft Shared MSEnv TextMgrP.dll</span></div>
</li>
</ul>
</li>
</ol>
<h4 id=tocHeadRef>Windows XP and Windows Server 2003</h4>
<ol>
<li>Click  <strong class=uiterm>Start</strong>, click <strong class=uiterm>Run</strong>, type  <span class=userInput>cmd</span>in the  <strong class=uiterm>Open</strong>box, and then click <strong class=uiterm>OK</strong>.</li>
<li>At the command prompt, type the appropriate command, and then press ENTER:
<ul>
<li>On an x86-based computer, type the following command:
<div class=indent><span class=userInput>regsvr32 %CommonProgramFiles% Microsoft Shared MSEnv TextMgrP.dll</span></div>
</li>
<li>On an x64-based computer, type the following command:
<div class=indent><span class=userInput>regsvr32 %CommonProgramFiles(X86)% Microsoft Shared MSEnv TextMgrP.dll</span></div>
</li>
</ul>
</li>
</ol>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >STATUS</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >MORE INFORMATION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a>Ã‚Â                             <span class=pLink>            (/Feedback.aspx?kbNumber=824684/                        )        </span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual Studio Team System 2008 Team Suite</li>
<li>Microsoft Visual Studio Team System 2008 Team Foundation Server</li>
<li>Microsoft Visual Studio Team System 2008 Test Load Agent</li>
<li>Microsoft Visual Studio Team System 2008 Database Edition</li>
<li>Microsoft Visual Studio Team System 2008 Architecture Edition</li>
<li>Microsoft Visual Studio Team System 2008 Development Edition</li>
<li>Microsoft Visual Studio Team System 2008 Test Edition</li>
<li>Microsoft Visual Studio 2008 Tools for Applications Software Development Kit</li>
<li>Microsoft Visual Studio 2008 Standard Edition</li>
<li>Microsoft Visual Studio 2008 Professional Edition</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbhotfixserver kbexpertiseadvanced kbqfe KB953196</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/fix-in-the-wpf-designer-for-visual-studio-2008-intellisense-for-xaml-may-stop-working-after-you-install-the-windows-sdk-or-msdn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FIX: Error message in the Data Source Configuration Wizard in Visual Studio 2008: Failed to add relation(s) Unexpected error</title>
		<link>http://ossmall.info/fix-error-message-in-the-data-source-configuration-wizard-in-visual-studio-2008-failed-to-add-relations-unexpected-error/</link>
		<comments>http://ossmall.info/fix-error-message-in-the-data-source-configuration-wizard-in-visual-studio-2008-failed-to-add-relations-unexpected-error/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 12:56:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/fix-error-message-in-the-data-source-configuration-wizard-in-visual-studio-2008-failed-to-add-relations-unexpected-error</guid>
		<description><![CDATA[Article ID: 954740 &#8211; Last Review: December 17, 2008 &#8211; Revision: 1.0 FIX: Error message in the Data Source Configuration Wizard in Visual Studio 2008: Failed to add relation(s) Unexpected error View products that this article applies to. On This Page Expand all &#124; Collapse all SYMPTOMS Consider the following scenario: You create two tables. [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 954740 &#8211; Last Review: December 17, 2008 &#8211; Revision: 1.0</div>
<p><strong class=title>FIX: Error message in the Data Source Configuration Wizard in Visual Studio 2008: Failed to add relation(s) Unexpected error</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<h2 class=subTitle id=tocTitle><span><a >On This Page</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody id=tocDiv></div>
<p><noscript></noscript>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<h2 class=subTitle id=tocHeadRef><span><a >SYMPTOMS</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>Consider the following scenario:
<ul>
<li>You create two tables. In the first table, you set the ID column as the primary key column.</li>
<li>You set up the primary-key-to-foreign-key (PK-FK) relationship between the tables. However, the primary key column is not the column that you reference in the PK-FK relationship.</li>
<li>In Microsoft Visual Studio 2008, you create a project, and then you try to add the tables as a new data source.</li>
<li>On the <strong class=uiterm>Choose Your Database 	Objects</strong> page of the Data Source Configuration Wizard, you select the tables, and then you click <strong class=uiterm>Finish</strong>.</li>
</ul>
<p> In this scenario, you receive the following error message in the Data Source Configuration Wizard:
<div class=kb_errormsgbody>
<div class=kb_errorcontent>
<div class=errormsg>Failed to add relation(s) Unexpected error.</div>
</div>
</div>
<p>Additionally, if you right-click the dataset and then click <strong class=uiterm>Edit Dataset with Designer</strong>, the relationships between the tables are not displayed.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RESOLUTION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<h3 id=tocHeadRef>Hotfix information</h3>
<p>A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.</p>
<p>To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink>            (http://support.microsoft.com/contactus/?ws=support)        </span></div>
<p><b>Note</b>   In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.<br />
<h4 id=tocHeadRef>Prerequisites</h4>
<p>   You must have Visual Studio 2008  installed to apply this hotfix.<br />
<h4 id=tocHeadRef>Restart requirement</h4>
<p>   You do not have to restart the computer after you apply this hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p>   This hotfix does not replace any other hotfixes.<br />
<h4 id=tocHeadRef>File information</h4>
<p>The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the <strong class=uiterm>Time Zone</strong> tab in the <strong class=uiterm>Date and Time</strong> item in Control Panel.
<div class=kb_outertablewrapper kb_outertablewrapper_closed>
<div class=kb_tabletop><span class=kb_collapsetext_close><span class=kb_collapsetext_background></span>Collapse this table</span><span class=kb_expandtext><span class=kb_expandtext_background></span>Expand this table</span></div>
<div class=kb_tablewrapper>
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File size</th>
<th>Date</th>
<th>Time</th>
</tr>
<tr>
<td>Microsoft.vsdesigner.dll</td>
<td>9.0.21022.175</td>
<td>4,386,816</td>
<td>14-Sep-2008</td>
<td>11:53</td>
</tr>
</table>
</div>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >STATUS</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the Applies to section.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >MORE INFORMATION</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<h3 id=tocHeadRef>Steps to reproduce the problem </h3>
<ol>
<li>Create a table that has two columns, set the ID column as the primary key column, and then set the other column as an indexed column. To do this, use the following statement.
<div class=kb_codebody>
<div class=kb_codecontent><code>
<pre class=code>create table t1(c1 int, c2 uniqueidentifier primary key)create unique index idx_c1 on t1(c1)</pre>
<p></code></div>
</div>
</li>
<li>Create a second table by using the following statement.
<div class=kb_codebody>
<div class=kb_codecontent><code>
<pre class=code>create table t2(c3 int, c4 int) </pre>
<p></code></div>
</div>
</li>
<li>Set up the PK-FK relationship, and then reference the indexed column in the first table. Do not reference the actual primary key column. To do this, use the following statement.
<div class=kb_codebody>
<div class=kb_codecontent><code>
<pre class=code>alter table t2 WITH CHECK ADD CONSTRAINT fk_c3t2_c1t1 FOREIGN KEY(c3) REFERENCES t1 (c1)</pre>
<p></code></div>
</div>
</li>
<li>In Visual Studio 2008, click <strong class=uiterm>New project</strong> on the <strong class=uiterm>File</strong> menu, click <strong class=uiterm>Windows Forms Application</strong>, and then click <strong class=uiterm>OK</strong>.</li>
<li>On the <strong class=uiterm>Data</strong> menu, click <strong class=uiterm>Add New Data source</strong>, select the database source where you created the two tables, and then click <strong class=uiterm>Next</strong>. </li>
<li>On the <strong class=uiterm>Choose Your Database 	Objects</strong> page of the Data Source Configuration Wizard, select the t1 table and the t2 table, and then click <strong class=uiterm>Finish</strong>.</li>
</ol>
<p>For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a>Ã‚Â                             <span class=pLink>            (/Feedback.aspx?kbNumber=824684/                        )        </span> Description of the standard terminology that is used to describe Microsoft software updates</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual Studio Team System 2008 Database Edition</li>
<li>Microsoft Visual Studio Team System 2008 Architecture Edition</li>
<li>Microsoft Visual Studio Team System 2008 Development Edition</li>
<li>Microsoft Visual Studio Team System 2008 Test Edition</li>
<li>Microsoft Visual Studio Team System 2008 Team Suite</li>
<li>Microsoft Visual Studio 2008 Standard Edition</li>
<li>Microsoft Visual Studio 2008 Professional Edition</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbsurveynew kbhotfixserver kbexpertiseadvanced kbqfe KB954740</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/fix-error-message-in-the-data-source-configuration-wizard-in-visual-studio-2008-failed-to-add-relations-unexpected-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to bind a Rich Text Box control to an element that is returned from a Web service in InfoPath and Visual Studio .NET 2003</title>
		<link>http://ossmall.info/how-to-bind-a-rich-text-box-control-to-an-element-that-is-returned-from-a-web-service-in-infopath-and-visual-studio-net-2003/</link>
		<comments>http://ossmall.info/how-to-bind-a-rich-text-box-control-to-an-element-that-is-returned-from-a-web-service-in-infopath-and-visual-studio-net-2003/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 10:06:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[MS Office InfoPath]]></category>

		<guid isPermaLink="false">http://ossmall.info/how-to-bind-a-rich-text-box-control-to-an-element-that-is-returned-from-a-web-service-in-infopath-and-visual-studio-net-2003/</guid>
		<description><![CDATA[This article describes how to bind a Rich Text Box control on a Microsoft Office InfoPath 2007 form or on a Microsoft Office InfoPath 2003 form to an XML element that is returned from a Web service. For a Rich Text Box control to bind to an XML element that is returned from a Web [...]]]></description>
			<content:encoded><![CDATA[<p>This article describes how to bind a Rich Text Box control on a Microsoft Office InfoPath 2007 form or on a Microsoft Office InfoPath 2003 form to an XML element that is returned from a Web service.</p>
<p>For a Rich Text Box control to bind to an XML element that is returned from a Web service, the Rich Text Box control must contain XHTML content. The element must have the following XML schema:</p>
<pre>        &lt;xsd:element name="[elementname]"&gt;</pre>
<pre>          &lt;xsd:complexType mixed="true"&gt;</pre>
<pre>            &lt;xsd:sequence&gt;</pre>
<pre>              &lt;xsd:any namespace="http://www.w3.org/1999/xhtml" processContents="lax"</pre>
<pre>               minOccurs="0" maxOccurs="unbounded"/&gt;</pre>
<pre>            &lt;/xsd:sequence&gt;</pre>
<pre>          &lt;/xsd:complexType&gt;</pre>
<pre>        &lt;/xsd:element&gt;</pre>
<p>The <var>&lt;elementname&gt;</var> is the name of the XML element that is returned from the Web service.</p>
<p>InfoPath can automatically detect if an element is an XHTML element by querying the element for a sample value when InfoPath connects to the Web service data source for the first time. This article describes how to create a Web service that returns valid XHTML. This article also describes how to display the XHTML that is returned from the Web service in a Rich Text Box control on an InfoPath form.</p>
<h3>Create the Web service</h3>
<table border="1" cellpadding="0">
<tr>
<td><script type="text/javascript"> loadTOCNode(2, \'summary\');   </script>1.</td>
<td>Start Microsoft Visual Studio .NET.</td>
</tr>
<tr>
<td>2.</td>
<td>On the<strong> File</strong> menu, click <strong>New</strong>,   and then click <strong>Project</strong>.</td>
</tr>
<tr>
<td>3.</td>
<td>In the <strong>Project Types</strong> list, click <strong>Visual   C# Projects</strong>. In the <strong>Templates</strong> list, click <strong>ASP.NET   Web Service</strong>.</td>
</tr>
<tr>
<td>4.</td>
<td>In the <strong>Location</strong> box, type http://&lt;SERVER&gt;/RichTextService where <var>&lt;SERVER&gt;</var>   is the name of your Web server, and then click <strong>OK</strong>.</td>
</tr>
<tr>
<td>5.</td>
<td>Right-click <strong>Service1.asmx</strong>, and then click   <strong>View Code</strong>.</td>
</tr>
<tr>
<td>6.</td>
<td>Add the following Web Service method to the <strong>Service1</strong>   class:</p>
<pre>        [WebMethod]</pre>
<pre>        public System.Xml.XmlNode GetXHTMLRichText()</pre>
<pre>        {</pre>
<pre>         //Create a temporary XmlDocument object to generate nodes.</pre>
<pre>         System.Xml.XmlDocument tempDocument = new System.Xml.XmlDocument();</pre>
<pre></pre>
<pre>         //Create a wrapper node for the data.  This is necessary so InfoPath</pre>
<pre>         //correctly detects the XHTML content</pre>
<pre>         System.Xml.XmlElement theNode = (System.Xml.XmlElement)tempDocument.CreateNode(</pre>
<pre>            System.Xml.XmlNodeType.Element, "theNode", "http://somearbitrarynamespace/" );</pre>
<pre></pre>
<pre>         //Create a "font" element in the xhtml namespace.</pre>
<pre>         System.Xml.XmlElement theFontNode = (System.Xml.XmlElement)tempDocument.CreateNode(</pre>
<pre>            System.Xml.XmlNodeType.Element, "font", "http://www.w3.org/1999/xhtml" );</pre>
<pre>         theFontNode.InnerText= "Red Text";</pre>
<pre></pre>
<pre>         //Add a color attribute.</pre>
<pre>         System.Xml.XmlAttribute colorAttribute = tempDocument.CreateAttribute(</pre>
<pre>            "color" );</pre>
<pre>         colorAttribute.Value = "#ff0000";</pre>
<pre>         theFontNode.Attributes.Append( colorAttribute );</pre>
<pre></pre>
<pre>         //Append the font node to the wrapper node</pre>
<pre>         theNode.AppendChild( theFontNode );</pre>
<pre></pre>
<pre>         //Return the wrapper element.</pre>
<pre>         return theNode;</pre>
<pre>        }</pre>
</td>
</tr>
<tr>
<td>7.</td>
<td>On the <strong>Build</strong> menu, click <strong>Build   Solution</strong>.</td>
</tr>
<tr>
<td>8.</td>
<td>Exit Visual Studio .NET.</td>
</tr>
</table>
<h3>Create the InfoPath form</h3>
<h4><script type="text/javascript"> loadTOCNode(2, \'summary\'); </script>In InfoPath 2003</h4>
<table border="0" cellpadding="0">
<tr>
<td><script type="text/javascript"> loadTOCNode(3, \'summary\');   </script>1.</td>
<td>Start InfoPath 2003.</td>
</tr>
<tr>
<td>2.</td>
<td>On the <strong>File</strong> menu, click <strong>Design a   Form</strong>.</td>
</tr>
<tr>
<td>3.</td>
<td>In the Design a Form task pane, click <strong>New from   Data Connection&#8230;</strong>.The Data Source Setup Wizard starts.</td>
</tr>
<tr>
<td>4.</td>
<td>Setup the data source as follows:</p>
<table border="0" cellpadding="0">
<tr>
<td>a.</td>
<td>Click <strong>Web Service</strong> for the data source,     and then click<strong> Next</strong>.</td>
</tr>
<tr>
<td>b.</td>
<td>Click <strong>Receive data</strong>, and then click <strong>Next</strong>.</td>
</tr>
<tr>
<td>c.</td>
<td>Type http://&lt;SERVER&gt;/RichTextService/Service1.asmx     for the location of the Web service, and then click <strong>Next</strong>.</td>
</tr>
<tr>
<td>d.</td>
<td>In the <strong>Select an operation</strong> list, click <strong>GetXHTMLRichText</strong>,     and then click <strong>Next</strong>.</td>
</tr>
<tr>
<td>e.</td>
<td>Click <strong>Finish</strong>.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>5.</td>
<td>Switch to the Data Source task pane, and then expand the <strong>dataFields</strong>   group.</td>
</tr>
<tr>
<td>6.</td>
<td>Expand the <strong>GetXHTMLRichTextResponse</strong>   group, and then move the <strong>GetXHTMLRichTextResult</strong> element to   your form.InfoPath adds a Rich Text Box control to the view.</td>
</tr>
</table>
<h4 id="tocHeadRef">In InfoPath 2007</h4>
<table border="0" cellpadding="0">
<tr>
<td><script type="text/javascript"> loadTOCNode(3, \'summary\');   </script>1.</td>
<td>Start InfoPath 2007.</td>
</tr>
<tr>
<td>2.</td>
<td>In the left pane of the <strong>Getting Started</strong>   dialog box, click <strong>Design a Form Template</strong>.<br />
In the Design a Form Template window, click <strong>Blank</strong>, and then   click <strong>OK</strong>.</td>
</tr>
<tr>
<td>3.</td>
<td>On the <strong>Tools</strong> menu, click <strong>Data   Connections</strong>.</td>
</tr>
<tr>
<td>4.</td>
<td>In the Data Connections window, click <strong>Add</strong>.The Data Source Setup Wizard starts.</td>
</tr>
<tr>
<td>5.</td>
<td>Set up the data source as follows:</p>
<table border="0" cellpadding="0">
<tr>
<td>a.</td>
<td>Click to select <strong>Create a new connection to</strong>,     click to select <strong>Receive data</strong>, and then click <strong>Next</strong>.</td>
</tr>
<tr>
<td>b.</td>
<td>Click to select <strong>Web Service</strong> for the     data source, and then click <strong>Next</strong>.</td>
</tr>
<tr>
<td>c.</td>
<td>Type http://&lt;SERVER&gt;/RichTextService/Service1.asmx     for the location of the Web service, and then click <strong>Next</strong>.</td>
</tr>
<tr>
<td>d.</td>
<td>In the <strong>Select an operation</strong> list, click <strong>GetXHTMLRichText</strong>,     and then click <strong>Next</strong>.</td>
</tr>
<tr>
<td>e.</td>
<td>Click <strong>Finish</strong>.</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>6.</td>
<td>Switch to the Data Source task pane, and then expand the <strong>dataFields</strong>   group.</td>
</tr>
<tr>
<td>7.</td>
<td>Expand the <strong>GetXHTMLRichTextResponse</strong>   group, and then move the <strong>GetXHTMLRichTextResult</strong> element to   the form.InfoPath adds a Rich Text Box control to the view.</td>
</tr>
</table>
<h3>Try it out</h3>
<table border="0" cellpadding="0">
<tr>
<td><script type="text/javascript"> loadTOCNode(2, \'summary\');   </script>1.</td>
<td>On the Task pane drop-down list, click <strong>Views</strong>.</td>
</tr>
<tr>
<td>2.</td>
<td>In the <strong>Views</strong> list, click <strong>Query</strong>.   Right-click <strong>Query</strong>, and then click <strong>Set as Default</strong>.</td>
</tr>
<tr>
<td>3.</td>
<td>On the <strong>File</strong> menu, point to <strong>Preview   Form</strong>, and then click <strong>Default</strong>.</td>
</tr>
<tr>
<td>4.</td>
<td>Click <strong>Run Query</strong>.</td>
</tr>
<tr>
<td>5.</td>
<td>On the <strong>View</strong> menu, click <strong>Data   Entry</strong>.Notice the value that is in the Rich Text Box control on the form. The value   that is returned by the Web service is <strong>Red Text</strong>, and the   value is formatted in red.</td>
</tr>
</table>
<hr align="center" size="2" width="100%" />
<h5>APPLIES TO</h5>
<table border="0" cellpadding="0">
<tr>
<td></td>
<td>Microsoft Office InfoPath 2007</td>
</tr>
<tr>
<td></td>
<td>Microsoft Office InfoPath 2003, Service Pack 1 (SP1)</td>
</tr>
<tr>
<td></td>
<td>Microsoft Office InfoPath 2003</td>
</tr>
<tr>
<td></td>
<td>Microsoft Visual Studio .NET 2003 Enterprise Developer</td>
</tr>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<h5>Microsoft Knowledge Base Article</h5>
<p class="MsoNormal">This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href="http://support.microsoft.com/tou/">Terms of Use</a> | <a href="http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a></p>
<p><o:p> </o:p></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/how-to-bind-a-rich-text-box-control-to-an-element-that-is-returned-from-a-web-service-in-infopath-and-visual-studio-net-2003/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You may receive a &#8220;warning LNK4018&#8243; warning message when you link a debug version of your application in Visual C++</title>
		<link>http://ossmall.info/you-may-receive-a-warning-lnk4018-warning-message-when-you-link-a-debug-version-of-your-application-in-visual-c/</link>
		<comments>http://ossmall.info/you-may-receive-a-warning-lnk4018-warning-message-when-you-link-a-debug-version-of-your-application-in-visual-c/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 13:45:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fixes]]></category>

		<guid isPermaLink="false">http://ossmall.info/you-may-receive-a-warning-lnk4018-warning-message-when-you-link-a-debug-version-of-your-application-in-visual-c/</guid>
		<description><![CDATA[When linking a debug version of your application, you may get the following warning message: LINK : warning LNK4018: too many type indexes in PDB &#8220;filename&#8221;, discarding subsequent type information NOTE: You will not be able to see the subsequent types in the debugger. CAUSE The number of type indexes in the Program Database File [...]]]></description>
			<content:encoded><![CDATA[<p>When linking a debug version of your application, you may get the following warning message:</p>
<p>LINK : warning LNK4018: too many type indexes in PDB &#8220;filename&#8221;, discarding subsequent type information</p>
<p><strong>NOTE</strong>: You will not be able to see the subsequent types in the debugger.</p>
<h2>CAUSE</h2>
<p><script type="text/javascript"> loadTOCNode(1, 'cause'); </script>The number of type indexes in the Program Database File (.pdb file) for your project exceeded 64K for Visual C++ 4.x and 16M for later versions. This is a limitation of the debugging format in a .pdb file. The format uses a 16-bit field to store the number of types. This field was increased to 24 bits in Visual C++ 5.0.</p>
<h2>RESOLUTION</h2>
<p><script type="text/javascript"> loadTOCNode(1, 'resolution'); </script>To avoid this warning, use one or more of the following methods to decrease the number of type indexes in your .pdb file:</p>
<table border="0" cellpadding="0">
<tr>
<td>
<ul></ul>
</td>
<td>Compile modules that you do not need to debug, without debugging   information.</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>Break your project into multiple Dynamic Link Libraries   (DLLs). You can use subprojects in Developer Studio to build the new   libraries.</td>
</tr>
<tr>
<td>
<ul></ul>
</td>
<td>Use the compile time option <strong>/Yd</strong>. It will cause the   type information for only those symbols that are referenced to be generated.   This slows down builds somewhat but may lower the total number of symbols   below the 64K limit.</td>
</tr>
</table>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/you-may-receive-a-warning-lnk4018-warning-message-when-you-link-a-debug-version-of-your-application-in-visual-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Description of the Word 2007 hotfix package: June 20, 2008</title>
		<link>http://ossmall.info/description-of-the-word-2007-hotfix-package-june-20-2008/</link>
		<comments>http://ossmall.info/description-of-the-word-2007-hotfix-package-june-20-2008/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 04:19:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Application Center]]></category>
		<category><![CDATA[Commerce Server 2007]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[MS Office Access]]></category>
		<category><![CDATA[MS Office Accounting]]></category>
		<category><![CDATA[MS Office Excel]]></category>
		<category><![CDATA[MS Office Groove]]></category>
		<category><![CDATA[MS Office InfoPath]]></category>
		<category><![CDATA[MS Office OneNote]]></category>
		<category><![CDATA[MS Office Outlook]]></category>
		<category><![CDATA[MS Office Powerpoint]]></category>
		<category><![CDATA[MS Office Project 2007]]></category>
		<category><![CDATA[MS Office Publisher]]></category>
		<category><![CDATA[MS Office SharePoint]]></category>
		<category><![CDATA[MS Office Suite 2007]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Office Word]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>
		<category><![CDATA[Windows Defender]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 - HowTo]]></category>
		<category><![CDATA[Windows Server 2008 - Tips]]></category>

		<guid isPermaLink="false">http://ossmall.info/description-of-the-word-2007-hotfix-package-june-20-2008/</guid>
		<description><![CDATA[Description of the Word 2007 hotfix package: June 20, 2008 View products that this article applies to. Article ID : 954576 Last Review : July 17, 2008 Revision : 1.0 On This Page SUMMARY This article describes the Microsoft Office Word 2007 issue that is fixed in the Word 2007 hotfix package that is dated [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a><strong class=title>Description of the Word 2007 hotfix package: June 20, 2008</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div class=articleProperty>
<table>
<tr>
<td>Article ID</td>
<td>:</td>
<td>954576</td>
</tr>
<tr>
<td>Last Review</td>
<td>:</td>
<td>July 17, 2008</td>
</tr>
<tr>
<td>Revision</td>
<td>:</td>
<td>1.0</td>
</tr>
</table>
</div>
<div class=toc id=tocDiv>
<h5>On This Page</h5>
</div>
<p><noscript></noscript>
<div class=section>
<h2 class=subTitle id=tocHeadRef>SUMMARY</h2>
<div class=sbody>
<div class=indent>This article describes the Microsoft Office Word 2007 issue that is fixed in the Word 2007 hotfix package that is dated June 20, 2008.</p>
</div>
<div class=indent>This article describes the following items about the hotfix package:</div>
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The issues that the hotfix package fixes.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The prerequisites for installing the hotfix				  package.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Whether you must restart the computer after you install				  the hotfix package.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Whether the hotfix package is replaced by any other				  hotfix package.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Whether you must make any registry changes. </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The files that the hotfix package contains. </td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>INTRODUCTION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Issues that the hotfix package fixes</h3>
<h4 id=tocHeadRef>List of issues that are fixed</h4>
<p>This hotfix fixes the following issues:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=954540>954540</a><span class=pLink> (/Feedback.aspx?kbNumber=954540/)</span> The changes in the TOC and PageRef fields do not appear when you compare Word 2007 documents</div>
</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=954541>954541</a><span class=pLink> (/Feedback.aspx?kbNumber=954541/)</span> The Ref field is updated incorrectly when you print a Word 2007 document</div>
</td>
</tr>
</table>
<p>This hotfix fixes the			 following issues that are not previously documented in a Microsoft Knowledge			 Base article:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>When you compare and merge documents that are written in				Chinese characters or in Japanese characters in Word 2007, the text that is				marked as deleted and inserted is much larger than the text that is actually				changed. For example, if you delete only one character or one word, a large				chunk of text around this character or word is marked as deleted. Additionally,				the chunk of text is marked as reinserted, except for the character or for the				word that is actually deleted. </p>
<p><b>Note</b> The issue occurs for both character-level comparison and				word-level comparison. However, this issue does not occur if you delete the				word or the character at the end of the sentence.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Consider the following scenario. You create and then save a				new document from a template on a trusted network share. This template contains				Microsoft Visual Basic for Application (VBA) code. Then, you open the document				again.</p>
<p>In this scenario, you cannot save the document again.				Additionally, you receive the following error message:
<div class=errormsg>The				save failed due to out of memory or disk space.</div>
<p></td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Consider the following scenario. You create and then save a				document that contains a table. You delete one row, and you modify the content				in the following row. Then, you save the document as a different				name.</p>
<p>In this scenario, if you compare the revised document to the				original document, the result is incorrect.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Consider the following scenario. You create a Microsoft				Office Word 2003 document, and you apply a new style such				as <var>Style1</var> to some				paragraphs that have outline numbering enabled. Then, you change the number				format of <var>Style1</var>. To change this number format, you				add text before the number in that document.</p>
<p>In this scenario, when				you use the Compare Documents functionality to compare the revised document to				the original document, the comparison document shows the formatting as the				formatting in the original document. However, the comparison document should				show the formatting as the formatting in the revised document.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>You create a document that is based on a template that has				customized Ribbons. When you open the document, Word 2007 may not display the				Ribbon customizations. This issue can occur if the following conditions are				true:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The template uses the editing restriction,					 <strong class=uiterm>Filling in forms</strong>. </p>
<p><b>Note</b> This issue does not occur if the template is unprotected or if					 the template uses one of the following editing restrictions:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text><strong class=uiterm>Comments</strong></td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text><strong class=uiterm>No changes (Read only) </strong></td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text><strong class=uiterm>Tracked changes </strong></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The document is saved in one of the following file					 formats:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Word 2003 XML Document (*.xml) </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Word XML Document (*.xml) </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text> Word Document (*.docx) </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text> Word Macro-Enabled Document (*.docm) </td>
</tr>
</table>
<p><b>Note</b> This issue does not occur if the document is saved in a rich text					 format (RTF) or in a binary document file format.</td>
</tr>
</table>
<p>However, the template is still correctly loaded as a base				template. </td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>When you add one or more letters at the beginning or at the				end of a word, a word-level comparison only marks the inserted letters as an				insertion, as if the inserted characters are a separate word. The expected				behavior is that the original word should be marked as deleted, and the new				word should be marked as an insertion.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>If you click to clear the <strong class=uiterm>White space</strong>				check box in the <strong class=uiterm>Compare Documents</strong> dialog box, the closing				paragraph mark of an insertion is ignored. The expected behavior is that the				closing paragraph mark should be displayed as				part of the insertion, and the closing paragraph mark should not be ignored.				</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>When you insert or delete a text box in the revised				document, and then you compare this document to the original document, there is				a revision bar next to the border of the text box. However, there is no				revision markup in the text box.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>If two plain text content controls are grouped, you may				experience the following issues when you run the Spelling and Grammar check:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The last word in the first content control is selected					 together with part of the first word of the second content control. This					 behavior occurs when the following conditions are true:<br />
<table class=list ul>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>There is no space after the last word in the first						  content control.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>The last word of the first content control is						  proofed in the <strong class=uiterm>Spelling and Grammar</strong> dialog box. </td>
</tr>
</table>
<p>This issue occurs whether the last word of the first					 content control is spelled correctly.</td>
</tr>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>After the last word of the first content control is					 proofed, the Spelling and Grammar check is complete.					 However, misspelled					 words					 are not checked in the second content control.</td>
</tr>
</table>
</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<h2 class=subTitle id=tocHeadRef>MORE INFORMATION</h2>
<div class=sbody>
<h3 id=tocHeadRef>Hotfix information</h3>
<p> A			 supported hotfix is available from Microsoft. However, this hotfix is intended			 to correct only the problem that is described in this article. Apply this			 hotfix only to systems that are experiencing this specific problem. This hotfix			 might receive additional testing. Therefore, if you are not severely affected			 by this problem, we recommend that you wait for the next software update that			 contains this hotfix.</p>
<p>If the hotfix is available for download, there			 is a Hotfix download available section at the top of this Knowledge Base			 article. If this section does not appear, contact Microsoft Customer Service			 and Support to obtain the hotfix. </p>
<p><b>Note</b> If additional issues occur or if any troubleshooting is required,			 you might have to create a separate service request. The usual support costs			 will apply to additional support questions and issues that do not qualify for			 this specific hotfix. For a complete list of Microsoft Customer Service and			 Support telephone numbers or to create a separate service request, visit the			 following Microsoft Web site:
<div class=indent><a href=http://support.microsoft.com/contactus/?ws=support>http://support.microsoft.com/contactus/?ws=support</a><span class=pLink> (http://support.microsoft.com/contactus/?ws=support)</span></div>
<p><b>Note</b> The Hotfix download available form displays the languages for			 which the hotfix is available. If you do not see your language, it is because a			 hotfix is not available for that language.<br />
<h4 id=tocHeadRef>Prerequisites</h4>
<p>There are no prerequisites for			 installing this hotfix.<br />
<h4 id=tocHeadRef>Restart information</h4>
<p>You do			 not have to restart the computer after you apply this hotfix.<br />
<h4 id=tocHeadRef>Hotfix replacement information</h4>
<p>This hotfix package does not replace any other hotfix packages.<br />
<h4 id=tocHeadRef>Registry information</h4>
<p>You do not have to make any changes to the registry.<br />
<h4 id=tocHeadRef>File information</h4>
<p>This hotfix may not contain			 all the files that you must have to fully update a product to the latest build.			 This hotfix contains only the files that you must have to correct the issues			 that are listed in this article.</p>
<p>The Global			 version of this hotfix uses a Microsoft Windows Installer package to install			 the hotfix. The dates and the times for these files are listed in Coordinated			 Universal Time (UTC) in the following table. When you view the file			 information, the date is converted to local time. To find the difference			 between UTC and local time, use the <strong class=uiterm>Time Zone</strong> tab in the Date			 and Time item in Control Panel.</p>
<p>Download information<br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Office-kb954576-fullfile-x86-glb.exe</td>
<td>12.0.6320.5000</td>
<td>15,929,040</td>
<td>19-Jun-2008</td>
<td>14:28</td>
<td>x86</td>
</tr>
</table>
<p>Microsoft Windows Installer .msp file information<br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Word.msp</td>
<td>Not				  Applicable</td>
<td>13,252,608</td>
<td>19-Jun-2008</td>
<td>18:33</td>
<td>Not				  Applicable</td>
</tr>
<tr>
<td>Wordconv.msp</td>
<td>Not				  Applicable</td>
<td>6,301,696</td>
<td>19-Jun-2008</td>
<td>18:33</td>
<td>Not				  Applicable</td>
</tr>
</table>
<p><b>Word.msp file information</b><br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Msword.olb</td>
<td>12.0.6300.5000</td>
<td>768,024</td>
<td>06-Dec-2007</td>
<td>17:05</td>
<td>Not				  Applicable</td>
</tr>
<tr>
<td>Winword.exe</td>
<td>12.0.6320.5000</td>
<td>349,720</td>
<td>19-Jun-2008</td>
<td>15:00</td>
<td>x86</td>
</tr>
<tr>
<td>Wwlib.dll</td>
<td>12.0.6320.5000</td>
<td>17,491,480</td>
<td>19-Jun-2008</td>
<td>15:00</td>
<td>x86</td>
</tr>
</table>
<p><b>Wordconv.msp file information</b><br />
<table cellspacing=1 class=table>
<tr>
<th>File name</th>
<th>File version</th>
<th>File				  size</th>
<th>Date</th>
<th>Time</th>
<th>Platform</th>
</tr>
<tr>
<td>Wordcnv.dll</td>
<td>12.0.6320.5000</td>
<td>4,281,368</td>
<td>19-Jun-2008</td>
<td>22:42</td>
<td>x86</td>
</tr>
<tr>
<td>Wordconv.exe</td>
<td>12.0.6300.5000</td>
<td>24,584</td>
<td>13-Dec-2007</td>
<td>01:08</td>
<td>x86</td>
</tr>
</table>
<p> For			 more information about software update terminology, click the following article			 number to view the article in the Microsoft Knowledge Base:
<div class=indent><a class=KBlink href=/Feedback.aspx?kbNumber=824684>824684</a><span class=pLink> (/Feedback.aspx?kbNumber=824684/)</span> Description of the standard			 terminology that is used to describe Microsoft software updates</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
</div>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<table class=list>
<tr>
<td class=bullet>Ã¢â‚¬Â¢</td>
<td class=text>Microsoft Office Word 2007</td>
</tr>
</table>
</div>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â </h5>
</td>
<td class=text>kbautohotfix kbhotfixrollup kbexpertiseinter kbfix kbqfe kbhotfixserver KB954576</td>
</tr>
</table>
<p class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></p>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/description-of-the-word-2007-hotfix-package-june-20-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VC++ build, Warning XDC0017 : Unrecognized XDCMake option: /validate</title>
		<link>http://ossmall.info/vc-build-warning-xdc0017-unrecognized-xdcmake-option-validate/</link>
		<comments>http://ossmall.info/vc-build-warning-xdc0017-unrecognized-xdcmake-option-validate/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 10:44:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fixes]]></category>

		<guid isPermaLink="false">http://ossmall.info/vc-build-warning-xdc0017-unrecognized-xdcmake-option-validate/</guid>
		<description><![CDATA[1. Add XML Documentation (http://msdn2.microsoft.com/en-us/library/ms177226.aspx) comments to your Visual C++ source code. 2. Enable the Process Documentation Comments switch (http://msdn2.microsoft.com/en-us/library/ms173501.aspx) (/doc) 3. Select &#8220;Yes /validate&#8221; for Validate IntelliSense on the XML Document Generator (http://msdn2.microsoft.com/en-us/library/ms235515.aspx) Tool Property Page. Result You get a warning during the build: Generating XML documentation&#8230; warning XDC0017 : Unrecognized XDCMake option: /validate XDCMAKE [...]]]></description>
			<content:encoded><![CDATA[<table class="list ol">
<tr>
<td class="number">1.</td>
<td class="text">Add <a href="http://msdn2.microsoft.com/en-us/library/ms177226.aspx">XML Documentation</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/ms177226.aspx)</span> comments to your Visual C++ source code.</td>
</tr>
<tr>
<td class="number">2.</td>
<td class="text">Enable the <a href="http://msdn2.microsoft.com/en-us/library/ms173501.aspx">Process Documentation Comments switch</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/ms173501.aspx)</span> (/doc)</td>
</tr>
<tr>
<td class="number">3.</td>
<td class="text">Select &#8220;Yes /validate&#8221; for <strong>Validate IntelliSense</strong> on the <a href="http://msdn2.microsoft.com/en-us/library/ms235515.aspx">XML Document Generator</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/ms235515.aspx)</span> Tool Property Page.</td>
</tr>
</table>
<p class="topOfPage"><a href="http://kbalertz.com/948860/Warning-XDC0017-Unrecognized-XDCMake.aspx#top"></a></p>
<h2 class="subTitle" id="tocHeadRef">Result</h2>
<p class="sbody">You get a warning during the build:<br />
Generating XML documentation&#8230;<br />
warning XDC0017 : Unrecognized XDCMake option: /validate<br />
XDCMAKE /old output_filename [options]<br />
(and a list of valid options&#8230;)</p>
<p class="topOfPage"><a href="http://kbalertz.com/948860/Warning-XDC0017-Unrecognized-XDCMake.aspx#top"></a></p>
<h2 class="subTitle" id="tocHeadRef">Cause</h2>
<p class="sbody">The XDCMake tool had, at one time, a /validate option in its old command line interface.  It was decided, due to weaknesses in its implementation, that its usefulness was limited, and the feature was removed.  The compiler is guaranteed to generate good XML documentation, and there is little need (or none at all) to add a validation step to the build.  However, due to an oversight, this option was not removed from the IDE and its corresponding documentation. Consequently, selecting &#8220;Yes&#8221; for this option in the IDE causes &#8220;/validate&#8221; to be added to the XDCMake command line, and the tool generates the warning.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948860/Warning-XDC0017-Unrecognized-XDCMake.aspx#top"></a></p>
<h2 class="subTitle" id="tocHeadRef">Resolution</h2>
<p class="sbody">Do not use this option.  Leave it at the default setting (&#8220;No&#8221;), or pay no heed to the warnings if you leave it on &#8220;Yes&#8221;.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948860/Warning-XDC0017-Unrecognized-XDCMake.aspx#top"></a></p>
<h2 class="subTitle" id="tocHeadRef">More Information</h2>
<p class="sbody">MIcrosoft has no plans to re-implement the /validate switch, and the IDE option will be removed in a future release of the Visual C++ project engine.<br />
The <a href="http://msdn2.microsoft.com/en-us/library/ms177247.aspx">XDCMake command line</a><span class="pLink"> (http://msdn2.microsoft.com/en-us/library/ms177247.aspx)</span>, when used outside of Visual Studio, also supports a different set of options than the &#8220;/old&#8221; interface supported in Visual Studio 2005 and 2008.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948860/Warning-XDC0017-Unrecognized-XDCMake.aspx#top"></a></p>
<h2 class="subTitle" id="tocHeadRef">DISCLAIMER</h2>
<p class="sbody">MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.</p>
<p class="topOfPage"><a href="http://kbalertz.com/948860/Warning-XDC0017-Unrecognized-XDCMake.aspx#top"></a></p>
<hr />
<h5>APPLIES TO</h5>
<table class="list">
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2005 Team Suite</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio 2008 Professional Edition</td>
</tr>
<tr>
<td class="bullet">•</td>
<td class="text">Microsoft Visual Studio Team System 2008 Team Suite</td>
</tr>
</table>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<h5>Microsoft Knowledge Base Article</h5>
<p class="MsoNormal">This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href="http://support.microsoft.com/tou/">Terms of Use</a> | <a href="http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx">Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/vc-build-warning-xdc0017-unrecognized-xdcmake-option-validate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sort function of STL Gives Unexpected Output when Vector is a Type Derived from _com_ptr_t</title>
		<link>http://ossmall.info/sort-function-of-stl-gives-unexpected-output-when-vector-is-a-type-derived-from-comptrt/</link>
		<comments>http://ossmall.info/sort-function-of-stl-gives-unexpected-output-when-vector-is-a-type-derived-from-comptrt/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 12:56:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple Products]]></category>
		<category><![CDATA[Microsoft .NET Framework]]></category>
		<category><![CDATA[Microsoft Exchange Server]]></category>
		<category><![CDATA[Microsoft SQL Server]]></category>
		<category><![CDATA[MS Office Visio]]></category>
		<category><![CDATA[MS Visual Studio]]></category>
		<category><![CDATA[Visual Help]]></category>

		<guid isPermaLink="false">http://ossmall.info/sort-function-of-stl-gives-unexpected-output-when-vector-is-a-type-derived-from-comptrt</guid>
		<description><![CDATA[Article ID: 967759 &#8211; Last Review: February 10, 2009 &#8211; Revision: 1.0 Sort function of STL Gives Unexpected Output when Vector is a Type Derived from _com_ptr_t View products that this article applies to. Expand all &#124; Collapse all Source: Microsoft Support Back to the top RAPID PUBLISHING RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM [...]]]></description>
			<content:encoded><![CDATA[<div><span id=oss><!-- - -KB 3 start- - --><a id=top></a>
<div class=articleProperty>Article ID: 967759 &#8211; Last Review: February 10, 2009 &#8211; Revision: 1.0</div>
<p><strong class=title>Sort function of STL Gives Unexpected Output when Vector is a Type Derived from _com_ptr_t</strong>
<div class=appliesToLink><a href=#appliesto>View products that this article applies to.</a></div>
<div id=kb_section class=section>
<div id=kb_expandcollapseall class=expandcollapseall><a >Expand all</a> | <a >Collapse all</a></div>
<div class=sbody><b>Source: </b>Microsoft Support
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >RAPID PUBLISHING</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION.  THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Action</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>C++ code which contains an STL vector containing types derived Ã‚Â fromÃ‚Â  the_com_ptr_t Ã‚Â COM smart pointer class and using the std:sort() function to sort interface pointers may give unexpected sort output._com_ptr_t COM smart pointer derived types are commonly created when using the &#8216;#import&#8217; keyword in C++ to import a COM type library. For example:Ã‚Â </p>
<p>#import msxml4.dll</p>
<p>Ã‚Â </p>
<p>Ã‚Â 
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Cause</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p><b>Cause:</b></p>
<p>The _com_ptr_t class implementation overrides the reference (&amp;) operator and returns a null interface pointer. This is in conflict with STL reference operator rules and may result in incorrect sorting order when std::sort () is called.Ã‚Â </p>
<p>Ã‚Â </p>
<p><b>Sample Code:</b></p>
<p>Ã‚Â </p>
<p>#include stdafx.h</p>
<p>#include &lt;iostream&gt;</p>
<p>#include &lt;vector&gt;</p>
<p>#include &lt;algorithm&gt;</p>
<p>#include &lt;sstream&gt;</p>
<p>Ã‚Â </p>
<p>// Create smart pointer wrappers for msxml com object</p>
<p>#import msxml4.dll</p>
<p>Ã‚Â </p>
<p>// Helper Function to create XML</p>
<p>_bstr_t CreateXML()</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nums[] = {1,10,11,12,13,14,15,16,17,18,19,2,20,21,22,23,24,25,26,27,28,29,3,30,31,32,33,34,4,5,6,7,8,9};</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::stringstream tempstr;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt; &lt;NodesCol&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for(int i=0; i&lt;34 ;i++)</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt;  t&lt;Node&gt;&lt;NodeNum&gt; &lt;&lt; nums[i] &lt;&lt; &lt;/NodeNum&gt;&lt;/Node&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt; &lt;/NodesCol&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return static_cast&lt;_bstr_t&gt;(tempstr.str().c_str());</p>
<p>}</p>
<p>Ã‚Â </p>
<p>// Compare Function for std::swap</p>
<p>bool myCompare(MSXML2::IXMLDOMNodePtr&amp; node1, MSXML2::IXMLDOMNodePtr&amp; node2)</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nNode1No(-1),nNode2No(-1);</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if( ( NULL == node1.GetInterfacePtr() ) || ( NULL == node2.GetInterfacePtr() ) )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return false;</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _stscanf_s( node1-&gt;text, _T(%d), &amp;nNode1No );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _stscanf_s( node2-&gt;text, _T(%d), &amp;nNode2No );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if( nNode1No &lt; nNode2No )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return true;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return false;</p>
<p>};</p>
<p>Ã‚Â </p>
<p>int _tmain(int argc, _TCHAR* argv[])</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // A vector of IXMLDOMNode smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::vector&lt;MSXML2::IXMLDOMNodePtr&gt; vecNodesList;</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  CoInitialize( NULL );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Create and Load the XML document</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  MSXML2::IXMLDOMDocumentPtr docPtr;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr.CreateInstance(__uuidof(MSXML2::DOMDocument40));Ã‚Â Ã‚Â Ã‚Â Ã‚Â  </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr-&gt;loadXML(CreateXML());</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  MSXML2::IXMLDOMNodeListPtr nodes = docPtr-&gt;selectNodes( _T(NodesCol/Node/NodeNum) );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; Before Sorting Nodes &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Initialize the vector of smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for( int i = 0; i &lt; nodes-&gt;length; i++ )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {</p>
<p>Ã‚Â  Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â int nNodeNo = -1;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  vecNodesList.push_back( nodes-&gt;item[i] );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; nodes-&gt;item[i]-&gt;text &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Sort the vector of smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::sort( vecNodesList.begin(), vecNodesList.end(), myCompare );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Display sorted results</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt;  nAfter Sorting Nodes n &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::vector&lt;MSXML2::IXMLDOMNodePtr&gt;::iterator iter;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for(iter = vecNodesList.begin(); iter!=vecNodesList.end();iter++)</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if(NULL != (*iter).GetInterfacePtr())</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; (*iter)-&gt;text &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  else</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; -1 &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  *iter = NULL; // Release smart pointer before destroying vector;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Release smart pointers before CoUninitialize</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  nodes = NULL;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr = NULL;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  CoUninitialize( );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return 0;</p>
<p>}</p>
<p>Ã‚Â </p>
<p>Ã‚Â </p>
<p>The sort() method uses the utility function std::swap():</p>
<p>Ã‚Â </p>
<p>template&lt;class _Ty&gt; inlineÃ‚Â Ã‚Â Ã‚Â </p>
<p>void swap(_Ty&amp; _Left, _Ty&amp; _Right)Ã‚Â </p>
<p>{Ã‚Â </p>
<p>Ã‚Â // exchange values stored at _Left and _RightÃ‚Â Ã‚Â Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â if (&amp;_Left != &amp;_Right)Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â {Ã‚Â Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â // different, worth swappingÃ‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _Ty _Tmp = _Left;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _Left = _Right;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _Right = _Tmp;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â }</p>
<p>}</p>
<p>Ã‚Â </p>
<p>The if (&amp;_Left != &amp;_Right) line of code calls the overloaded operator &amp; from _com_ptr_t comip.h header file, which returns a NULL interface pointer:</p>
<p>Ã‚Â </p>
<p>Interface** operator&amp;() throw()Ã‚Â Ã‚Â </p>
<p>{ </p>
<p>_Release();</p>
<p>m_pInterface = NULL;</p>
<p>return &amp;m_pInterface;Ã‚Â Ã‚Â  </p>
<p>}
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >Resolution</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>
<p>This is a known issue. </p>
<p>All STL containers, including vector, forbid their elements from overloading operator&amp;().Ã‚Â  (This is C++ Specification 03 23.1/3 The type of objects stored in these components must meet the requirements of CopyConstructible types (20.1.3) and the additional requirements of Assignable types, and 20.1.3/1 requires &amp;t to have type T * and denote the address of t.)</p>
<p>The best solution is to never overload operator&amp;() when using STL containers. If that is not possible (e.g. because the operator overload is coming from code that you don&#8217;t control), an alternative is to wrap the class in another wrapper class that doesn&#8217;t overload operator&amp;() which you can then add to the vector or other container class.Ã‚Â  CAdapt is one example of such a class.Ã‚Â </p>
<p><b>Fixed Sample Code example using CAdapt</b></p>
<p>Ã‚Â </p>
<p>#include stdafx.h</p>
<p>#include &lt;iostream&gt;</p>
<p>#include &lt;vector&gt;</p>
<p>#include &lt;algorithm&gt;</p>
<p>#include &lt;sstream&gt;</p>
<p>#include atlcomcli.h</p>
<p>Ã‚Â </p>
<p>// Create smart pointer wrappers for msxml com object</p>
<p>#import msxml4.dll</p>
<p>Ã‚Â </p>
<p>// Helper Function to create XML</p>
<p>_bstr_t CreateXML()</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nums[] = {1,10,11,12,13,14,15,16,17,18,19,2,20,21,22,23,24,25,26,27,28,29,3,30,31,32,33,34,4,5,6,7,8,9};</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::stringstream tempstr;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt; &lt;NodesCol&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for(int i=0; i&lt;34 ;i++)</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt;  t&lt;Node&gt;&lt;NodeNum&gt; &lt;&lt; nums[i] &lt;&lt; &lt;/NodeNum&gt;&lt;/Node&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  tempstr &lt;&lt; &lt;/NodesCol&gt; &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return static_cast&lt;_bstr_t&gt;(tempstr.str().c_str());</p>
<p>}</p>
<p>Ã‚Â </p>
<p>// Compare Function for std::swap</p>
<p>bool myCompare(MSXML2::IXMLDOMNodePtr&amp; node1, MSXML2::IXMLDOMNodePtr&amp; node2)</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nNode1No(-1),nNode2No(-1);</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if( ( NULL == node1.GetInterfacePtr() ) || ( NULL == node2.GetInterfacePtr() ) )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return false;</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _stscanf_s( node1-&gt;text, _T(%d), &amp;nNode1No );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  _stscanf_s( node2-&gt;text, _T(%d), &amp;nNode2No );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if( nNode1No &lt; nNode2No )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return true;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return false;</p>
<p>};</p>
<p>Ã‚Â </p>
<p>int _tmain(int argc, _TCHAR* argv[])</p>
<p>{</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // A vector of IXMLDOMNode smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::vector&lt;CAdapt&lt;MSXML2::IXMLDOMNodePtr&gt;&gt; vecNodesList;</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  CoInitialize( NULL );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Create and Load the XML document</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  MSXML2::IXMLDOMDocumentPtr docPtr;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr.CreateInstance(__uuidof(MSXML2::DOMDocument40));Ã‚Â Ã‚Â Ã‚Â Ã‚Â  </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr-&gt;loadXML(CreateXML());</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  MSXML2::IXMLDOMNodeListPtr nodes = docPtr-&gt;selectNodes( _T(NodesCol/Node/NodeNum) );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; Before Sorting Nodes &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Initialize the vector of smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for( int i = 0; i &lt; nodes-&gt;length; i++ )</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  int nNodeNo = -1;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  vecNodesList.push_back( nodes-&gt;item[i] );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; nodes-&gt;item[i]-&gt;text &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Sort the vector of smart pointers</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::sort( vecNodesList.begin(), vecNodesList.end(), myCompare );</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Display sorted results</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt;  nAfter Sorting Nodes n &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::vector&lt;CAdapt&lt;MSXML2::IXMLDOMNodePtr&gt;&gt;::iterator iter;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  for(iter = vecNodesList.begin(); iter!=vecNodesList.end();iter++)</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  {</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  if(NULL != (*iter).m_T.GetInterfacePtr())</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; (*iter).m_T-&gt;text &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  else</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  std::cout &lt;&lt; -1 &lt;&lt; std::endl;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  *iter = NULL; // Release smart pointer before destroying vector;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  }</p>
<p>Ã‚Â </p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  // Release smart pointers before CoUninitialize</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  nodes = NULL;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  docPtr = NULL;</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  CoUninitialize( );</p>
<p>Ã‚Â Ã‚Â Ã‚Â Ã‚Â Ã‚Â  return 0;</p>
<p>}
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<h2 class=subTitle id=tocHeadRef><span><a >DISCLAIMER</a></span>
<div class=sectionpreview_closed></div>
</h2>
<div class=sbody>MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE Ã¢â‚¬Å“MATERIALSÃ¢â‚¬Â) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.</p>
<p>TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
</div>
<div class=sbody norollup>
<div class=appliesTo>
<hr /><a id=appliesto></a><br />
<h5>APPLIES TO</h5>
<ul>
<li>Microsoft Visual C++ 2008 Express Edition</li>
</ul>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
<div class=keywords>
<table>
<tr>
<td class=header>
<h5>Keywords:Ã‚Â                             </h5>
</td>
<td class=text>kbnomt kbrapidpub KB967759</td>
</tr>
</table>
</div>
<div class=topOfPage><a href=#top><img src=http://support.microsoft.com/library/images/support/kbgraphics/public/en-us/uparrow.gif alt=>Back to the top</a></div>
</div>
<p></span>					<A name=feedback>&nbsp;</A>                    <br/>				</div>
<h5>Microsoft Knowledge Base Article</h5>
<p class='MsoNormal'>This article contents is Microsoft Copyrighted material.<br />
Microsoft Corporation. All rights reserved. <a href='http://support.microsoft.com/tou/'>Terms of Use</a> | <a href='http://support.microsoft.com/library/toolbar/3.0/trademarks/en-us.mspx'>Trademarks</a></p>
<div class="aizatto_related_posts"><span class="aizatto_related_posts_header" >Related Articles or Pages</span><ul></ul></div>]]></content:encoded>
			<wfw:commentRss>http://ossmall.info/sort-function-of-stl-gives-unexpected-output-when-vector-is-a-type-derived-from-comptrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

