Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sending a msgbox to another computer

Status
Not open for further replies.

jassrs

Technical User
Joined
Jul 10, 2003
Messages
56
Location
US
Can anyone help me figure out how to send a msgbox to another computer.
Example... I am writing a small form so the users can request something. I want it to be sent to me over the network and "popup" on my screen so they do not have to call me. Any help????
 
Why not send an email instead of a popup?

If you do want to send a message you could possibly use NET SEND, native to NT/2k/XP.

-E
 
My supervisor and myself dont keep our outlook open all the time. So I am looking for the "popup" approach.
 
So what about net send? I just tried it here and it works fine.

You could also just keep your outlook open all the time! :)

Alternately, write a program that checks once a minute for files to appear in a specific directory on the network, and creates popups with the contents of each one (deleting the file in the process). On your client machines, put the message text into a file at this location.

Or use an instant messenger service like Yahoo or AIM or something.
 
Hello jassrs!

I agree with ESquared that the netsend is your easiest and best approach...
Code:
Dim objShell
Set objShell = CreateObject("wscript.shell")
objShell.run("net send ComputerName This is my message!")
Set objShell = Nothing

Good luck!

He who has knowledge spares his words, and a man of understanding is of a calm spirit. Even a fool is counted wise when he holds his peace; when he shuts his lips, he is considered perceptive. - King Solomon
 
Mailslots would also work (although more complex to code)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top