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.

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.


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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Determine Range to Select 5 49
Adding to a VBA? 6 70
vbModal 12 53
Python 3.5.2 32 virtualenv problems 3 39
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

821 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