<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://africadotnet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>http://africadotnet.com/forums/30.aspx</link><description>Other development discussions</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title> Source Control for Visual Studio 2008</title><link>http://africadotnet.com/forums/thread/122.aspx</link><pubDate>Thu, 05 Nov 2009 08:52:36 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:122</guid><dc:creator>Stephen Ebichondo</dc:creator><slash:comments>2</slash:comments><comments>http://africadotnet.com/forums/thread/122.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=122</wfw:commentRss><description>&lt;p&gt;am looking for source control tool&lt;span id="ctl00_ArticleTopHeader_ArticleDescr"&gt; with enhanced integration into Visual Studio 2008 to make life easier for developers in my team. &lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Visual Studio 2010 Beta 2</title><link>http://africadotnet.com/forums/thread/112.aspx</link><pubDate>Wed, 21 Oct 2009 13:24:32 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:112</guid><dc:creator>Rad</dc:creator><slash:comments>5</slash:comments><comments>http://africadotnet.com/forums/thread/112.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=112</wfw:commentRss><description>&lt;p&gt;The Visual Studio 2010 Beta 2 is now available. Download it from the following location:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/visualstudio/en-us/try/default.mspx"&gt;http://www.microsoft.com/visualstudio/en-us/try/default.mspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Today's Byte #5: Experiencing .NET</title><link>http://africadotnet.com/forums/thread/109.aspx</link><pubDate>Thu, 08 Oct 2009 15:22:51 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:109</guid><dc:creator>Rad</dc:creator><slash:comments>0</slash:comments><comments>http://africadotnet.com/forums/thread/109.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=109</wfw:commentRss><description>&lt;p&gt;When .NET comes up, it is invariably interconnected with either VB.NET or C#, the primary languages. However the .NET Framework is a Framework, and this the language is a layer above. You can do .NET development using several languages&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Object Pascal (Delphi) language - &lt;a href="http://www.embarcadero.com/products/delphi-prism"&gt;Prism&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;C++ - &lt;a href="http://msdn.microsoft.com/en-us/visualc/default.aspx"&gt;Visual C++.NET&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Python - &lt;a href="http://www.codeplex.com/IronPython"&gt;IronPython&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Ruby - &lt;a href="http://www.ironruby.net/"&gt;IronRuby&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Cobol (yes, Cobol) - &lt;a href="http://www.netcobol.com/products/Fujitsu-NetCOBOL-for-.NET/overview"&gt;Fujitsu NetCobol&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;OCAML - &lt;a href="http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/"&gt;F#&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;PHP - &lt;a href="http://www.codeplex.com/Phalanger"&gt;Phalanger&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Today's Byte #3: Developing For Oracle Databases</title><link>http://africadotnet.com/forums/thread/103.aspx</link><pubDate>Tue, 06 Oct 2009 14:40:24 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:103</guid><dc:creator>Rad</dc:creator><slash:comments>4</slash:comments><comments>http://africadotnet.com/forums/thread/103.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=103</wfw:commentRss><description>&lt;p&gt;If you&amp;#39;re doing development against an Oracle database, you can use the built in Oracle client, System.Data.OracleClient. However this is a bad idea for a two reasons:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;It will be &lt;a href="http://blogs.msdn.com/adonet/archive/2009/06/15/system-data-oracleclient-update.aspx"&gt;deprecated in .NET 4.0&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Oracle&amp;#39;s provider, &lt;a href="http://www.oracle.com/technology/tech/windows/odpnet/index.html"&gt;ODP.NET&lt;/a&gt; is better in several ways:
&lt;ul&gt;
&lt;li&gt;Faster&lt;/li&gt;
&lt;li&gt;Supports more Oracle features: Associative arrays, server side cursors, etc&lt;/li&gt;
&lt;li&gt;Better support for large character/binary types (LOB)&lt;/li&gt;
&lt;li&gt;Supports caching&lt;/li&gt;
&lt;li&gt;Is updated on Oracle&amp;#39;s technology cycle, rather than the .NET framework cycle&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Today's Byte #4</title><link>http://africadotnet.com/forums/thread/107.aspx</link><pubDate>Wed, 07 Oct 2009 16:07:58 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:107</guid><dc:creator>Rad</dc:creator><slash:comments>0</slash:comments><comments>http://africadotnet.com/forums/thread/107.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=107</wfw:commentRss><description>&lt;p&gt;If you need to restart your .NET application, there are a number of ways to do it. The most commonly ised is to programatically kill the process and then start it, using the &lt;a href="http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx"&gt;System.Diagnosics.Process&lt;/a&gt; class. A better way is to use the lesser know &lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.forms.application.restart.aspx"&gt;System.Windows.Forms.Applciation.Restart()&lt;/a&gt; method. The benefits are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You don&amp;#39;t need to work out where the application is&lt;/li&gt;
&lt;li&gt;You don&amp;#39;t need to know the original command line arguments - these are preserved and remembered&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>waiting to exhale</title><link>http://africadotnet.com/forums/thread/92.aspx</link><pubDate>Wed, 02 Sep 2009 23:49:15 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:92</guid><dc:creator>gutsboy</dc:creator><slash:comments>1</slash:comments><comments>http://africadotnet.com/forums/thread/92.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=92</wfw:commentRss><description>&lt;p&gt;hi guys. thank God africadotnet is back again though ive noticed the zest ain&amp;#39;t there no more as it used to be. c&amp;#39;mon guys lets make this site an active one by sharing knowledge and challenging problems. Ill be more than willing to offer help in C#, VB.NET, LINQ, Silverlight, ExtJS and Adobe Flex &amp;amp; Adobe Air.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Today's Byte # 2 : Font Manipulation</title><link>http://africadotnet.com/forums/thread/80.aspx</link><pubDate>Wed, 29 Jul 2009 07:56:18 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:80</guid><dc:creator>Rad</dc:creator><slash:comments>0</slash:comments><comments>http://africadotnet.com/forums/thread/80.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=80</wfw:commentRss><description>&lt;p&gt;In the course of your development, you might find that you need to change the font style of a control to somthing like bold or italic.&lt;/p&gt;
&lt;p&gt;Upon investigation, you find that each control has a Font property, that additionally has a boolean Bold property. So you would attempt the following:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div class="csharpcode"&gt;
&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:&lt;/span&gt; &lt;span class="rem"&gt;//&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   2:&lt;/span&gt; &lt;span class="rem"&gt;// Set the font to bold&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   3:&lt;/span&gt; &lt;span class="rem"&gt;//&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   4:&lt;/span&gt; txtName.Font.Bold = &lt;span class="kwrd"&gt;true&lt;/span&gt;;&lt;/pre&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This unfortunately, would fail. Why? Because the Bold property of a font is read only.&lt;/p&gt;
&lt;p&gt;To change the font to bold, you actually need to create a new font, and specify that the new font be created with the style bold. Like so&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div class="csharpcode"&gt;
&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:&lt;/span&gt; &lt;span class="rem"&gt;//&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   2:&lt;/span&gt; &lt;span class="rem"&gt;// Change the font to bold, using the existing font&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   3:&lt;/span&gt; &lt;span class="rem"&gt;//&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   4:&lt;/span&gt; txtName.Font = &lt;span class="kwrd"&gt;new&lt;/span&gt; Font(txtName.Font, FontStyle.Bold);&lt;/pre&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The same thing would apply for italics.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div class="csharpcode"&gt;
&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:&lt;/span&gt; &lt;span class="rem"&gt;//&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   2:&lt;/span&gt; &lt;span class="rem"&gt;// Change the font to italic, using the existing font&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   3:&lt;/span&gt; &lt;span class="rem"&gt;//&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   4:&lt;/span&gt; txtName.Font = &lt;span class="kwrd"&gt;new&lt;/span&gt; Font(txtName.Font, FontStyle.Italic);&lt;/pre&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;An intersting thing to note -- you can also combine the multiple styles. Like so&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div class="csharpcode"&gt;
&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   1:&lt;/span&gt; &lt;span class="rem"&gt;//&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   2:&lt;/span&gt; &lt;span class="rem"&gt;// Change the font to bold, strikeout &amp;amp; italic , using the existing font&lt;/span&gt;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="lnum"&gt;   3:&lt;/span&gt; &lt;span class="rem"&gt;//&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="lnum"&gt;   4:&lt;/span&gt; txtName.Font = &lt;span class="kwrd"&gt;new&lt;/span&gt; Font(txtName.Font, FontStyle.Italic | FontStyle.Strikeout | FontStyle.Bold);&lt;/pre&gt;
&lt;/div&gt;

&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Today's Byte #1 : Form Management</title><link>http://africadotnet.com/forums/thread/67.aspx</link><pubDate>Wed, 20 May 2009 08:50:30 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:67</guid><dc:creator>Rad</dc:creator><slash:comments>0</slash:comments><comments>http://africadotnet.com/forums/thread/67.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=67</wfw:commentRss><description>&lt;p&gt;In the lifetime of your application you undoubtedly create several forms and present them to the user. The code will invariably look as follows:&lt;/p&gt;
&lt;p&gt;In C#&lt;/p&gt;
&lt;div style="background-color:#f4f4f4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, Courier, Monospace;font-size:8pt;line-height:12pt;border:solid 1px gray;cursor:text;margin:20px 0px 10px 0px;max-height:200px;overflow:auto;padding:4px 4px 4px 4px;width:97.5%;"&gt;
&lt;div style="background-color:#f4f4f4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, Courier, Monospace;font-size:8pt;line-height:12pt;border-style:none;color:black;overflow:visible;padding:0px 0px 0px 0px;width:100%;"&gt;
&lt;pre style="background-color:white;font-family:Consolas, &amp;#39;Courier New&amp;#39;, Courier, Monospace;font-size:8pt;line-height:12pt;border-style:none;color:black;overflow:visible;padding:0px 0px 0px 0px;width:100%;margin:0em;"&gt;&lt;span style="color:#606060;"&gt;   1:&lt;/span&gt; &lt;span style="color:#008000;"&gt;//Create the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background-color:#f4f4f4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, Courier, Monospace;font-size:8pt;line-height:12pt;border-style:none;color:black;overflow:visible;padding:0px 0px 0px 0px;width:100%;margin:0em;"&gt;&lt;span style="color:#606060;"&gt;   2:&lt;/span&gt; Form f = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; FormUser();&lt;/pre&gt;
&lt;pre style="background-color:white;font-family:Consolas, &amp;#39;Courier New&amp;#39;, Courier, Monospace;font-size:8pt;line-height:12pt;border-style:none;color:black;overflow:visible;padding:0px 0px 0px 0px;width:100%;margin:0em;"&gt;&lt;span style="color:#606060;"&gt;   3:&lt;/span&gt; &lt;span style="color:#008000;"&gt;//Show the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="background-color:#f4f4f4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, Courier, Monospace;font-size:8pt;line-height:12pt;border-style:none;color:black;overflow:visible;padding:0px 0px 0px 0px;width:100%;margin:0em;"&gt;&lt;span style="color:#606060;"&gt;   4:&lt;/span&gt; f.Show()&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In VB.NET&lt;/p&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;margin:20px 0px 10px;width:97.5%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;max-height:200px;font-size:8pt;overflow:auto;cursor:text;border:gray 1px solid;padding:4px;"&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   1:&lt;/span&gt; &lt;span style="color:#008000;"&gt;&amp;#39;Create the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   2:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;dim&lt;/span&gt; f = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; FormUser()&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   3:&lt;/span&gt; &lt;span style="color:#008000;"&gt;&amp;#39;Show the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   4:&lt;/span&gt; f.Show()&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Once you are done with the form, it will be automatcally disposed.&amp;nbsp;Here&amp;#39;s something you might be surprised to learn.&amp;nbsp;If you display forms using the ShowDialog method rather than the Show method, you need to dispose of the forms yourself by invoking the Dispose method&lt;/p&gt;
&lt;p&gt;In C#&lt;/p&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;margin:20px 0px 10px;width:97.5%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;max-height:200px;font-size:8pt;overflow:auto;cursor:text;border:gray 1px solid;padding:4px;"&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   1:&lt;/span&gt; &lt;span style="color:#008000;"&gt;//Create the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   2:&lt;/span&gt; Form f = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; FormUser()&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   3:&lt;/span&gt; &lt;span style="color:#008000;"&gt;//Show the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   4:&lt;/span&gt; f.ShowDialog()&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   5:&lt;/span&gt; &lt;span style="color:#008000;"&gt;//Dispose of the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   6:&lt;/span&gt; f.Dispose()&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In VB.NET&lt;/p&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;margin:20px 0px 10px;width:97.5%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;max-height:200px;font-size:8pt;overflow:auto;cursor:text;border:gray 1px solid;padding:4px;"&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   1:&lt;/span&gt; &lt;span style="color:#008000;"&gt;&amp;#39;create the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   2:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;dim&lt;/span&gt; f &lt;span style="color:#0000ff;"&gt;as&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; FormUser()&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   3:&lt;/span&gt; &lt;span style="color:#008000;"&gt;&amp;#39;Show the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   4:&lt;/span&gt; f.ShowDialog()&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   5:&lt;/span&gt; &lt;span style="color:#008000;"&gt;&amp;#39;Dispose of the form&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   6:&lt;/span&gt; f.Dispose()&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Alternatively, you can make use of the fact that the Form class implements th IDisposale interface. So you can rewrite the code as follows&lt;/p&gt;
&lt;p&gt;In C#&lt;/p&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;margin:20px 0px 10px;width:97.5%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;max-height:200px;font-size:8pt;overflow:auto;cursor:text;border:gray 1px solid;padding:4px;"&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   1:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;using&lt;/span&gt;(f = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; FormUser())&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   2:&lt;/span&gt; {&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   3:&lt;/span&gt;     f.ShowDialog();&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   4:&lt;/span&gt; }&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In VB.NET&lt;/p&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;margin:20px 0px 10px;width:97.5%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;max-height:200px;font-size:8pt;overflow:auto;cursor:text;border:gray 1px solid;padding:4px;"&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   1:&lt;/span&gt; Using f &lt;span style="color:#0000ff;"&gt;as&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; FormUser()&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   2:&lt;/span&gt;     f.ShowDialog()&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   3:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;End&lt;/span&gt; Using&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Of course the question arises, why?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s pretty simple actually. When you call ShowDialog, you are generally interested in the form you are showing passing back some value as a property, say the DialogResult, or some custom property. In which case the form must be kept in memory until you harvest the property. Since the runtime has no way of knowing when you have done this and are done with it, the form will be kept in memory until you explicitly call the Dispose method.&lt;/p&gt;
&lt;p&gt;Till next time.&lt;/p&gt;
&lt;p&gt;Rad.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ten Must-Have Tools Every Developer Should Download Now</title><link>http://africadotnet.com/forums/thread/61.aspx</link><pubDate>Thu, 14 May 2009 05:47:34 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:61</guid><dc:creator>Stephen Ebichondo</dc:creator><slash:comments>0</slash:comments><comments>http://africadotnet.com/forums/thread/61.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=61</wfw:commentRss><description>&lt;p&gt;check out these tools&amp;nbsp; &lt;/p&gt;
&lt;p&gt;http://msdn.microsoft.com/en-us/magazine/cc300497.aspx&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Regular Expression Ninja  #1</title><link>http://africadotnet.com/forums/thread/57.aspx</link><pubDate>Sat, 09 May 2009 14:08:45 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:57</guid><dc:creator>Rad</dc:creator><slash:comments>1</slash:comments><comments>http://africadotnet.com/forums/thread/57.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=57</wfw:commentRss><description>&lt;p&gt;The regular expression is a domain specific language for the manipulation of text. Any programmer doing text processing of any nature would do well to acquaint themselves with this powerful language, that has implementations in all major languages.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;In this series of articles I aim to point out some uses of regular expressions tha can make life much easier.&lt;/p&gt;
&lt;p&gt;Take for example a situation where you have words with camel case.&lt;/p&gt;
&lt;p&gt;For instance:&lt;/p&gt;
&lt;p&gt;&amp;quot;ILikeFood&amp;quot;, &amp;quot;iPhone&amp;quot; &amp;quot;FaceBook&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Suppose you wanted to print these words readably ... so &amp;quot;I Like Food, &amp;quot;i Phone&amp;quot;, &amp;quot;Face Book&amp;quot;&lt;/p&gt;
&lt;p&gt;A solution i&amp;#39;ve seen is to loop through each character and check its ASCII value and if it is above a certain threshold add a space an return a new string.&lt;/p&gt;
&lt;p&gt;It may work but it&amp;#39;s clumsy and unwieldy.&lt;/p&gt;
&lt;p&gt;Another way to do it is to use a regular expression.&lt;/p&gt;
&lt;p&gt;The strategy here is very simple.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Identify and capture all capital letters&lt;/li&gt;
&lt;li&gt;For each captured letter, add a space before it&lt;/li&gt;
&lt;li&gt;Return the new string&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is easily accomplished with the following code&lt;/p&gt;
&lt;p&gt;In C#:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;margin:20px 0px 10px;width:97.5%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;max-height:200px;font-size:8pt;overflow:auto;cursor:text;border:gray 1px solid;padding:4px;"&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   1:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;using&lt;/span&gt; System.Text.RegularExpressions;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   2:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; Regex MyRegex = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; Regex(&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   3:&lt;/span&gt;       &lt;span style="color:#006080;"&gt;&amp;quot;([A-Z])&amp;quot;&lt;/span&gt;,&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   4:&lt;/span&gt;     RegexOptions.Multiline&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   5:&lt;/span&gt;     | RegexOptions.CultureInvariant&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   6:&lt;/span&gt;     | RegexOptions.Compiled&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   7:&lt;/span&gt;     );&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   8:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   9:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  10:&lt;/span&gt; &lt;span style="color:#008000;"&gt;// This is the replacement string&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  11:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; MyRegexReplace = &lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  12:&lt;/span&gt;       &lt;span style="color:#006080;"&gt;&amp;quot; $1&amp;quot;&lt;/span&gt;;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  13:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  14:&lt;/span&gt; &lt;span style="color:#008000;"&gt;//// Replace the matched text in the InputText using the replacement pattern&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  15:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; result = MyRegex.Replace(InputText,MyRegexReplace);&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In VB.NET&lt;/p&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;margin:20px 0px 10px;width:97.5%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;max-height:200px;font-size:8pt;overflow:auto;cursor:text;border:gray 1px solid;padding:4px;"&gt;
&lt;div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   1:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;Imports&lt;/span&gt; System.Text.RegularExpressions&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   2:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   3:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;Public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;Dim&lt;/span&gt; MyRegex &lt;span style="color:#0000ff;"&gt;As&lt;/span&gt; Regex = &lt;span style="color:#0000ff;"&gt;New&lt;/span&gt; Regex( _&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   4:&lt;/span&gt;       &lt;span style="color:#006080;"&gt;&amp;quot;([A-Z])&amp;quot;&lt;/span&gt;, _&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   5:&lt;/span&gt;     RegexOptions.Multiline _&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   6:&lt;/span&gt;     &lt;span style="color:#0000ff;"&gt;Or&lt;/span&gt; RegexOptions.CultureInvariant _&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   7:&lt;/span&gt;     &lt;span style="color:#0000ff;"&gt;Or&lt;/span&gt; RegexOptions.Compiled _&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   8:&lt;/span&gt;     )&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;   9:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  10:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  11:&lt;/span&gt; &lt;span style="color:#008000;"&gt;&amp;#39; This is the replacement string&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  12:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;Public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;Dim&lt;/span&gt; MyRegexReplace &lt;span style="color:#0000ff;"&gt;As&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;String&lt;/span&gt; = _&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  13:&lt;/span&gt;       &lt;span style="color:#006080;"&gt;&amp;quot; $1&amp;quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  14:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  15:&lt;/span&gt;&amp;nbsp; &lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:#f4f4f4;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  16:&lt;/span&gt; &lt;span style="color:#008000;"&gt;&amp;#39;&amp;#39; Replace the matched text in the InputText using the replacement pattern&lt;/span&gt;&lt;/pre&gt;
&lt;pre style="line-height:12pt;background-color:white;margin:0em;width:100%;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0px;"&gt;&lt;span style="color:#606060;"&gt;  17:&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;Dim&lt;/span&gt; result &lt;span style="color:#0000ff;"&gt;As&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;String&lt;/span&gt; = MyRegex.Replace(InputText,MyRegexReplace)&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>8 Websites Every Microsoft .NET Developer Should Know About</title><link>http://africadotnet.com/forums/thread/30.aspx</link><pubDate>Fri, 27 Mar 2009 05:36:56 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:30</guid><dc:creator>Stephen Ebichondo</dc:creator><slash:comments>2</slash:comments><comments>http://africadotnet.com/forums/thread/30.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=30</wfw:commentRss><description>&lt;p&gt;http://www.makeuseof.com/tag/8-web-sites-every-microsoft-net-developer-should-know-about/&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Inline Queries VS Stored Procedures</title><link>http://africadotnet.com/forums/thread/17.aspx</link><pubDate>Thu, 12 Mar 2009 12:53:19 GMT</pubDate><guid isPermaLink="false">bb2961d9-8183-4757-8f93-8f5e67e8c13b:17</guid><dc:creator>dantoz</dc:creator><slash:comments>4</slash:comments><comments>http://africadotnet.com/forums/thread/17.aspx</comments><wfw:commentRss>http://africadotnet.com/forums/commentrss.aspx?SectionID=30&amp;PostID=17</wfw:commentRss><description>&lt;p&gt;Between inline queries and stored procedures,which are the best to use and why.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>