Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiating Outlook
Message
De
12/10/2004 16:17:03
 
 
À
12/10/2004 14:02:02
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00950770
Message ID:
00950828
Vues:
21
>Based on a number of threads, the following code should create an instance of Outlook.
>
>loOutlook = CREATEOBJECT("Outlook.Application")
>
>But when I run that code, either from a program or the command line, when I haven't previously opened up Outlook from the Start menu, I get a "Server execution failed error". If Outlook is already running, the object gets instantiated and everything works as expected.
>
>Can anyone tell me why?
>
>TIA,

Sounds like your Outlook is not installed correctly or at least not completely. The code should work as you have it, it is not necessary for Outlook to already be running.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform