A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Categories Not Saved



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old June 27th 09, 08:07 AM posted to microsoft.public.outlook.program_forms
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Categories Not Saved



Is your default mail account by chance IMAP? That could explain it as IMAP
doesn't support categories. Outlook won't try to write the categories to the
Master Category List until you close it, and that's when they get lost.

Other ideas: you're connected to a mailserver other than Exchange, or you
don't have the permission to write to the default calendar of the mailbox.

Did you test already whether or not you can add categories to the mailbox by
using Outlook's Categorize dialog?

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Wed, 24 Jun 2009 10:15:01 -0700 schrieb spottedmahn:

Hi Ken, thanks again for the response.

Yes the both branches of that if else are being executed. I put a
breakpoint in each of them and stepped thru the code.

Here is a screen shot of what is happening:
http://spottedmahn.spaces.live.com/b...016B!407.entry


"Ken Slovak - [MVP - Outlook]" wrote:

The line that I see on a brief scan of the code that actually adds a new
category to the Categories collection is this:

this.olNS.Categories.Add(Cat.Name, Cat.Color, Cat.ShortcutKey);

Are you sure this line is actually being executed in your code? Maybe add

a
Debug.Writeline() call just before that line to verify it is being hit,
otherwise whatever you do won't persist.

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming custom Categories into Master Categories List John E. Outlook - Using Forms 3 March 30th 09 11:06 AM
Public folder calender categories vs user calander categories Help me Outlook - Calandaring 5 November 2nd 07 07:44 AM
Categories not saved for sent/replied/forwarded messages (O2K7) Lillo Ramos, Alex Outlook - General Queries 3 June 29th 07 08:53 AM
Outlook 2007 Categories are a combo of Categories & Labels in 2003 Scott Sherman Outlook - Calandaring 0 February 13th 07 04:23 AM
Tasks categories. Unable to modify another user's categories. Tommy Outlook - Installation 0 August 9th 06 04:43 PM


All times are GMT +1. The time now is 06:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.