<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>David&#039;s Blog</title>
	<link>http://www.davidmoore.info</link>
	<description>Computer says no</description>
	<lastBuildDate>Thu, 26 Jan 2012 21:49:25 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0.1" -->

	<item>
		<title>Creating a machine account login for SQL Server</title>
		<description><![CDATA[<p>You can create a machine account login for SQL Server with the <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2012/01/27/creating-a-machine-account-login-for-sql-server/">Creating a machine account login for SQL Server</a></span>]]></description>
		<link>http://www.davidmoore.info/2012/01/27/creating-a-machine-account-login-for-sql-server/</link>
			</item>
	<item>
		<title>Deleting and purging items from Team Foundation Server</title>
		<description><![CDATA[<p>When you delete an item from TFS, it’s not actually permanently gone.</p>
<p>You can view deleted items by going to Tools &#62; Options &#62; Source Control &#62; Visual Studio Team Foundation Server and checking the Show deleted items in the Source Control Explorer option:</p>
<p></p>
<p>You can then see folders and files that have been deleted, which allows you <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2011/08/08/deleting-and-purging-items-from-team-foundation-server/">Deleting and purging items from Team Foundation Server</a></span>]]></description>
		<link>http://www.davidmoore.info/2011/08/08/deleting-and-purging-items-from-team-foundation-server/</link>
			</item>
	<item>
		<title>Manually schedule a disk check at next restart</title>
		<description><![CDATA[<p>You can schedule a chkdsk at reboot time for a drive by using the Windows command line utility fsutil.</p>
<p>You do this by setting the &#8220;dirty&#8221; flag for a drive, which marks the drive for a chkdsk when you next reboot.</p>
<p>Usage:</p>

fsutil dirty query &#60;volume pathname&#62;

<p>e.g.</p>

fsutil dirty set C:

<p>You can check if a drive has been marked as <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2011/08/04/manually-schedule-a-disk-check-at-next-restart/">Manually schedule a disk check at next restart</a></span>]]></description>
		<link>http://www.davidmoore.info/2011/08/04/manually-schedule-a-disk-check-at-next-restart/</link>
			</item>
	<item>
		<title>Debugging MSBuild scripts</title>
		<description><![CDATA[<p>If you want to debug an MSBuild script from without Visual Studio, you need to use the /debug command line option.</p>
<p>The trick is that this option is not normally available; you need to set a registry key to enable it.</p>
Enable the MSBuild Debugger
<p>Under the HKLM\Software\Microsoft\MSBuild\4.0 key, create a string value called EnableDebugger with a value of <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2011/07/28/debugging-msbuild-scripts/">Debugging MSBuild scripts</a></span>]]></description>
		<link>http://www.davidmoore.info/2011/07/28/debugging-msbuild-scripts/</link>
			</item>
	<item>
		<title>Generating a type library for Visual Basic 6 ActiveX Components</title>
		<description><![CDATA[<p>When generating setup code or isolation code (for Side by Side assemblies and Registration-free COM), VB6 ActiveX Components can be a little troublesome.</p>
<p>ActiveX exes in particular can be difficult, with the WiX heat tool and various SxS tools not being able to harvest COM registration information from them properly.</p>
<p>A good way of avoiding these problems is <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2011/07/18/generating-a-type-library-for-visual-basic-6-activex-components/">Generating a type library for Visual Basic 6 ActiveX Components</a></span>]]></description>
		<link>http://www.davidmoore.info/2011/07/18/generating-a-type-library-for-visual-basic-6-activex-components/</link>
			</item>
	<item>
		<title>When System.Diagnostics.Process creates a process, it inherits inheritable handles from the parent process.</title>
		<description><![CDATA[<p>This post covers the cause of a bug I ran into at work.</p>
<p>Our application would check for available updates when it started, and if they were found, it would launch the installer directly and exit the application immediately, so that the installer could run without encountering file locks.</p>
<p>The installer was complaining our executable was still locked, <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2011/06/21/when-system-diagnostics-process-creates-a-process-it-inherits-inheritable-handles-from-the-parent-process/">When System.Diagnostics.Process creates a process, it inherits inheritable handles from the parent process.</a></span>]]></description>
		<link>http://www.davidmoore.info/2011/06/21/when-system-diagnostics-process-creates-a-process-it-inherits-inheritable-handles-from-the-parent-process/</link>
			</item>
	<item>
		<title>.NET Decompilers</title>
		<description><![CDATA[Reflector history
<p>The de facto .NET decompiler has been Reflector for what seems like forever.</p>
<p>Reflector was originally developed by Lutz Roeder, and made freely available to the community.</p>
<p>It was acquired by Red Gate Software in August 2008, who promised to maintain it as a free product.</p>
<p>They reneged on this promise in February 2011, stating that Reflector would <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2011/06/20/net-decompilers/">.NET Decompilers</a></span>]]></description>
		<link>http://www.davidmoore.info/2011/06/20/net-decompilers/</link>
			</item>
	<item>
		<title>How to check if the current user is an Administrator (even if UAC is on)</title>
		<description><![CDATA[<p>There may be a scenario where you want to determine from code if the current user is an Administrator.</p>
<p>One example of this which I have had to deal with is checking for software updates.</p>
<p>Say your application contacts a service to see if there is a newer version of the application available; if so, you can download <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2011/06/20/how-to-check-if-the-current-user-is-an-administrator-even-if-uac-is-on/">How to check if the current user is an Administrator (even if UAC is on)</a></span>]]></description>
		<link>http://www.davidmoore.info/2011/06/20/how-to-check-if-the-current-user-is-an-administrator-even-if-uac-is-on/</link>
			</item>
	<item>
		<title>Error building project when referencing native assembly dependency in app.manifest</title>
		<description><![CDATA[<p>If you&#8217;re using an app.manifest, and defining assembly dependencies (i.e. for SxS / Side by side / Reg-free COM etc), you may encounter this error when you build the project:</p>
<p style="padding-left: 30px;">Could not find file &#8216;AssemblyName, Version=x.x.x.x, PublicKeyToken=xxxxxxxxxxx, ProcessorArchitecture=x86, Type=win32&#8242;.</p>
<p>This is even when the native assembly is in place where the project can find it.</p>
Example
<p>For example, <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2011/01/14/error-building-project-when-referencing-native-assembly-dependency-in-app-manifest/">Error building project when referencing native assembly dependency in app.manifest</a></span>]]></description>
		<link>http://www.davidmoore.info/2011/01/14/error-building-project-when-referencing-native-assembly-dependency-in-app-manifest/</link>
			</item>
	<item>
		<title>Running .NET 2 Runtime applications under the .NET 4 Runtime</title>
		<description><![CDATA[<p>In some situations, you might want to run a .NET 2 Runtime application (.NET 2, 3.0, 3.5 SP1 etc) under the .NET 4 Runtime &#8211; without recompiling.</p>
<p>You can configure your app to execute under the .NET 4 runtime by adding these lines to the executable&#8217;s configuration file, under the root  configuration element:</p>
&#60;startup&#62;
  &#60;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/&#62;
&#60;/startup&#62;
<p>Because the security <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2010/12/17/running-net-2-runtime-applications-under-the-net-4-runtime/">Running .NET 2 Runtime applications under the .NET 4 Runtime</a></span>]]></description>
		<link>http://www.davidmoore.info/2010/12/17/running-net-2-runtime-applications-under-the-net-4-runtime/</link>
			</item>
</channel>
</rss>

