469,352 Members | 2,154 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,352 developers. It's quick & easy.

Pop-up message to other computer

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
7 12225
ADezii
8,800 Expert 8TB
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
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
8,800 Expert 8TB
tank you so much on your reply.. :-)
Glad to be of assiatance.
Jan 9 '07 #4
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
8,800 Expert 8TB
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
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
8,800 Expert 8TB
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.

Similar topics

4 posts views Thread by Roy Smith | last post: by
1 post views Thread by spencer | last post: by
2 posts views Thread by John Hoge | last post: by
11 posts views Thread by Vijay Kumar R Zanvar | last post: by
25 posts views Thread by Nicholas Parsons | last post: by
7 posts views Thread by Scott | last post: by
20 posts views Thread by merrittr | last post: by
4 posts views Thread by TBass | last post: by
reply views Thread by Gabriel Genellina | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.