Using Outlook Object Model from an NT Service

G

Guest

Due to a business need, I need to use the Outlook Object Model spawned from
an NT Service to update users' Outlook calendar (even though MS does not recommend doing that - KB 237913). That's done through setting up the user's calendar delegate. However that is occationally crashing/not working without a clue (at least for now.) Application log files or Event Viwer is not showing any errors/warnings. Does anyone know if CDO can set the calendar delegate? Without using the Exchange admin credentials, is there anyway to access another user's calendar and not other folders like Inbox? Thanks for any help in advance
 
S

Sue Mosher [MVP-Outlook]

You'll need to rethink your design. The KB article is correct: Outlook
really and truly is not suitable for running from a service. You can,
however, use CDO to access the data in other users' calendars. CDO will have
the permissions of whatever account the service is running under.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



John Lee said:
Due to a business need, I need to use the Outlook Object Model spawned from
an NT Service to update users' Outlook calendar (even though MS does not
recommend doing that - KB 237913). That's done through setting up the
user's calendar delegate. However that is occationally crashing/not working
without a clue (at least for now.) Application log files or Event Viwer is
not showing any errors/warnings. Does anyone know if CDO can set the
calendar delegate? Without using the Exchange admin credentials, is there
anyway to access another user's calendar and not other folders like Inbox?
Thanks for any help in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top