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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

send a network message

Status
Not open for further replies.

angela4eva

Programmer
Apr 29, 2005
46
US
Hi,
I need your help .I am trying to write a program to send a network message from my vb.net message..As i my program is running if the process is successful,i want to send console netwrok message to theconcerned person on network.Can anyone guide me in the right direction as how to do it.i searched but could not find much info.Any help appreciated.
thanks
 
This should do what you want:

Shell("command.com /c net send <username> " & "Message Text Here")

Note: where I put <username> insert the recipient's network username.



I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top