<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>.NET 1.x</title><link>http://blogs.vbcity.com/shandy/category/57.aspx</link><description>My thoughts on .NET v1.x along with any code snippets I find useful.</description><managingEditor>Shandy</managingEditor><dc:language>en-GB</dc:language><generator>.Text Version 0.95.2004.102</generator><item><dc:creator>Shandy</dc:creator><title>TabPageCollection (And Collection ) Woes</title><link>http://blogs.vbcity.com/shandy/archive/2005/07/24/4777.aspx</link><pubDate>Sun, 24 Jul 2005 17:00:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/07/24/4777.aspx</guid><description>&lt;P&gt;Sometimes I really despair. I am currently trying (note not succeeding) to produce a wrapper for the .NET 1.x Tab Control, which IMHO is woefully short of functionality. I was making some headway until I discovered a couple of interesting points&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;If you add a TabPage taken from one TabPageCollection into another TabPageCollection it is removed from the first TabPageCollection. I can live with that. A nuisance but I can live with it.&lt;/LI&gt;
&lt;LI&gt;TabPageCollections are 0 based. Collections are 1 based. This makes utilising a Collection class instead of a TabPageCollection difficult because you have to remember to convert the indexes between the two all the time.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;So a rather simple problem of producing one collection to keep track of visible and invisible PageTabs (by default the visible property is ignored but that's another story) suddenly starts to get a bit more complicated. I can't use a single TabPageCollection because adding any TabPages from the actual control's TabPages into my own TabPageCollection removes the TabPage from the tab control's TabPages. And using a standard collection also holds perils (which a 30 minute debugging session has revealed) as I have to remember to keep changing the index when referencing between TabPageCollections and standard collections.&lt;/P&gt;
&lt;P&gt;My real gripe is why aren't ALL collections 1 based (or 0 based for that matter - I don't care which). Personally I think it is better to be illogical but consistant rather logical but inconsistant.&lt;/P&gt;
&lt;P&gt;So now I am researching how to create a 0 based class.&lt;/P&gt;
&lt;P&gt;The thing that annoys me is that all this takes time. Yes, I'll figure out how to create a 0 based collection class, probably learning some useful points along the way but as with the great majority of my .NET projects I am in danger of losing interest in it because it is taking way too long to create something useful.&lt;/P&gt;
&lt;P&gt;OK, I'll tuck my soapbox away, pour myself a beer and start looking into creating a 0 based collection class. If anyone has already created a 0 based collection class or knows where the code for one is please let me know. I have little interest in re-inventing the wheel in this particular instance. I'm more interested in getting my TabControlExtensions class up and running :)&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/4777.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>CodeIt.Once For VS 2005 Beta Now Available!</title><link>http://blogs.vbcity.com/shandy/archive/2005/07/24/4775.aspx</link><pubDate>Sun, 24 Jul 2005 12:49:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/07/24/4775.aspx</guid><description>&lt;P&gt;Having caught up yesterday on my blog reading I noticed &lt;A href="http://blogs.vbcity.com/sergeb/archive/2005/07/21/CodeItOnce2005Beta2.aspx"&gt;CodeIt.Once for VS 2005 Beta 2&lt;/A&gt;. I have downloaded both 2003 &amp;amp; 2005 versions and although I can't get the 2005 version to load correctly I'm having a play around with the 2003 version. I'd hoped to have had more of a look at CodeIt.Once than I've been able to but hopefully today I can investigate it a bit more as for a relatively inexperienced .NET programmer like myself I can see it could help me out quite a bit.&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/4775.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>CodeSMART 2005 for VS.NET FixPack 4 Released</title><link>http://blogs.vbcity.com/shandy/archive/2005/07/20/4727.aspx</link><pubDate>Wed, 20 Jul 2005 23:51:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/07/20/4727.aspx</guid><description>I just received an email to inform me that &lt;A href="http://www.axtools.com/products/cs2k5net_fixes.htm"&gt;fixpack 4&lt;/A&gt; has been released by &lt;A href="http://www.axtools.com/"&gt;AxTools&lt;/A&gt;.&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/4727.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>Free Oracle Developer Tools for Visual Studio .NET</title><link>http://blogs.vbcity.com/shandy/archive/2005/07/20/4725.aspx</link><pubDate>Wed, 20 Jul 2005 21:53:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/07/20/4725.aspx</guid><description>Whilst wandering the internet I came across the following annoucement, &lt;A href="http://www.oracle.com/technology/tech/dotnet/tools/index.html"&gt;Oracle Developer Tools for Visual Studio .NET&lt;/A&gt;. It looks like Oracle have made some goodies available free of charge for VS.NET.&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/4725.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>How To Get The Forms Closing And Closed Events To Execute When Exiting An Application</title><link>http://blogs.vbcity.com/shandy/archive/2005/07/10/4595.aspx</link><pubDate>Sun, 10 Jul 2005 10:54:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/07/10/4595.aspx</guid><description>I have just published an article, &lt;A href="http://blogs.vbcity.com/shandy/articles/4593.aspx"&gt;How To Get The Forms Closing And Closed Events To&amp;nbsp;Execute When Exiting An Application&lt;/A&gt;. Note that in VB 2005 Beta 2 this &lt;STRIKE&gt;bug&lt;/STRIKE&gt; &lt;STRIKE&gt;feature&lt;/STRIKE&gt; bug has been corrected and no workaround is required.&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/4595.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>How To Enumerate Through All Controls On A Form</title><link>http://blogs.vbcity.com/shandy/archive/2005/07/09/4594.aspx</link><pubDate>Sat, 09 Jul 2005 16:30:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/07/09/4594.aspx</guid><description>I have just published an article, &lt;A href="http://blogs.vbcity.com/shandy/articles/1423.aspx"&gt;How To Enumerate Through &lt;U&gt;All&lt;/U&gt; Controls On A Form&lt;/A&gt;. Its one I created back in April using CSS to format the article. Although there are still one or two issues (at least on my PC) with screen updates after toggling between scroll and full code views I've decided to release the article.&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/4594.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>Lastest devCity .NET Newsletter Is Now Available</title><link>http://blogs.vbcity.com/shandy/archive/2005/07/05/4584.aspx</link><pubDate>Tue, 05 Jul 2005 09:45:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/07/05/4584.aspx</guid><description>The &lt;A href="http://www.devcity.net/newsletter/archive/devcity/devcity20050625.htm"&gt;latest edition&lt;/A&gt; of the &lt;A href="http://www.devcity.net/newsletter.aspx"&gt;&lt;a title="devCity .NET Vicinity" href="http://www.devcity.net/" target="_blank"&gt;devCity&lt;/a&gt; .NET newsletter&lt;/A&gt; (News You Can Compile) was published last week. This newsletter is published at least once a month and contains articles on .NET, links to the latest .NET FAQs at &lt;a title="vbCity - Where Visual Basic Lives!" href="http://www.vbcity.com/" target="_blank"&gt;vbCity&lt;/a&gt;, links to the latest vbCity blogs. You can subscribe to the newsletter and get it delivered to your email inbox or view the newsletters online.&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/4584.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>First Windows Mobile .NET Application Idea</title><link>http://blogs.vbcity.com/shandy/archive/2005/07/03/4581.aspx</link><pubDate>Sun, 03 Jul 2005 17:51:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/07/03/4581.aspx</guid><description>&lt;P&gt;I got this idea at 06:30 on Saturday morning when my i-mate alarm went off. I need a decent alarm application on my i-mate. One that differentiates between weekends and weekdays! So my first application will be a small, simple alarm that can handle different alarms on different days and&amp;nbsp;has a snooze facility.&lt;/P&gt;
&lt;P&gt;Watch this space!&lt;/P&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/4581.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>How To Find Out What Version Of Windows Mobile .NET Framework Is Running On An i-mate SP3</title><link>http://blogs.vbcity.com/shandy/archive/2005/07/03/4579.aspx</link><pubDate>Sun, 03 Jul 2005 17:25:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/07/03/4579.aspx</guid><description>Nice and easy this one. Select &lt;EM&gt;Start&lt;/EM&gt;, &lt;EM&gt;Settings&lt;/EM&gt;, &lt;EM&gt;About&lt;/EM&gt; and all the information you require is displayed :)&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/4579.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Shandy</dc:creator><title>.NET Survey</title><link>http://blogs.vbcity.com/shandy/archive/2005/06/18/3163.aspx</link><pubDate>Sat, 18 Jun 2005 10:38:00 GMT</pubDate><guid>http://blogs.vbcity.com/shandy/archive/2005/06/18/3163.aspx</guid><description>I came across this survey, &lt;A href="http://www.visual-expert.net/survey/survey.php?TEMPL=survey_net_2005_us.htm"&gt;2005 .NET Survey&lt;/A&gt;. I did notice that develop was spelled develp right at the top of the page but hey, my blog is full of spelling/typing errors too ;-) This survey is done by the same people who are doing the &lt;A href="http://blogs.vbcity.com/shandy/archive/2005/06/12/2577.aspx"&gt;Visual Basic 2005 World Wide Survey&lt;/A&gt;&lt;img src ="http://blogs.vbcity.com/shandy/aggbug/3163.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>