<?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>David&#039;s Blog &#187; 2008</title>
	<atom:link href="http://www.davidmoore.info/tag/2008/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidmoore.info</link>
	<description>Computer says no</description>
	<lastBuildDate>Thu, 26 Jan 2012 21:49:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Generating GUIDs from Visual Studio 2008</title>
		<link>http://www.davidmoore.info/2009/09/30/generating-guids-from-visual-studio-2008/</link>
		<comments>http://www.davidmoore.info/2009/09/30/generating-guids-from-visual-studio-2008/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 00:03:22 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[guid]]></category>
		<category><![CDATA[macro]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[paste]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[vs]]></category>
		<category><![CDATA[vs.net]]></category>

		<guid isPermaLink="false">http://www.davidmoore.info/?p=223</guid>
		<description><![CDATA[<p>I find I have to generate GUIDs often (mostly due to using WiX) and the in-built Tools &#62; Create GUID tool is too cumbersome for this.</p>
<p>I found a blog post that has a simple macro you can customize to bind a keyboard shortcut to paste in a new GUID</p>
<p>Here are some full instructions, using their simple <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2009/09/30/generating-guids-from-visual-studio-2008/">Generating GUIDs from Visual Studio 2008</a></span>]]></description>
			<content:encoded><![CDATA[<p>I find I have to generate GUIDs often (mostly due to using WiX) and the in-built <strong>Tools</strong> &gt; <strong>Create GUID</strong> tool is too cumbersome for this.</p>
<p>I found a blog post that has a simple macro you can customize to bind a keyboard shortcut to <a href="http://www.wirwar.com/blog/2007/11/03/generating-guids-in-the-visual-studio-ide/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.wirwar.com');" target="_blank">paste in a new GUID</a></p>
<p>Here are some full instructions, using their simple macro code:</p>
<ol>
<li><strong>Tools</strong> &gt; <strong>Macros</strong> &gt; <strong>Macro Explorer</strong> (or hit <strong>ALT</strong>+<strong>F8</strong>)</li>
<li>Right click <strong>Macros</strong>, choose <strong>New Macro      Project&#8230;</strong></li>
<li>Choose a location for the      Macro project and give it a meaningful name then click <strong>Add</strong></li>
<li>Rename Module1 to something      more meaningful, then double-click to edit the module</li>
<li>Insert the code to paste a      new GUID into the current cursor position / selection:<br />
<code><br />
Public Sub PasteNewGuid()<br />
DTE.ActiveDocument.Selection.Text = "{" &amp; System.Guid.NewGuid().ToString("D").ToUpper() &amp; "}"<br />
End Sub</code></li>
<li>Save the macro project and close the Macro IDE</li>
<li>In Visual Studio: <strong>Tools</strong> &gt; <strong>Options</strong>, select <strong>Environment</strong> &gt; <strong>Keyboard</strong></li>
<li>Find the macro command you      created (you can use the Show commands containing: to search on guid)</li>
<li>Select the command in the      list</li>
<li>Ensure <strong>Use new      shortcut in:</strong> has <strong>Global</strong> selected</li>
<li>Place the cursor in <strong>Press      shortcut keys:</strong> and hit the shortcut (<strong>ALT</strong>+<strong>G</strong> for me)</li>
<li>Hit <strong>OK</strong></li>
<li>Test it out</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.davidmoore.info/2009/09/30/generating-guids-from-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compilation of 2008 Viral Videos</title>
		<link>http://www.davidmoore.info/2008/12/12/compilation-of-2008-viral-videos/</link>
		<comments>http://www.davidmoore.info/2008/12/12/compilation-of-2008-viral-videos/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 21:36:00 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[videogum]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[viral]]></category>

		<guid isPermaLink="false">http://davidmoore.info/?p=62</guid>
		<description><![CDATA[<span style="color:#777"> . . . &#8594; Read More: <a href="http://www.davidmoore.info/2008/12/12/compilation-of-2008-viral-videos/">Compilation of 2008 Viral Videos</a></span>]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="448" height="356" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="opaque" /><param name="allowFullScreen" value="true" /><param name="src" value="http://videogum.com/v/5l6uI1VbM4ULw" /><embed type="application/x-shockwave-flash" width="448" height="356" src="http://videogum.com/v/5l6uI1VbM4ULw" allowfullscreen="true" wmode="opaque"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidmoore.info/2008/12/12/compilation-of-2008-viral-videos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

