By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,262 Members | 2,664 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,262 IT Pros & Developers. It's quick & easy.

Outlook Open Folder Calendar

P: n/a
Now that I found the Outlook public folder containing an existing
calendar, how do I open it ?

************************
Application olApp = new ApplicationClass();
NameSpace olNS = olApp.GetNamespace("MAPI");

MAPIFolder oFolder
= olNS.GetDefaultFolder(.OlDefaultFolders.olPublicFo ldersAllPublicFolders);
//nested foreach & if at third level
foreach (objfolder3 in objfolder2.Folders)
{
if (objfolder3.Name == publicFolderLevel3)
{
//I found folder containing existing confRoomCalendar
//How do I open it?
}
}
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi Steve,

You can use Display () method to "display" the folder/calendar.
--
Regards,
Peter Jausovec
(http://blog.jausovec.net)
"Steve B." <St****@discussions.microsoft.com> je napisal v sporočilo
news:8C**********************************@microsof t.com ...
Now that I found the Outlook public folder containing an existing
calendar, how do I open it ?

************************
Application olApp = new ApplicationClass();
NameSpace olNS = olApp.GetNamespace("MAPI");

MAPIFolder oFolder
=
olNS.GetDefaultFolder(.OlDefaultFolders.olPublicFo ldersAllPublicFolders);
//nested foreach & if at third level
foreach (objfolder3 in objfolder2.Folders)
{
if (objfolder3.Name == publicFolderLevel3)
{
//I found folder containing existing confRoomCalendar
//How do I open it?
}
}

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.