Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Outlook calendar help
Message
 
To
22/02/2005 16:11:48
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
00989418
Message ID:
00989485
Views:
27
As Sergey said - with VFP 6 we did not have an autocomplete. That feature in 7 and above really cuts doen on the tinkering.

You could enetr these commands in the command window (rather than a PRG) and "?" the objects properties. If you have VFP 7 or 8 or 9 anywhere - the entire outlook object is exposed by autocomplete.

?loSMCan.Display(1).Name && would be my first question? I'd even try zero!:)

>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
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform