Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Calendaring / August 2007

Tip: Looking for answers? Try searching our database.

Writing other peoples calendar

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mike - 14 Aug 2007 07:58 GMT
Hi

When accessing other peoples calendar i get a security warning.
I hink that redemption can help me out, but i cant find the methods
for it.

Posting my code (C#)

private OfficeApplication m_Application = null;
private NameSpace m_NameSpace = null;

m_Application = OutlookApplication.Create();
if (m_Application == null)
{
  return false;
}
m_NameSpace = m_Application.Session;

Recipient olRecipientToOpen = null;
olRecipientToOpen   = m_NameSpace.GetRecipientFromID( CalendarId );

m_NameSpace.GetSharedDefaultFolder(olRecipientToOpen ,
OlDefaultFolders.olFolderCalendar);

It is the "GetRecipientFromID" that causes the security issue.
I dont know the name of the MailBox only the CalendarID.

Thanks in advance
//Mike
Brian Tillman - 14 Aug 2007 14:45 GMT
> When accessing other peoples calendar i get a security warning.
> I hink that redemption can help me out, but i cant find the methods
> for it.
>
> Posting my code (C#)

Asking in
news://msnews.microsoft.com/microsoft.public.outlook.program_addins or
news://msnews.microsoft.com/microsoft.public.outlook.program_vba may be more
productive, because the programmers hang out there.
Signature

Brian Tillman [MVP-Outlook]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.