Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automating Outlook
Message
De
27/12/2005 14:04:31
 
 
À
27/12/2005 14:00:21
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:
01081057
Vues:
20
Did you test the two examples of code I posted? do either work?

>The error is after my second line of code in my example.
>
>>Do you receive the error after the two lines you posted? After those two lines, you need to set a name or distribution list, etc before sending otherwise it returns an OLE IDispatch exception code 4096.
>>
>>
>>
>>
>>>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?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform