<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>ZarkBlog</title>
        <link>http://geekswithblogs.net/ZarkBlog/Default.aspx</link>
        <description>You had me at "Hello World"</description>
        <language>en-US</language>
        <copyright>Greg Zarkis</copyright>
        <managingEditor>gzarkis@ameritech.net</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <image>
            <title>ZarkBlog</title>
            <url>http://geekswithblogs.net/images/RSS2Image.gif</url>
            <link>http://geekswithblogs.net/ZarkBlog/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>From the Dept. of Redundancy Dept.</title>
            <category>C#</category>
            <category>.NET</category>
            <link>http://geekswithblogs.net/ZarkBlog/archive/2009/02/05/from-the-dept.-of-redundancy-dept.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/ZarkBlog/archive/2009/02/05/from-the-dept.-of-redundancy-dept.aspx'&gt;http://geekswithblogs.net/ZarkBlog/archive/2009/02/05/from-the-dept.-of-redundancy-dept.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Please stop coding like this. It hurts my eyes.&lt;/p&gt;
&lt;div style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; BACKGROUND: black; COLOR: white; FONT-FAMILY: Consolas"&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   62&lt;/span&gt; &lt;span style="COLOR: gray"&gt;///&lt;/span&gt;&lt;span style="COLOR: green"&gt; &lt;/span&gt;&lt;span style="COLOR: gray"&gt;&amp;lt;summary&amp;gt;&lt;/span&gt;&lt;span style="COLOR: green"&gt;Check whether any Foobar is available&lt;/span&gt;&lt;span style="COLOR: gray"&gt;&amp;lt;/summary&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   63&lt;/span&gt; &lt;span style="COLOR: gray"&gt;///&lt;/span&gt;&lt;span style="COLOR: green"&gt; &lt;/span&gt;&lt;span style="COLOR: gray"&gt;&amp;lt;returns&amp;gt;&lt;/span&gt;&lt;span style="COLOR: green"&gt;True / False based on if Foobar is there or not&lt;/span&gt;&lt;span style="COLOR: gray"&gt;&amp;lt;/returns&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   64&lt;/span&gt; &lt;span style="COLOR: #cc7832"&gt;private&lt;/span&gt; &lt;span style="COLOR: #cc7832"&gt;bool&lt;/span&gt; CheckForFoobar()&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   65&lt;/span&gt; {&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   66&lt;/span&gt;    &lt;span style="COLOR: #cc7832"&gt;if&lt;/span&gt; (FoobarHelper.CheckForFoobar() == &lt;span style="COLOR: #cc7832"&gt;true&lt;/span&gt;)&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   67&lt;/span&gt;    {&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   68&lt;/span&gt;        &lt;span style="COLOR: #cc7832"&gt;return&lt;/span&gt; &lt;span style="COLOR: #cc7832"&gt;true&lt;/span&gt;;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   69&lt;/span&gt;    }&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   70&lt;/span&gt;    &lt;span style="COLOR: #cc7832"&gt;else&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   71&lt;/span&gt;    {&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   72&lt;/span&gt;        &lt;span style="COLOR: #cc7832"&gt;return&lt;/span&gt; &lt;span style="COLOR: #cc7832"&gt;false&lt;/span&gt;;&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   73&lt;/span&gt;    }&lt;/p&gt;
&lt;p style="MARGIN: 0px"&gt;&lt;span style="FONT-WEIGHT: normal; COLOR: #2b91af"&gt;   74&lt;/span&gt; }&lt;/p&gt;
&lt;/div&gt; &lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/129230.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Greg Zarkis</dc:creator>
            <guid>http://geekswithblogs.net/ZarkBlog/archive/2009/02/05/from-the-dept.-of-redundancy-dept.aspx</guid>
            <pubDate>Thu, 05 Feb 2009 21:55:00 GMT</pubDate>
            <comments>http://geekswithblogs.net/ZarkBlog/archive/2009/02/05/from-the-dept.-of-redundancy-dept.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/ZarkBlog/comments/commentRss/129230.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/ZarkBlog/services/trackbacks/129230.aspx</trackback:ping>
        </item>
        <item>
            <title>Text Template Transformation Toolkit (T4)</title>
            <category>.NET</category>
            <category>C#</category>
            <link>http://geekswithblogs.net/ZarkBlog/archive/2008/04/15/text-template-transformation-toolkit-t4.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/ZarkBlog/archive/2008/04/15/text-template-transformation-toolkit-t4.aspx'&gt;http://geekswithblogs.net/ZarkBlog/archive/2008/04/15/text-template-transformation-toolkit-t4.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;On a recent episode of .NET Rocks, I heard a quote along the lines of "Is it easier to write the code that writes the code or to write the code yourself?" If you want to generate some code with a tool, then this post is for you.&lt;/p&gt;
&lt;p&gt;The T4 has to be the most popular tool that I hear so little about. Like CodeSmith, T4 is a template based code generation engine using ASP-like syntax. The best thing about T4 is that if you have Visual Studio 2008 installed, you already have it. I originally intended to write a brief overview here, but &lt;a target="_blank" href="http://www.olegsych.com/"&gt;Oleg Sych&lt;/a&gt; has already written an *excellent* overview &lt;a target="_blank" href="http://www.olegsych.com/2007/12/text-template-transformation-toolkit/"&gt;here&lt;/a&gt;. I could hardly top that.&lt;/p&gt;
&lt;p&gt;Madhavrao has also complied a list of links to MSDN articles related to T4 &lt;a target="_blank" href="http://madhavrao.com/2008/03/15/t4-how-to/"&gt;here&lt;/a&gt;.&lt;/p&gt; &lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/121276.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Greg Zarkis</dc:creator>
            <guid>http://geekswithblogs.net/ZarkBlog/archive/2008/04/15/text-template-transformation-toolkit-t4.aspx</guid>
            <pubDate>Wed, 16 Apr 2008 02:30:56 GMT</pubDate>
            <comments>http://geekswithblogs.net/ZarkBlog/archive/2008/04/15/text-template-transformation-toolkit-t4.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/ZarkBlog/comments/commentRss/121276.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/ZarkBlog/services/trackbacks/121276.aspx</trackback:ping>
        </item>
        <item>
            <title>VPC to VMWare Mouse Problems</title>
            <category>Virtuals</category>
            <link>http://geekswithblogs.net/ZarkBlog/archive/2008/01/14/vpc-to-vmware-mouse-problems.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/ZarkBlog/archive/2008/01/14/vpc-to-vmware-mouse-problems.aspx'&gt;http://geekswithblogs.net/ZarkBlog/archive/2008/01/14/vpc-to-vmware-mouse-problems.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Thanks to Virtual PC's inability to utilize USB (insert the 'Old Bit' siren sound) and my need for USB support in my virtual machines, I'm in the process of moving some VPC images to &lt;em&gt;VMWare Workstation 6&lt;/em&gt;. Recently, I've converted an existing Virtual PC based XP image to VMWare using the the VMWare 3.0.2 converter with no issues. No issues that is until it was time to install the VMWare tools on my recently converted XP machine. The install went fine, but after the required virtual machine reboot, I found that my mouse pointer was more or less stuck in the bottom right corner of the guest's screen. The mouse pointer itself moved around freely, but any clicks hit a target off screen. Not a very useful "enhancement". &lt;/p&gt;
&lt;p&gt;Well, it turns out that this may be an issue between the &lt;em&gt;Virtual PC Additions&lt;/em&gt; that were already installed on the VPC based image and the &lt;em&gt;VMWare Tools&lt;/em&gt;. Specifically, the mouse driver. After some trial and error, I've found two workarounds to this:&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Remove Virtual PC Additions from the virtual &lt;strong&gt;before&lt;/strong&gt; conversion to VMWare. &lt;/li&gt;
    &lt;li&gt;Install &lt;em&gt;VMWare Tools&lt;/em&gt; on the converted virtual &lt;strong&gt;without&lt;/strong&gt; the VMWare Mouse driver. This means that you should install the VMWare Tools while logged into the existing virtual rather than silently via the VMWare menu. &lt;br /&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;p align="center"&gt;&lt;a href="http://gwb.blob.core.windows.net/zarkblog/WindowsLiveWriter/VPCtoVMWareMouseProblems_957D/CustomInstall_2.jpg"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" border="0" alt="CustomInstall" width="391" height="302" src="http://gwb.blob.core.windows.net/zarkblog/WindowsLiveWriter/VPCtoVMWareMouseProblems_957D/CustomInstall_thumb.jpg" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/118526.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Greg Zarkis</dc:creator>
            <guid>http://geekswithblogs.net/ZarkBlog/archive/2008/01/14/vpc-to-vmware-mouse-problems.aspx</guid>
            <pubDate>Mon, 14 Jan 2008 15:39:24 GMT</pubDate>
            <comments>http://geekswithblogs.net/ZarkBlog/archive/2008/01/14/vpc-to-vmware-mouse-problems.aspx#feedback</comments>
            <slash:comments>25</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/ZarkBlog/comments/commentRss/118526.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/ZarkBlog/services/trackbacks/118526.aspx</trackback:ping>
        </item>
        <item>
            <title>More MVC Framework for ASP.NET</title>
            <category>.NET</category>
            <category>C#</category>
            <category>MVC</category>
            <link>http://geekswithblogs.net/ZarkBlog/archive/2007/12/06/more-mvc-framework-for-asp.net.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/ZarkBlog/archive/2007/12/06/more-mvc-framework-for-asp.net.aspx'&gt;http://geekswithblogs.net/ZarkBlog/archive/2007/12/06/more-mvc-framework-for-asp.net.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;If you haven't been living under a mushroom, you're most likely aware of Scott Guthrie's posts on Microsoft's new ASP.NET MVC Framework. If you are indeed living under a mushroom, then you can check out &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/12/06/asp-net-mvc-framework-part-3-passing-viewdata-from-controllers-to-views.aspx"&gt;Part 3 right here&lt;/a&gt;.&lt;/p&gt; &lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/117437.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Greg Zarkis</dc:creator>
            <guid>http://geekswithblogs.net/ZarkBlog/archive/2007/12/06/more-mvc-framework-for-asp.net.aspx</guid>
            <pubDate>Thu, 06 Dec 2007 18:31:22 GMT</pubDate>
            <comments>http://geekswithblogs.net/ZarkBlog/archive/2007/12/06/more-mvc-framework-for-asp.net.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/ZarkBlog/comments/commentRss/117437.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/ZarkBlog/services/trackbacks/117437.aspx</trackback:ping>
        </item>
        <item>
            <title>MVC Framework for ASP.NET bits</title>
            <category>.NET</category>
            <link>http://geekswithblogs.net/ZarkBlog/archive/2007/11/12/mvc-framework-for-asp.net-bits.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/ZarkBlog/archive/2007/11/12/mvc-framework-for-asp.net-bits.aspx'&gt;http://geekswithblogs.net/ZarkBlog/archive/2007/11/12/mvc-framework-for-asp.net-bits.aspx&lt;/a&gt;&lt;/p&gt;You may have heard about it, now take a peek at it. &lt;a href="http://www.hanselman.com/blog/"&gt;Scott Hanselman&lt;/a&gt; has posted some MVC bits from DevConnections. You can read about it &lt;a href="http://www.hanselman.com/blog/DevConnectionsAndPNPSummitMVCDemosSourceCode.aspx"&gt;here&lt;/a&gt;. There's not a lot yet, but word is that a CTP is around the corner. &lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/116816.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Greg Zarkis</dc:creator>
            <guid>http://geekswithblogs.net/ZarkBlog/archive/2007/11/12/mvc-framework-for-asp.net-bits.aspx</guid>
            <pubDate>Tue, 13 Nov 2007 03:57:03 GMT</pubDate>
            <comments>http://geekswithblogs.net/ZarkBlog/archive/2007/11/12/mvc-framework-for-asp.net-bits.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/ZarkBlog/comments/commentRss/116816.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/ZarkBlog/services/trackbacks/116816.aspx</trackback:ping>
        </item>
        <item>
            <title>Composite UI Resources</title>
            <category>CAB</category>
            <category>SCSF</category>
            <category>C#</category>
            <category>Continuous Integration</category>
            <link>http://geekswithblogs.net/ZarkBlog/archive/2007/08/03/composite-ui-resources.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/ZarkBlog/archive/2007/08/03/composite-ui-resources.aspx'&gt;http://geekswithblogs.net/ZarkBlog/archive/2007/08/03/composite-ui-resources.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I've been struggling to get a post out here, so let me begin with a quick list of some of my favorite CAB resources; &lt;/p&gt;
&lt;p&gt;Szymon Kobalczyk's Blog:&lt;br /&gt;
&lt;a href="http://geekswithblogs.net/kobush/archive/2006/01/06/65033.aspx"&gt;Understanding Composite UI Application Block &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;CabPedia&lt;br /&gt;
&lt;a href="http://www.cabpedia.com/index.php?title=Composite_UI_Application_Block"&gt;Getting started with CAB&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.cabpedia.com/index.php?title=Where_to_start%3F"&gt;Getting started with SCSF&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.codeplex.com/smartclient/"&gt;CodePlex&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://codebetter.com/blogs/jeremy.miller/archive/2007/07/25/the-build-your-own-cab-series-table-of-contents.aspx"&gt;Jeremy Miller's awesome "Build your own CAB" series&lt;/a&gt;, which &lt;a href="http://weblogs.asp.net/bsimser/default.aspx"&gt;Bil Simser&lt;/a&gt; points out to &lt;a href="http://weblogs.asp.net/bsimser/archive/2007/05/29/efficiency-vs-effectiveness-the-cab-debate-continues.aspx"&gt;'not look at it as "how to replace CAB" but rather "how to learn what it takes to build CAB"'&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;That's the short list off the top of my head for now. Hopefully between iterations and beta releases, I'll find more time to share my experiences with developing a Smart Client app using &lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/cab.asp"&gt;CAB&lt;/a&gt;, &lt;a href="http://www.codeplex.com/smartclient"&gt;SCSF&lt;/a&gt;, &lt;a href="http://cruisecontrol.net/"&gt;CruiseControl.NET&lt;/a&gt;, &lt;a href="http://svnbook.red-bean.com/"&gt;Subversion&lt;/a&gt;, and all the other little things that make this stuff fun. &lt;/p&gt; &lt;img src="http://geekswithblogs.net/ZarkBlog/aggbug/114366.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Greg Zarkis</dc:creator>
            <guid>http://geekswithblogs.net/ZarkBlog/archive/2007/08/03/composite-ui-resources.aspx</guid>
            <pubDate>Fri, 03 Aug 2007 04:07:34 GMT</pubDate>
            <comments>http://geekswithblogs.net/ZarkBlog/archive/2007/08/03/composite-ui-resources.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/ZarkBlog/comments/commentRss/114366.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/ZarkBlog/services/trackbacks/114366.aspx</trackback:ping>
        </item>
    </channel>
</rss>