Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting calendar items from Outlook via OLE, under a different logon?

Status
Not open for further replies.

jsteph

Technical User
Oct 24, 2002
2,562
US
Hi all,
I have the basic Outlooke OLE code to get calendar itmes, the issue I have is that when I run this code from my computer, it gets only my items.

We have emails set up for various departments that are sort of their 'shared' email account, where we might put calendar items pertaining to the departement only--these are the items I'll want.

In code, I want to specify the email who's calendar I will be retrieving items from. I've tried using the Namespace.Logon method but it seems like it does nothing.

Can anyone help with a simple example of how I'd log onto, for instance, SalesDept@company.com and get their calendar items regardless of what computer this code runs on. It will initially run in Access 2003 for prototyping, but likely will eventually be put in VB .NET.
Thanks,
--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top