Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Outlook calendar help
Message
From
22/02/2005 16:11:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Display Outlook calendar help
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
00989418
Message ID:
00989418
Views:
50
Hi, all

I am working on bringing up a outlook(98) calendar so the user can look at it. (We all so have 2003 in use) I use the following code to try and bring it up, but it gets stuck on the display command.
loOutlook = CREATEOBJECT("Outlook.Application")
  loNameSpace = loOutlook.GetNameSpace("MAPI")
* Select the calendar folder
  loCalendar = loOutlook.SESSION.Folders("Public Folders").Folders("All Public Folders").Folders("Shawna").Folders("Beths Marketing Calendar")
  IF TYPE("loCalendar") = "O"
    loSmCan = loCalendar.items
    loSmCan.DISPLAY(1)
  ENDIF
I would like it to bring up the calender by month.
I have done several searchs through UT for messages on this, but can not find anything to help. I have also read messages where people say to look at the object browser - what object brower? I only have a class browser and a component gallery.

TIA
Beth
Next
Reply
Map
View

Click here to load this message in the networking platform