<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Kevin McNeish [C# and .NET]</title><subtitle type="html">The Blog</subtitle><id>http://msmvps.com/blogs/kevinmcneish/atom.aspx</id><link rel="alternate" type="text/html" href="http://msmvps.com/blogs/kevinmcneish/default.aspx" /><link rel="self" type="application/atom+xml" href="http://msmvps.com/blogs/kevinmcneish/atom.aspx" /><generator uri="http://communityserver.org" version="4.0.30619.63">Community Server</generator><updated>2005-10-26T20:35:00Z</updated><entry><title>DevTeach Toronto, 2008 - A Great Conference!</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2008/05/08/devteach-toronto-2008.aspx" /><id>/blogs/kevinmcneish/archive/2008/05/08/devteach-toronto-2008.aspx</id><published>2008-05-08T00:36:00Z</published><updated>2008-05-08T00:36:00Z</updated><content type="html">DevTeach ( www.devteach.com ) is one of the best deals in .NET conferences...it&amp;#39;s a great small conference that gives you access to many of the regular .NET speakers but in a much smaller venue. Personally, I&amp;#39;m giving a pre-con called &amp;quot;WPF Meets the iPhone&amp;quot; which elaborates on my article in CoDe Magazine ( http://www.devx.com/codemag/Article/37589 ). In this pre-con you learn a lot about WPF in general as we do something fun--recreate the iPhone user interface in WPF. Kevin McNeish...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2008/05/08/devteach-toronto-2008.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1616739" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>How to select a different WPF TabItem in Visual Studio 2008</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2008/03/25/how-to-select-a-different-wpf-tabitem-in-visual-studio-2008.aspx" /><id>/blogs/kevinmcneish/archive/2008/03/25/how-to-select-a-different-wpf-tabitem-in-visual-studio-2008.aspx</id><published>2008-03-25T14:05:00Z</published><updated>2008-03-25T14:05:00Z</updated><content type="html">Sadly, Microsoft did not provide a TabControl designer for Visual Studio 2008. If you want to edit a TabItem, you can get around this limitation and select a TabItem other than the default by temporarily changing the TabControl&amp;#39;s &amp;lt;&amp;lt;b&amp;gt;&amp;gt;SelectedIndex&amp;lt;&amp;lt;/b&amp;gt;&amp;gt; property to the index of the TabItem you want to edit. Kevin McNeish INETA Speaker Microsoft .NET MVP President, Oak Leaf Enterprises, Inc. Chief Architect, MM .NET Application Framework http://www.oakleafsd.com/...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2008/03/25/how-to-select-a-different-wpf-tabitem-in-visual-studio-2008.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1552886" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>How to apply a WPF style to all elements of a particular type? </title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2008/01/07/how-to-apply-a-wpf-style-to-all-elements-of-a-particular-type.aspx" /><id>/blogs/kevinmcneish/archive/2008/01/07/how-to-apply-a-wpf-style-to-all-elements-of-a-particular-type.aspx</id><published>2008-01-07T06:24:00Z</published><updated>2008-01-07T06:24:00Z</updated><content type="html">Often, you need to apply the same style to elements of a particular type, such as Button, TextBox, MenuItem, and so on. To do this, specify a style that uses the TargetType attribute. The following example demonstrates specifying Font settings and a Background color for all Buttons on a form: &amp;lt;Window.Resources&amp;gt; &amp;lt;Style TargetType=&amp;quot;{x:Type Button}&amp;quot;&amp;gt; &amp;lt;Setter Property=&amp;quot;FontFamily&amp;quot; Value=&amp;quot;Times New Roman&amp;quot; /&amp;gt; &amp;lt;Setter Property=&amp;quot;FontSize&amp;quot; Value...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2008/01/07/how-to-apply-a-wpf-style-to-all-elements-of-a-particular-type.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1443154" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Fixing the Vista backup error "the system cannot find the specified file"</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2007/11/02/fixing-the-vista-backup-error-quot-the-system-cannot-find-the-specified-file-quot.aspx" /><id>/blogs/kevinmcneish/archive/2007/11/02/fixing-the-vista-backup-error-quot-the-system-cannot-find-the-specified-file-quot.aspx</id><published>2007-11-02T15:59:00Z</published><updated>2007-11-02T15:59:00Z</updated><content type="html">I&amp;#39;ve been getting an error &amp;quot;when using the Vista Backup tools the last few days &amp;quot;the backup did not complete...the system cannot find the specified file&amp;quot;. As it turns out this seems to be a Vista &amp;quot;issue&amp;quot;. Apparently this is because a shadow copy created by Vista is conflicting with the backup process. Here&amp;#39;s what I did to fix the problem: From Control Panel, select &amp;quot;System&amp;quot; In the System Protection tab, uncheck all drives listed under &amp;quot;Automatic Restore...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2007/11/02/fixing-the-vista-backup-error-quot-the-system-cannot-find-the-specified-file-quot.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1278540" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Downloading the VS 2005 Class Designer PowerToys</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2007/08/23/downloading-the-vs-2005-class-designer-powertoys.aspx" /><id>/blogs/kevinmcneish/archive/2007/08/23/downloading-the-vs-2005-class-designer-powertoys.aspx</id><published>2007-08-23T22:38:00Z</published><updated>2007-08-23T22:38:00Z</updated><content type="html">I just heard that you can download the VS 2005 Class Designer PowerToys at this link: http://www.codeplex.com/modeling With the deminse of the GotDotNet web site, it&amp;#39;s been difficult to find a place where it can be downloaded! Kevin McNeish Microsoft .NET MVP President, Oak Leaf Enterprises, Inc. Chief Architect, MM .NET Application Framework: http://www.oakleafsd.com...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2007/08/23/downloading-the-vs-2005-class-designer-powertoys.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1134012" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>DevTeach 2007, Vancouver - .NET 3.0/3.5 Training PreCon</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2007/07/17/devteach-2007-vancouver-net-3-0-training-precon.aspx" /><id>/blogs/kevinmcneish/archive/2007/07/17/devteach-2007-vancouver-net-3-0-training-precon.aspx</id><published>2007-07-17T18:24:00Z</published><updated>2007-07-17T18:24:00Z</updated><content type="html">Just wanted to let everyone know about the .NET 3.0 pre-con I&amp;#39;ll be giving at DevTeach 2007, Vancouver on November 26. I&amp;#39;ll be giving an introductory session on all four .NET 3.0 technologies: Windows Workflow Windows Presentation Foundation Windows Communication Foundation Windows CardSpace If you want to get up the learning curve quickly and get a great all-day immersion in these new technologies I recommend heading to Vancouver for this pre-con ( www.devteach.com )! DevTeach conference...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2007/07/17/devteach-2007-vancouver-net-3-0-training-precon.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1033811" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Converting a String to a GUID</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2007/05/26/converting-a-string-to-a-guid.aspx" /><id>/blogs/kevinmcneish/archive/2007/05/26/converting-a-string-to-a-guid.aspx</id><published>2007-05-26T02:50:00Z</published><updated>2007-05-26T02:50:00Z</updated><content type="html">To convert a string to a GUID, do the following: In C#: Guid MyGuid = new Guid(stringValue); And in VB .NET: Dim MyGuid As Guid = New Guid(stringValue) Best Regards, Kevin McNeish Microsoft .NET MVP President, Oak Leaf Enterprises, Inc . Chief Architect of the MM .NET Application Framework...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2007/05/26/converting-a-string-to-a-guid.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=926137" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Fixing the Creation of Setup/Deployment Packages on Windows Vista (Fixing the dreaded "error code 2869")</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2007/05/09/fixing-the-creation-of-setup-deployment-packages-on-windows-vista-fixing-the-dreaded-quot-error-code-2869-quot.aspx" /><id>/blogs/kevinmcneish/archive/2007/05/09/fixing-the-creation-of-setup-deployment-packages-on-windows-vista-fixing-the-dreaded-quot-error-code-2869-quot.aspx</id><published>2007-05-09T15:31:00Z</published><updated>2007-05-09T15:31:00Z</updated><content type="html">There are a few Visual Studio 2005 bugs that surface when building installation packages on a Windows Vista machine. If your installation package performs a custom action you will get the dreaded &amp;quot;error code 2869&amp;quot; error during installation Exceptions thrown during the install process are obscured I found answers to these problems in Aaron Stebner&amp;#39;s Web Log and at Omar Shahine&amp;#39;s Web Log -- thanks to these folks for posting their solutions! Some of the instructions were not as clear...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2007/05/09/fixing-the-creation-of-setup-deployment-packages-on-windows-vista-fixing-the-dreaded-quot-error-code-2869-quot.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=895923" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Property Code Snippet for Visual Studio 2005</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2007/04/30/property-code-snippet-for-visual-studio-2005.aspx" /><id>/blogs/kevinmcneish/archive/2007/04/30/property-code-snippet-for-visual-studio-2005.aspx</id><published>2007-04-30T00:19:00Z</published><updated>2007-04-30T00:19:00Z</updated><content type="html">In contrast to the default Visual Studio format, I prefer to format my properties like this with the associated variable beneath the property declaration and a comment above it &amp;lt;s&amp;gt;: /// &amp;lt;summary&amp;gt; /// OrderID Property /// &amp;lt;/summary&amp;gt; public int OrderID { get { return _orderID; } set { _orderID = value ; } } private int _orderID; My partner in crime Rick Strahl ( www.west-wind.com ) wrote a blog post about a snippet he created do something similar which gave me the idea to do it to...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2007/04/30/property-code-snippet-for-visual-studio-2005.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=883930" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Fixing "Rebuild" error when using the Object Test Bench</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2007/04/29/fixing-quot-rebuild-quot-error-when-using-the-object-test-bench.aspx" /><id>/blogs/kevinmcneish/archive/2007/04/29/fixing-quot-rebuild-quot-error-when-using-the-object-test-bench.aspx</id><published>2007-04-29T04:07:00Z</published><updated>2007-04-29T04:07:00Z</updated><content type="html">Lots of folks don&amp;#39;t know that Visual Studio 2005 has design-time expression evaluation that allows you to instantiate objects and execute their methods at design time--a very cool feature. You can do this by right-clicking an object in a class diagram and selecting Create Instance from the shortcut menu (you can also do the same from the Class View window). If you get an error telling you to rebuild the project when trying to instantiate an object in the Object Test Bench (and the error won&amp;#39;t...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2007/04/29/fixing-quot-rebuild-quot-error-when-using-the-object-test-bench.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=882718" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Visual Studio SDK 4.0 Updates the Microsoft DSL Tools Version 1.0</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2007/03/25/visual-studio-sdk-4-0-updates-the-microsoft-dsl-tools-version-1-0.aspx" /><id>/blogs/kevinmcneish/archive/2007/03/25/visual-studio-sdk-4-0-updates-the-microsoft-dsl-tools-version-1-0.aspx</id><published>2007-03-25T05:28:00Z</published><updated>2007-03-25T05:28:00Z</updated><content type="html">If you were previously using the Microsoft DSL Tools version 1.0 released back in September 2006 in the Visual Studio 2005 SDK 3.0, then you should definitely install the Visual Studio SDK 4.0 that includes bug fixes for Domain Specific Language Tools Version 1.0. To see what's been changed, after installing the 4.0 SDK, check out the following Readme.htm file located in this directory by default: C:\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Tools\DSLTools\readme.htm Kevin...(&lt;a href="http://msmvps.com/blogs/kevinmcneish/archive/2007/03/25/visual-studio-sdk-4-0-updates-the-microsoft-dsl-tools-version-1-0.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=707973" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>New Microsoft Empower Program Link - Get MSDN Universal on the cheap--just $375!</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2006/12/20/new-microsoft-empower-program-link-get-msdn-universal-on-the-cheap-just-375.aspx" /><id>/blogs/kevinmcneish/archive/2006/12/20/new-microsoft-empower-program-link-get-msdn-universal-on-the-cheap-just-375.aspx</id><published>2006-12-20T03:27:00Z</published><updated>2006-12-20T03:27:00Z</updated><content type="html">&lt;P&gt;This is an update my previous blog post about the Microsoft Empower program. Here is the new link to the program:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://empower-isv.one.microsoft.com/isv/programguide/Default.aspx"&gt;https://empower-isv.one.microsoft.com/isv/programguide/Default.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you keep clicking the Next button, you'll get to the Benefits page which, among other things, lists the following benefit that you get for just $375:&lt;/P&gt;
&lt;P&gt;
&lt;TABLE class="" cellSpacing=0 cellPadding=4&gt;

&lt;TR class=BodyBoldText&gt;
&lt;TD class="" colSpan=2&gt;Development and Testing Licenses&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;&lt;B&gt;MSDN® Universal Subscription&lt;/B&gt;&lt;BR&gt;(Licenses included in MSDN are for development and testing only)&lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;
&lt;P class=BodyText&gt;&lt;SPAN class=BodyText id=lblPGBenefitsDev02&gt;One (1) MSDN Universal license and four (4) user licenses. Up to five (5) partner staff members can use MSDN licenses for development and testing concurrently.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;/P&gt;
&lt;P&gt;Basically, they require that you build an application that supports one of the following platforms:&lt;/P&gt;
&lt;P&gt;
&lt;TABLE class="" cellSpacing=0 cellPadding=4&gt;

&lt;TR&gt;
&lt;TD class=BodyBoldText class="BodyBoldText"&gt;*Microsoft Software&lt;/TD&gt;
&lt;TD class=BodyBoldText class="BodyBoldText"&gt;**Software Tests&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Windows® .NET Server 2003&lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;Certified for Windows® .NET Server 2003&lt;BR&gt;Designed for Windows® Server 2003&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Windows® XP &lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;Designed for Windows® XP Testing&lt;/TD&gt;&lt;/TR&gt;&lt;tr&gt;
			&lt;td class="BodyText"&gt;Microsoft&amp;reg; Windows&amp;reg; 2000&lt;/td&gt;
			&lt;td class="BodyText"&gt;Verified Compatible for Microsoft&amp;reg; Windows&amp;reg; 2000&lt;br&gt;Certified for Microsoft&amp;reg; Windows&amp;reg; 2000&lt;/td&gt;
		&lt;/tr&gt;
		--&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® SQL Server™ 2000&lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;Certified for SQL Server™ 2000&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® mobility platform (Microsoft® Windows® for Pocket PC, Microsoft® Windows® for Smartphone)&lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;Designed for Windows® for PocketPC&lt;BR&gt;Designed for Windows® for Smartphone&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Office&lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Platform Test for ISV Solutions - OS component, Office Component&lt;BR&gt;OR&lt;BR&gt;Designed for Windows® and Office Component&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® .NET Web services&lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Platform Test for ISV Solutions – OS component , Web service component&lt;BR&gt;OR&lt;BR&gt;Designed for Windows® and Web service component&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® .NET Framework&lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Platform Test for ISV Solutions – OS component, Managed Code component&lt;BR&gt;OR&lt;BR&gt;Designed for Windows® and Managed Code component&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Business Solutions&lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Business Solutions Test for ISV Solutions-Great Plains;&lt;BR&gt;Microsoft® Business Solutions Test for ISV Solutions-Navision;&lt;BR&gt;Microsoft® Business Solutions Test for ISV Solutions-Axapta;&lt;BR&gt;Microsoft® Business Solutions Test for ISV Solutions-Solomon&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Small Business Accounting&lt;/TD&gt;
&lt;TD class=BodyText class="BodyText"&gt;Microsoft® Small Business Accounting&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=435201" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Create Instance Failed in Object Test Bench - Culprit: Enable SQL Server Debugging</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2006/12/17/create-instance-failed-in-object-test-bench-culprit-enable-sql-server-debugging.aspx" /><id>/blogs/kevinmcneish/archive/2006/12/17/create-instance-failed-in-object-test-bench-culprit-enable-sql-server-debugging.aspx</id><published>2006-12-17T06:23:00Z</published><updated>2006-12-17T06:23:00Z</updated><content type="html">&lt;P&gt;I've had a number of developers ask me about encountering the "Create Instance Failed" error messsage when instantiating an object at design time in conjunction with the Object Test Bench.&lt;/P&gt;
&lt;P&gt;I was able to consistently reproduce this error by turning on Enable SQL Server debugging. If you are experiencing this problem, you can try the following to see if it "fixes" the problem:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Right-click your project and select Properties from the shortcut menu. &lt;/LI&gt;
&lt;LI&gt;Under Debug, uncheck &lt;STRONG&gt;Enable SQL Server debugging &lt;/STRONG&gt;if it's selected&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;You may also get this error if you are working in a Web project. If you disable the Web site from being compiled you can get past this error.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Verdana;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-no-proof:yes;"&gt;Kevin McNeish&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-no-proof:yes;"&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;FONT-FAMILY:Verdana;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-no-proof:yes;mso-bidi-font-size:12.0pt;"&gt;&lt;A href="http://www.microsoft.com/communities/mvp/mvpdetails.mspx?Params=%7eCMTYDataSvcParams%5e%7earg+Name%3d%22guid%22+Value%3d%2202c153bc-cbf0-4024-9670-d93f39f31b04%22%2f%5e%7esParams%5e%7e%2fsParams%5e%7e%2fCMTYDataSvcParams%5e"&gt;Microsoft .NET MVP&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE:10pt;COLOR:blue;FONT-FAMILY:Verdana;mso-fareast-font-family:'Times New Roman';mso-bidi-font-family:'Times New Roman';mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;mso-no-proof:yes;"&gt;&lt;BR&gt;President, Oak Leaf Enterprises, Inc.&lt;BR&gt;Web: &lt;A href="http://www.oakleafsd.com/"&gt;&lt;SPAN style="mso-bidi-font-size:12.0pt;"&gt;http://www.oakleafsd.com&lt;/SPAN&gt;&lt;/A&gt;&lt;BR style="mso-special-character:line-break;"&gt;&lt;BR style="mso-special-character:line-break;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=427845" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>SQL Server 2005 and SQL Express Error: SQL Server does not allow remote connections</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2006/10/13/SQL-Server-2005-and-SQL-Express-Error_3A00_-SQL-Server-does-not-allow-remote-connections.aspx" /><id>/blogs/kevinmcneish/archive/2006/10/13/SQL-Server-2005-and-SQL-Express-Error_3A00_-SQL-Server-does-not-allow-remote-connections.aspx</id><published>2006-10-13T00:54:00Z</published><updated>2006-10-13T00:54:00Z</updated><content type="html">If you get the following error when connecting to SQL Server 2005 (including SQL Express): &lt;p&gt;An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. &lt;/p&gt;&lt;p&gt;Then check out this MSDN article that describes how to use the SQL Server Surface Area Configuration Tool to allow remote connections: &lt;/p&gt;&lt;p&gt;&lt;a href="http://support.microsoft.com/default.aspx?scid=kb%3bEN-US%3b914277" target="top"&gt;http://support.microsoft.com/default.aspx?scid=kb%3bEN-US%3b914277&lt;/a&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=173745" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Converting a String to an Enumerated Value</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2006/09/13/Converting-a-String-to-an-Enumerated-Value.aspx" /><id>/blogs/kevinmcneish/archive/2006/09/13/Converting-a-String-to-an-Enumerated-Value.aspx</id><published>2006-09-13T20:39:00Z</published><updated>2006-09-13T20:39:00Z</updated><content type="html">You can convert a string to an enumerated value by using Enum.Parse(). For example, the following code converts the string &amp;quot;Int32&amp;quot; to the corresponding System.&lt;strong&gt;Data.DbType&lt;/strong&gt; enum value: &lt;pre&gt;&lt;div class="csharpcode"&gt;&lt;strong&gt;Param.DbType = (DbType)Enum.Parse(&lt;span class="operators"&gt;typeof&lt;/span&gt;(DbType), &lt;span class="codestring"&gt;&amp;quot;Int32&amp;quot;&lt;/span&gt;, &lt;span class="literals"&gt;true&lt;/span&gt;);&lt;/strong&gt;&lt;/div&gt;&lt;div class="csharpcode"&gt;&lt;/div&gt;&lt;/pre&gt;This is a nice tip that will save you from writing some ugly code!&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=126700" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>ASP.NET Visual Studio Component Tray - Where is it?</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2005/12/06/78281.aspx" /><id>/blogs/kevinmcneish/archive/2005/12/06/78281.aspx</id><published>2005-12-07T05:45:00Z</published><updated>2005-12-07T05:45:00Z</updated><content type="html">&lt;FONT size=2&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=3&gt;&lt;SPAN class=header2&gt;&lt;FONT color=#a52a2a&gt;&lt;STRONG&gt;Adding Non-Visual Components to a Web Form&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt; &lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Verdana size=3&gt;In Visual Studio 2005 the Component Tray has changed. To add non-visual controls to the form, you must open the Component Designer surface of your Web page. To do this, right-click your Web Form in the Solution Explorer (or right click the Web Form in design mode) and select &lt;B&gt;View Component Designer&lt;/B&gt; from the shortcut menu. This opens the Compnent Designer for your web page. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=3&gt;&lt;SPAN class=header2&gt;&lt;FONT color=#a52a2a&gt;&lt;STRONG&gt;Adding Event Handlers to a Web Form&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/SPAN&gt; &lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Verdana size=3&gt;You also need to use the Component Designer to add event handlers (other than Load) for your web page. After you view the Component Designer for your web page, you can click the Events lightning bolt on the Properties Window to view web page events for which you can create handlers. &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Verdana&gt;&lt;FONT size=3&gt;&lt;B&gt;Note:&lt;/B&gt; In order to view the Component Designer, you must have chosen to place the code for your Web page in a separate file. You cannot access the Component Designer from Web pages that use inline code only&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=78281" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Purchasing Visual Studio 2005 (and most everything else) for $375!</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2005/11/14/75631.aspx" /><id>/blogs/kevinmcneish/archive/2005/11/14/75631.aspx</id><published>2005-11-15T02:01:00Z</published><updated>2005-11-15T02:01:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Verdana size=3&gt;If you don't already have an MSDN subscription or if you need to renew soon, I HIGHLY recommend checking out the Microsoft Empower program: &lt;/P&gt;
&lt;P&gt;&lt;A href="https://partner.microsoft.com/global/40010429"&gt;https://partner.microsoft.com/global/40010429&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This is the deal of the century. For just $375 (this is NOT a typo), you get: up to five operating system licenses as well as Microsoft Office (Premium or Developer Editions), licenses for Windows Server 2003, Exchange Server, SQL Server, Office SharePoint Portal Server, one MSDN Universal subscription with five user licenses which includes Visual Studio 2005 Professional Edition, as well as technical support and 10 hours of ISV Advisory Service. In order to qualify for this program you must sign up as Microsoft's lowest Partner level (a real breeze) Again, check the above link for details and requirements.&lt;/FONT&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=75631" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>VS 2005 Design-Time Expression Evaluation</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2005/11/05/74451.aspx" /><id>/blogs/kevinmcneish/archive/2005/11/05/74451.aspx</id><published>2005-11-05T16:53:00Z</published><updated>2005-11-05T16:53:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Verdana size=3&gt;FYI, I have written an article for Universal Thread magazine on design-time expression evaluation in Visual Studio 2005:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.utmag.com/wconnect/wc.dll?LevelExtreme~9,7,10,857"&gt;http://www.utmag.com/wconnect/wc.dll?LevelExtreme~9,7,10,857&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Design-time expression evaluation is a great new feature of VS 2005 that allows you to instantiate and test your application classes at design time by means of the new Object Browser and the enhanced Immediate Window. For those of you who come from the FoxPro world, this is very much like FoxPro's Command Window.&lt;/P&gt;&lt;/FONT&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=74451" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>Uninstalling Visual Studio 2005 Betas</title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2005/11/01/73918.aspx" /><id>/blogs/kevinmcneish/archive/2005/11/01/73918.aspx</id><published>2005-11-01T23:40:00Z</published><updated>2005-11-01T23:40:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Arial size=3&gt;With Visual Studio 2005 now available for download on the Microsoft web site, you probably have an older copy of VS 2005 on your machine you would like to completely uninstall so you can install the VS 2005 final release. Great news...Microsoft has created some tools for the job. I was IMing with Rick Strahl tonight and he told me about Andrew Stebner's web log which contains links to some VS 2005 uninstall tools:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/astebner/archive/2005/10/27/485987.aspx"&gt;http://blogs.msdn.com/astebner/archive/2005/10/27/485987.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully this will help you have a smooth transition to the new release!&lt;/FONT&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=73918" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry><entry><title>DevTeach 2006 - Call for Speakers </title><link rel="alternate" type="text/html" href="/blogs/kevinmcneish/archive/2005/10/26/73059.aspx" /><id>/blogs/kevinmcneish/archive/2005/10/26/73059.aspx</id><published>2005-10-27T01:35:00Z</published><updated>2005-10-27T01:35:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Verdana size=2&gt;It's official...DevTeach 2006 is going to be held on May 8-12, 2006 in Montreal. This is one of the best .NET conferences to attend since its smaller venue allows you to have close contact with speakers and fellow attendees. Montreal is a beautiful city with lots of night life and great restaurants. If you have a few extra days I HIGHLY recommend taking a few hour train ride up to Quebec City--it's like going to Europe without going to Europe. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Markus Egger and I are .NET chairs for the conference again and we look forward to the best DevTeach yet. Check the DevTeach site (&lt;/FONT&gt;&lt;A href="http://devteach.com"&gt;&lt;FONT face=Verdana&gt;http://devteach.com&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Verdana&gt;) later this week for details. The call for sessions will be from November 1 to December 31. If you plan on submitting sessions I highly recommend:&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Submit several (five or more) session abstracts. This will definitely increase your chances of being selected to speak. If you only submit two sessions and one of our returning popular speakers submits the same sessions...you get the idea!&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Be specific and professional. A few sentences of generalization and buzz words isn't going to make an impression. The work you put into your submissions says a lot about the work you will put into your sessions&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;
&lt;LI&gt;&lt;FONT face=Verdana size=2&gt;Submit sessions on technologies you actually have experience with. This provides the kind of in-depth coverage we're looking for. Warmed-over repeats of high-level sessions that can be seen for free on the Microsoft web site won't be well received&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;We hope to see you there!&lt;/FONT&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=73059" width="1" height="1"&gt;</content><author><name>KevinMcNeish</name><uri>http://msmvps.com/members/KevinMcNeish/default.aspx</uri></author></entry></feed>