>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