Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating Outlook
Message
 
À
27/12/2005 11:02:56
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01080977
Message ID:
01081006
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform