Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Outlook calendar help
Message
De
22/02/2005 16:11:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Display Outlook calendar help
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Divers
Thread ID:
00989418
Message ID:
00989418
Vues:
49
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform