Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook via COM Server
Message
From
22/12/2000 09:55:35
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00456244
Message ID:
00456276
Views:
33
My articles won't help :-)

Here's a WAG: What about the UI restriction on COM components? I am assuming Don is trying this from a DLL.

>>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.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform