By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,488 Members | 2,552 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,488 IT Pros & Developers. It's quick & easy.

Pop-up message to other computer

P: 43
Hi everyone!

Please help me..I need a code that can send pop-up messages in other computers or networks..is it possible??please help me..i need this asap..

thank you so much in advance...


-cassey
Jan 9 '07 #1
Share this Question
Share on Google+
7 Replies


ADezii
Expert 5K+
P: 8,597
Hi everyone!

Please help me..I need a code that can send pop-up messages in other computers or networks..is it possible??please help me..i need this asap..

thank you so much in advance...


-cassey
It should be quite possible and this should be the format:
Expand|Select|Wrap|Line Numbers
  1. Dim retValue, strComputerName As String
  2.  
  3. strComputerName = "Your Computer Name Here"
  4.  
  5. retValue = Shell("Net Send " & strComputerName & " Your Message", vbNormalFocus)
The Net Send command may not work correctly on Computers running Windows XP Service Pack 2 since this command uses the Messenger Service which is disabled on PCs with this configuration. There is however a work around should you wish to attemp it. Here it goes:
1) Right click My Computer, then click Manage.
2) In the Computer Management Window, expand Services and Appplications in the left pane, and then click Services.
3) In the right pane, double-click Messenger.
4) In the Messenger Properties (Local Computer) dialog box, click the General Tab.
5) On the General Tab, select Automatic from the Startup Type list, and then click apply.
6) Under Service Status, click Start, and then click OK.

Hopefully, you will not be able to send Pop Up Messages to other Computers on the Network. Hope this helps.
Jan 9 '07 #2

P: 43
It should be quite possible and this should be the format:
Expand|Select|Wrap|Line Numbers
  1. Dim retValue, strComputerName As String
  2.  
  3. strComputerName = "Your Computer Name Here"
  4.  
  5. retValue = Shell("Net Send " & strComputerName & " Your Message", vbNormalFocus)
The Net Send command may not work correctly on Computers running Windows XP Service Pack 2 since this command uses the Messenger Service which is disabled on PCs with this configuration. There is however a work around should you wish to attemp it. Here it goes:
1) Right click My Computer, then click Manage.
2) In the Computer Management Window, expand Services and Appplications in the left pane, and then click Services.
3) In the right pane, double-click Messenger.
4) In the Messenger Properties (Local Computer) dialog box, click the General Tab.
5) On the General Tab, select Automatic from the Startup Type list, and then click apply.
6) Under Service Status, click Start, and then click OK.

Hopefully, you will not be able to send Pop Up Messages to other Computers on the Network. Hope this helps.

tank you so much on your reply.. :-)
Jan 9 '07 #3

ADezii
Expert 5K+
P: 8,597
tank you so much on your reply.. :-)
Glad to be of assiatance.
Jan 9 '07 #4

P: 43
Glad to be of assiatance.
Hi..I try the code you gave but it seems that there is no action done..I tried it first on my computer name?is the code you gave me is for function?

tanx in advance...
Jan 10 '07 #5

ADezii
Expert 5K+
P: 8,597
Hi..I try the code you gave but it seems that there is no action done..I tried it first on my computer name?is the code you gave me is for function?

tanx in advance...
The code can be run virtually anywhere but keep in mind that if Net Send.exe does not exist on the Computer, or if restrictions do not permit this kind of action, it will fail.
Jan 10 '07 #6

P: 43
The code can be run virtually anywhere but keep in mind that if Net Send.exe does not exist on the Computer, or if restrictions do not permit this kind of action, it will fail.
tank you...

I put the code inside the command button..when i click the button the netsend.exe will appear?how about the message i sent?


please help..i really need this badly..

tanx in advance

cassey
Jan 11 '07 #7

ADezii
Expert 5K+
P: 8,597
tank you...

I put the code inside the command button..when i click the button the netsend.exe will appear?how about the message i sent?


please help..i really need this badly..

tanx in advance

cassey
First, see if your Computer will support the Net Send command:
1) Start, Run, type cmd, then click on OK
2) At the Command Line type: Net Send ComputerName Message
3) e.g. Net Send Marketing Hello guys (no quotations)
4) Let me know how you made out
Jan 11 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.