<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>CLYDE BARRETTO's BLOG - .NET etc.</title>
  <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/" />
  <link rel="self" href="http://www.knowthycode.com/clydesblog/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2010-01-31T07:09:59.4189975-08:00</updated>
  <author>
    <name>Clyde Barretto</name>
  </author>
  <subtitle>Visual Studio/.NET/Smart Client/SharePoint</subtitle>
  <id>http://www.knowthycode.com/clydesblog/</id>
  <generator uri="http://www.dasblog.net" version="1.8.5223.2">DasBlog</generator>
  <entry>
    <title>ASP.NET MVC 2 RC (evaluating)– EDIT controller bug related to UpdateModel and ValueProvider</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,276c1758-cd02-47cf-9b4a-1828bc4840dc.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,276c1758-cd02-47cf-9b4a-1828bc4840dc.aspx</id>
    <published>2010-01-31T23:29:47.588-08:00</published>
    <updated>2010-01-31T07:09:59.4189975-08:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="ASP.Net" label="ASP.Net" scheme="dasBlog" />
    <category term="MVC" label="MVC" scheme="dasBlog" />
    <category term="Visual Basic \ VB.Net" label="Visual Basic \ VB.Net" scheme="dasBlog" />
    <category term="Visual C#" label="Visual C#" scheme="dasBlog" />
    <category term="Visual Studio 2008" label="Visual Studio 2008" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      We were evaluating ASP.NET MVC 2 RC. As a detour instead of creating the regular NerdDinner
      web application, We decided to hook up the MVC application to our own database with
      some legacy data. We created the MODEL and related CONTROLLERS and VIEWS for actions
      view,create successfully. 
   </p>
        <p>
      We ran into trouble while implementing EDIT feature....We first created the related
      Controller then the View. When we tested the application – there were no errors thrown
      – except that <strong><u>NO UPDATES</u></strong> were being made to the database.
      After setting breakpoints etc. the error was being thrown when we were using <strong><u>UpdateModel</u></strong> to
      update the model with the <strong><u>FormCollection.ToValueProvider</u></strong> statement.
   </p>
        <p>
      Offending Code in <em>public ActionResult Edit(int id, FormCollection collection) </em>{Initialization
      Code here.....then...<strong>UpdateModel(yourmodelinstance, collection.ToValueProvider())</strong></p>
        <p>
      Error Thrown: "<strong>Value cannot be null or empty.\r\nParameter name: name</strong>"
   </p>
        <p>
      Change to : <strong>UpdateModel(yourmodelinstance)</strong></p>
        <p>
      We first checked if there was something wrong in our implementation and after sometime
      decide that is was not necessarily our model \implementation that was causing the
      issue. The issue lies in MVC 2 RC framework – please review links below – per MS this
      will be fixed in the next code drop. In the mean time leave out the 2’nd parameter
      of the UpdateModel call as suggested by the article – this works.
   </p>
        <p>
          <a href="http://forums.asp.net/p/1514421/3620957.aspx">http://forums.asp.net/p/1514421/3620957.aspx</a>
        </p>
        <p>
      The reason I am writing this post is that it took quite a bit of time to debug the
      problem – and searching the forums\internet did not easily yield any helpful articles
      – hope this helps.
   </p>
        <p>
      There is also another post where someone has actually fixed the MVC Open Source to
      fix the core problem - although I cannot vouch if this is a long term solution - if
      you are interested here is the link ...http://blogs.victorero.com/. We will wait for
      the next MVC update, as we are not using this in production currently.
   </p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=276c1758-cd02-47cf-9b4a-1828bc4840dc" />
      </div>
    </content>
  </entry>
  <entry>
    <title>'jQuery' is undefined error in Sharepoint</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,906a03c3-d9a2-438f-b1d4-8bb9e3ea6c83.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,906a03c3-d9a2-438f-b1d4-8bb9e3ea6c83.aspx</id>
    <published>2010-01-22T22:27:51.265-08:00</published>
    <updated>2010-01-22T22:27:51.2652198-08:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="jQuery" label="jQuery" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <category term="WebPart" label="WebPart" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;&lt;font face=Arial&gt;We are currently using the jQuery library&amp;nbsp;as
   part of providing a&amp;nbsp;SharePoint solution. We are using the library to provide
   the client with a rich interface in the browser.&amp;nbsp;&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;&lt;font face=Arial&gt;We had included the references to the &lt;strong&gt;jQuery &lt;/strong&gt;library
   in our &lt;strong&gt;Master Page&lt;/strong&gt; for the site. We had had developed several &lt;strong&gt;Sharepoint
   web parts&lt;/strong&gt; which in some cases needed the &lt;strong&gt;jQuery&lt;/strong&gt; library.&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;&lt;font face=Arial&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;&lt;font face=Arial&gt;Since we started using it we have seen our SharePoint
   pages get &lt;strong&gt;'stuck'&lt;/strong&gt; very often - mostly we have had to kill our browser
   sessions. The behavior is inconsistent and there is not specific way to trigger it
   off - just loading a page does it.&lt;font color=#000000&gt;&lt;font face=Arial&gt; &lt;/font&gt;&lt;/font&gt;The
   first pointer to us that it it had to do with something related to loading the jQuery
   libraries was when our browser in some instances started throwing the error below
   - we were using Internet Explorer 7.&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;
      &lt;font face=Arial color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;&lt;strong&gt;Error: 'jQuery' us undefined&lt;/strong&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;&lt;strong&gt;&lt;font face=Arial&gt;Code:0&lt;span style="FONT-FAMILY: Verdana"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;o:p&gt;
      &lt;font face=Arial color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;&lt;font face=Arial&gt;&lt;strong&gt;Current Solution&lt;/strong&gt;: We copied
   all the jQuery to the &lt;strong&gt;local web server&lt;/strong&gt; and everything seems to be
   working properly now. I will find a long term solution, but for now this will do.&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=906a03c3-d9a2-438f-b1d4-8bb9e3ea6c83" /&gt;</content>
  </entry>
  <entry>
    <title>Performing COMPUTATIONAL UPDATES using COMMON TABLE EXPRESSIONS and RANK in SQL SERVER</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,a0da6d91-3b93-4fa1-8153-6aea8bd5e7bc.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,a0da6d91-3b93-4fa1-8153-6aea8bd5e7bc.aspx</id>
    <published>2010-01-21T21:58:45.046-08:00</published>
    <updated>2010-01-22T22:30:53.2183448-08:00</updated>
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="Performance" label="Performance" scheme="dasBlog" />
    <category term="SQL Server" label="SQL Server" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;I recently was faced with a situation that needed to
   update a field in a table with a &lt;strong&gt;NUMERIC RANK&lt;/strong&gt; based on values in
   certain column(s). &lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;Traditionally we would have written scripts that were
   either PL\SQL to sort data etc. using cursors etc. and then update the field or write
   a program (in case of huge datasets) that sorted the data in a temporary dataset and
   then write update statements. Well….I did not want to do that, I wanted to write something
   short and sweet that could be reused and could scale in large datasets.&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;
      &lt;font face=Arial color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;I started thinking about using a combination of the
   newer &lt;strong&gt;&lt;u&gt;SQL Server&lt;/u&gt;&lt;/strong&gt; features &lt;strong&gt;&lt;u&gt;COMMON TABLE EXPRESSION&lt;/u&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;u&gt;RANK(
   )&lt;/u&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;u&gt;UPDATE&lt;/u&gt;&lt;/strong&gt; sql. I rank into a couple of roadblocks
   initially e.g. when I tried writing a common table expression in a scalar function
   – it did not allow that. In the end, I did get it working.&amp;nbsp; I have also attached
   a &lt;strong&gt;&lt;u&gt;demo SQL script&lt;/u&gt;&lt;/strong&gt;&amp;nbsp;&lt;a href="http://www.knowthycode.com/clydesblog/content/binary/use_cte_rank_toupdate.sql"&gt;&lt;font face=Verdana&gt;use_cte_rank_toupdate.sql
   (1.4 KB)&lt;/font&gt;&lt;/a&gt;&amp;nbsp;that is a self reliant script that demo's the idea.&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;&lt;/font&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;&lt;strong&gt;&lt;u&gt;VISUALISATION&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;&lt;img src="http://www.knowthycode.com/clydesblog/content/binary/update_using_cte_and_rank.PNG" border=0&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;&lt;/font&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;Here are the steps – you can essentially replace each
   step with specific SQL’s that correspond to your business needs – but the high level
   steps\concepts can be followed.&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;o:p&gt;
      &lt;font face=Arial color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;&lt;strong&gt;STEP 1&lt;/strong&gt;: Write a SQL Statement that
   first sorts your data using the RANK() function&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;&lt;strong&gt;STEP 2&lt;/strong&gt;: Wrap the SQL Statement from
   Step 1 in a COMMON TABLE EXPRESSION WITH syntax&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;&lt;strong&gt;STEP 3&lt;/strong&gt;: Write an UPDATE statement
   to update the original TABLE&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;that joins
   the COMMON TABLE EXPRESSION with the ORIGINAL TABLE to update the NUMERIC RANK column&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;o:p&gt;
      &lt;font face=Arial color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font face=Arial color=#000000&gt;Essentially the idea is to use these new features to
   make development simpler - I hope this article spawns different ideas in your minds
   of leveraging your SQL features.&lt;/font&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=a0da6d91-3b93-4fa1-8153-6aea8bd5e7bc" /&gt;</content>
  </entry>
  <entry>
    <title>Using Office Excel 2007 to create an intermediate XML file to help export SharePoint list data to SQL Server</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,1fd7d6f5-aa1a-4265-8e58-e2ed1f0e31f8.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,1fd7d6f5-aa1a-4265-8e58-e2ed1f0e31f8.aspx</id>
    <published>2009-12-18T13:10:16.028-08:00</published>
    <updated>2009-12-17T13:12:13.8562397-08:00</updated>
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <category term="Excel" label="Excel" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">
          </span>
        </p>
        <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
          <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
            <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">I was recently
      exporting data from SharePoint to SQL Server. For reasons that had to do mostly with
      business rules, I had to follow the following steps.</span>
          </p>
          <ol>
            <li>
              <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Export
            Data from a SharePoint list into an Excel Spreadsheet.</span>
              </div>
            </li>
            <li>
              <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Massage
            and cleanup data in the Spreadsheet.</span>
              </div>
            </li>
            <li>
              <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Export
            Data from Spreadsheet to a XML file.</span>
              </div>
            </li>
            <li>
              <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Write
            a program to upload data into SQL Server using scripts using XML transformation,</span>
              </div>
            </li>
          </ol>
          <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
      By default Office 2007 does not seem to be setup to export data to an XML file. Here
      are the steps to enable and perform the XML export. 
   </p>
        </span>
        <ol>
          <li>
            <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Download
            the XML Tools Add-in at <a href="http://www.microsoft.com/downloads/details.aspx?familyid=72852247-6afd-425c-83b1-1f94e4ac2775&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=72852247-6afd-425c-83b1-1f94e4ac2775&amp;displaylang=en</a></span>
              </span>
            </div>
          </li>
          <li>
            <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Run
            the executable that you downloaded, note the path where you download the <strong>XmlTools.xla</strong> File,
            it should be normally downloaded at \Office Samples\OfficeExcel2003XMLToolsAddin.</span>
              </span>
            </div>
          </li>
          <li>
            <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Open
            the Excel file where your data resides. Click on the Top Left Corner i.e. the <strong>Microsoft
            Office Button</strong>, Select <strong>Excel Options</strong>.</span>
              </span>
            </div>
          </li>
          <li>
            <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">On
            the Popular tab select "<strong>Show Developer tab in the Ribbon".</strong></span>
              </span>
            </div>
          </li>
          <li>
            <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Go
            to the <strong>Add-ins</strong> tab, At the bottom select <strong>Manage</strong> 
            "<strong>Excel-Addins</strong>" option. Click Go.</span>
              </span>
            </div>
          </li>
          <li>
            <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Choose
            Browse, Select the <strong>XmlTools.xla</strong> file you downloaded.</span>
              </span>
            </div>
          </li>
          <li>
            <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Goto
            the "<strong>Add-ins</strong>" tab, In the <strong>XML Tools</strong> tab select choose
            "<strong>Convert a Range to an XML List</strong>". Using this option allows you to
            identify an Excel region to convert to an XML File, essentially you are creating an <strong>XML
            Map</strong>.</span>
              </span>
            </div>
          </li>
          <li>
            <div class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                  <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                    <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Goto
            the "<strong>Developer</strong>" tab, your <strong>Export</strong> button should now
            be enabled. If you click this button it will guide you to creating an XML file.</span>
                  </span>
                </span>
              </span>
            </div>
          </li>
        </ol>
        <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
          <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
            <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">NOTE:
      Once you create an XML map you can also use the File --&gt; Save As option to create
      an XML file.</span>
              </span>
            </span>
          </span>
        </p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=1fd7d6f5-aa1a-4265-8e58-e2ed1f0e31f8" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Tips for Debugging SharePoint WebPart\WebParts during Code Development</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,e98aaa5e-dfd7-4eaf-8eb9-24704d286979.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,e98aaa5e-dfd7-4eaf-8eb9-24704d286979.aspx</id>
    <published>2009-11-05T10:55:32.58-08:00</published>
    <updated>2009-11-05T11:05:32.9207335-08:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="MOSS 2007" label="MOSS 2007" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Visual Studio 2008" label="Visual Studio 2008" scheme="dasBlog" />
    <category term="WebPart" label="WebPart" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <font face="Arial">
          <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'">
            <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">When adding a web
      part to a Web Page in DESIGN MODE OR implicitly RUNNING a web part when you load a
      page,</span>
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">you might
      face issues like the page not loading due to recent code changes in the web part code. </span>
            </p>
            <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
              </span> 
   </p>
            <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">Here are some basic
      steps to troubleshoot and Debug the code in your SharePoint web part.</span>
            </p>
            <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
              </span> 
   </p>
            <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <font color="#ff0000">
                  <em>**
      IMPORTANT NOTE: The steps should ONLY be really used in your DEVELOPMENT ENVIRONMENT.
      Once you are done with your debugging\troubleshooting – please REVERT your edits.
      If these changes get into your production site they could cause security\performance
      issues. To make it simple make a copy of your web.config before you start.</em>
                </font>
              </span>
            </p>
            <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
              </span> 
   </p>
            <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <strong>
                  <u>Viewing
      the CALL STACK on your web page – Open your SharePoint Web Site’s web.config</u>
                </strong>
              </span>
            </p>
            <ol>
              <li>
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                  <font color="#000000">Find
         the tag &lt;SafeMode MaxControls="200" CallStack="false". Change the CallStack value
         to true</font>
                </span>
              </li>
              <li>
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                  <font color="#000000">Find
         the tag &lt;customErrors, set the mode=”RemoteOnly”</font>
                </span>
              </li>
              <li>
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                  <font color="#000000">Run
         your web page</font>
                </span>
              </li>
            </ol>
            <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
              <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                  <strong>
                    <u>DEBUGGING
      CODE in your Web Part using Visual Studio 2005\2008</u>
                  </strong>
                </span>
              </p>
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <font color="#000000">
                  <ol>
                  </ol>
                </font>
              </span>
              <li>
                <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                  <font color="#000000">
                    <p class="MsoNormal" style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">
                      <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                        <font color="#000000">
                          <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                            <font color="#000000">Set
         the debug flag to true in web.config &lt; compilation batch="false" debug="true"&gt;</font>
                          </span>
                        </font>
                      </span>
                    </p>
                    <ol>
                    </ol>
                  </font>
                </span>
              </li>
            </span>
          </span>
        </font>
        <li>
          <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
            <font color="#000000">Open
      your Web Part Code Solution in Visual Studio</font>
          </span>
          <ul>
            <li>
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
              </span>
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <font color="#000000">Go
            to Project properties, in the Debug tab make sure your “Start browser with URL” points
            to your SharePoint site where your web part is hosted</font>
              </span>
            </li>
            <li>
              <span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial">
                <font color="#000000">Make
            sure your break points are set. Click F5.</font>
              </span>
            </li>
          </ul>
        </li>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=e98aaa5e-dfd7-4eaf-8eb9-24704d286979" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Cannot see Newly Created\Deployed SharePoint WebParts\WebParts to add to a Page or WebPart Zone in a MOSS environment</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,0e8d39b0-8732-4b46-b85b-61bc50004902.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,0e8d39b0-8732-4b46-b85b-61bc50004902.aspx</id>
    <published>2009-11-03T09:50:08.749-08:00</published>
    <updated>2009-11-03T09:50:08.7497422-08:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="ASP.Net" label="ASP.Net" scheme="dasBlog" />
    <category term="MOSS 2007" label="MOSS 2007" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <category term="Visual Basic \ VB.Net" label="Visual Basic \ VB.Net" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Visual Studio 2008" label="Visual Studio 2008" scheme="dasBlog" />
    <category term="WebPart" label="WebPart" scheme="dasBlog" />
    <content type="html">&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;font size=2&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;font color=#000000&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;Just
   got a request from someone that they could only see only certain Custom Web Parts
   not all (developed in Visual Studio 2008) for selection in SharePoint . They were
   trying to add the web part to a web zone on a page. They created a new solution and
   were deploying their web part using VSeWSS 1.3. The ‘Deploy’ option in Visual Studio
   option did not error out so there was not issue there. 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;font color=#000000&gt;The
   first thing we checked was did the SharePoint DLL get copied in the appropriate folder
   in our case &lt;strong&gt;&lt;span style="FONT-FAMILY: 'Arial','sans-serif'"&gt;C:\Inetpub\wwwroot\wss\VirtualDirectories&lt;/span&gt;&lt;/strong&gt;\&amp;lt;portnumber&amp;gt;\&lt;strong&gt;&lt;span style="FONT-FAMILY: 'Arial','sans-serif'"&gt;bin&lt;/span&gt;&lt;/strong&gt;. &lt;b style="mso-bidi-font-weight: normal"&gt;It
   did&lt;/b&gt;. The date time stamps were also reasonably in sync.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;font color=#000000&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Next
   we checked if the DLL contained web part definitions, we did this by using &lt;strong&gt;&lt;span style="FONT-FAMILY: 'Arial','sans-serif'"&gt;Start&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;All
   Programs&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Microsoft
   Visual Studio 2008&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Visual
   Studio Tools&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Visual
   Studio Command Prompt. &lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Type
   in &lt;strong&gt;&lt;span style="FONT-FAMILY: 'Arial','sans-serif'"&gt;ILDASM&lt;/span&gt;&lt;/strong&gt;,
   this will open the .NET Framework Disassembler &lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt; Open
   the SharePoint WebPart DLL from the bin directory mentioned above. The WebPart Definitions
   were not there!&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;
   &lt;font color=#000000&gt;&lt;span style="FONT-SIZE: 9pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"&gt;That
   meant that deploy was not copying the files to the right location. Next thing was
   to check the location where the files were being deployed Open the solution in &lt;strong&gt;Visual
   Studio 2008&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 9pt; LINE-HEIGHT: 115%; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"&gt; Project
   Properties &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; LINE-HEIGHT: 115%; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 9pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;strong&gt; Debug
   tab&lt;/strong&gt;. The start browser was set to &lt;a href="http://localhost/"&gt;&lt;span style="COLOR: windowtext"&gt;http://localhost/&lt;/span&gt;&lt;/a&gt; which
   was not the SharePoint site where the web part was support to be deployed it was supposed
   to be deployed at &lt;a href="http://localhost:%3cportnumber"&gt;&lt;span style="COLOR: windowtext"&gt;http://localhost:&amp;lt;portnumber&lt;/span&gt;&lt;/a&gt;&amp;gt;.
   We changed the URL and the web parts were now visible!&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;
   &lt;span style="FONT-SIZE: 9pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;font color=#000000&gt;So
   the question was why did the Web Part DLL exist in the wrong directory in the first
   place, the answer turned out to be there were &lt;u&gt;older versions of the Web Part project&lt;/u&gt; which
   had their URL’s set correctly which were still being compiled by developers currently
   hence the confusion.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;
   &lt;span style="FONT-SIZE: 9pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;font color=#000000&gt;Moral
   of the story: &lt;strong&gt;Check your URL First&lt;/strong&gt;, then the contents of the DLL
   to check if the Web Parts are being deployed correctly. Off course you could have
   a host of other issues that could prevent your web parts from being shown, but this
   is what happend in this case.&lt;/font&gt;&lt;/span&gt;
&lt;/font&gt;&lt;/span&gt;&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=0e8d39b0-8732-4b46-b85b-61bc50004902" /&gt;</content>
  </entry>
  <entry>
    <title>Getting intelliSense in Visual Studio when creating\editing a SharePoint BDC xml metadata file</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,0e810c50-cd19-4b11-8802-6a994bcbecf1.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,0e810c50-cd19-4b11-8802-6a994bcbecf1.aspx</id>
    <published>2009-10-29T12:57:11.372-07:00</published>
    <updated>2009-10-29T12:57:11.3724309-07:00</updated>
    <category term="MOSS 2007" label="MOSS 2007" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <category term="Business Data Catalog (BDC)" label="Business Data Catalog (BDC)" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;When
   creating\editing a SharePoint BDC metadata xml file using, Visual Studio you should
   set the schemaLocation value to &lt;strong&gt;C:\Program Files\Microsoft Office Servers\12.0\Bin\bdcmetadata.xsd&lt;/strong&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;.
   It can be represented in the LobSystem tag as shown below. If you open the XML file
   generated by certain tools like simego in Visual Studio, you will get warnings such
   as schema contains errors or file not found, modify the XML file as shown below to
   get intelliSense.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&amp;lt;LobSystem
   xmlns:xsi=&lt;a href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;xsi:schemaLocation
   ="BusinessDataCatalog &lt;strong&gt;file:///C:/Program%20Files/Microsoft%20Office%20Servers/12.0/Bin/bdcmetadata.xsd&lt;/strong&gt;"&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 12pt; COLOR: #003300; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;font face=Calibri color=#000000&gt;&lt;font size=1&gt;Warnings
   shown in Visual Studio if value is not specified properly: &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 12pt; COLOR: #003300; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;font face=Calibri color=#000000&gt;&lt;font size=1&gt;The
   schema referenced from this location in your document contains errors.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=0e810c50-cd19-4b11-8802-6a994bcbecf1" /&gt;</content>
  </entry>
  <entry>
    <title>Cannot Add SharePoint Web Part(s) to a Page or WebPart Zone (Add button missing\hidden) due to modified Theme</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,7e7d2e0b-e76b-4678-9cbb-7036db07ab10.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,7e7d2e0b-e76b-4678-9cbb-7036db07ab10.aspx</id>
    <published>2009-10-28T14:07:41.969-07:00</published>
    <updated>2009-10-28T19:34:28.7466831-07:00</updated>
    <category term="Designer" label="Designer" scheme="dasBlog" />
    <category term="MOSS 2007" label="MOSS 2007" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;I
   was trying to add some basic and custom web parts to a SharePoint web part page and
   realized that although I could scroll through all the web parts in the gallery, I
   could not find the “&lt;b style="mso-bidi-font-weight: normal"&gt;Add&lt;/b&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;”
   button at the bottom of the page. In I could not see any of the usual buttons or links
   at the bottom of the page either. 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;What
   happened was that we had created a custom &lt;b style="mso-bidi-font-weight: normal"&gt;theme&lt;/b&gt; that
   would apply to all web pages in the site; in the process we had modified some CSS
   files with some additional styles. The styles also apply to the &lt;b style="mso-bidi-font-weight: normal"&gt;dialog
   page&lt;/b&gt; that comes up when you click “&lt;b style="mso-bidi-font-weight: normal"&gt;Add
   a Web Part&lt;/b&gt;”. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;The specific style that
   caused the dialog not to show the buttons due to its width element is shown below.
   Please note the buttons are actually created but are not fully visible due to the
   style below.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;#aspnetForm
   {margin:20px auto;&lt;font color=#ff0000 size=3&gt;&lt;strike&gt;width:960px&lt;/strike&gt;&lt;/font&gt;;background-color:white;border:2px
   solid #435380;}&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;i style="mso-bidi-font-style: normal"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;In
   my case, if you remove the&amp;nbsp;&lt;strong&gt;&lt;font size=2&gt;WIDTH&lt;/font&gt;&lt;/strong&gt; element
   the buttons show up properly. I talked to my SharePoint designer Phil Foss&amp;nbsp;(&lt;a href="http://philfoss.com"&gt;http://philfoss.com&lt;/a&gt;&amp;nbsp;)
   who then modified the styles which then made the button visible again.&lt;/span&gt;&lt;/i&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 10pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: 'Times New Roman'"&gt;&lt;em&gt;&lt;font size=1&gt;NOTE:The
   “&lt;b style="mso-bidi-font-weight: normal"&gt;Add Web Parts&lt;/b&gt;” page (webpartgallerypickerpage.aspx)
   is a page that exists in the layouts folder to which styles are applied as well. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;You
   can find a link to the web part gallery page if you look at the source of the page
   that you are editing in your browser (Search for "Add a Web Part").&lt;/font&gt;&lt;/em&gt; &lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=7e7d2e0b-e76b-4678-9cbb-7036db07ab10" /&gt;</content>
  </entry>
  <entry>
    <title>Renaming files to default.aspx in SharePoint to swap out the site default\welcome page will not work</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,e8b08c3d-50b9-4553-b88b-553b6ddccca0.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,e8b08c3d-50b9-4553-b88b-553b6ddccca0.aspx</id>
    <published>2009-10-24T21:06:44.057-07:00</published>
    <updated>2009-10-24T21:13:47.1798144-07:00</updated>
    <category term="MOSS 2007" label="MOSS 2007" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;If you are trying
   to swap out the home page of a SharePoint site (Default.aspx) file with another file
   by renaming it in SharePoint, the default\ welcome page will not change. &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Steps
   to reproduce&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;ol&gt;
   &lt;li&gt;
      &lt;div class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Let’s
         say you have 2 files in the Pages folder &lt;strong&gt;Default.aspx&lt;/strong&gt; (which is the
         default) and &lt;strong&gt;NewPage.aspx&lt;/strong&gt; which you want to introduce as the default.&lt;/span&gt;
      &lt;/div&gt;
   &lt;li&gt;
      &lt;div class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Using
         SharePoint you rename the &lt;strong&gt;Default.aspx &lt;/strong&gt;page to &lt;strong&gt;DefaultOrig.aspx&lt;/strong&gt;.&lt;/span&gt;
         &lt;o:p&gt;&lt;/o:p&gt;
      &lt;/div&gt;
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; COLOR: black; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Using SharePoint
      you rename the &lt;strong&gt;NewPage.aspx&lt;/strong&gt; file to &lt;strong&gt;Default.aspx&lt;/strong&gt;&lt;/span&gt;
      &lt;o:p&gt;&lt;/o:p&gt;
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; COLOR: black; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;When you navigate
      to the site, you will see the &lt;strong&gt;default page&lt;/strong&gt; as &lt;strong&gt;DefaultOrig.aspx&lt;/strong&gt;.
      This is because internally SharePoint will changed the &lt;strong&gt;Welcome Page URL&lt;/strong&gt; to &lt;strong&gt;DefaultOrig.aspx&lt;/strong&gt;.
      You can verify this using the ‘&lt;strong&gt;Welcome Page&lt;/strong&gt;’ option in Site Settings.&lt;/span&gt;
      &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/li&gt;
&lt;/ol&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; VERTICAL-ALIGN: top; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;The best way to swap
   out the &lt;strong&gt;Welcome Page&lt;/strong&gt; is to use the &lt;strong&gt;Site Settings &lt;/strong&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;strong&gt;à&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;strong&gt; Welcome
   Page&lt;/strong&gt; option instead.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=e8b08c3d-50b9-4553-b88b-553b6ddccca0" /&gt;</content>
  </entry>
  <entry>
    <title>Notepad++ Editor that supports free form text editing in multiple languages</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,e9272abd-b65f-4f22-bb04-ce8f46cb7f91.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,e9272abd-b65f-4f22-bb04-ce8f46cb7f91.aspx</id>
    <published>2009-10-20T10:54:53.227-07:00</published>
    <updated>2009-10-24T20:24:58.511058-07:00</updated>
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Notepad++ is an excellent tool if you are a developer that wants to have free form
      text editing in one spot. Of course it does not give you intellisense (Microsoft TM)
      but it gives you the formatting etc. to view and make minor changes. E.g. you can
      use it to edit SQL files or VB files all in one spot. Defintely a must have for all
      developers.
   </p>
        <p>
      URL <a href="http://notepad-plus.sourceforge.net/uk/site.htm">http://notepad-plus.sourceforge.net/uk/site.htm</a></p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=e9272abd-b65f-4f22-bb04-ce8f46cb7f91" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Cannot deploy SharePoint Web Part using VSeWSS 1.3 (Visual Studio 2008 extensions for SharePoint WSS\MOSS)</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,0ed6b876-b01c-4f76-9783-b03261ca1ba3.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,0ed6b876-b01c-4f76-9783-b03261ca1ba3.aspx</id>
    <published>2009-10-19T21:45:10.974-07:00</published>
    <updated>2009-10-18T21:52:12.2527869-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="ASP.Net" label="ASP.Net" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="MOSS 2007" label="MOSS 2007" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <category term="Visual Basic \ VB.Net" label="Visual Basic \ VB.Net" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;If you create a web
   part using Visual Studio 2008 extensions for Windows SharePoint Services 3.0, v1.3
   you may not be able to &lt;b style="mso-bidi-font-weight: normal"&gt;Deploy&lt;/b&gt; your &lt;b style="mso-bidi-font-weight: normal"&gt;Web
   Part&lt;/b&gt; to your SharePoint web site (WSS\MOSS). &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;Your
   first step off course should be to read the release notes posted by Microsoft as suggested
   by the error message. In my case the issue turned out to the security account that
   was linked to the VSeWSS WCF Service did not have administrator permissions.&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Steps
   that caused the error&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l1 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;1.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Create
   new web part project and solution, choose deployment to bin directory.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l1 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;2.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Choose
   the &lt;b style="mso-bidi-font-weight: normal"&gt;Deploy&lt;/b&gt; option by right clicking on
   the solution in the Solution Explorer.&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l1 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Solution
   that worked for me&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt; Added
   the ‘&lt;b style="mso-bidi-font-weight: normal"&gt;Network Service&lt;/b&gt;’ account to the &lt;b style="mso-bidi-font-weight: normal"&gt;Administrators&lt;/b&gt; group.&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;strong&gt;Finding Root
   Cause and Solving it&lt;/strong&gt;&lt;em&gt; (if it was similar to mine)&lt;/em&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;1.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Open &lt;b style="mso-bidi-font-weight: normal"&gt;IIS&lt;/b&gt; and
   navigate to the &lt;b style="mso-bidi-font-weight: normal"&gt;Web Sites&lt;/b&gt; folder. Select &lt;b style="mso-bidi-font-weight: normal"&gt;VSeWSS&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;2.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Open
   the properties window for &lt;b style="mso-bidi-font-weight: normal"&gt;VSeWSS&lt;/b&gt;. Note
   the &lt;strong&gt;Application Pool &lt;/strong&gt;value under the &lt;b style="mso-bidi-font-weight: normal"&gt;Home
   Directory&lt;/b&gt; tab.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;3.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Under &lt;b style="mso-bidi-font-weight: normal"&gt;IIS&lt;/b&gt; go
   to the &lt;b style="mso-bidi-font-weight: normal"&gt;Application Pools&lt;/b&gt; folder, locate
   the &lt;b style="mso-bidi-font-weight: normal"&gt;Application Pool&lt;/b&gt; for &lt;b style="mso-bidi-font-weight: normal"&gt;VSeWSS&lt;/b&gt;. 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;4.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Open
   the properties window for the &lt;b style="mso-bidi-font-weight: normal"&gt;Application
   Pool&lt;/b&gt;. Note the &lt;b style="mso-bidi-font-weight: normal"&gt;Security Account&lt;/b&gt; value
   under the &lt;b style="mso-bidi-font-weight: normal"&gt;Identity&lt;/b&gt; tab. 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;5.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Open
   Computer Management. Locate the &lt;b style="mso-bidi-font-weight: normal"&gt;Administrators&lt;/b&gt; Group
   under &lt;b style="mso-bidi-font-weight: normal"&gt;Local Users and Groups&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;6.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Make
   sure the &lt;b style="mso-bidi-font-weight: normal"&gt;Security Account&lt;/b&gt; is added to
   the &lt;b style="mso-bidi-font-weight: normal"&gt;Administrators&lt;/b&gt; group&lt;i style="mso-bidi-font-style: normal"&gt;. &lt;/i&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list 1.0in; mso-list: l0 level2 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;If
   the security account is not under the Administrators group your root cause should
   be similar to mine.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 1in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list 1.0in; mso-list: l0 level2 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Helpful
   Note: If you are working on a Virtual\Local Server you may &lt;b style="mso-bidi-font-weight: normal"&gt;not
   be able to find&lt;/b&gt; your &lt;b style="mso-bidi-font-weight: normal"&gt;security account&lt;/b&gt; e.g.
   you may not be able to find your &lt;b style="mso-bidi-font-weight: normal"&gt;Network Service
   account&lt;/b&gt;, make sure you are searching for the account in the right spot by choosing
   the right &lt;strong&gt;Location&lt;/strong&gt; (Network or local machine) when the Add Users…
   dialog comes up.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;7.&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Restart
   IIS&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt; if
   you had to add the &lt;b style="mso-bidi-font-weight: normal"&gt;security account&lt;/b&gt; and
   try deploying your web part again.&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;b style="mso-bidi-font-weight: normal"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;My
   Error Description&lt;/span&gt;&lt;/b&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt; (When
   trying to Deploy the web part)&lt;b style="mso-bidi-font-weight: normal"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/b&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;“&lt;/span&gt;&lt;span style="FONT-SIZE: 8pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Error&lt;span style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1&lt;span style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;VSeWSS
   Service Error: Assembly C:\Documents and Settings\username\My Documents\Visual Studio
   2008\Projects\MyWebPartsOne\bin\Debug\MyWebParts.dll not found. This may occur because
   the VSeWSS WCF Service does not have local administrator permissions. Please review
   the release notes.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 8pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;VSeWSS Service Logging
   Error: Access to the path 'C:\Documents and Settings\Default User\Application Data\Microsoft\VSeWSS
   1.3' is denied.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 8pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Logging failed attempting
   to write to C:\Documents and Settings\Default User\Application Data\Microsoft\VSeWSS
   1.3\VSeWSS1.3 service.log. This may occur because the VSeWSS WCF Service does not
   have local administrator permissions. Please review the release notes.&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt; “&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;URL for Visual Studio
   2008 extensions for Windows SharePoint Services 3.0, v1.3&lt;/span&gt;&lt;span style="COLOR: #003300"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="COLOR: #003300"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=B2C0B628-5CAB-48C1-8CAE-C34C1CCBDC0A&amp;amp;displaylang=en"&gt;&lt;font face="Times New Roman" size=3&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=B2C0B628-5CAB-48C1-8CAE-C34C1CCBDC0A&amp;amp;displaylang=en&lt;/font&gt;&lt;/a&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=0ed6b876-b01c-4f76-9783-b03261ca1ba3" /&gt;</content>
  </entry>
  <entry>
    <title>Using IE Developer Toolbar for SharePoint Design and Development</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,5ba20abd-47e3-44d8-8ed0-32cfc6c21ea0.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,5ba20abd-47e3-44d8-8ed0-32cfc6c21ea0.aspx</id>
    <published>2009-10-18T19:59:52.608-07:00</published>
    <updated>2009-10-18T20:06:21.3246831-07:00</updated>
    <category term="ASP.Net" label="ASP.Net" scheme="dasBlog" />
    <category term="Designer" label="Designer" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="MOSS 2007" label="MOSS 2007" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <content type="html">&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;The
   ‘IE (Internet Explorer) Developer Toolbar’ is a tool that allows web developers and
   designers to inspect elements on a web page i.e. the DOM model. For example, if you
   are a SharePoint designer\developer who wants to create\edit a theme, you can use
   this tool to click on screen areas\elements to figure out what image files in the
   theme actually correspond to screen areas\elements. The toolset shows you HTML object
   class names, id’s, link paths and a host of other information as well. This toolset
   is also great for debuggin stylesheet problems. Read more about the toolset at the
   URL below.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;To download this
   toolset go to &lt;/span&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&amp;amp;displaylang=en"&gt;&lt;font face="Times New Roman" size=3&gt;http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&amp;amp;displaylang=en&lt;/font&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;strong&gt;Quick Start&lt;/strong&gt; &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;Download
   and Install &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial"&gt;Toolset &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial"&gt; Open
   a new instance of internet Explorer &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial"&gt; Open
   a SharePoint site &lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Wingdings; mso-bidi-font-family: Arial; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Arial"&gt; From
   the top level IE menu Choose View-&amp;gt;Explorer Bar -&amp;gt; IE Developer Toolbar. You
   should not see a high level summary of your site in the IE toolbar pane that is open
   at the bottom. In the pane below choose Find-&amp;gt; Select Element by Click, this is
   an easy way to point + click and identify individual HTML elements.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;If you are using
   Mozilla's FireFox a better toolset is the&amp;nbsp;&lt;b style="mso-bidi-font-weight: normal"&gt;Firebug&lt;/b&gt; available
   at&amp;nbsp;&lt;a href="http://getfirebug.com/"&gt;http://getfirebug.com/&lt;/a&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
&lt;/span&gt;&amp;nbsp;&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=5ba20abd-47e3-44d8-8ed0-32cfc6c21ea0" /&gt;</content>
  </entry>
  <entry>
    <title>MOSS\SharePoint - Cannot use\see newly created Page Layouts when Creating Pages\using Create Page option</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,82758ced-eda6-4d18-816c-bfa20042348b.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,82758ced-eda6-4d18-816c-bfa20042348b.aspx</id>
    <published>2009-10-16T22:24:05.928-07:00</published>
    <updated>2009-10-16T23:03:35.1007071-07:00</updated>
    <category term="Designer" label="Designer" scheme="dasBlog" />
    <category term="MOSS 2007" label="MOSS 2007" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;It is possible that
   even though you think you have followed all the steps to create a new Page Layout,
   it is not available for selection in the Page Layout section of the ‘Create Page’
   options.&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 10.5pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Here are some reasons&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;ul type=disc&gt;
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 7pt; mso-fareast-font-family: Arial"&gt;&lt;span style="FONT-SIZE: 7pt; mso-fareast-font-family: Arial"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;You
      may have forgotten to &lt;strong&gt;Check In&lt;/strong&gt; your file or &lt;strong&gt;Publish&lt;/strong&gt; it
      (&lt;em&gt;using major version&lt;/em&gt;) in SharePoint Designer.&lt;/span&gt;&lt;/span&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 7pt; mso-fareast-font-family: Arial"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;You
      may have forgotten to &lt;b style="mso-bidi-font-weight: normal"&gt;Approve&lt;/b&gt; the layout.
      To do this follow these steps&lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
      &lt;ul type=circle&gt;
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;Under Site Settings Select ‘&lt;b style="mso-bidi-font-weight: normal"&gt;Master
            pages and page layouts&lt;/b&gt;’ (under Galleries)&lt;o:p&gt;&lt;/o:p&gt;
            &lt;/span&gt; 
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;Check if you layout is listed here
            for Pending approval. If it is approve it. (Off course if you do not see your layout
            here you may have not saved it or checked it in, in the first place!!!&lt;/span&gt;
         &lt;/li&gt;
      &lt;/ul&gt;
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
      &lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;You
      may need to add your newly created Page Layout to the Preferred Page Layout section.&lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
      &lt;ul type=circle&gt;
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;Under Site Settings Select ‘&lt;b style="mso-bidi-font-weight: normal"&gt;Page
            layouts and site templates&lt;/b&gt;’ (under Look and Feel)&lt;o:p&gt;&lt;/o:p&gt;
            &lt;/span&gt; 
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;Check out the Page Layouts section
            if the option ‘&lt;b style="mso-bidi-font-weight: normal"&gt;Pages in this site can only
            use the following layouts&lt;/b&gt;’ is selected then you do have to add your Page Layout
            to the available list (on the right hand side).&lt;o:p&gt;&lt;/o:p&gt;
            &lt;/span&gt;
         &lt;/li&gt;
      &lt;/ul&gt;
   &lt;/li&gt;
&lt;/ul&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
   May answer the following questions.
&lt;/p&gt;
&lt;ul&gt;
   &lt;li&gt;
      &lt;div class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;Cannot
         use newly created SharePoint Page Layout
      &lt;/div&gt;
   &lt;/li&gt;
&lt;/ul&gt;
&lt;/span&gt;&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=82758ced-eda6-4d18-816c-bfa20042348b" /&gt;</content>
  </entry>
  <entry>
    <title>Should you turn on SharePoint Server Publishing Infrastructure?</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,ded5e944-1506-4460-a837-a41e4ff243eb.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,ded5e944-1506-4460-a837-a41e4ff243eb.aspx</id>
    <published>2009-10-12T23:45:00.96-07:00</published>
    <updated>2009-10-28T14:31:27.4914876-07:00</updated>
    <category term="MOSS 2007" label="MOSS 2007" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <content type="html">&lt;p&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;I came across a good
   article for guidance regarding turning on SharePoint's publishing infrastructure,
   here is the link &lt;a href="http://mindsharpblogs.com/penny/archive/2007/09/28/2973.aspx"&gt;&lt;font color=#800080&gt;http://mindsharpblogs.com/penny/archive/2007/09/28/2973.aspx&lt;/font&gt;&lt;/a&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;. 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Notes for turning
   on the Publishing feature&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;ul&gt;
   &lt;li style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;If you want to turn
      on the publishing feature you must do so at the Site Collection level first. Follow
      these steps...&lt;/span&gt; 
      &lt;ul&gt;
         &lt;li style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
            &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Navigate to the Site
            Collection's top level Site then go to Site Settings.&lt;/span&gt; 
         &lt;li style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
            &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Choose ‘Site Collection
            Features’ link.&lt;/span&gt; 
         &lt;li style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
            &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Activate
            the ‘Office SharePoint Server Publishing Infrastructure’ feature.&lt;o:p&gt;&lt;/o:p&gt;
            &lt;/span&gt;
         &lt;/li&gt;
      &lt;/ul&gt;
   &lt;li style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;To turn on the publishing
      feature at the Site level. Follow these steps…&lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
      &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Go the Site Settings
      page of the particular site.&lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
      &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Choose to the ‘Site
      Features’ link&lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li style="MARGIN-LEFT: 1in; TEXT-INDENT: -0.25in; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
      &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;Activate the ‘Office
      SharePoint Server Publishing’ feature 
      &lt;li style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
         &lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;span style="FONT-SIZE: 9pt; COLOR: #003300; FONT-FAMILY: Arial"&gt;You
         will notice you will now have access to Site Setting links such as ‘Navigation’ &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;(under
         Look and Feel) that give you greater control over fine tuning your Site navigation.&lt;/span&gt;&lt;/span&gt;
      &lt;/span&gt;
   &lt;/li&gt;
&lt;/ul&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;&lt;font color=#000000&gt;This article
   may answer questions like….&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;ul&gt;
   &lt;li&gt;
      &lt;div class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&lt;font color=#000000&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;How
         to start using web content management features of MOSS (Microsoft Office SharePoint
         Server&lt;/span&gt;&lt;/font&gt;
      &lt;/div&gt;
   &lt;li&gt;
      &lt;div class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;font color=#000000&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&lt;/font&gt;&lt;font color=#000000&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial; mso-fareast-font-family: Arial"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;I
         cannot see the ‘Navigation’ link under Look and Feel for my Site.&lt;/span&gt;&lt;/font&gt;
      &lt;/div&gt;
   &lt;li&gt;
      &lt;div class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;font color=#000000&gt;&lt;span style="FONT-SIZE: 9pt; FONT-FAMILY: Arial"&gt;Where
         is my Navigation link under Look and Feel&lt;/span&gt;&lt;/font&gt;
      &lt;/div&gt;
   &lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=ded5e944-1506-4460-a837-a41e4ff243eb" /&gt;</content>
  </entry>
  <entry>
    <title>Custom Events - Ability to write code on AddHandler\RemoveHandler for your Custom Events</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,2704036a-227f-4a9e-82b6-21ebf3de8a90.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,2704036a-227f-4a9e-82b6-21ebf3de8a90.aspx</id>
    <published>2007-09-30T20:43:21.547-07:00</published>
    <updated>2007-09-30T20:47:20.2974557-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Custom Controls" label="Custom Controls" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="Smart Client" label="Smart Client" scheme="dasBlog" />
    <category term="Visual Basic \ VB.Net" label="Visual Basic \ VB.Net" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Windows Forms" label="Windows Forms" scheme="dasBlog" />
    <content type="html">&lt;p&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;I
   have used events in the past extensively when developing windows applications. I just
   discovered a new feature recently when developing a windows workflow application.
   The ability to execute Code when Host Programs Add\Remove\Raise Events in your custom
   control\object.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;I have developed
   a sample project to demonstrate the custom event feature. When you run the solution
   click on the "Add Handler" and "Remove Handler" buttons, you will see custom code
   getting invoked. One needs to be familiar with the base windows event\delegate model
   before your understand what is happening here to appreciate it fully.&lt;/span&gt;
   &lt;o:p&gt;
      &lt;font face="Times New Roman" color=#000000 size=3&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;
   Download CustomEvents.zip, unzip it and run the solution.
&lt;/p&gt;
&gt;
&lt;a href="http://www.knowthycode.com/clydesblog/content/binary/CustomEvents.zip"&gt;CustomEvents.zip
(36.98 KB)&lt;/a&gt;&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=2704036a-227f-4a9e-82b6-21ebf3de8a90" /&gt;</content>
  </entry>
  <entry>
    <title>Team Foundation Server, setting up your version control folders and branch relationships to properly merge code in the model</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,b6c0c1c2-ec8c-46f1-aef6-2f84f8cf8e6c.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,b6c0c1c2-ec8c-46f1-aef6-2f84f8cf8e6c.aspx</id>
    <published>2007-09-25T20:24:18.797-07:00</published>
    <updated>2007-09-25T21:10:24.5011157-07:00</updated>
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="Team Foundation Server" label="Team Foundation Server" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Excellent article for newbies by Richard HundHausen for Team Foundation Server.
      Basically the video shows you how to Branch Code and Merge code properly.
   </p>
        <p>
          <a href="http://download.microsoft.com/download/d/4/5/d457e9c6-0e7a-4c55-828e-7e9076572bae/winvideo-vsts-promotionmodelingbranchingandmerging.wmv">http://download.microsoft.com/download/d/4/5/d457e9c6-0e7a-4c55-828e-7e9076572bae/winvideo-vsts-promotionmodelingbranchingandmerging.wmv</a>
        </p>
        <p>
      He also mentions a good resource to read on TFS branching at <a href="http://www.codeplex.com/BranchingGuidance">http://www.codeplex.com/BranchingGuidance</a>.
   </p>
        <p>
      In case you want to a baseless merge (where a branches are not related to each other
      directly) check this URL out <a href="http://msdn2.microsoft.com/en-us/library/ms194957(VS.80).aspx">http://msdn2.microsoft.com/en-us/library/ms194957(VS.80).aspx</a></p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=b6c0c1c2-ec8c-46f1-aef6-2f84f8cf8e6c" />
      </div>
    </content>
  </entry>
  <entry>
    <title>How to make forms not move(able) at runtime in .Net</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,aa77c75f-09e2-44c9-b7cd-934e68bf28b3.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,aa77c75f-09e2-44c9-b7cd-934e68bf28b3.aspx</id>
    <published>2007-05-19T21:35:53.283-07:00</published>
    <updated>2007-05-18T21:49:00.6948903-07:00</updated>
    <category term=".NET 1.1" label=".NET 1.1" scheme="dasBlog" />
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Visual Basic \ VB.Net" label="Visual Basic \ VB.Net" scheme="dasBlog" />
    <category term="Visual Studio 2003" label="Visual Studio 2003" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Windows Forms" label="Windows Forms" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p class="MsoNormal" style="MARGIN: 0in 0in 0pt">
          <span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana">Somebody asked
      me a question how to make a form immovable once it is loaded - I am sure this is not
      a very common request...I looked at the form properties but did not come across any
      property at the form level that achieves this...so I wrote some code to do it - it
      seems to work. Throw this code into your form code...</span>
        </p>
        <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">
          <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">
            <p>
              <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">
                <span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">'Trap
      Initial Form Load to capture initial form coordinates</span>
                <br />
                <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">Dim</span> originalLocation <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">As</span> System.Drawing.Point<br /><br /><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">Protected</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">Overrides</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">Sub</span> OnLoad(<span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">ByVal</span> e <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">As</span> System.EventArgs)<br /><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">   MyBase</span>.OnLoad(e)<br />
         originalLocation <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> Location<br /><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">End</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">Sub</span><br /><br /><span style="FONT-SIZE: 11px; COLOR: green; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">'After
      location changes restore back to original location</span><br /><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">Protected</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">Overrides</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">Sub</span> OnLocationChanged(<span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">ByVal</span> e <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">As</span> System.EventArgs)<br /><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">   MyBase</span>.OnLocationChanged(e)<br />
         Location <span style="FONT-SIZE: 11px; COLOR: red; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">=</span> originalLocation<br /><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">End</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">Sub</span></span>
            </p>
          </span>
        </span>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=aa77c75f-09e2-44c9-b7cd-934e68bf28b3" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Free book on Windows PowerShell</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,b4396ba2-0ac4-41c1-9a0a-bcd2aec813c1.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,b4396ba2-0ac4-41c1-9a0a-bcd2aec813c1.aspx</id>
    <published>2007-05-13T15:13:07.61-07:00</published>
    <updated>2007-05-13T15:13:07.6104131-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://coolthingoftheday.blogspot.com/2007/05/free-powershell-introductiongetting.html">http://coolthingoftheday.blogspot.com/2007/05/free-powershell-introductiongetting.html</a>
        </p>
        <p>
        </p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=b4396ba2-0ac4-41c1-9a0a-bcd2aec813c1" />
      </div>
    </content>
  </entry>
  <entry>
    <title>MOSS 2007</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,4b2d6a7a-a351-45e6-91c3-57abbacd2ce3.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,4b2d6a7a-a351-45e6-91c3-57abbacd2ce3.aspx</id>
    <published>2007-04-25T22:26:29.189-07:00</published>
    <updated>2007-04-24T22:26:29.1896156-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="SharePoint" label="SharePoint" scheme="dasBlog" />
    <content type="html">&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;font size=1&gt; 
&lt;p&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;Vishwas
   Lele gave an excellent talk on MOSS 2007 - Microsoft Office SharePoint Server today.
   I was impressed with the features and the kind of extensibility power that is encapsulated
   within this product - Vishwas started out by explaining how MOSS is based off WSS
   3.0 and ASP.Net 2.0 which are tightly integrated to basically give you features from
   both worlds i.e. SharePoint features using WSS 3.0 features and programming\extensibility
   using ASP.Net 2.0. He then continued showing how you can have a single site but show
   different users content based on their regions. He also demonstrated Content Types
   and how do drive lists based off them. I was&amp;nbsp;impressed with the extensibility
   options using InfoPath 2007 where you can now allow an end user to design\change forms
   without installing InfoPath on their PC's - this is achieved using Forms Services
   which are web based. In the end Vishwas demoed how the MOSS also includes Excel Business
   Services where you can harness formulas\business logic embedded in Excel to drive
   your business logic. Also coupled with .Net 3.0 you can use Windows Workflow which
   is tightly integrated with MOSS, this interests me since I develop mostly business
   applications which have complex business workflow logic. Great talk from Vishwas which
   I highly recommend.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;For more on developing
   solutions using the MOSS technology go to this excellent article &lt;a href="http://msdn.microsoft.com/msdnmag/issues/06/08/GatheringMoss/"&gt;http://msdn.microsoft.com/msdnmag/issues/06/08/GatheringMoss/&lt;/a&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=4b2d6a7a-a351-45e6-91c3-57abbacd2ce3" /&gt;</content>
  </entry>
  <entry>
    <title>Unit Testing using Windows PowerShell</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,6ea9e646-92c2-4b36-b8a3-58a6d76c02fb.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,6ea9e646-92c2-4b36-b8a3-58a6d76c02fb.aspx</id>
    <published>2007-04-19T22:56:40.854-07:00</published>
    <updated>2007-04-18T22:59:12.3840217-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Agile" label="Agile" scheme="dasBlog" />
    <category term="Unit Testing" label="Unit Testing" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;I picked up this month’s MSDN magazine and came across an interesting
   article. The article described a way to test .NET Classes though the command line!!!
   Who would have thought of that - obviously Microsoft did and is achieved through a
   free downloaded program called Window PowerShell. This excited me due to its potential
   of Unit testing objects. Here is the link to the article &lt;/font&gt;&lt;a href="http://msdn.microsoft.com/msdnmag/issues/07/05/TestRun/default.aspx"&gt;http://msdn.microsoft.com/msdnmag/issues/07/05/TestRun/default.aspx&lt;/a&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;
      &lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;Here is what I did first&lt;/font&gt;
&lt;/p&gt;
&lt;ul style="MARGIN-TOP: 0in" type=disc&gt;
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;font color=#000000&gt;Downloaded Windows PowerShell for XP from &lt;/font&gt;&lt;a href="http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx"&gt;http://www.microsoft.com/windowsserver2003/technologies/management/powershell/download.mspx&lt;/a&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;font color=#000000&gt;Open Windows PowerShell through your Start Menu. The first things
      I tried to do was type in old DOS command like dir etc. and they worked. In fact the
      tool gave me more information on the files e.g. was the file in the listing read-only
      etc.&lt;/font&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;font color=#000000&gt;The first programming I try to do is to write a program\profile
      that executes on start up – here is how I got it working&lt;/font&gt; 
      &lt;ul style="MARGIN-TOP: 0in" type=circle&gt;
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;font color=#000000&gt;The article mentions that you can view your profile file (startup
            script file) when you type &lt;strong&gt;&lt;em&gt;notepad.exe $profile&lt;/em&gt;&lt;/strong&gt;. But that
            does not quite work since it seems the file does not exist by default. &lt;/font&gt; 
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;font color=#000000&gt;Type &lt;strong&gt;&lt;em&gt;$profile&lt;/em&gt;&lt;/strong&gt; in the command line. This
            will show you the path of the startup script file&lt;/font&gt; 
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;font color=#000000&gt;Create the directory and file physically in the path show e.g. &lt;strong&gt;My
            Document\WindowsPowerShell\Microsoft.PowerShell_profile.ps1&lt;/strong&gt;&lt;/font&gt; 
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;font color=#000000&gt;Now go back to the power shell prompt and type &lt;strong&gt;&lt;em&gt;notepad
            $profile&lt;/em&gt;&lt;/strong&gt; – this opens up the profile file correctly now&lt;/font&gt; 
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;font color=#000000&gt;In the profile file type in the text below and save. Open power
            shell the script should execute…&lt;/font&gt; 
            &lt;ul style="MARGIN-TOP: 0in" type=square&gt;
               &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.5in; mso-list: l0 level3 lfo1"&gt;
                  &lt;font color=#000000&gt;&lt;em&gt;C:&lt;/em&gt;&lt;/font&gt; 
               &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.5in; mso-list: l0 level3 lfo1"&gt;
                  &lt;font color=#000000&gt;&lt;em&gt;C:\&lt;/em&gt;&lt;/font&gt; 
               &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.5in; mso-list: l0 level3 lfo1"&gt;
                  &lt;font color=#000000&gt;&lt;em&gt;write-host "My first windows power shell script"&lt;/em&gt;&lt;/font&gt;
               &lt;/li&gt;
            &lt;/ul&gt;
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;font color=#000000&gt;Well it won’t execute by default. Power shell disables script
            execution by default for security reasons – to enable scripts to execute, I executed
            the command &lt;/font&gt; 
            &lt;ul style="MARGIN-TOP: 0in" type=square&gt;
               &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.5in; mso-list: l0 level3 lfo1"&gt;
                  &lt;font color=#000000&gt;&lt;em&gt;set-executionpolicy unrestricted&lt;/em&gt;&lt;/font&gt;
               &lt;/li&gt;
            &lt;/ul&gt;
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;font color=#000000&gt;Re open the Windows PowerShell program, you will now see the message
            “My first windows power shell script” and notice that your default directory is C:\&lt;/font&gt; 
         &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; tab-stops: list 1.0in; mso-list: l0 level2 lfo1"&gt;
            &lt;font color=#000000&gt;!!SUCCESS!!!&lt;/font&gt;
         &lt;/li&gt;
      &lt;/ul&gt;
   &lt;/li&gt;
&lt;/ul&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.75in"&gt;
   &lt;o:p&gt;
      &lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.75in"&gt;
   &lt;font color=#000000&gt;More to follow tomorrow\this week – this is exciting cannot wait
   to start unit testing….&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=6ea9e646-92c2-4b36-b8a3-58a6d76c02fb" /&gt;</content>
  </entry>
  <entry>
    <title>Nova Code camp</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,cda1004c-b975-401d-bea4-791d893b3658.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,cda1004c-b975-401d-bea4-791d893b3658.aspx</id>
    <published>2007-04-13T11:53:52.007-07:00</published>
    <updated>2007-04-13T11:53:52.0070569-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="Presentation" label="Presentation" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      There is a code camp  at Reston, you will find more information at <a href="http://novacodecamp.org/">http://novacodecamp.org/</a>.
      Code camp is a ONE day deal where you can sit and listen to industry technical
      guru's belt out presentations on the latest topics in the Microsft Technical Arena
      and best of all it is free. A must go...
   </p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=cda1004c-b975-401d-bea4-791d893b3658" />
      </div>
    </content>
  </entry>
  <entry>
    <title>My First Windows Mobile 5.0 Program - T-Mobile Dash Smartphone</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,83e3df16-7596-4f59-bff2-3c169c9b532a.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,83e3df16-7596-4f59-bff2-3c169c9b532a.aspx</id>
    <published>2007-03-25T00:37:39.698-07:00</published>
    <updated>2007-03-25T00:43:53.9570068-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Smart Client" label="Smart Client" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Windows Mobile" label="Windows Mobile" scheme="dasBlog" />
    <content type="html">&lt;p&gt;
   &lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;I have been pretty caught up
   at work the past couple of months and decided to take a break for a couple of hours
   – and decided to do something fun like program the new T-Mobile dash phone (Operating
   system is Windows Mobile 5.0).&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;I wanted
   to use MS Visual Studio 2005 to develop application so, I first went to msdn.microsoft.com
   to find information about developing on Smart phone, but I could not find a one stop
   page FAQ page informing developers what to do to start developing for mobile smart
   phones. Ultimately after some searching and research I found an article that that
   contained a section to prepare a developer for mobile development – I found it good.
   Essentially you go to do 4 things&lt;span style="COLOR: #003300"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;There are 2 flavors of devices
   that run mobile 5.0 Pocket PC’s (Touch screen and office related applications) and
   Smart Phones (No touch screen and a limited set of applications). &lt;span style="COLOR: #003300"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;font size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font color=#000000&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;Install
   Microsoft Visual Studio 2005 &lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;font size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;Make
   sure Active Sync 4.2 is installed (part of T-mobile Dash phone kit)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;font size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;Download
   windows Mobile SDK 5.0 SDK for smart phones &lt;/font&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=DC6C00CB-738A-4B97-8910-5CD29AB5F8D9&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=DC6C00CB-738A-4B97-8910-5CD29AB5F8D9&amp;amp;displaylang=en&lt;/a&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;font size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;Download
   an emulator for Windows 5.0 mobile Smart phone &lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=EEC33AE3-C129-4C25-ABAA-18E8E842178F&amp;amp;displaylang=en"&gt;&lt;span style="FONT-SIZE: 12pt"&gt;&lt;font size=2&gt;http://www.microsoft.com/downloads/details.aspx?familyid=EEC33AE3-C129-4C25-ABAA-18E8E842178F&amp;amp;displaylang=en&lt;/font&gt;&lt;/span&gt;&lt;/a&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;I installed the SDK for Pocket
   PC by mistake and noticed that there are fewer controls available for the Smart phone
   (e.g. Button Control) – I am not sure why Microsoft has done that, I of course understand
   the potential thought behind this that it is not touch screen but we could definitely
   tab though given the left or right keys or even hot keys…It looks like the alternative
   to buttons for smart client is....I am a beginner so&amp;nbsp;I probably will take time
   learning what I can and cannot do...&amp;nbsp;&lt;span style="COLOR: #003300"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="COLOR: #003300; FONT-FAMILY: Verdana"&gt;
   &lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;My first project&lt;span style="COLOR: #003300"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l1 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;font size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;Create
   a folder “My Programs” under “Program Files” on your Smart phone using the file explorer
   (Start menu…)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l1 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;font size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;Create
   a new project in Visual Studio – you should see a template under Smart devices for
   “Windows Mobile 5.0 Smartphone” – Choose Device Application&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l1 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;font size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;Design
   a form as per your liking – run the application (at this point you can choose to run
   the application in an emulator)&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l1 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;font size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;Copy
   binaries from the bin folder to the folder “My Programs” on the Smart Phone using
   ActiveSync’s Explore feature&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="MARGIN-LEFT: 0.5in; TEXT-INDENT: -0.25in; tab-stops: list .5in; mso-list: l1 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;·&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&lt;font size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font color=#000000&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;Run
   the program from the My Program folder - Success....&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="COLOR: #003300; FONT-FAMILY: Verdana"&gt;I have attached the source code
   for my first project - essentially it allows the user to select websites from a list
   box and view the contents in the browser below....have fun…&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=83e3df16-7596-4f59-bff2-3c169c9b532a" /&gt;</content>
  </entry>
  <entry>
    <title>Brian Noyes - Connecting Applications with WCF </title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,42f6cc0c-4c2c-4d25-97ac-003cdc06c0e7.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,42f6cc0c-4c2c-4d25-97ac-003cdc06c0e7.aspx</id>
    <published>2006-12-20T21:14:12.056-08:00</published>
    <updated>2006-12-19T21:18:26.9577088-08:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Brian Noyes presented at the Capital Area .NET User Group today <a href="http://www.caparea.net/Default.aspx?tabid=54.">http://www.caparea.net/Default.aspx?tabid=54.</a> He
      went thought the basics of WCF and did a simple demo showing us the fundamentals of
      the underlying concepts - He went through the ABC's - A - Address (Where) B -
      Bindings (How) C - Contract (What) - We went on to see how we define the Contract
      and related objects and how to host a Service to ultimately consuming it through
      a proxy. Very good presentation.
   </p>
        <p>
      Brian has his blog at <a href="http://www.softinsight.com/bnoyes/">http://www.softinsight.com/bnoyes/</a> He
      is also coming out with a new Book on Click Once Deployment technologies which is
      coming out next month December 2006.
   </p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=42f6cc0c-4c2c-4d25-97ac-003cdc06c0e7" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Reducing program startup time/toolbox load time in VS IDE for .Net solutions containing projects with custom and user controls</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,67fea42a-418a-43ea-8e09-c358d5894a90.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,67fea42a-418a-43ea-8e09-c358d5894a90.aspx</id>
    <published>2006-08-14T19:56:08.501-07:00</published>
    <updated>2006-08-14T19:56:08.5014791-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="ASP.Net" label="ASP.Net" scheme="dasBlog" />
    <category term="Compile" label="Compile" scheme="dasBlog" />
    <category term="Custom Controls" label="Custom Controls" scheme="dasBlog" />
    <category term="Designer" label="Designer" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="Performance" label="Performance" scheme="dasBlog" />
    <category term="Visual Basic \ VB.Net" label="Visual Basic \ VB.Net" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <content type="html">&lt;p&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;If your .NET solution
   contains projects that contain custom/user controls for windows/web forms these controls
   are automatically loaded into the toolbox so that they can be utilized on your forms.
   In some cases when there are a large number of controls in your project the solution
   seems to compile slowly or the toolbox seems to take quite some time to load. If you
   are facing such issues turn off the &lt;em&gt;&lt;b&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;AutoToolboxPopulate&lt;/span&gt;&lt;/b&gt;&lt;/em&gt; property
   on the &lt;strong&gt;&lt;span style="FONT-FAMILY: Verdana"&gt;Tools&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Wingdings; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;Options&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Wingdings; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;Windows
   Forms Designer&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Wingdings; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;General
   tab&lt;/span&gt;&lt;/strong&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=67fea42a-418a-43ea-8e09-c358d5894a90" /&gt;</content>
  </entry>
  <entry>
    <title>Pictures from Microsoft Reston Code camp have been posted</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,d181a67d-c1cb-4d1f-94a3-363918868ab8.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,d181a67d-c1cb-4d1f-94a3-363918868ab8.aspx</id>
    <published>2006-07-26T07:10:16.604-07:00</published>
    <updated>2006-07-26T07:12:29.6652017-07:00</updated>
    <category term="Presentation" label="Presentation" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://www.madcodecamp.com/photoalbum_contents.aspx?Albumid=5">http://www.madcodecamp.com/photoalbum_contents.aspx?Albumid=5</a>
        </p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=d181a67d-c1cb-4d1f-94a3-363918868ab8" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Debugging .NET Programs/Executables without Visual Studio</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,4be648f6-06e9-42b2-8704-15f99a0ad12a.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,4be648f6-06e9-42b2-8704-15f99a0ad12a.aspx</id>
    <published>2006-07-09T22:39:59.894-07:00</published>
    <updated>2006-07-08T23:03:22.9860565-07:00</updated>
    <category term=".NET 1.1" label=".NET 1.1" scheme="dasBlog" />
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;Something
   basic, Not that you would but you could...If you want to debug .NET solutions without
   Visual Studio you can use DBGCLR.EXE to do so which gives you a GUI interface to debug
   .NET Executables/Programs/Processes. To use this you either need to have the .NET
   SDK 1.1/2.0&amp;nbsp;installed or Visual Studio (in which case you don't need to use DBGCLR).&amp;nbsp;Users
   who have SDK installed can find the tool at Microsoft.NET\FrameworkSDK\GuiDebug. Users
   who have Visual Studio installed can find this tool at Program Files\Microsoft Visual
   Studio .NET 2003\SDK\v1.1\GuiDebug for .NET 1.1 or Program Files\Microsoft Visual
   Studio 8\SDK\v2.0\GuiDebug for .NET 2.0.&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;
      &lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;&lt;font color=#000000&gt;Click
   here&amp;nbsp; &lt;a href="http://msdn2.microsoft.com/en-us/library/d9kh6s92.aspx"&gt;http://msdn2.microsoft.com/en-us/library/d9kh6s92.aspx&lt;/a&gt;&amp;nbsp;to
   get a listing of tools for the .NET Framework.&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=4be648f6-06e9-42b2-8704-15f99a0ad12a" /&gt;</content>
  </entry>
  <entry>
    <title>Writing Cross-Language .Net Solutions in VB.Net, Visual C# and Visual J#</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,770f6b42-5d7e-466c-ad76-fa08288880db.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,770f6b42-5d7e-466c-ad76-fa08288880db.aspx</id>
    <published>2006-06-24T22:05:47.078-07:00</published>
    <updated>2006-06-23T22:22:51.391083-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Interoperability" label="Interoperability" scheme="dasBlog" />
    <category term="Visual C#" label="Visual C#" scheme="dasBlog" />
    <category term="Visual J#" label="Visual J#" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Visual Basic \ VB.Net" label="Visual Basic \ VB.Net" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p style="LINE-HEIGHT: 150%">
          <span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana">I
      have come across a lot of developers asking questions about the interoperability between
      .NET language platforms. Somebody asked me a question recently about creating a new
      derived class in C# from a base class that was written in VB.Net and if it was feasible
      and if there were any issues. Once thing what every developer needs to understand
      is that it does not matter what .NET language the code is written in it ultimately
      everything is compiled to MSIL – Microsoft Intermediate Language – which is the key
      to cross-language integration. What I have done is written a sample application in
      Visual Studio 2005 which contains a class written in <strong>Visual J#</strong> (<strong>JSharp</strong>)
      which derives from a class written in <strong>Visual C#</strong> (<strong>CSharp</strong>)
      and which in turn derives from a class that is written in <strong>VB.Net</strong>.
      When you run the solution you will see that the form creates an instance of the J#
      Object and you can trace how the constructors etc. execute across languages!!! Microsoft
      must be given kudos for providing this true cross-language neutral platform. You can
      download the sample source code for Visual Studio 2005 at <a href="http://www.knowthycode.com/Downloads/20060624/NetInterop.zip">NetInterop.zip</a> –
      unzip the code to a directory – open the main solution and run. I would appreciate
      it if you posted you comments to this blog post or send me an email at <a href="mailto:clyde@knowthycode.com">clyde@knowthycode.com</a> to
      improve the example.</span>
        </p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=770f6b42-5d7e-466c-ad76-fa08288880db" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Slides and Demos from Microsoft Reston Code Camp</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,556220bc-5c37-488f-a012-1f336e97249c.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,556220bc-5c37-488f-a012-1f336e97249c.aspx</id>
    <published>2006-06-10T08:26:08.623-07:00</published>
    <updated>2006-06-13T08:26:08.6234614-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Custom Controls" label="Custom Controls" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="Smart Client" label="Smart Client" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Windows Forms" label="Windows Forms" scheme="dasBlog" />
    <content type="html">&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;I
   have uploaded the Mirosoft Reston Code Camp presentation and source code for my talk
   on custom controls (with data binding) at &lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;&lt;a href="http://www.knowthycode.com/Downloads/20060608/WinForms_Custom_Controls_Presentation_Clyde.zip"&gt;http://www.knowthycode.com/Downloads/20060608/WinForms_Custom_Controls_Presentation_Clyde.zip&lt;/a&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=556220bc-5c37-488f-a012-1f336e97249c" /&gt;</content>
  </entry>
  <entry>
    <title>Mid Atlantic Schedule for Reston Code Camp on June 10'th</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,0b617471-bdb7-4485-a4ef-ad0c93b98ace.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,0b617471-bdb7-4485-a4ef-ad0c93b98ace.aspx</id>
    <published>2006-06-06T19:35:57.416-07:00</published>
    <updated>2006-06-06T19:35:57.4161298-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      The schedule and details for the Reston Code Camp can be viewed at <a href="http://www.madcodecamp.com/schedule/codecampmain.htm">http://www.madcodecamp.com/schedule/codecampmain.htm</a>.
      Hope to see you there.
   </p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=0b617471-bdb7-4485-a4ef-ad0c93b98ace" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Developing Integration Solutions using BizTalk Server May 23, 2006</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,0324f216-c62e-4552-8258-0bd9aab7e441.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,0324f216-c62e-4552-8258-0bd9aab7e441.aspx</id>
    <published>2006-05-02T08:44:31.297-07:00</published>
    <updated>2006-05-02T08:58:48.4267592-07:00</updated>
    <category term="BizTalk" label="BizTalk" scheme="dasBlog" />
    <category term="Visual Studio 2003" label="Visual Studio 2003" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
      Geoff Snowman and Lamont Harrington are going to host a, what I believe to be an excellent
      session on Biz Talk integration. So if you are a novice, expert or simply want to
      know more about Biz Talk and how it integrates with other microsoft products come
      on over. Find out more at <a href="http://caparea.net/Meetings+and+Events/509.aspx">http://caparea.net/Meetings+and+Events/509.aspx</a></p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=0324f216-c62e-4552-8258-0bd9aab7e441" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Mid-Atlantic .NET Code Camp again on June 10'th</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,bb9db44e-5087-4f1b-8db9-45c466a310cf.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,bb9db44e-5087-4f1b-8db9-45c466a310cf.aspx</id>
    <published>2006-05-02T07:43:57.843-07:00</published>
    <updated>2006-05-02T07:43:57.8436144-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="ASP.Net" label="ASP.Net" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="Smart Client" label="Smart Client" scheme="dasBlog" />
    <category term="Windows Forms" label="Windows Forms" scheme="dasBlog" />
    <category term=".NET 1.1" label=".NET 1.1" scheme="dasBlog" />
    <content type="html">&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;Microsoft
   will be hosting a Code Camp on June 10’Th. The code camp is a great event for .NET
   developers to network and also gain a lot of information on the topics that are current
   and unique. The speakers in Code Camp are experts on topics they speak on and have
   a lot of experience in the subject they are presenting; it is a good opportunity for
   developers to get questions answered in person. You actually see code being developed
   on the fly!!!&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;Call
   for Speakers- To present on a wide variety of topics from Web Applications, Smart
   Clients, Data Access and Security Best Practices.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;Whether
   you are a speaker or an attendee we would love to have you participate in this developer
   event.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Verdana"&gt;&lt;a href="http://blogs.msdn.com/gduthie/archive/2006/04/19/579440.aspx"&gt;Whether
   you are a speaker or an attendee find out more here.&lt;/a&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=bb9db44e-5087-4f1b-8db9-45c466a310cf" /&gt;</content>
  </entry>
  <entry>
    <title>Improve/Boost performance when using solutions that contain large Visual Basic projects in Visual Studio 2005</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,bdc4f75a-e798-4570-864b-49539df52f83.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,bdc4f75a-e798-4570-864b-49539df52f83.aspx</id>
    <published>2006-04-30T21:08:59.647-07:00</published>
    <updated>2006-05-01T07:13:48.892524-07:00</updated>
    <category term=".NET 2.0" label=".NET 2.0" scheme="dasBlog" />
    <category term="ASP.Net" label="ASP.Net" scheme="dasBlog" />
    <category term="Compile" label="Compile" scheme="dasBlog" />
    <category term="Designer" label="Designer" scheme="dasBlog" />
    <category term="Developer Productivity" label="Developer Productivity" scheme="dasBlog" />
    <category term="Performance" label="Performance" scheme="dasBlog" />
    <category term="Smart Client" label="Smart Client" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Windows Forms" label="Windows Forms" scheme="dasBlog" />
    <content type="html">&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;Microsoft
   has released a hot fix to increase developer productivity in Visual Studio 2005/.NET
   2.0, when using solutions that use large and multiple projects in a solution. The
   time to compile and design windows/web forms was turning out to be quite frustrating,
   the design/build time was in some cases turning out to be nearly 1 ½ - 2 times than
   the time taken previously in Visual Studio 2003/.NET 1.1. This is much more pronounced
   when using ASP.Net. This should provide a lot of relief for developers using Visual
   Studio 2005 and will make development much more pleasant.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;Hot
   fix details are at &lt;a href="http://support.microsoft.com/kb/917452/en-us"&gt;http://support.microsoft.com/kb/917452/en-us&lt;/a&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;Benefits&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 150%; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"&gt;&lt;span style="mso-list: Ignore"&gt;¨&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;You
   experience a faster response time when you press F5 to start debugging.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 150%; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"&gt;&lt;span style="mso-list: Ignore"&gt;¨&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;You
   experience faster renaming of user controls in the Designer and Code views.&amp;nbsp; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 150%; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"&gt;&lt;span style="mso-list: Ignore"&gt;¨&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;You
   experience a reduced time for IntelliSense to appear in the editor.&amp;nbsp; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 150%; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"&gt;&lt;span style="mso-list: Ignore"&gt;¨&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;You
   experience a reduced time to interact with the code editor.&amp;nbsp; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 150%; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"&gt;&lt;span style="mso-list: Ignore"&gt;¨&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;You
   experience reduced virtual memory consumption by the Devenv.exe process. 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt 0.25in; TEXT-INDENT: -0.25in; LINE-HEIGHT: 150%; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; tab-stops: list .25in; mso-list: l0 level1 lfo1"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Wingdings; mso-bidi-font-family: Wingdings; mso-fareast-font-family: Wingdings"&gt;&lt;span style="mso-list: Ignore"&gt;¨&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;When
   you modify code or you rename controls, you experience reduced CPU utilization in
   both severity and duration.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;
   &lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=bdc4f75a-e798-4570-864b-49539df52f83" /&gt;</content>
  </entry>
  <entry>
    <title>Designing and Debugging a User Control in DESIGNTIME and RUNTIME in Visual Studio 2003</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,1bdc4d57-3e09-4042-831d-603064f5ed59.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,1bdc4d57-3e09-4042-831d-603064f5ed59.aspx</id>
    <published>2006-04-28T12:58:55.53-07:00</published>
    <updated>2006-04-28T13:12:07.9577522-07:00</updated>
    <category term="Custom Controls" label="Custom Controls" scheme="dasBlog" />
    <category term="Smart Client" label="Smart Client" scheme="dasBlog" />
    <category term="Visual Studio 2003" label="Visual Studio 2003" scheme="dasBlog" />
    <category term="Windows Forms" label="Windows Forms" scheme="dasBlog" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-FAMILY: Arial"&gt;&lt;font color=#000000&gt;&lt;/font&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font color=#000000&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;I have demonstrated how you design
   and test a user control in Visual Studio 2005, but there are thousands of developers
   out there who&amp;nbsp;design and develop using Visual Studio 2003 on a daily basis and
   will continue to do so for a couple of years. So how do you debug a control in Visual
   Studio 2003? Well it depends on what you are trying to debug Design time or Runtime.
   I have written some basic debugging techniques here since I got question about these
   from developers who are just starting to develop their user controls in Visual Studio
   2003.&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;
      &lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="FONT-FAMILY: Arial"&gt;To
   Debug RUNTIME in Visual Studio 2003&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span style="FONT-FAMILY: Arial"&gt; – &lt;/span&gt;&lt;/font&gt;&lt;font color=#000000&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;One
   of the simplest ways to debug a user control in Visual Studio 2003 is to create a
   windows forms application in the same solution where the Control Library containing
   the user control resides. The steps to follow are given below.&lt;/span&gt;
&lt;/p&gt;
&gt;&gt;&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;font color=#000000&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&gt;&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font color=#000000&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;Open the solution containing the User
   Control Library&lt;/span&gt;&lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt; &lt;/span&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;ol style="MARGIN-TOP: 0in" type=A&gt;
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;From the File
      menu choose New-&amp;gt;Project&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;
      &lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;Choose a windows
      application project and select the “Add to Solution” option at the bottom of the dialog.
      Name the Project to your liking and click OK. See &lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;Figure
      1&lt;/u&gt;&lt;/b&gt;.&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;
      &lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;In the new Windows
      Forms application. Open the form created by default&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Wingdings; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;&lt;span style="mso-char-type: symbol; mso-symbol-font-family: Wingdings"&gt;à&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt; Form1. 
      &lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;Add a Project
      Reference to the user control.&lt;/span&gt;
   &lt;/li&gt;
&lt;ul&gt;
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;Right
      click on the Windows Forms project, Select Add Reference.&lt;/span&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;Go
      to the Project Tab and select the User Control Library project.&lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt;
   &lt;/li&gt;
&lt;/ul&gt;
&lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l2 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;Drop the User
   Control on the Form surface.&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt; 
&lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l2 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;Set break points
   in the user control where you want your code to break.&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt; 
&lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l2 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;Set the startup
   project as the newly added windows application project.&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt; &lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt; 
&lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: black; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l2 level1 lfo2"&gt;
   &lt;span style="FONT-SIZE: 10pt; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;Run the Solution
   using F5.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/li&gt;&gt;
&lt;/font&gt;&lt;/span&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;
      &lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
   &lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font color=#000000&gt;Interact with the control
   at runtime on the new windows forms and you will see your code breaking into the debug
   points 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;
      &lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;b style="mso-bidi-font-weight: normal"&gt;&lt;u&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&lt;font color=#000000&gt;Figure
   1&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/font&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p&gt;
   &lt;span style="FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /&gt;
   &lt;v:shapetype id=_x0000_t75 path="m@4@5l@4@11@9@11@9@5xe" o:spt="75" coordsize="21600,21600" stroked="f" o:preferrelative="t" filled="f"&gt;
      &lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;
      &lt;v:formulas&gt;
         &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;
         &lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;
      &lt;/v:formulas&gt;
      &lt;v:path o:connecttype="rect" o:extrusionok="f" gradientshapeok="t"&gt;&lt;/v:path&gt;
      &lt;o:lock v:ext="edit" aspectratio="t"&gt;&lt;/o:lock&gt;
   &lt;/v:shapetype&gt;
   &lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;&amp;nbsp;&lt;img height=394 alt=20060428VS2003Debugging.JPG src="http://www.knowthycode.com/clydesblog/content/binary/20060428VS2003Debugging.JPG" width=531 border=0&gt;
   &lt;br style="mso-special-character: line-break"&gt;
   &lt;br style="mso-special-character: line-break"&gt;
&lt;/p&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&gt;&lt;font color=#000000&gt;&lt;span&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span&gt;&lt;u&gt;&lt;strong&gt;To Debug&amp;nbsp;DESIGNTIME in Visual Studio 2003&lt;/strong&gt;&lt;/u&gt; – Instead
   of writing down the steps to do design time debugging – I found a good article that
   describes how to do it. What this article covers is how to debug a user control when
   you manipulate attributes (e.g. position and properties) of the user control on a
   form at design time. If this article does not help you or you need more advanced debugging,
   write me an email at &lt;a href="mailto:clyde@knowthycode.com"&gt;clyde@knowthycode.com&lt;/a&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;/span&gt;&lt;/font&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;
      &lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-FAMILY: Arial"&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/designtimedebugging.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/designtimedebugging.asp&lt;/a&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
   &lt;span style="FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;
      &lt;font color=#000000&gt;&amp;nbsp;&lt;/font&gt;
   &lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=1bdc4d57-3e09-4042-831d-603064f5ed59" /&gt;</content>
  </entry>
  <entry>
    <title>HOTFIX: For Visual Studio 2005 crashing/compile errors message while Debugging using Edit and Continue or ASP.Net</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,39c74848-c044-4be3-bb6d-e6728941de81.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,39c74848-c044-4be3-bb6d-e6728941de81.aspx</id>
    <published>2006-03-31T09:39:54.915-07:00</published>
    <updated>2006-03-31T09:45:15.8328234-07:00</updated>
    <category term="ASP.Net" label="ASP.Net" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <content type="html">&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;Quite
   a few people have complained about Visual Studio 2005 crashing or getting errors while
   compiling projects or editing web pages. This happens often while debugging the application
   using the Edit and Continue feature or while working with ASP.Net web pages.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;Microsoft
   has release a hot fix for this problem. Download the fix and read about it at&lt;/span&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt; &lt;a href="http://support.microsoft.com/?kbid=915038"&gt;&lt;span style="mso-ascii-font-family: Arial; mso-hansi-font-family: Arial"&gt;http://support.microsoft.com/?kbid=915038&lt;/span&gt;&lt;/a&gt;.&lt;/span&gt;&lt;span style="COLOR: #003300"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
&lt;/span&gt;&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=39c74848-c044-4be3-bb6d-e6728941de81" /&gt;</content>
  </entry>
  <entry>
    <title>When hosting a blog with the dasBlog do not name your dasBlog web application as dasBlog</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,c6853ca2-f515-4270-8647-3c7d380b5222.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,c6853ca2-f515-4270-8647-3c7d380b5222.aspx</id>
    <published>2005-12-01T21:49:08.335-08:00</published>
    <updated>2005-12-01T22:10:17.6631359-08:00</updated>
    <category term="dasBlog" label="dasBlog" scheme="dasBlog" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <font face="Arial">If you have hosted your blog using dasBlog on your IIS Server then
      do not name the application as dasBlog. I had my blog hosted at </font>
          <a href="http://www.knowthycode.com/dasBlo g">
            <font face="Arial">www.knowthycode.com/dasBlo
      g</font>
          </a>
          <font face="Arial">. Brian had put a reference to my blog in his
      blog hosted in dasBlog, and it should have worked.</font>
        </p>
        <p>
          <font face="Arial">But nope the dasBlog Web application does not like the word "dasBlog"
      in any URL's specified in its web post's. So when you post the web log like brian
      did it kinda does a find and replace for the word "dasBlog" as part of URL's
      and really screwes up the way the HREF is rendered to a browser in the web post.</font>
        </p>
        <p>
          <font face="Arial">What does the replace is the section listed below in
      your Site.Config for your dasBlog web application. </font>
        </p>
        <p>
          <font face="Arial">
            <em>&lt;ContentFilter find="dasBlog" replace="&amp;lt;a href=&amp;quot;http://www.dasblog.net&amp;quot;&amp;gt;dasBlog&amp;lt;/a&amp;gt;"
      isregex="false" /&gt;"</em>
          </font>
        </p>
        <p>
      Watch how weird this webpost looks due to the word dasBlog in it's contents.
   </p>
        <p>
      Thanks Brian for pointing this out
   </p>
        <img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=c6853ca2-f515-4270-8647-3c7d380b5222" />
      </div>
    </content>
  </entry>
  <entry>
    <title>Designing and Testing a User Control in Visual Studio 2005 using the Test Container</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,bd56d9ce-0ec7-4414-9f20-56fe46b529da.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,bd56d9ce-0ec7-4414-9f20-56fe46b529da.aspx</id>
    <published>2005-11-30T20:36:32.957-08:00</published>
    <updated>2005-12-01T21:26:02.5408719-08:00</updated>
    <category term="Custom Controls" label="Custom Controls" scheme="dasBlog" />
    <category term="Smart Client" label="Smart Client" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Windows Forms" label="Windows Forms" scheme="dasBlog" />
    <content type="html">&lt;font color=#000000&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;An excellent feature added to Visual
   Studio 2005 is the Test Container for User Controls. The Test Container hosts the
   User Control at runtime allowing&amp;nbsp;the Control author to visualize, design, test
   and debug&amp;nbsp;the Control in an isolated runtime environment, without having to draw
   the user control on a separate windows form.&lt;/span&gt;&lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;In the past the only reliable way of
   testing a User Control was to drop it on a windows form, run the windows form&amp;nbsp;and
   interact with&amp;nbsp;the User Control&amp;nbsp;to test its behavior and functionality. When
   developers used the user control on forms, in some cases it would not function properly
   and troubleshooting the issue many a time showed that the correct inputs were not
   being passed to the User Control by the Form Code. But there was no way of certifying
   that the User Control worked in an independent (formless) environment, unless you
   went through the form code + user control code.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;That is where the User Control, Test
   Container comes in. To test a User Control in the Test Container there are 2 ways.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;strong&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;A.&lt;/span&gt;&lt;/strong&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt; Make
   the Windows Control Library Project containing the User Control class as the startup
   project and run the solution.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;strong&gt;&lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt;B.&lt;/span&gt;&lt;/strong&gt;&lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt; Run
   "UserControlTestContainer.exe" from the Start-&amp;gt;Run... prompt. This brings up a
   empty Test Container, use the Load button to load the Assembly containing the User
   Control you want to test.&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt;This is how the Test Container looks.
   I&lt;/span&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;n this example the control
   author can test the control by inputting numbers and testing the output by clicking
   one of the mathematical operator buttons, all without hosting it on a windows form.&lt;/span&gt;&lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
&lt;/span&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;font face=Arial&gt;&lt;/font&gt;&lt;span style="COLOR: #003300"&gt;
   &lt;o:p&gt;

&lt;/p&gt;
&lt;p&gt;
   &gt;
   &gt;&lt;span style="COLOR: #003300"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;&lt;font face=Arial&gt;&amp;nbsp;&lt;/font&gt;&lt;font face=Arial&gt;&amp;nbsp;&lt;img src="http://www.knowthycode.com/clydesblog/content/binary/20051130TestContainer.JPG" border=0&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%; tab-stops: list .5in"&gt;
   &lt;span&gt;&lt;u&gt;Sample with downloads&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/u&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%; tab-stops: list .5in"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;Download&amp;nbsp;&lt;a href="http://www.knowthycode.com/clydesblog/content/binary/Calculator.zip"&gt;Calculator.zip
   (17.35 KB)&lt;/a&gt;&amp;nbsp;unzip the contents and open and run Calculator.sln to see the
   test container in action.&lt;/span&gt;&lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%; tab-stops: list .5in"&gt;
   &lt;span style="COLOR: #003300; FONT-FAMILY: Arial"&gt;&lt;/span&gt;&amp;nbsp;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: 150%"&gt;
   &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;What you can do with test container
   (use sample project)&lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;ul style="MARGIN-TOP: 0in" type=disc&gt;
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: #003300; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;When multiple User Control’s exist
      you can choose the control to test in the “Select User Control” dialog&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt; 
      &lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: #003300; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;Dock the user control surface area
      to the preview pane&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt; 
      &lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: #003300; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;Modify Properties in the property window
      to test how the control reacts to in runtime&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt; 
      &lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: #003300; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;Debug the control by putting breakpoints
      in the control code&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt; 
      &lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt; 
   &lt;li class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: #003300; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
      &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;Load different assemblies containing
      User Controls using the "Load" button.&lt;/span&gt;&lt;span style="FONT-FAMILY: Arial"&gt;
      &lt;o:p&gt;&lt;/o:p&gt;
      &lt;/span&gt;
   &lt;/li&gt;
&lt;/ul&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: #003300; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
&lt;/span&gt;&lt;/span&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: #003300; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
   &lt;font face=Arial&gt;&lt;/font&gt; 
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt; COLOR: #003300; LINE-HEIGHT: 150%; tab-stops: list .5in; mso-list: l0 level1 lfo1"&gt;
   &lt;font face=Arial&gt;&lt;/font&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;
&lt;/p&gt;
&lt;p&gt;
   &gt;
&lt;/font&gt;&lt;u&gt;&lt;font face=Arial&gt;Tips&lt;/font&gt;&lt;/u&gt; &gt;
&lt;p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;ul&gt;
   &lt;li&gt;
      &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&lt;em&gt;&lt;font size=1&gt;There is a way of
      testing user controls in an independent way in Visual Studio 2003, but it is cumbersome.
      If you want to know how to debug in VS 2003, send me an email at &lt;/font&gt;&lt;a href="mailto:clyde@knowthycode.com"&gt;&lt;font size=1&gt;clyde@knowthycode.com&lt;/font&gt;&lt;/a&gt;&lt;/em&gt;&lt;/span&gt;&lt;font face=Arial size=1&gt; &lt;/font&gt; 
   &lt;li&gt;
      &lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&lt;span style="COLOR: black; FONT-FAMILY: Arial"&gt;&lt;em&gt;&lt;font size=1&gt;If
      you do not have your User Controls in a single Windows Control Library Project, please
      do so it contributes to further reuse and scalability &lt;span style="FONT-SIZE: 10pt; COLOR: black; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;&lt;em&gt;&lt;font size=1&gt;of
      the controls you develop&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/font&gt;&lt;/em&gt;&lt;/span&gt;&lt;/span&gt;
   &lt;/li&gt;
&lt;/ul&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=bd56d9ce-0ec7-4414-9f20-56fe46b529da" /&gt;</content>
  </entry>
  <entry>
    <title>Smart Client Custom Controls Powerpoint Presentation and Source Code</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,6c593074-2fb3-4727-a4d2-9fd3ab8dc8c5.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,6c593074-2fb3-4727-a4d2-9fd3ab8dc8c5.aspx</id>
    <published>2005-11-22T23:44:42.79-08:00</published>
    <updated>2005-11-30T21:08:44.6984231-08:00</updated>
    <category term="Custom Controls" label="Custom Controls" scheme="dasBlog" />
    <category term="Smart Client" label="Smart Client" scheme="dasBlog" />
    <category term="Visual Studio 2005" label="Visual Studio 2005" scheme="dasBlog" />
    <category term="Windows Forms" label="Windows Forms" scheme="dasBlog" />
    <content type="html">&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt; 
&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;I
   have uploaded the PowerPoint presentations, database and source code related to my
   Smart Client Custom Controls talk my main website &lt;a href="http://www.knowthycode.com/"&gt;www.knowthycode.com&lt;/a&gt;.
   I developed this presentation using the Beta version of Visual Studio 2005 and SQL
   Server 2005 Developer edition. Install the Database and Source Code using the zip
   files provided. The presentation shows you discussion points for developing smart
   client custom controls. The solution shows you different types of smart client controls
   that you can build using Visual Studio 2005. Let me know if you have any question
   on anything about the source code/presentation. Contact me at &lt;a href="mailto:clyde@knowthycode.com"&gt;clyde@knowthycode.com&lt;/a&gt;.
   The presentations were done at &lt;span class=parentsectionsectiontitle&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;Capital
   Area .Net, Central Maryland Association of .NET Professionals (CMAP) and 
   &lt;st1:place w:st="on"&gt;Southern Virginia&lt;/st1:place&gt;
   's .NET User Group&lt;/span&gt;&lt;strong&gt;&lt;span style="FONT-FAMILY: Arial"&gt;.&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Verdana"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;/span&gt;&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=6c593074-2fb3-4727-a4d2-9fd3ab8dc8c5" /&gt;</content>
  </entry>
  <entry>
    <title>Clyde Barretto started blogging</title>
    <link rel="alternate" type="text/html" href="http://www.knowthycode.com/clydesblog/PermaLink,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx" />
    <id>http://www.knowthycode.com/clydesblog/PermaLink,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</id>
    <published>2005-11-19T00:00:00-08:00</published>
    <updated>2005-12-01T21:32:21.1297759-08:00</updated>
    <category term="dasBlog" label="dasBlog" scheme="dasBlog" />
    <content type="html">&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; FONT-FAMILY: Arial"&gt; 
&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;I
   have officially started blogging November 19'Th 2005. I hope to share my ideas and
   concepts through this blog and have fun doing it. I speak at user groups about&amp;nbsp;development&amp;nbsp;using
   Visual Studio 2005, .NET Framework 2.0, I want this blog to initially serve as a portal
   for people who are interested in and want to collaborate on topics that interest me. 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;About
   myself:&amp;nbsp;Worked in the Software Industry for about 13&lt;span class=eventfulldescription&gt; years.&amp;nbsp;I
   started programming in COBOL/C/Unix and have since then gone onto build successful
   database intensive enterprise applications primarily using Microsoft Technology (VB6/COM+/.NET/
   CENTURA/SQL Server/ORACLE).&amp;nbsp;I specialize in building software components for
   use in Database driven GUI applications.&lt;/span&gt; 
   &lt;o:p&gt;&lt;/o:p&gt;
   &lt;/span&gt;
&lt;/p&gt;
&lt;p style="LINE-HEIGHT: 150%"&gt;
   &lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;Thanks
   Brian for the help on blogging and everything else. &lt;/span&gt;&lt;span style="FONT-SIZE: 10pt; COLOR: #003300; LINE-HEIGHT: 150%; FONT-FAMILY: Arial"&gt;&lt;/span&gt;
&lt;/span&gt;&gt;
&lt;img width="0" height="0" src="http://www.knowthycode.com/clydesblog/aggbug.ashx?id=b705c37b-b47f-4e8d-8f8b-091efc4cb684" /&gt;</content>
  </entry>
</feed>
