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
Miscellaneous
Thread ID:
00456244
Message ID:
00456255
Views:
30
>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,

I don't know if this will be any help or not, but John Koziol wrote a couple of articles on Outlook as an automation server in the VFUG (www.vfug.org) newsletter a couple of months back. You might want to review those to see if there's anything that might fit your situation. The newsletters are available on-line at the site.

PS: Say hi to Steve Despres for me, if you would.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform