Send message over LAN

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

If we want to send a message to a computer in a LAN, we type the following
command in the "Start --> Run" in Windows.

net send ComputerName 'MessageText'

How can I do that from an Access form ?

Any help is greatly appreciated. Thanks in advance.
 
SendMessage = "cmd /c net send " & CompterNameHere & " " & UserName & "
states: " & txtBriefMessage
Call Shell(SendMessage, vbNormalNoFocus)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top