Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
E-mail attachement from VFP application via Outlook
Message
 
To
19/07/2004 17:41:12
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00925892
Message ID:
00925987
Views:
19
>>When I used first set of code I've got this error message:
>>
>>Ole IDespatch exception code 0 from CDO.messaqge.1 The "SenUsing" configuration value is invalid ''

This would indicate to me that CDO is not installed on your system. CDO is only available as part of separate installation from another product. You'll find a list here http://support.microsoft.com/default.aspx?scid=kb;EN-US;171440 INFO: Where to Acquire the CDO Libraries (all versions)


>>>>>Second approch works but I am getting message from Outlook :

There are a few work arounds for this:
1. CDO as above
2. http://www.dimastr.com/redemption/
3. There are samples here (Faq section)and other places to force the program (with a sendKey api call) to click on the "yes" button of the message.


>Hi Mike,
>
>When I used first set of code I've got this error message:
>
>Ole IDespatch exception code 0 from CDO.messaqge.1 The "SenUsing" configuration value is invalid ''
>
>Second approch works but I am getting message from Outlook :
>"A program is trying to automatically send e-mail on your behaf. Do you want to do this?..." So I cannot send e-mail without interruption and have to responce manualy to
>this messgage Outlook.
>
>Do you know what am I doing wrong in first program or how I can bypass warning message
>from Outlook?
>
>Thank you, Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform