>I know that I can use the use the API call SendMessage passing in the Window Handle, Msg as long, wParam, and lParam values to a specific application. My question is how to set up my application to "Receive the Message" in VB. Is there a comparable "GetMessage" or some type of API call that I can use or how do I get my VB app to trap for or execute my code once the "Custom Message" has been sent to my waiting application?
>
>Thanking you in advance for your help.
Read this MSKB for some help on this:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176058The question I would have is what are you trying to do? If you want to have other applications use functionality in your program a better approach is to make it an "ActiveX Exe" and expose some functions or even properties in public classes.
Just my .02