S
Steve
Now that I found the Outlook public folder containing an
existing calendar, how do I open the calendar?
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?
************************
openOutlookCalendar()
{
Application olApp = new ApplicationClass();
NameSpace olNS = olApp.GetNamespace("MAPI");
MAPIFolder objFolder
= olNS.GetDefaultFolder
(.OlDefaultFolders.olPublicFoldersAllPublicFolders);
//nested foreach & if at third folder level
foreach (objfolder3 in objfolder2.Folders)
{
//I found folder below containing the
//existing "confRoomCalendar"
if (objfolder3.Name == publicFolderLevel3)
{
//How do I open the calendar?
}}}
existing calendar, how do I open the calendar?
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?
************************
openOutlookCalendar()
{
Application olApp = new ApplicationClass();
NameSpace olNS = olApp.GetNamespace("MAPI");
MAPIFolder objFolder
= olNS.GetDefaultFolder
(.OlDefaultFolders.olPublicFoldersAllPublicFolders);
//nested foreach & if at third folder level
foreach (objfolder3 in objfolder2.Folders)
{
//I found folder below containing the
//existing "confRoomCalendar"
if (objfolder3.Name == publicFolderLevel3)
{
//How do I open the calendar?
}}}