Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook: How to capture if message has not been sent
Message
From
12/12/2001 21:14:31
Sasha Burkich
Senior Systems Analyst
British Columbia, Canada
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00593660
Message ID:
00593679
Views:
24
Hey, that's great!

I'll try it first thing in the morning.

Thanks a lot.

Sasha

>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
Sasha Burkich
Consultant
Victoria, BC
Previous
Reply
Map
View

Click here to load this message in the networking platform