<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" 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:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>This Old Code - CSharp</title>
    <link>http://thisoldcode.net/</link>
    <description>(Architecture + Development) ^ Testing = Product </description>
    <language>en-us</language>
    <copyright>Aaron Fischer</copyright>
    <lastBuildDate>Tue, 22 Jan 2008 01:18:07 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.0.7226.0</generator>
    <managingEditor>aaron@microfisch.com</managingEditor>
    <webMaster>aaron@microfisch.com</webMaster>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=8ce54b19-987c-4d85-9a0b-87a2f2eea18a</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,8ce54b19-987c-4d85-9a0b-87a2f2eea18a.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,8ce54b19-987c-4d85-9a0b-87a2f2eea18a.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=8ce54b19-987c-4d85-9a0b-87a2f2eea18a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Microsoft's new agile pace is just killing me.  I'm glad that sp1 will be out
some time in the<span style="background-color: #000000"></span> foreseeable future
but.  I don't want thing about upgrading to vs 10 in another 18 months.  
</p>
        <a href="http://blogs.msdn.com/sreekarc/archive/2008/01/21/c-debugging-improvements-for-vs-2008-sp1.aspx">C#
Debugging Improvements for VS 2008 SP1- Part 1</a>
        <p>
  
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=8ce54b19-987c-4d85-9a0b-87a2f2eea18a" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>VS 2008 Sp1</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,8ce54b19-987c-4d85-9a0b-87a2f2eea18a.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,8ce54b19-987c-4d85-9a0b-87a2f2eea18a.aspx</link>
      <pubDate>Tue, 22 Jan 2008 01:18:07 GMT</pubDate>
      <description>&lt;p&gt;
Microsoft's new agile pace is just killing me.&amp;nbsp; I'm glad that sp1 will be out
some time in the&lt;span style="background-color: #000000"&gt;&lt;/span&gt; foreseeable future
but.&amp;nbsp; I don't want thing about upgrading to vs 10 in another 18 months.&amp;nbsp; 
&lt;/p&gt;
&lt;a href="http://blogs.msdn.com/sreekarc/archive/2008/01/21/c-debugging-improvements-for-vs-2008-sp1.aspx"&gt;C#
Debugging Improvements for VS 2008 SP1- Part 1&lt;/a&gt; 
&lt;p&gt;
&amp;nbsp; 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=8ce54b19-987c-4d85-9a0b-87a2f2eea18a" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,8ce54b19-987c-4d85-9a0b-87a2f2eea18a.aspx</comments>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>Microsoft</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=8524545c-8092-4025-a253-a6af967eca02</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,8524545c-8092-4025-a253-a6af967eca02.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,8524545c-8092-4025-a253-a6af967eca02.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=8524545c-8092-4025-a253-a6af967eca02</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Doug Stewart has <a href="http://blogs.msdn.com/dougste/archive/2007/09/06/version-history-of-the-clr-2-0.aspx">posted
an extensive list of CRL 2.0 bug (hot)fixes</a>.  Its worth a look if your Dot
Net 2.0 app is having issues.  Thanks for putting together such a comprehensive
list Doug.  
</p>
        <p>
I have seen this issue on a QA server <a href="http://support.microsoft.com/kb/930771">The
managed heap becomes corrupted when you run a program that is built by using the Microsoft
.NET Framework 2.0</a> good to see its not my code and that there is a fix for it.
</p>
        <p>
Some of the Hot fix support articles do leave a little something to be desired though
I would like to see Microsoft spend the time to detail the cause for each issue so
I can better evaluate my need for a given fix.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=8524545c-8092-4025-a253-a6af967eca02" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>A listing of CRL 2.0 Hot Fixes</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,8524545c-8092-4025-a253-a6af967eca02.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,8524545c-8092-4025-a253-a6af967eca02.aspx</link>
      <pubDate>Thu, 06 Sep 2007 14:27:40 GMT</pubDate>
      <description>&lt;p&gt;
Doug Stewart has &lt;a href="http://blogs.msdn.com/dougste/archive/2007/09/06/version-history-of-the-clr-2-0.aspx"&gt;posted
an extensive list of CRL 2.0 bug (hot)fixes&lt;/a&gt;.&amp;nbsp; Its worth a look if your Dot
Net 2.0 app is having issues.&amp;nbsp; Thanks for putting together such a comprehensive
list Doug.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
I have seen this issue on a QA server &lt;a href="http://support.microsoft.com/kb/930771"&gt;The
managed heap becomes corrupted when you run a program that is built by using the Microsoft
.NET Framework 2.0&lt;/a&gt; good to see its not my code and that there is a fix for it.
&lt;/p&gt;
&lt;p&gt;
Some of the Hot fix support articles do leave a little something to be desired though
I would like to see Microsoft spend the time to detail the cause for each issue so
I can better evaluate my need for a given fix.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=8524545c-8092-4025-a253-a6af967eca02" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,8524545c-8092-4025-a253-a6af967eca02.aspx</comments>
      <category>ASP.NET</category>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>Microsoft</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=d676478c-a7a3-4933-a6ac-dcd3ef1c2c48</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,d676478c-a7a3-4933-a6ac-dcd3ef1c2c48.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,d676478c-a7a3-4933-a6ac-dcd3ef1c2c48.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=d676478c-a7a3-4933-a6ac-dcd3ef1c2c48</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I was looking for a way to pass a parameter by reference today.  More specifically
the setter.
</p>
        <p>
I found a couple interesting blog posts
</p>
        <p>
          <a title="http://geekswithblogs.net/akraus1/archive/2006/02/10/69047.aspx" href="http://geekswithblogs.net/akraus1/archive/2006/02/10/69047.aspx">http://geekswithblogs.net/akraus1/archive/2006/02/10/69047.aspx</a>
        </p>
        <p>
notice the comment by Tedesco.
</p>
        <p>
He offers a nice way to do this via an anonymous delegate.
</p>
        <p>
        </p>
        <pre class="code">
          <span style="color: rgb(222, 222, 203);">
            <span style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;">
            </span>
            <span style="color: rgb(91, 105, 106);">public</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(91, 105, 106);">delegate</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(91, 105, 106);">void</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(140, 0, 84);">InsertString</span>
            <span style="color: rgb(222, 222, 203);">( </span>
            <span style="color: rgb(201, 199, 167);">System</span>
            <span style="color: rgb(150, 120, 120);">.</span>
            <span style="color: rgb(121, 151, 84);">String</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(201, 199, 167);">param</span>
            <span style="color: rgb(222, 222, 203);"> );<br /></span>
            <span style="color: rgb(91, 105, 106);">public</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(91, 105, 106);">partial</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(91, 105, 106);">class</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(121, 151, 84);">Bird<br /></span>
            <span style="color: rgb(222, 222, 203);"> {<br /></span>
            <span style="color: rgb(91, 105, 106);">public</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(91, 105, 106);">void</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(201, 199, 167);">FileToDb</span>
            <span style="color: rgb(222, 222, 203);">( </span>
            <span style="color: rgb(91, 105, 106);">int</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(201, 199, 167);">x</span>
            <span style="color: rgb(222, 222, 203);"> )<br />
{<br /></span>
            <span style="color: rgb(201, 199, 167);">FillEntityColumn</span>
            <span style="color: rgb(222, 222, 203);">( </span>
            <span style="color: rgb(91, 105, 106);">delegate</span>
            <span style="color: rgb(222, 222, 203);">( </span>
            <span style="color: rgb(201, 199, 167);">System</span>
            <span style="color: rgb(150, 120, 120);">.</span>
            <span style="color: rgb(121, 151, 84);">String</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(201, 199, 167);">value</span>
            <span style="color: rgb(222, 222, 203);"> )<br />
{<br /></span>
            <span style="color: rgb(201, 199, 167);">tExtra</span>
            <span style="color: rgb(150, 120, 120);">.</span>
            <span style="color: rgb(201, 199, 167);">Text</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(150, 120, 120);">=</span>
            <span style="color: rgb(222, 222, 203);">
            </span>
            <span style="color: rgb(201, 199, 167);">value</span>
            <span style="color: rgb(222, 222, 203);">;<br />
} );<br />
}<br />
} </span>
          </span>
        </pre>
        <a href="http://11011.net/software/vspaste">
        </a>
        <p>
So we actual pass the FillEntityColumn method an anonymous delegate which then sets
the property.
</p>
Now in vb you can write<p></p><pre class="code"><span style="color: rgb(222, 222, 203);"><span style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"></span><span style="color: rgb(91, 105, 106);">Private</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">Sub</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">Button1_Click</span><span style="color: rgb(222, 222, 203);">(</span><span style="color: rgb(91, 105, 106);">ByVal</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">sender</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">As</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">System</span><span style="color: rgb(222, 222, 203);">.Object, </span><span style="color: rgb(91, 105, 106);">ByVal</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">e</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">As</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">System</span><span style="color: rgb(222, 222, 203);">.</span><span style="color: rgb(201, 199, 167);">EventArgs</span><span style="color: rgb(222, 222, 203);">) </span><span style="color: rgb(91, 105, 106);">Handles</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">Button1</span><span style="color: rgb(222, 222, 203);">.</span><span style="color: rgb(201, 199, 167);">Click<br /><br /></span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">testme</span><span style="color: rgb(222, 222, 203);">(</span><span style="color: rgb(201, 199, 167);">TextBox1</span><span style="color: rgb(222, 222, 203);">.</span><span style="color: rgb(201, 199, 167);">Text</span><span style="color: rgb(222, 222, 203);">)<br /></span><span style="color: rgb(91, 105, 106);">End</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">Sub<br /></span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">Sub</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">testme</span><span style="color: rgb(222, 222, 203);">(</span><span style="color: rgb(91, 105, 106);">ByRef</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">s</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">As</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">String</span><span style="color: rgb(222, 222, 203);">)<br /></span><span style="color: rgb(201, 199, 167);">s</span><span style="color: rgb(222, 222, 203);"> = </span><span style="color: rgb(140, 112, 80);">"hello"<br /></span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">End</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">Sub<br /></span></span></pre><a href="http://11011.net/software/vspaste"></a><p>
which a commenter on <a title="http://musingmarc.blogspot.com/2006/04/tale-of-two-implementations.html" href="http://musingmarc.blogspot.com/2006/04/tale-of-two-implementations.html">http://musingmarc.blogspot.com/2006/04/tale-of-two-implementations.html</a> eluded
to.  But in vb you still cannot pass a Property by reference, at least not really.  Take
a look what vb generates into il.
</p><pre class="code"><span style="color: rgb(222, 222, 203);"><span style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"></span><span style="color: rgb(91, 105, 106);">Private</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">Sub</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">Button1_Click</span><span style="color: rgb(222, 222, 203);">(</span><span style="color: rgb(91, 105, 106);">ByVal</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">sender</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">As</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">Object</span><span style="color: rgb(222, 222, 203);">, </span><span style="color: rgb(91, 105, 106);">ByVal</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">e</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">As</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">EventArgs</span><span style="color: rgb(222, 222, 203);">)<br /></span><span style="color: rgb(91, 105, 106);">Dim</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">VB$t_ref$S0</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">As</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">TextBox</span><span style="color: rgb(222, 222, 203);"> = </span><span style="color: rgb(91, 105, 106);">Me</span><span style="color: rgb(222, 222, 203);">.</span><span style="color: rgb(201, 199, 167);">TextBox1<br /></span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">Dim</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(201, 199, 167);">VB$t_string$S0</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">As</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">String</span><span style="color: rgb(222, 222, 203);"> = </span><span style="color: rgb(201, 199, 167);">VB$t_ref$S0</span><span style="color: rgb(222, 222, 203);">.</span><span style="color: rgb(201, 199, 167);">Text<br /></span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">Me</span><span style="color: rgb(222, 222, 203);">.</span><span style="color: rgb(201, 199, 167);">testme</span><span style="color: rgb(222, 222, 203);">((</span><span style="color: rgb(201, 199, 167);">VB$t_string$S0</span><span style="color: rgb(222, 222, 203);">))<br /></span><span style="color: rgb(201, 199, 167);">VB$t_ref$S0</span><span style="color: rgb(222, 222, 203);">.</span><span style="color: rgb(201, 199, 167);">Text</span><span style="color: rgb(222, 222, 203);"> = </span><span style="color: rgb(201, 199, 167);">VB$t_string$S0<br /></span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">End</span><span style="color: rgb(222, 222, 203);"></span><span style="color: rgb(91, 105, 106);">Sub<br /></span></span></pre><a href="http://11011.net/software/vspaste"></a> As you can see vb is writing some
code for you which is nice, but we are still not passing the property by ref. 
<br />
   -<a href="http://blogs.msdn.com/jmstall/archive/2006/02/09/property-by-Ref.aspx">Mike
has also talked about the want of passing parameters</a>. ( the same misguided comment
that vb supports passing parameters by ref)<br /><img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=d676478c-a7a3-4933-a6ac-dcd3ef1c2c48" /><br /><hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Setting a property via anonymous delegates</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,d676478c-a7a3-4933-a6ac-dcd3ef1c2c48.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,d676478c-a7a3-4933-a6ac-dcd3ef1c2c48.aspx</link>
      <pubDate>Wed, 25 Jul 2007 19:27:21 GMT</pubDate>
      <description>&lt;p&gt;
I was looking for a way to pass a parameter by reference today.&amp;nbsp; More specifically
the setter.
&lt;/p&gt;
&lt;p&gt;
I found a couple interesting blog posts
&lt;/p&gt;
&lt;p&gt;
&lt;a title="http://geekswithblogs.net/akraus1/archive/2006/02/10/69047.aspx" href="http://geekswithblogs.net/akraus1/archive/2006/02/10/69047.aspx"&gt;http://geekswithblogs.net/akraus1/archive/2006/02/10/69047.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
notice the comment by Tedesco.
&lt;/p&gt;
&lt;p&gt;
He offers a nice way to do this via an anonymous delegate.
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;&lt;span style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;public&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;delegate&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;void&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(140, 0, 84);"&gt;InsertString&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;( &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(150, 120, 120);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(121, 151, 84);"&gt;String&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;param&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; );&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;public&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;partial&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;class&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(121, 151, 84);"&gt;Bird&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; {&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;public&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;void&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;FileToDb&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;( &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;int&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;x&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; )&lt;br&gt;
{&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;FillEntityColumn&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;( &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;delegate&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;( &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(150, 120, 120);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(121, 151, 84);"&gt;String&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; )&lt;br&gt;
{&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;tExtra&lt;/span&gt;&lt;span style="color: rgb(150, 120, 120);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;Text&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(150, 120, 120);"&gt;=&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;value&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;;&lt;br&gt;
} );&lt;br&gt;
}&lt;br&gt;
} &lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt; 
&lt;p&gt;
So we actual pass the FillEntityColumn method an anonymous delegate which then sets
the property.
&lt;/p&gt;
Now in vb you can write&lt;p&gt;
&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;&lt;span style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Private&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Sub&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;Button1_Click&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;ByVal&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;sender&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;As&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;.Object, &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;ByVal&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;e&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;As&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;System&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;EventArgs&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;) &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Handles&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;Button1&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;Click&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;testme&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;TextBox1&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;Text&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;)&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;End&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Sub&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Sub&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;testme&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;ByRef&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;s&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;As&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;String&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;)&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;s&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; = &lt;/span&gt;&lt;span style="color: rgb(140, 112, 80);"&gt;"hello"&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;End&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Sub&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt; 
&lt;p&gt;
which a commenter on &lt;a title="http://musingmarc.blogspot.com/2006/04/tale-of-two-implementations.html" href="http://musingmarc.blogspot.com/2006/04/tale-of-two-implementations.html"&gt;http://musingmarc.blogspot.com/2006/04/tale-of-two-implementations.html&lt;/a&gt;&amp;nbsp;eluded
to.&amp;nbsp; But in vb you still cannot pass a Property by reference, at least not really.&amp;nbsp;&amp;nbsp;Take
a look what&amp;nbsp;vb generates into il.
&lt;/p&gt;
&lt;pre class="code"&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;&lt;span style="background: rgb(0, 0, 0) none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Private&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Sub&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;Button1_Click&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;(&lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;ByVal&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;sender&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;As&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Object&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;, &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;ByVal&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;e&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;As&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;EventArgs&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;)&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Dim&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;VB$t_ref$S0&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;As&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;TextBox&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; = &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Me&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;TextBox1&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Dim&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;VB$t_string$S0&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;As&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;String&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; = &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;VB$t_ref$S0&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;Text&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Me&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;testme&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;((&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;VB$t_string$S0&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;))&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;VB$t_ref$S0&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt;.&lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;Text&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; = &lt;/span&gt;&lt;span style="color: rgb(201, 199, 167);"&gt;VB$t_string$S0&lt;br&gt;
&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;End&lt;/span&gt;&lt;span style="color: rgb(222, 222, 203);"&gt; &lt;/span&gt;&lt;span style="color: rgb(91, 105, 106);"&gt;Sub&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;a href="http://11011.net/software/vspaste"&gt;&lt;/a&gt; As you can see vb is writing some
code for you which is nice, but we are still not passing the&amp;nbsp;property by&amp;nbsp;ref. 
&lt;br&gt;
&amp;nbsp;&amp;nbsp; -&lt;a href="http://blogs.msdn.com/jmstall/archive/2006/02/09/property-by-Ref.aspx"&gt;Mike
has also talked about the want of passing parameters&lt;/a&gt;. ( the same misguided comment
that vb supports passing parameters by ref)&lt;br&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=d676478c-a7a3-4933-a6ac-dcd3ef1c2c48" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,d676478c-a7a3-4933-a6ac-dcd3ef1c2c48.aspx</comments>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>VB</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=1055c19f-d367-44b3-add0-c58a274f0fff</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,1055c19f-d367-44b3-add0-c58a274f0fff.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,1055c19f-d367-44b3-add0-c58a274f0fff.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=1055c19f-d367-44b3-add0-c58a274f0fff</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Scott posted a nice article <a href="http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx">Tip/Trick:
Creating Packaged ASP.NET Setup Programs with VS 2005</a>  for deploying your
Visual Studio 2005 project.  While Scott's article is focused on deploying to
a customer I have found those scenarios to be beyond what VS offers and requires Install
shield.  I do this this post is a handy trick for moving your project from dev
to QA to staging maybe even production.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=1055c19f-d367-44b3-add0-c58a274f0fff" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Packaged ASP.NET Programs</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,1055c19f-d367-44b3-add0-c58a274f0fff.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,1055c19f-d367-44b3-add0-c58a274f0fff.aspx</link>
      <pubDate>Fri, 15 Jun 2007 22:02:29 GMT</pubDate>
      <description>&lt;p&gt;
Scott posted a nice article &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/06/15/tip-trick-creating-packaged-asp-net-setup-programs-with-vs-2005.aspx"&gt;Tip/Trick:
Creating Packaged ASP.NET Setup Programs with VS 2005&lt;/a&gt;&amp;nbsp; for deploying your
Visual Studio 2005 project.&amp;nbsp; While Scott's article is focused on deploying to
a customer I have found those scenarios to be beyond what VS offers and requires Install
shield.&amp;nbsp; I do this this post is a handy trick for moving your project from dev
to QA to staging maybe even production.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=1055c19f-d367-44b3-add0-c58a274f0fff" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,1055c19f-d367-44b3-add0-c58a274f0fff.aspx</comments>
      <category>ASP.NET</category>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>Microsoft</category>
      <category>VB</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=05a49754-3d61-4942-9f8b-544e1fadfe0d</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,05a49754-3d61-4942-9f8b-544e1fadfe0d.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,05a49754-3d61-4942-9f8b-544e1fadfe0d.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=05a49754-3d61-4942-9f8b-544e1fadfe0d</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
start by having a solution with two projects.
</p>
        <p>
          <a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B5%5D.png" atomicselection="true">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="240" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B4%5D.png" width="239" border="0" />
          </a>
        </p>
        <p>
In the solution exploder window right click the solution and choose add New or existing
item.
</p>
        <p>
          <a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B1%5D.png" atomicselection="true">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="200" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D.png" width="240" border="0" />
          </a>
        </p>
        <p>
 
</p>
        <p>
For this how two we will add a new c# class
</p>
        <p>
          <a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B3%5D.png" atomicselection="true">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="150" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B2%5D.png" width="240" border="0" />
          </a>
        </p>
        <p>
click add.  Visual studio will create a new suborder under the solution called
"Solution Items" Class1.cs will be in this folder.
</p>
        <p>
          <a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B7%5D.png" atomicselection="true">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="240" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B6%5D.png" width="210" border="0" />
          </a>
        </p>
        <p>
now select one of your projects and right click select add existing item.  Navigate
to your solutions directory and select Class1.cs
</p>
        <p>
click the drop down arrow next to the add button
</p>
        <p>
          <a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B13%5D.png" atomicselection="true">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="160" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B12%5D.png" width="240" border="0" />
          </a>
        </p>
        <p>
select add as link
</p>
        <p>
          <a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B15%5D.png" atomicselection="true">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="132" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B14%5D.png" width="240" border="0" />
          </a>
        </p>
        <p>
You will now have a shared link to a common solution file/class
</p>
        <p>
          <a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B17%5D.png" atomicselection="true">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="240" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B16%5D.png" width="179" border="0" />
          </a>
        </p>
        <p>
repeat for each project you wish to add this file/class to.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=05a49754-3d61-4942-9f8b-544e1fadfe0d" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>How-To share class/resources between projects in Visual Studio 2005</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,05a49754-3d61-4942-9f8b-544e1fadfe0d.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,05a49754-3d61-4942-9f8b-544e1fadfe0d.aspx</link>
      <pubDate>Fri, 18 May 2007 20:41:40 GMT</pubDate>
      <description>&lt;p&gt;
start by having a solution with two projects.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B5%5D.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="240" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B4%5D.png" width="239" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
In the solution exploder window right click the solution and choose add New or existing
item.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B1%5D.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="200" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D.png" width="240" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
For this how two we will add a new c# class
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B3%5D.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="150" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B2%5D.png" width="240" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
click add.&amp;nbsp; Visual studio will create a new suborder under the solution called
"Solution Items" Class1.cs will be in this folder.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B7%5D.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="240" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B6%5D.png" width="210" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
now select one of your projects and right click select add existing item.&amp;nbsp; Navigate
to your solutions directory and select Class1.cs
&lt;/p&gt;
&lt;p&gt;
click the drop down arrow next to the add button
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B13%5D.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="160" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B12%5D.png" width="240" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
select add as link
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B15%5D.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="132" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B14%5D.png" width="240" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
You will now have a shared link to a common solution file/class
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B17%5D.png" atomicselection="true"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="240" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/HowToshareclassresourcesbetweenprojectsi_C089/image%7B0%7D%5B16%5D.png" width="179" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
repeat for each project you wish to add this file/class to.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=05a49754-3d61-4942-9f8b-544e1fadfe0d" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,05a49754-3d61-4942-9f8b-544e1fadfe0d.aspx</comments>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>Microsoft</category>
      <category>VB</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=586116c4-04fa-4be7-9ebb-4df95cbd141d</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=586116c4-04fa-4be7-9ebb-4df95cbd141d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
You can find the updated LINQ samples for both VB and C# <a href="http://msdn2.microsoft.com/en-us/vbasic/bb330936.aspx" target="_blank">here</a></p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=586116c4-04fa-4be7-9ebb-4df95cbd141d" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>LINQ for Orcas Beta1</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</link>
      <pubDate>Fri, 20 Apr 2007 21:47:59 GMT</pubDate>
      <description>&lt;p&gt;
You can find the updated LINQ samples for both VB and C# &lt;a href="http://msdn2.microsoft.com/en-us/vbasic/bb330936.aspx" target="_blank"&gt;here&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=586116c4-04fa-4be7-9ebb-4df95cbd141d" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,586116c4-04fa-4be7-9ebb-4df95cbd141d.aspx</comments>
      <category>CSharp</category>
      <category>LINQ</category>
      <category>VB</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=91fedf3a-1be4-48c2-8250-8828f24536d6</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=91fedf3a-1be4-48c2-8250-8828f24536d6</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Incase you missed it yesterday Soma announced the <a href="http://blogs.msdn.com/somasegar/archive/2007/04/19/visual-studio-orcas-and-net-fx-3-5-beta1-shipped.aspx" target="_blank">release
of Orcas Beta 1,</a> it can be downloaded <a href="http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx" target="_blank">here</a>. 
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=91fedf3a-1be4-48c2-8250-8828f24536d6" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Beta 1 Of Orcas Released Into The Wild</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</link>
      <pubDate>Fri, 20 Apr 2007 21:43:03 GMT</pubDate>
      <description>&lt;p&gt;
Incase you missed it yesterday Soma announced the &lt;a href="http://blogs.msdn.com/somasegar/archive/2007/04/19/visual-studio-orcas-and-net-fx-3-5-beta1-shipped.aspx" target="_blank"&gt;release
of Orcas Beta 1,&lt;/a&gt; it can be downloaded &lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx" target="_blank"&gt;here&lt;/a&gt;. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=91fedf3a-1be4-48c2-8250-8828f24536d6" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,91fedf3a-1be4-48c2-8250-8828f24536d6.aspx</comments>
      <category>ASP.NET</category>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>LINQ</category>
      <category>Microsoft</category>
      <category>VB</category>
      <category>Visual Studio</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=e69501c5-44f0-426d-9759-cda83baa4a20</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,e69501c5-44f0-426d-9759-cda83baa4a20.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,e69501c5-44f0-426d-9759-cda83baa4a20.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=e69501c5-44f0-426d-9759-cda83baa4a20</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I wanted to take a moment to point out my new favorite DotNet Function.  At VSLive
in San Francisco I was introduced to System.IO.Path.Combine( path1, path2) as string. 
I no longer have to deal with the logic of adding a trailing or leading slash when
combing  file and directory locations.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=e69501c5-44f0-426d-9759-cda83baa4a20" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>My New Favorite Function</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,e69501c5-44f0-426d-9759-cda83baa4a20.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,e69501c5-44f0-426d-9759-cda83baa4a20.aspx</link>
      <pubDate>Tue, 03 Apr 2007 16:27:05 GMT</pubDate>
      <description>&lt;p&gt;
I wanted to take a moment to point out my new favorite DotNet Function.&amp;nbsp; At VSLive
in San Francisco I was introduced to System.IO.Path.Combine( path1, path2) as string.&amp;nbsp;
I no longer have to deal with the logic of adding a trailing or leading slash when
combing&amp;nbsp; file and directory locations.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=e69501c5-44f0-426d-9759-cda83baa4a20" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,e69501c5-44f0-426d-9759-cda83baa4a20.aspx</comments>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>VB</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=518254ba-7afb-4874-849f-3279d29497eb</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,518254ba-7afb-4874-849f-3279d29497eb.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,518254ba-7afb-4874-849f-3279d29497eb.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=518254ba-7afb-4874-849f-3279d29497eb</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I have finally found some programing books at my reading level ;)
</p>
        <p>
 
</p>
        <ul>
          <li>
            <a href="http://msdn.microsoft.com/vstudio/express/beginner/kids/csharp">C# for Sharp
Kids</a> - An ebook on programming with C# 
</li>
          <li>
            <a href="http://msdn.microsoft.com/vstudio/express/beginner/kids/vb">VB For Very Bright
Kids</a> - An ebook for learning how to programming with Visual Basic 
</li>
          <li>
            <a href="http://msdn.microsoft.com/coderules">Code Rules</a>
            <strong> -</strong> A
curriculum for learning how to program using Visual Basic. This package includes
Teacher materials, Student lessons and quizzes and has been used in schools around
the country. 
</li>
          <li>
            <b>
              <a href="http://msdn.microsoft.com/curlique">CurliQue Studios</a>
            </b> - A
curriculum for learning to build a dynamic web site for a rock band. This one also
includes teacher materials. My friend <a href="http://geekswithblogs.net/djacobus/archive/2007/02/23/107157.aspx">Dave
Jacobus blogs about using it</a> with his class and seems to like it. 
</li>
          <li>
            <b>
              <a href="http://msdn.microsoft.com/website">Creating your First Website using HTML</a> - </b>Follow
along with this Microsoft DigiGirlz Tech Camp presentation to learn how to use HTML
to create your own website! 
</li>
          <li>
A list of other kid friendly websites and learning resources.</li>
        </ul>
        <p>
Microsoft's <a href="http://msdn.microsoft.com/vstudio/express/beginner/kids/">Kid's
Corner</a></p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=518254ba-7afb-4874-849f-3279d29497eb" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Teach a child to program</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,518254ba-7afb-4874-849f-3279d29497eb.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,518254ba-7afb-4874-849f-3279d29497eb.aspx</link>
      <pubDate>Mon, 05 Mar 2007 14:52:03 GMT</pubDate>
      <description>&lt;p&gt;
I have finally found some programing books at my reading level ;)
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/vstudio/express/beginner/kids/csharp"&gt;C# for Sharp
Kids&lt;/a&gt; - An ebook on programming with C# 
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/vstudio/express/beginner/kids/vb"&gt;VB For Very Bright
Kids&lt;/a&gt; - An ebook for learning how to programming with Visual Basic 
&lt;li&gt;
&lt;a href="http://msdn.microsoft.com/coderules"&gt;Code Rules&lt;/a&gt;&lt;strong&gt;&amp;nbsp;-&lt;/strong&gt; A
curriculum for&amp;nbsp;learning how to program using Visual Basic. This package includes
Teacher materials, Student lessons and quizzes and has been used in schools around
the country. 
&lt;li&gt;
&lt;b&gt;&lt;a href="http://msdn.microsoft.com/curlique"&gt;CurliQue Studios&lt;/a&gt;&lt;/b&gt;&amp;nbsp;- A
curriculum for learning to build a dynamic web site for a rock band. This one also
includes teacher materials. My friend &lt;a href="http://geekswithblogs.net/djacobus/archive/2007/02/23/107157.aspx"&gt;Dave
Jacobus blogs about using it&lt;/a&gt; with his class and seems to like it. 
&lt;li&gt;
&lt;b&gt;&lt;a href="http://msdn.microsoft.com/website"&gt;Creating your First Website using HTML&lt;/a&gt;&amp;nbsp;- &lt;/b&gt;Follow
along with this Microsoft DigiGirlz Tech Camp presentation to learn how to use HTML
to create your own website! 
&lt;li&gt;
A list of other kid friendly websites and learning resources.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
Microsoft's &lt;a href="http://msdn.microsoft.com/vstudio/express/beginner/kids/"&gt;Kid's
Corner&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=518254ba-7afb-4874-849f-3279d29497eb" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,518254ba-7afb-4874-849f-3279d29497eb.aspx</comments>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>Microsoft</category>
      <category>VB</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=eefb4db0-f1e6-4984-a7ba-725e0f8d60f7</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,eefb4db0-f1e6-4984-a7ba-725e0f8d60f7.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,eefb4db0-f1e6-4984-a7ba-725e0f8d60f7.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=eefb4db0-f1e6-4984-a7ba-725e0f8d60f7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">I found another online <a href="http://codeconverter.sharpdevelop.net/Convert.aspx">code
converter</a> this time by <a href="http://sharpdevelop.com">SharpDevelop</a>. This
will convert between C#, VB,  and Boo.  They also have a <a href="http://codeconverter.sharpdevelop.net/ConvertService.asmx?op=PerformConversion">web
service</a>.<br /><br /><p></p><img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=eefb4db0-f1e6-4984-a7ba-725e0f8d60f7" /><br /><hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Code Conversion Again</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,eefb4db0-f1e6-4984-a7ba-725e0f8d60f7.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,eefb4db0-f1e6-4984-a7ba-725e0f8d60f7.aspx</link>
      <pubDate>Sat, 17 Feb 2007 23:10:09 GMT</pubDate>
      <description>I found another online &lt;a href="http://codeconverter.sharpdevelop.net/Convert.aspx"&gt;code
converter&lt;/a&gt; this time by &lt;a href="http://sharpdevelop.com"&gt;SharpDevelop&lt;/a&gt;. This
will convert between C#, VB,&amp;nbsp; and Boo.&amp;nbsp; They also have a &lt;a href="http://codeconverter.sharpdevelop.net/ConvertService.asmx?op=PerformConversion"&gt;web
service&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=eefb4db0-f1e6-4984-a7ba-725e0f8d60f7" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,eefb4db0-f1e6-4984-a7ba-725e0f8d60f7.aspx</comments>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>VB</category>
      <category>XML</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=d5460205-cfdf-47f8-aa4e-37dc9fcb5243</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,d5460205-cfdf-47f8-aa4e-37dc9fcb5243.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,d5460205-cfdf-47f8-aa4e-37dc9fcb5243.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=d5460205-cfdf-47f8-aa4e-37dc9fcb5243</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Chris <a href="http://www.sellsbrothers.com/news/showTopic.aspx?ixTopic=2079">posted</a> a
little .net code that took J#'s gzip class and brought it into c#. I did that once
back in the 1.1 days when I was desperate to escape implode.DLL(Talk about a fun library)
at any rate it sucked so bad (J# runtime dependency anyone?)  That I moved my
code to <a href="http://www.sharpdevelop.com/OpenSource/SharpZipLib/Default.aspx">SharpZipLib</a> which
rocks.  Any way I digress I happened to comment to Chris that .NET 2.0 has compression. 
And Chris says 
</p>
        <blockquote>
          <p>
How does .NET 2.0 provider for zip file decompression? That's new to me.<br />
And why would I use an external library when I can use one that's built in?
</p>
        </blockquote>
        <p>
Great now I have to find the info to pull files out of a zip archive with system.io.compression. 
By chance the MSDN documentation says 
</p>
        <blockquote>
          <p>
This class does not inherently provide functionality for adding files to or extracting
files from .zip archives. For an example of manipulating compressed file archives,
see Compression Application Sample.
</p>
        </blockquote>
        <p>
Ok, groovy I can look at your sample application.  
</p>
        <blockquote>
          <p>
This sample demonstrates compression capabilities available in the .NET Framework.
It builds a Windows Forms application that employs the GZipStream and DeflateStream
types to compress and decompress files. The sample also introduces several types that
are new in the .NET Framework version 2.0.
</p>
        </blockquote>
        <p>
Great lets compile this bad boy and bask in its coolness. 
</p>
        <p>
          <a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/SavingFace_11191/image%7B0%7D%5B14%5D.png" atomicselection="true">
            <img style="border: 0px none ;" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/SavingFace_11191/image%7B0%7D_thumb%5B10%5D.png" border="0" height="478" width="640" />
          </a>  
</p>
        <p>
Ok right what the hell is a .xip file? 
</p>
        <p>
I know this can be done and I know I am far to lazy to just write the code myself
tonight.  Also I am almost positive some one has done all the work for me. 
</p>
        <p>
Indeed Dino has a blog entry <a href="http://blogs.msdn.com/dotnetinterop/archive/2006/04/05/.NET-System.IO.Compression-and-zip-files.aspx" target="_blank">System.IO.Compression
and zip files</a>  
</p>
        <p>
So now I have proved that maybe I do know what I am talking about.
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=d5460205-cfdf-47f8-aa4e-37dc9fcb5243" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Saving Face</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,d5460205-cfdf-47f8-aa4e-37dc9fcb5243.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,d5460205-cfdf-47f8-aa4e-37dc9fcb5243.aspx</link>
      <pubDate>Sat, 17 Feb 2007 03:27:21 GMT</pubDate>
      <description>&lt;p&gt;
Chris &lt;a href="http://www.sellsbrothers.com/news/showTopic.aspx?ixTopic=2079"&gt;posted&lt;/a&gt; a
little .net code that took J#'s gzip class and brought it into c#. I did that once
back in the 1.1 days when I was desperate to escape implode.DLL(Talk about a fun library)
at any rate it sucked so bad (J# runtime dependency anyone?)&amp;nbsp; That I moved my
code to &lt;a href="http://www.sharpdevelop.com/OpenSource/SharpZipLib/Default.aspx"&gt;SharpZipLib&lt;/a&gt; which
rocks.&amp;nbsp; Any way I digress I happened to comment to Chris that .NET 2.0 has compression.&amp;nbsp;
And Chris says 
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
How does .NET 2.0 provider for zip file decompression? That's new to me.&lt;br&gt;
And why would I use an external library when I can use one that's built in?
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Great now I have to find the info to pull files out of a zip archive with system.io.compression.&amp;nbsp;
By chance the MSDN documentation says 
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
This class does not inherently provide functionality for adding files to or extracting
files from .zip archives. For an example of manipulating compressed file archives,
see Compression Application Sample.
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Ok, groovy I can look at your sample application.&amp;nbsp; 
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
This sample demonstrates compression capabilities available in the .NET Framework.
It builds a Windows Forms application that employs the GZipStream and DeflateStream
types to compress and decompress files. The sample also introduces several types that
are new in the .NET Framework version 2.0.
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Great lets compile this bad boy and bask in its coolness. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/SavingFace_11191/image%7B0%7D%5B14%5D.png" atomicselection="true"&gt;&lt;img style="border: 0px none ;" src="http://thisoldcode.microfisch.com/content/binary/WindowsLiveWriter/SavingFace_11191/image%7B0%7D_thumb%5B10%5D.png" border="0" height="478" width="640"&gt;&lt;/a&gt;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
Ok right what the hell is a .xip file? 
&lt;/p&gt;
&lt;p&gt;
I know this can be done and I know I am far to lazy to just write the code myself
tonight.&amp;nbsp; Also I am almost positive some one has done all the work for me. 
&lt;/p&gt;
&lt;p&gt;
Indeed Dino has a blog entry &lt;a href="http://blogs.msdn.com/dotnetinterop/archive/2006/04/05/.NET-System.IO.Compression-and-zip-files.aspx" target="_blank"&gt;System.IO.Compression
and zip files&lt;/a&gt;&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
So now I have proved that maybe I do know what I am talking about.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=d5460205-cfdf-47f8-aa4e-37dc9fcb5243" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,d5460205-cfdf-47f8-aa4e-37dc9fcb5243.aspx</comments>
      <category>CSharp</category>
      <category>DotNet</category>
      <category>My Life</category>
      <category>Ramblings</category>
    </item>
    <item>
      <trackback:ping>http://thisoldcode.net/Trackback.aspx?guid=56c0088a-4a8a-4738-930d-1a962fd35b2b</trackback:ping>
      <pingback:server>http://thisoldcode.net/pingback.aspx</pingback:server>
      <pingback:target>http://thisoldcode.net/PermaLink,guid,56c0088a-4a8a-4738-930d-1a962fd35b2b.aspx</pingback:target>
      <dc:creator>Aaron Fischer</dc:creator>
      <wfw:comment>http://thisoldcode.net/CommentView,guid,56c0088a-4a8a-4738-930d-1a962fd35b2b.aspx</wfw:comment>
      <wfw:commentRss>http://thisoldcode.net/SyndicationService.asmx/GetEntryCommentsRss?guid=56c0088a-4a8a-4738-930d-1a962fd35b2b</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I received the following exception this morning on one of my projects:
</p>
        <p>
Point Report Viewer encountered a System.Resources.MissingManifestResourceException
on Thursday, November 16 2006 at 10:58:12 AM.<br />
Exception Details:<br />
System.Resources.MissingManifestResourceException: Could not find any resources appropriate
for the specified culture (or the neutral culture) in the given assembly.  Make
sure "ReportView.resources" was correctly embedded or linked into assembly "PointReport".<br />
baseName: ReportView  locationInfo: PointReport.ReportView  resource file
name: ReportView.resources  assembly: PointReport, Version=5.4.2006.1027, Culture=neutral,
PublicKeyToken=0ca8877e5830dba7<br />
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)<br />
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)<br />
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)<br />
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo
culture)<br />
   at System.Resources.ResourceManager.GetObject(String name)<br />
   at PointReport.ReportView.InitializeComponent() in C:\Dev\PointReportView\Main\ReportMainForm.cs:line
462<br />
   at PointReport.ReportView..ctor() in C:\Dev\PointReportView\Main\ReportMainForm.cs:line
112<br />
   at PointReport.ReportView.Main(String[] args) in C:\Dev\PointReportView\Main\ReportMainForm.cs:line
503
</p>
        <p>
It turns out I had added a Class to handle unhandled exceptions in a cs file that
windows had generated for a winform project.  so to solve this problem i had
to move the unhandled exception class definition to the end of the file.  
</p>
        <p>
 
</p>
        <img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=56c0088a-4a8a-4738-930d-1a962fd35b2b" />
        <br />
        <hr />
This weblog is sponsored by <a href="http://www.MicroFisch.com">MicroFisch</a>.</body>
      <title>Odd Exceptions</title>
      <guid isPermaLink="false">http://thisoldcode.net/PermaLink,guid,56c0088a-4a8a-4738-930d-1a962fd35b2b.aspx</guid>
      <link>http://thisoldcode.net/PermaLink,guid,56c0088a-4a8a-4738-930d-1a962fd35b2b.aspx</link>
      <pubDate>Thu, 16 Nov 2006 19:13:49 GMT</pubDate>
      <description>&lt;p&gt;
I received the following exception this morning on one of my projects:
&lt;/p&gt;
&lt;p&gt;
Point Report Viewer encountered a System.Resources.MissingManifestResourceException
on Thursday, November 16 2006 at 10:58:12 AM.&lt;br&gt;
Exception Details:&lt;br&gt;
System.Resources.MissingManifestResourceException: Could not find any resources appropriate
for the specified culture (or the neutral culture) in the given assembly.&amp;nbsp; Make
sure "ReportView.resources" was correctly embedded or linked into assembly "PointReport".&lt;br&gt;
baseName: ReportView&amp;nbsp; locationInfo: PointReport.ReportView&amp;nbsp; resource file
name: ReportView.resources&amp;nbsp; assembly: PointReport, Version=5.4.2006.1027, Culture=neutral,
PublicKeyToken=0ca8877e5830dba7&lt;br&gt;
&amp;nbsp;&amp;nbsp; at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)&lt;br&gt;
&amp;nbsp;&amp;nbsp; at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)&lt;br&gt;
&amp;nbsp;&amp;nbsp; at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)&lt;br&gt;
&amp;nbsp;&amp;nbsp; at System.Resources.ResourceManager.GetObject(String name, CultureInfo
culture)&lt;br&gt;
&amp;nbsp;&amp;nbsp; at System.Resources.ResourceManager.GetObject(String name)&lt;br&gt;
&amp;nbsp;&amp;nbsp; at PointReport.ReportView.InitializeComponent() in C:\Dev\PointReportView\Main\ReportMainForm.cs:line
462&lt;br&gt;
&amp;nbsp;&amp;nbsp; at PointReport.ReportView..ctor() in C:\Dev\PointReportView\Main\ReportMainForm.cs:line
112&lt;br&gt;
&amp;nbsp;&amp;nbsp; at PointReport.ReportView.Main(String[] args) in C:\Dev\PointReportView\Main\ReportMainForm.cs:line
503
&lt;/p&gt;
&lt;p&gt;
It turns out I had added a Class to handle unhandled exceptions in a cs file that
windows had generated for a winform project.&amp;nbsp; so to solve this problem i had
to move the unhandled exception class definition to the end of the file.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://thisoldcode.net/aggbug.ashx?id=56c0088a-4a8a-4738-930d-1a962fd35b2b" /&gt;
&lt;br /&gt;
&lt;hr /&gt;
This weblog is sponsored by &lt;a href="http://www.MicroFisch.com"&gt;MicroFisch&lt;/a&gt;.</description>
      <comments>http://thisoldcode.net/CommentView,guid,56c0088a-4a8a-4738-930d-1a962fd35b2b.aspx</comments>
      <category>DotNet</category>
      <category>CSharp</category>
    </item>
  </channel>
</rss>