I have an application that accesses and displays Outlook calendars for the user to manipulate. The basic code looks like:
olFolderDisplayFolderOnly = 1
oExplorer = NULL
oExplorer = olFolder.GetExplorer(olFolderDisplayFolderOnly)
oExplorer.Display()
oExplorer = NULL
Where olFolder is the Calendar Folder object obtained earlier. This code works fine the
first time the user executes it. The calendar appears and the user can do what they need to with it. However, if they close the calendar then select to view the calendar again ( executing the above code a second time ), the code fails at the Display() line with the error message fro Outlook "The Explorer has been closed ... further operations are not possible" or similar wording. Has anyone encountered this and found out what the cause ( and remedy ) is?
Thanks,
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.