Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

How to Capture NET SEND messages in VB6

Posted on 2004-04-30
Last Modified: 2013-11-13
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.
Question by:mistert006
  • 2
  • 2
  • 2
  • +2
LVL 28

Expert Comment

ID: 10960692
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.

Expert Comment

ID: 10961048

Author Comment

ID: 10961182
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.

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Assisted Solution

mmusante earned 125 total points
ID: 10961244
Sorry ... I do not tried do download it the web page was


from this page it seems to work

Assisted Solution

Javin007 earned 125 total points
ID: 10962215
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.

LVL 11

Assisted Solution

YohanShminge earned 125 total points
ID: 10965115
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!

Expert Comment

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

LVL 28

Accepted Solution

vinnyd79 earned 125 total points
ID: 10967467
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.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP question(s) about order of output 9 68
Problem to start Neon 20 120
What language/protocol is the Angular Chat? 2 86
add criteria to query in VB, Access 2003 2 10
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question