Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook: How to capture if message has not been sent
Message
 
À
12/12/2001 19:25:10
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00593660
Message ID:
00593672
Vues:
32
This message has been marked as the solution to the initial question of the thread.
Hi Sasha,

You need to bind a VFP object to the outlook object so the ItemSend event triggers code in your VFP app. There's a sample of how to do this in VFP 6 in an atricle I wrote for FoxTalk and that's available on my web site - click on the BindEvents link in the left hand frame. You need to use VFPCOM and BindEvents.

Under VFP7 you use the same technique, but there's a native event binding mechanism (no need for VFPCOM).

Cheers,

Andrew

>Outlook 2000, VFP 6/7
>
>I'm trying to send an e-mail from VFP by using the Outlook 2000. I'm not using Outlook.MailItem.Send procedure. Instead, I'm using Outlook.MailItem.Display because the users want to preview the message and than decide to send it or not.
>
>After the message has been sent, I need to log that information.
>
>The question is:
>
>How can I find out if the user clicked the Send button?
>
>
>Sasha


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform