|
-
February 20th, 2000, 09:06 AM
#1
Interprocess communication in VB
Hello!
I have 2 VB applications running simultaneously, and I need to send message from one of them to the other. I have no problem with registering the message with RegisterWindowMessage() API and sending it with SendMessage() or PostMessage() functions. But how can I handle recieving of such a message in VB application?
In other words, how can I get message not handled by VB framework in my VB program?
Thank you in advance,
Jack.
-
February 21st, 2000, 02:38 AM
#2
Re: Interprocess communication in VB
you need to subclass the form window that is supposed to receive the message and trap the message in that form window.
You can do it the hard way (SetWindowLong...), or use one of the free subclassing OCXs (msghook.ocx or subclass.ocx).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|