<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>.NET 3.5</title><link>http://blogs.interknowlogy.com/adamcalderon/category/158.aspx</link><description>Interesting tidbids that cover .NET 3.5</description><dc:language>en-US</dc:language><generator>.Text Version 0.95.2004.111</generator><item><dc:creator>Adam Calderon</dc:creator><title>My Day with Form Regions and Custom Message Classes in Outlook 2007</title><link>http://blogs.interknowlogy.com/adamcalderon/archive/2008/01/16/23066.aspx</link><pubDate>Wed, 16 Jan 2008 17:58:00 GMT</pubDate><guid>http://blogs.interknowlogy.com/adamcalderon/archive/2008/01/16/23066.aspx</guid><description>&lt;p&gt;I was creating a &lt;a href="http://msdn2.microsoft.com/en-us/library/bb226713.aspx"&gt;form region&lt;/a&gt; in Outlook 2007 today&amp;nbsp;for appointments and I wanted to limit the form from showing up with every appointment. I read that you could&amp;nbsp;associate the form region with a &lt;a href="http://msdn2.microsoft.com/it-it/library/bb157886.aspx"&gt;custom message class&lt;/a&gt;&amp;nbsp;and once you did this the form region would only show up for messages of that type. So with that information in hand I marched through the New Outlook Form Region Wizard (see Figures 1&amp;ndash;4)&amp;nbsp;in Visual Studio 2008. I was trying to create an adjoining form region that would show up on the bottom of the appointment screen so when I got to&amp;nbsp;&amp;ldquo;Select the form region you want to create&amp;rdquo; step (see Figure 2) I selected Adjoining&amp;nbsp;and continued to &amp;ldquo;Identify Message Class that will show this form&amp;rdquo; step (see Figure 4) where I added my custom message class &amp;ldquo;IPM.Appointment.MyAppointment&amp;rdquo; and finished. After adding some content to my form region I started to debug my add-in. This is when the trouble began.&amp;nbsp;I could not find my custom form anywhere. Normally you would go to File&amp;gt;New&amp;gt;Choose Forms&amp;hellip; the form would be there (see Figure 5) ready for you to choose and enter data in. Not in this case. After a long process I finally figured out that a custom message class will only work with replacement and replace-all form regions and not adjoining which I was using. The note in the SDK (see Figure 6) hints at this but it doesn&amp;rsquo;t come out and say &amp;ldquo;It will only work with these types&amp;rdquo;. &lt;img src="http://blogs.interknowlogy.com/downloads/adamcalderon/smile9.gif" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="FormRegionWizardStep1" src="http://blogs.interknowlogy.com/downloads/adamcalderon/FormRegionWizardStep1.jpg" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Figure 1 &amp;ndash; Selecting how to create your form region&lt;/p&gt;
&lt;p&gt;&lt;img alt="FormRegionWizardStep 2" src="http://blogs.interknowlogy.com/downloads/adamcalderon/FormRegionWizardStep_202.jpg" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Figure 2 &amp;ndash; Choosing the form region type&lt;/p&gt;
&lt;p&gt;&lt;img alt="FormRegionWizardStep 3" src="http://blogs.interknowlogy.com/downloads/adamcalderon/FormRegionWizardStep_203.jpg" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Figure 3 &amp;ndash; Naming your form region&lt;/p&gt;
&lt;p&gt;&lt;img alt="FormRegionWizardStep 4" src="http://blogs.interknowlogy.com/downloads/adamcalderon/FormRegionWizardStep_204.jpg" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Figure 4 &amp;ndash; Determining Message class to use&lt;/p&gt;
&lt;p&gt;&lt;img alt="Choosing form" src="http://blogs.interknowlogy.com/downloads/adamcalderon/choosing_20form.jpg" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Figure 5 &amp;ndash; Selecting form in Outlook&lt;/p&gt;
&lt;p&gt;&lt;img alt="Note in sdk" src="http://blogs.interknowlogy.com/downloads/adamcalderon/note_20in_20sdk.jpg" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;Figure 6 &amp;ndash; Note in SDK&lt;/p&gt;&lt;img src ="http://blogs.interknowlogy.com/adamcalderon/aggbug/23066.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Adam Calderon</dc:creator><title>Visual Studio 2008 Peformance Profiler</title><link>http://blogs.interknowlogy.com/adamcalderon/archive/2007/11/08/22470.aspx</link><pubDate>Thu, 08 Nov 2007 13:32:00 GMT</pubDate><guid>http://blogs.interknowlogy.com/adamcalderon/archive/2007/11/08/22470.aspx</guid><description>&lt;p&gt;The Visual Studio Performance Profiler in Visual Studio 2008 is leaps and bounds better than it&amp;rsquo;s predecessor but as always finding any information on Beta technology is not the easiest thing to do. To help out I have included a few blog entries that are helping me understand what VS 2008 has to offer and a few that cover some background information as well.&lt;/p&gt;
&lt;p&gt;This first blog entitled&amp;nbsp;&lt;a href="http://blogs.msdn.com/timothyc/archive/2006/02/28/540291.aspx"&gt;Solving WPF Performance Problems: Step 1&lt;/a&gt;&amp;nbsp;is a great blog by Tim Cahill that you can use&amp;nbsp;to get started with. It covers VS 2005 but included a few good tidbits including a link to a website that contains the debug symbols for the Microsoft DLLs. Tim also has another blog &lt;a href="http://blogs.msdn.com/timothyc/archive/2006/03/08/546437.aspx"&gt;Profiling WPF Applications from the Command Line&lt;/a&gt;&amp;nbsp;that describes how to use the command line with the profiler. The examples cover startup and already running application scenarios which are now supported in the UI in VS 2008.&lt;/p&gt;
&lt;p&gt;Ian Hu has a series of blog entries that cover the profiler in VS 2008 showing off a lot of the cool new features that make this profiler the best yet from Microsoft.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/ianhu/archive/2007/10/17/collecting-performance-counter-information-with-the-visual-studio-team-system-profiler.aspx"&gt;Collecting performance counter information with the Visual Studio Team System profiler&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/ianhu/archive/2007/09/14/pinpoint-a-performance-issue-using-hotpath-in-visual-studio-2008.aspx"&gt;Pinpoint a performance issue using hotpath in Visual Studio 2008 &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/ianhu/archive/2007/08/07/the-new-developer-menu-in-visual-studio-team-system.aspx"&gt;The New Developer Menu in Visual Studio Team System&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/ianhu/archive/2007/07/17/the-visual-studio-profiler-data-collection-control-part-1-excluding-application-startup-time.aspx"&gt;The Visual Studio Profiler Data Collection Control Part 1: Excluding Application Startup Time &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/ianhu/archive/2007/04/03/comparing-performance-reports-with-the-visual-studio-team-system-profiler.aspx"&gt;Comparing performance reports with the Visual Studio Team System Profiler&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src ="http://blogs.interknowlogy.com/adamcalderon/aggbug/22470.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>