Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook via COM Server
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Outlook via COM Server
Miscellaneous
Thread ID:
00456244
Message ID:
00456244
Views:
63
Hello all,

Quick question, hope simple answer.
I have an automation server (OLEPublic).
For testing via VFP directly, I have no problems, but via COM access, it fails at trying to create the outlook object reference.

loOutlook = CreateObject( "outlook.application" )

It fails with a "server execution failed" message. Again, it works fine if I step through via VFP, but not through automation. There are no other instances of Outlook open on the machine. I noticed that as a problem if I had Outlook already open to review e-mail, then tried stepping through via VFP and it wouldn't allow 2 instances to be opened.

Any input would be greatly appreciated.

TIA
Don
Next
Reply
Map
View

Click here to load this message in the networking platform