Important alert: (current site time 8/30/2014 11:56:44 PM EDT)
 

article

Send message by Address IP

Email
Submitted on: 11/17/2003 6:32:48 PM
By: alireza  
Level: Beginner
User Rating: By 6 Users
Compatibility: VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0, VB Script, ASP (Active Server Pages) , VBA MS Access, VBA MS Excel
Views: 73630
author picture
(About the author)
 
     send a message by Address IP to other computer (only Windows nt,2000,XP)


 
 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
				this command is a consol Command;
(only Windows NT,2000,XP 'Network os )
Goto StartMenu>Run
type:
net send 127.0.0.1 "Oh ,This is a message to me"
now, you can send a massage to your frind on network.himself Ip is 192.168.0.2
Net Send 192.168.0.2 "Hello My Frind please Common here,Please"
Net.exe is a service to work in network
you can type net /? and see other parameters
Thank You
arasoft_co@yahoo.com
http://partiasoft.com/
----------goodbye ------------


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this article (in the Beginner category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

11/17/2003 8:48:37 PMBurbble

You know, this is the VB section of the site...
(If this comment was disrespectful, please report it.)

 
11/17/2003 8:49:00 PMBurbble

...and why are you eating your mouse?
(If this comment was disrespectful, please report it.)

 
11/18/2003 1:22:00 AMDondata

LOL :o)
(If this comment was disrespectful, please report it.)

 
11/18/2003 6:37:51 AMx0_8thw

erm, lame..
(If this comment was disrespectful, please report it.)

 
11/18/2003 6:50:12 AM

Reported...
(If this comment was disrespectful, please report it.)

 
11/18/2003 8:57:50 AM

and if i want the code???....
(If this comment was disrespectful, please report it.)

 
11/18/2003 10:49:30 AMMisael Morales

Where's the code. He's eating a live mouse uhhh, don't you have money to buy food. lol
(If this comment was disrespectful, please report it.)

 
11/18/2003 12:19:51 PMNate Bross

How does this work with ASP??!! there isn't even any code!
(If this comment was disrespectful, please report it.)

 
11/18/2003 12:43:52 PMMichael Fieldness

And to disable the net command misfeature (at least for home networks), just disable the messenger service in the administrative tools section of your control panel. For help with anything having to do with Windows XP and 2000 services, go here: http://www.blkviper.com/
(If this comment was disrespectful, please report it.)

 
11/18/2003 2:30:40 PMSteve Bibby

This is part of the operating system.???????? and for you that asked for the code, That was sarcasm right.
(If this comment was disrespectful, please report it.)

 
11/18/2003 3:37:30 PMWolf McCloud

It is simply calling a dos executable. Look in your system32 folder, you will have netsend.exe =P So many newbs out there.
(If this comment was disrespectful, please report it.)

 
11/18/2003 3:38:09 PMWolf McCloud

** net.exe
(If this comment was disrespectful, please report it.)

 
11/18/2003 6:16:18 PM

bah, humbug, junk

(If this comment was disrespectful, please report it.)

 
11/18/2003 7:58:24 PMExeat

No need to use an IP address either, just use the computer name. Heh.
(If this comment was disrespectful, please report it.)

 
11/18/2003 10:56:10 PMBryant Zadegan

for those newbs who have no shiit as to how it can be incorporated into vb: type "shell(net send xxx.xxx.xxx.xxx "I love you!",vbNormalFocus)" w/o the outside quotes. replace the xxx.xxx.xxx.xxx with the marks IP address
(If this comment was disrespectful, please report it.)

 
11/18/2003 10:57:37 PMBryant Zadegan

oops. change that. its "shell(net send xxx.xxx.xxx.xxx I love you!,vbNormalFocus)"
(If this comment was disrespectful, please report it.)

 
11/18/2003 10:58:42 PMBryant Zadegan

oh yea and please, you need to control your appetite for computer hardware lol
(If this comment was disrespectful, please report it.)

 
11/19/2003 4:14:14 PMMike

u okay?
(If this comment was disrespectful, please report it.)

 
11/27/2003 10:28:10 AMSjoerd

Great code =S.

I've got some great code myself:
Start, Run, and then type: ping 127.0.0.1 and then you'll see if the computer is connected =)
(If this comment was disrespectful, please report it.)

 
5/8/2004 6:36:26 AM

hi man i am trying to learn more about
programing internet espicaily (sent an recived email ) using delphi if can you help me plz sent me at my email shadi_ms@personal.ro
and i will very happy if help me
(If this comment was disrespectful, please report it.)

 
8/9/2004 7:10:11 AM

vorreei scaricarlo
(If this comment was disrespectful, please report it.)

 
2/22/2005 9:24:42 AM

its good.
(If this comment was disrespectful, please report it.)

 
2/25/2005 5:09:28 AMKeiran Smith

Cool I can turn this Into A VB source
(If this comment was disrespectful, please report it.)

 
3/1/2005 10:41:17 PM

hi author of this code could you send this code to me.
(If this comment was disrespectful, please report it.)

 
5/20/2006 9:05:40 PMThe Most Known Un Known

Public Function SendMsg(ByVal IPAddress As String,ByVal Msg As String)
Shell "cmd.exe net send " & IPAddress & " " & Chr(34) & Msg & Chr(34),vbHide
'just opens Command Prompt & _
with the specified command & _
End Function

Feel Free To Do Whatever You'd Like With The Code Lol, Very Simple!
(If this comment was disrespectful, please report it.)

 
5/22/2007 2:00:45 PMbobspambob.com

Thx dude. Great stuff. i've always use http://www.ipmessage.net. guess it's the same.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular article, please click here instead.)
 

To post feedback, first please login.