>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