<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Programming Outlook 2007 add-ins with Visual C# 2008 Express</title>
	<atom:link href="http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/feed/" rel="self" type="application/rss+xml" />
	<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
	<description></description>
	<lastBuildDate>Mon, 26 Apr 2010 09:52:51 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vivek Jain</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-2208</link>
		<dc:creator>Vivek Jain</dc:creator>
		<pubDate>Mon, 26 Apr 2010 09:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-2208</guid>
		<description>&lt;p&gt;Thanks for your reply yes Emil i have multiple profile for multiple account.I need to  switch from one profile to another without closing the outlook.When i select other profile then the current profile will automatically log-off and prompt me the log-in password box.I tried the link which you suggest but no one is working.BTW Thanks for your help please update me if you find some thing interesting for the same.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for your reply yes Emil i have multiple profile for multiple account.I need to  switch from one profile to another without closing the outlook.When i select other profile then the current profile will automatically log-off and prompt me the log-in password box.I tried the link which you suggest but no one is working.BTW Thanks for your help please update me if you find some thing interesting for the same.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EH</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-2184</link>
		<dc:creator>EH</dc:creator>
		<pubDate>Fri, 23 Apr 2010 21:32:51 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-2184</guid>
		<description>&lt;p&gt;Hi Vivek,&lt;/p&gt;

&lt;p&gt;I&#039;m not sure I understand why you want this functionality, unless I&#039;m misunderstanding part of your explanation. You can have multiple email accounts in Outlook at the same time - perhaps you are talking about different profiles?&lt;/p&gt;

&lt;p&gt;This is not a part of Outlook I&#039;ve looked into, but I&#039;ve found some discussions related to profiles in a couple of places:
- &lt;a href=&quot;http://social.msdn.microsoft.com/Forums/en/vsto/thread/0113b2b8-a227-4f23-a06d-b4ca3c388edb&quot; rel=&quot;nofollow&quot;&gt;MSDN social&lt;/a&gt;
- &lt;a href=&quot;http://www.office-outlook.com/outlook-forum/index.php?t=msg&amp;th=87654/&quot; rel=&quot;nofollow&quot;&gt;office-outlook.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope it helps&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Vivek,</p>
<p>I&#8217;m not sure I understand why you want this functionality, unless I&#8217;m misunderstanding part of your explanation. You can have multiple email accounts in Outlook at the same time &#8211; perhaps you are talking about different profiles?</p>
<p>This is not a part of Outlook I&#8217;ve looked into, but I&#8217;ve found some discussions related to profiles in a couple of places:<br />
- <a href="http://social.msdn.microsoft.com/Forums/en/vsto/thread/0113b2b8-a227-4f23-a06d-b4ca3c388edb" rel="nofollow">MSDN social</a><br />
- <a href="http://www.office-outlook.com/outlook-forum/index.php?t=msg&amp;th=87654/" rel="nofollow">office-outlook.com</a></p>
<p>Hope it helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek Jain</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-2172</link>
		<dc:creator>Vivek Jain</dc:creator>
		<pubDate>Fri, 23 Apr 2010 02:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-2172</guid>
		<description>&lt;p&gt;Hi Emil,&lt;/p&gt;

&lt;p&gt;Thanks for your reply but my problem is to get the email account Let me explain what i want to do.&lt;/p&gt;

&lt;p&gt;I am creating an add-ins for outlook through this any user those have multiple account configured with outlook can switch his or her account any time.So what i am trying to fetch all the configured account and show in the drpdown.If user select any other account login name password pop-up will display if user is authorized then the his/her mail account will open.&lt;/p&gt;

&lt;p&gt;please send me any suggestion or clue&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Emil,</p>
<p>Thanks for your reply but my problem is to get the email account Let me explain what i want to do.</p>
<p>I am creating an add-ins for outlook through this any user those have multiple account configured with outlook can switch his or her account any time.So what i am trying to fetch all the configured account and show in the drpdown.If user select any other account login name password pop-up will display if user is authorized then the his/her mail account will open.</p>
<p>please send me any suggestion or clue</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EH</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-2168</link>
		<dc:creator>EH</dc:creator>
		<pubDate>Thu, 22 Apr 2010 09:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-2168</guid>
		<description>&lt;p&gt;Hi Vivek,&lt;/p&gt;

&lt;p&gt;It&#039;s difficult to see exactly what you&#039;re trying to do, and what you want to do with the mail accounts. If you are trying to get information about email, appointments etc from the account, this will exist in stores, which you can iterate through and don&#039;t have to log off one account to access another. To iterate through the stores (which are based on the accounts), you can do something like this:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;foreach (Outlook.Store w_Store in Globals.ThisAddIn.Application.Session.Stores)
            {
              // Loop over the Top level Folders
                foreach (Outlook.Folder w_Folder in w_Store.GetRootFolder().Folders)
                {
                    // Do something useful..
                }
            }&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Hope this helps&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Vivek,</p>
<p>It&#8217;s difficult to see exactly what you&#8217;re trying to do, and what you want to do with the mail accounts. If you are trying to get information about email, appointments etc from the account, this will exist in stores, which you can iterate through and don&#8217;t have to log off one account to access another. To iterate through the stores (which are based on the accounts), you can do something like this:</p>
<p><pre><code>foreach (Outlook.Store w_Store in Globals.ThisAddIn.Application.Session.Stores)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Loop over the Top level Folders
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach (Outlook.Folder w_Folder in w_Store.GetRootFolder().Folders)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Do something useful..
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</code></pre></p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vivek Jain</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-2159</link>
		<dc:creator>Vivek Jain</dc:creator>
		<pubDate>Thu, 22 Apr 2010 02:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-2159</guid>
		<description>&lt;p&gt;I am working on addins for outlook 2007.I have 2 mail account and both are configured.I am facing these problem :-&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;I want to get all there account through c# how to get these account?&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;How to logout the first account and Login with another account i tried with this code&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;OutLookApp.Application.Session.Logoff();       OutLookApp.Application.Session.Logon(missing,missing,false,true);
But that doesn&#039;t help any clues or suggestion you have?&lt;/p&gt;

&lt;p&gt;Thanks in advance.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I am working on addins for outlook 2007.I have 2 mail account and both are configured.I am facing these problem :-</p>
<ol>
<li>
<p>I want to get all there account through c# how to get these account?</p>
</li>
<li>
<p>How to logout the first account and Login with another account i tried with this code</p>
</li>
</ol>
<p>OutLookApp.Application.Session.Logoff();       OutLookApp.Application.Session.Logon(missing,missing,false,true);<br />
But that doesn&#8217;t help any clues or suggestion you have?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EH</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-2095</link>
		<dc:creator>EH</dc:creator>
		<pubDate>Mon, 05 Apr 2010 15:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-2095</guid>
		<description>&lt;p&gt;If the add-in is loaded you will find a button saying &quot;Hello&quot; in the row with all the menus (File, Edit etc).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>If the add-in is loaded you will find a button saying &#8220;Hello&#8221; in the row with all the menus (File, Edit etc).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-2094</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 05 Apr 2010 15:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-2094</guid>
		<description>&lt;p&gt;Actually I try to &quot;add&quot; the add-in manually in the COM add-in management window, and the message is that it is not a &quot;valid office add in&quot;&lt;/p&gt;

&lt;p&gt;So I guess something is wrong with the signing?&lt;/p&gt;

&lt;p&gt;help...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Actually I try to &#8220;add&#8221; the add-in manually in the COM add-in management window, and the message is that it is not a &#8220;valid office add in&#8221;</p>
<p>So I guess something is wrong with the signing?</p>
<p>help&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-2093</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 05 Apr 2010 14:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-2093</guid>
		<description>&lt;p&gt;Just wanted to ask, where exactly should I see the &quot;hellO&quot; button in outlook 2007?&lt;/p&gt;

&lt;p&gt;I did everything in the article, but I can&#039;t find any changes in the 2007 trial.&lt;/p&gt;

&lt;p&gt;How do I know that the add-in is loaded?&lt;/p&gt;

&lt;p&gt;Thx&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Just wanted to ask, where exactly should I see the &#8220;hellO&#8221; button in outlook 2007?</p>
<p>I did everything in the article, but I can&#8217;t find any changes in the 2007 trial.</p>
<p>How do I know that the add-in is loaded?</p>
<p>Thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shivranjani</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-1812</link>
		<dc:creator>shivranjani</dc:creator>
		<pubDate>Tue, 19 Jan 2010 11:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-1812</guid>
		<description>&lt;p&gt;thanks a lot...Your post really helped to solve my problem.I googled for almost four days, could not find anything.My problem was while adding the key under HKEYLOCALMACHINESOFTWAREMicrosoftOfficeOutlookAddins ,I just added namespace of project not with class namespace.
Once again thanks a lot.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>thanks a lot&#8230;Your post really helped to solve my problem.I googled for almost four days, could not find anything.My problem was while adding the key under HKEYLOCALMACHINESOFTWAREMicrosoftOfficeOutlookAddins ,I just added namespace of project not with class namespace.<br />
Once again thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EH</title>
		<link>http://emil.hunefalk.com/2009/09/17/programming-outlook-2007-add-ins-with-visual-csharp-express/comment-page-1/#comment-1288</link>
		<dc:creator>EH</dc:creator>
		<pubDate>Wed, 28 Oct 2009 14:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://emil.hunefalk.com/?p=72#comment-1288</guid>
		<description>&lt;p&gt;You can add a reference to the Extensibility under the .NET tab, with the name &quot;extensibility&quot;. In other words, it&#039;s not under the COM tab with the Office references, and only called extensibility, without &quot;IDT&quot; in the start. There&#039;s some information from MS at &lt;a href=&quot;http://support.microsoft.com/kb/302901&quot; rel=&quot;nofollow&quot;&gt;http://support.microsoft.com/kb/302901&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>You can add a reference to the Extensibility under the .NET tab, with the name &#8220;extensibility&#8221;. In other words, it&#8217;s not under the COM tab with the Office references, and only called extensibility, without &#8220;IDT&#8221; in the start. There&#8217;s some information from MS at <a href="http://support.microsoft.com/kb/302901" rel="nofollow">http://support.microsoft.com/kb/302901</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.524 seconds -->
