473,395 Members | 1,762 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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 13102
ADezii
8,834 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,834 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,834 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,834 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

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

Similar topics

4
by: Roy Smith | last post by:
In the recent "transforming a list into a string" thread, we've been discussing the fact that list.pop() is O(1), but list.pop(0) is O(n). I decided to do a little timing experiment. To be sure,...
1
by: spencer | last post by:
Hi, The code. def buildStackMajor(): for node in dirStackMinor: #print 's is the node...', node dirStackMajor.append(node) dirStackMinor.pop() print 'POP the stack...', len(dirStackMinor)...
2
by: John Hoge | last post by:
I would like to open an exit pop when a user leaves my site, but I don't want to the back button to trigger the pop if the user remains in my site. I'm using the onUnload attribute of the Body...
11
by: Vijay Kumar R Zanvar | last post by:
> In <pan.2004.04.22.04.06.05.969827@bar.net> "Mac" <foo@bar.net> writes: > > >Is it legal to declare errno after you've included errno.h? > > > >For example: > > > >#include<errno.h> > > >...
25
by: Nicholas Parsons | last post by:
Howdy Folks, I was just playing around in IDLE at the interactive prompt and typed in dir({}) for the fun of it. I was quite surprised to see a pop method defined there. I mean is that a...
7
by: Scott | last post by:
As said before I'm new to programming, and I need in depth explaination to understand everything the way I want to know it, call it a personality quirk ;p. With pop() you remove the last element...
20
by: merrittr | last post by:
I need some C advice I want to read in string commands from a user when the user enters a \n I want to push it on the stac. Then at some point , if the user enters the word print pop off and print...
1
by: pbd22 | last post by:
Hi all. I am using styles to lock down the GUI until the user enters some info in a CSS/DIV pop box. If the user does now scroll before he clicks, the pop box is centered and the background...
4
by: TBass | last post by:
Hi, I've got a class that uses a std::list to store tags that need to be written out to a device. I've had no problem with the lists in terms of iterating and reading values. My problem is when...
0
by: Gabriel Genellina | last post by:
En Thu, 08 May 2008 09:24:37 -0300, Aspersieman <aspersieman@gmail.comescribió: Use socket.setdefaulttimeout(timeout_in_seconds) before you create the POP3 object; this value will be used by the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.