Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating Outlook
Message
 
To
27/12/2005 11:02:56
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01080977
Message ID:
01081006
Views:
17
>The following code is generating an error:
>
>loOutlook=CREATEOBJECT('outlook.application')
>loMessage = loOutlook.createitem(0)
>
>
>I have Outlook 2003. The error is "OLE IDispatch exception code 4096 from Microsoft Office Outlook: The operation failed..."
>
>Any ideas?

I had tried to run your code on my dev machine and didn't recieve any error message, I manage to display the new message window.

Try upgrading your MS office to SP2...if still has errors.. I can say no more..
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Reply
Map
View

Click here to load this message in the networking platform