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
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
  • 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.

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.


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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

728 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