Solved

Capturing NetSend messages

Posted on 2004-03-22
5
185 Views
Last Modified: 2010-04-05
I am curious to know if anyone out there has a code solution to cature incoming netsend messages, i.e. stopping the standard windows popup and doing something else with the message, from within own application.
I am looking at this more from interest than any great need but speedy answers would be appreciated, as it is now that this has caught my attention, and if there is a solution then it will come in very hand in the near funture.

Cheers
J
0
Comment
Question by:jlleigh
[X]
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
5 Comments
 

Author Comment

by:jlleigh
ID: 10648956
Points will be upped for a usable solution.

thanx

j
0
 
LVL 5

Expert Comment

by:Hypoviax
ID: 10661939
Hmmmm....

I don't know...

Is it possible to capture a windows internal text?

If this is possible then you could have a procedure that scans for the Window caption (i think it is 'Message Service' or somthing similar) then call a procedure that retrieves the internal text.

To scan for the window use the findwindow function:

if findwindow(nil,pchar('Message Service')=0 then //(Or null maybe - check)
    exit
else
GET_WINDOW_INTERNAL_TEXT

Hope this may help others be more specific and possibly answer your question

Regards,

Hypoviax
0
 
LVL 5

Accepted Solution

by:
Hypoviax earned 20 total points
ID: 13190005
Hmmm... well i sort of gave an answer.

You could use print screen to capture the message when the window appears (scan for 'Message Service' then when found print screen using key_event).

I reckon i deserve the 20 points ;-)

Hypoviax
0
 

Author Comment

by:jlleigh
ID: 13211967
I will accept your answer, as the findwindow functionality came in useful elsewhere.
I really wanted to intercept and stop the netsend message being displayed, and re direct it else where... but that was an old project and is long forgotten now, and we ended up using alternatives anyway, as we could find no suitable way of properly catching teh netsend message 'cleanly'

J
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month11 days, left to enroll

628 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