Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiating Outlook
Message
From
12/10/2004 14:02:02
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Instantiating Outlook
Miscellaneous
Thread ID:
00950770
Message ID:
00950770
Views:
58
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,
Jim
Next
Reply
Map
View

Click here to load this message in the networking platform