In case the following link doesn't work, this is in the October issue of FoxTalk
http://www.pinnaclepublishing.com/ft/FTmag.nsf/WebIndexByIssue/5E12FD4E3839F8B28525696100710825?opendocument>
>We are using Outlook98/Exchange at work and want our VFP App. to respond to an event in outlook.
>
>e.g. As soon as a mail is sent or recieved in Outlook our VFP App. should know about it and act accordingly.
>
>I know that we can use do something like this using VFPCOM - BindEvents() in VFP6 and EventHandler() in VFP7 but not quite sure how to do this.
>
>Some ideas or sample code will really help.
>
>Thanks in advance.
>
>Sarosh
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05