<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : how to set Outlook category</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : how to set Outlook category]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 05:31:41 +0000</pubDate>
  <lastBuildDate>Wed, 26 Jun 2013 15:39:47 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=21748</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[how to set Outlook category : my dataprovider is Outlook 2010by...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21748&amp;PID=71222&amp;title=how-to-set-outlook-category#71222</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8118">jixhut</a><br /><strong>Subject:</strong> 21748<br /><strong>Posted:</strong> 26 June 2013 at 3:39pm<br /><br /><div><div>my dataprovider is Outlook 2010</div><div>by this code I read and add category from/to Outlook:</div><div>&nbsp; &nbsp; ....</div><div>&nbsp; <b>&nbsp; Dim objCategory As Category</b></div><div><b>&nbsp; &nbsp; Dim strOutput As String</b></div><div><b>&nbsp; &nbsp; If myNamespace.Categories.count &gt; 0 Then</b></div><div><b style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; For Each objCategory In myNamespace.Categories</b></div><div><b style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strOutput = strOutput &amp; objCategory.Name &amp; _</b></div><div><b>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ": " &amp; objCategory.CategoryID &amp; vbCrLf</b></div><div><b>&nbsp; &nbsp; &nbsp; &nbsp; Next</b></div><div><b>&nbsp; &nbsp; End If</b></div><div><b>&nbsp; &nbsp; Set objCategory = myNamespace.Categories("MyCategory")</b></div><div><b>&nbsp; &nbsp; If Not objCategory Is Nothing Then</b></div><div><b>&nbsp; &nbsp; &nbsp; &nbsp; ' check for the color and change if necessary</b></div><div><b>&nbsp; &nbsp; Else</b></div><div><b>&nbsp; &nbsp; &nbsp; &nbsp; ' add the category</b></div><div><b>&nbsp; &nbsp; &nbsp; &nbsp; SetobjCategory = myNamespace.Categories.Add("MyCategory")</b></div><div><b>&nbsp; &nbsp; End If</b></div><div><b style="line-height: 1.4;">&nbsp; &nbsp; MsgBox strOutput</b></div></div><div>&nbsp;</div><div>by this code I wrote event, how I set "MyCategory" category? Label not coresponding with category.</div><div>&nbsp;</div><div><span style="line-height: 1.4;"></span><span style="line-height: 1.4;"><b>&nbsp; &nbsp; Me.m_pEditingEvent.Subject = txtSubject.Value</b></span></div><div><b>&nbsp; &nbsp; Me.m_pEditingEvent.Location = txtLoc.Value</b></div><div><b>&nbsp; &nbsp; Me.m_pEditingEvent.Body = txtBody.Value</b></div><div><span style="line-height: 1.4;"><b>&nbsp; &nbsp; Me.m_pEditingEvent.BusyStatus = xtpCalendarBusyStatusBusy</b></span></div><div><b>&nbsp; &nbsp; Me.m_pEditingEvent.ReminderMinutesBeforeStart = 30</b></div><div><b>&nbsp; &nbsp; Me.m_pEditingEvent.Reminder = True</b></div><div><b>&nbsp; &nbsp; Me.m_pEditingEvent.label = 5</b></div><div><br></div><div>? Me.m_pEditingEvent.Categories.count show 0 !!!!!</div><div>&nbsp; &nbsp;</div><div><b>&nbsp; &nbsp; Me.m_pCalendar.DataProvider.AddEvent Me.m_pEditingEvent</b></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 26 Jun 2013 15:39:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21748&amp;PID=71222&amp;title=how-to-set-outlook-category#71222</guid>
  </item> 
 </channel>
</rss>