>Hi!
>
>Does any one know how we could do something like BindEvents (VFP COM) in VB?
>It looks like the CreateObject("VFPCOM.COMUTIL") does not work in VB.
>
>I would like the VB App. to wake up whenever a new mail arrives in outlook.
>
>Thanks in advance.
>
Sarosh,
Check the VB reference in the MSDN Library on WithEvents. The concept is explained in Using Visual Basic\Programmers Guide\Part 2\Programming With Components\Creating A Reference to an Object\Using An Object's Properties, Events and Methods.
George
Ubi caritas et amor, deus ibi est