General information
Category:
COM/DCOM and OLE Automation
Title:
Outlook via COM Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only