Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiating Outlook through VFP 6.0
Message
 
To
08/05/2000 14:08:16
Jared Anderson
Marketing Support Solutions, Inc.
Forest, Virginia, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00367348
Message ID:
00367354
Views:
30
>We're in the process of 'minimally-integrating' Outlook into a development project.
>
>Through ActiveX and OLE Automation, it is rather easy to create an Outlook Application, to access its data/items, to send messages, etc.
>
>It also is easy to display the Outlook Explorer (maximizing or giving focus back to the Outlook window) through the Display function .... IF Outlook is already running in the background.
>
>Is there a relatively straight-forward way of actually INSTANTIATING Outlook (running the program) from VFP, without using ! / RUN and hardcoding a path (since Outlook may not be in the same directory on each of our clients' computers)?
>
>Thanks so much! Any help would be greatly appreciated!!

Hi Jared,

While I haven't used it, Outlook exposes a number of Properties and Method via OLE Automation. You use CREATEOBJECT() (oOutlook = CREATEOBJECT('Outlook.Application') to create an instance of Outlook and go from there. The Office documentation should have the details on the object model.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform