Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiating Outlook
Message
De
14/10/2004 12:55:34
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
À
12/10/2004 16:26:19
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00950770
Message ID:
00951463
Vues:
9
Tamar,

We did a complete new install of Outlook with a newer version but it hasn't fixed the problem. Can you clue me in as to what the registry entry should look like?

TIA,

>>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?
>>
>
>I'd be suspicious of a registry issue. You might dig around and see whether the registry entry for the application is pointing at the EXE.
>
>Tamar
Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform