Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiating Outlook through VFP 6.0
Message
 
À
08/05/2000 14:08:16
Jared Anderson
Marketing Support Solutions, Inc.
Forest, Virginie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00367348
Message ID:
00367354
Vues:
32
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform