Group:  Microsoft Outlook » microsoft.public.outlook.program_addins
Thread: Capture new category event

Geek News

Capture new category event
Dave 10/16/2008 1:19:01 AM
Hi

Is it possible when a user enters a new Category, for me to fire some code
as I want to keep an external list of all categories (As I want other users
to have access to this list).

Thank you.

David
Re: Capture new category event
cainrandom[ at ]gmail.com 10/16/2008 2:49:06 AM
On Oct 15, 9:19 pm, Dave <D...[ at ]discussions.microsoft.com> wrote:
[Quoted Text]
> Hi
>
> Is it possible when a user enters a new Category, for me to fire some code
> as I want to keep an external list of all categories (As I want other users
> to have access to this list).
>
> Thank you.
>
> David

Your best bet is probably to periodically monitor the master category
list in the user's registry and update from there. I don't believe
there any events at all that deal with categories per se.
Re: Capture new category event
Dave 10/16/2008 7:30:00 AM
Hi

Thanks for the response. I do not think they are stored in registry in 2007.
However what I was thinking I may do is on application shutdown do a
comparision to see what categories are new, it seems the best bet.

Thanks for the help however.

Dave

"cainrandom[ at ]gmail.com" wrote:

[Quoted Text]
> On Oct 15, 9:19 pm, Dave <D...[ at ]discussions.microsoft.com> wrote:
> > Hi
> >
> > Is it possible when a user enters a new Category, for me to fire some code
> > as I want to keep an external list of all categories (As I want other users
> > to have access to this list).
> >
> > Thank you.
> >
> > David
>
> Your best bet is probably to periodically monitor the master category
> list in the user's registry and update from there. I don't believe
> there any events at all that deal with categories per se.
>
Re: Capture new category event
"Michael Bauer [MVP - Outlook]" <mb[ at ]mvps.org> 10/16/2008 8:49:27 AM


Since Outlook 07 there's a Categories collection, which you might check at
intervals.

--
Best regards
Michael Bauer - MVP Outlook

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


Am Thu, 16 Oct 2008 00:30:00 -0700 schrieb Dave:

[Quoted Text]
> Hi
>
> Thanks for the response. I do not think they are stored in registry in
2007.
> However what I was thinking I may do is on application shutdown do a
> comparision to see what categories are new, it seems the best bet.
>
> Thanks for the help however.
>
> Dave
>
> "cainrandom[ at ]gmail.com" wrote:
>
>> On Oct 15, 9:19 pm, Dave <D...[ at ]discussions.microsoft.com> wrote:
>>> Hi
>>>
>>> Is it possible when a user enters a new Category, for me to fire some
code
>>> as I want to keep an external list of all categories (As I want other
users
>>> to have access to this list).
>>>
>>> Thank you.
>>>
>>> David
>>
>> Your best bet is probably to periodically monitor the master category
>> list in the user's registry and update from there. I don't believe
>> there any events at all that deal with categories per se.
>>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net