How to Capture NET SEND messages in VB6

How can one capture the client side message coming from NET SEND in VB6?  Is there an ActiveX control that will do this?

Thanks for any ideas.
Who is Participating?

Improve company productivity with a Business Account.Sign Up

vinnyd79Connect With a Mentor Commented:
There is a freeware utility here:

However when you check the box to not show the windows message,it still flashes on the screen for a second so it most likely uses code similiar to the code I posted the first time you asked this question.I wouldn't be suprised if the ocx did the same.
The ocx did not work for me though,not to mention it will only run for 10 minutes until you purchase it.
The only way I have seen this done was the example I posted in your previous question.Hopefully someone will come up with an alternative solution for you.
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

mistert006Author Commented:
To mmusante,

When I click on that link it will not allow me access.  I went to the home page and could not find it there.

mmusanteConnect With a Mentor Commented:
Sorry ... I do not tried do download it the web page was 

from this page it seems to work
Javin007Connect With a Mentor Commented:
Your best bet is to take the following steps:

Install a firewall (Tiny Personal Firewall is perfect for this.)
Have someone Net Send you a message.
See what port the Net Send is being sent to.
Turn off the messenger service.
Write a VB App with Winsock that listens on that port.
Intercept message.

YohanShmingeConnect With a Mentor Commented:
I do not know of a way to do this, unless mmusante's method works, just wanted to make one note.

Javin007, good idea, but "net send" messages are sent over netBIOS ports, which are in constant use by Windows, so I doubt you could even listen on that port (134-135 I believe).

Good luck!
If what YohanShminge is true, then good luck.  That's the only option I can think of.  :/

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.