G
Guest
Now that I found the Outlook public folder containing an existing
calendar, how do I open it ?
And , what if the XP network user has Outlook closed or minimized in the
background how should I address Logon() or do I need to address it.
************************
openOutlookFolder(string publicFolderLevel1, ..2, ..3)
{
Application olApp = new ApplicationClass();
NameSpace olNS = olApp.GetNamespace("MAPI");
MAPIFolder objFolder
= olNS.GetDefaultFolder(.OlDefaultFolders.olPublicFoldersAllPublicFolders);
//nested foreach & if at third level
foreach (objfolder3 in objfolder2.Folders)
{
if (objfolder3.Name == publicFolderLevel3)
{
//I found folder containing the existing "confRoomCalendar"
//How do I open it in Outlook?
}
}
}
calendar, how do I open it ?
And , what if the XP network user has Outlook closed or minimized in the
background how should I address Logon() or do I need to address it.
************************
openOutlookFolder(string publicFolderLevel1, ..2, ..3)
{
Application olApp = new ApplicationClass();
NameSpace olNS = olApp.GetNamespace("MAPI");
MAPIFolder objFolder
= olNS.GetDefaultFolder(.OlDefaultFolders.olPublicFoldersAllPublicFolders);
//nested foreach & if at third level
foreach (objfolder3 in objfolder2.Folders)
{
if (objfolder3.Name == publicFolderLevel3)
{
//I found folder containing the existing "confRoomCalendar"
//How do I open it in Outlook?
}
}
}