Message Send
-
If we have a textbox and a send button.if we enter the name of a person and click the send button ,the message will be send to the client in the network.plz send the source code.
-
If we have a textbox and a send button.if we enter the name of a person and click the send button ,the message will be send to the client in the network.plz send the source code.
there are lots of methods to do it... just googling.... and u can try with netsend command
Best Regards ----------------- Abhijit Jana View My CodeProject Articles "Success is Journey it's not a destination"
-
If we have a textbox and a send button.if we enter the name of a person and click the send button ,the message will be send to the client in the network.plz send the source code.
below is written in asp ( (C)opyright 2001 - Robin Paardekam) however you modify to meet needs.
<%@ LANGUAGE = VBScript %> <% ' Sending a message using NET SEND on a Windows NT network ' (C)opyright 2001 - Robin Paardekam ' Nice script to embed on your intranet. Send a message to any user ' on a network using your browser (!) ' More scripts like this can be found at http://www.paardekam.nl 'Checking for all necessary variables. Msg = TRIM(Request.Form("Msg")) NamUsr = TRIM(Request.Form("NamUsr")) Computer = Request.ServerVariables("REMOTE_ADDR") if Msg <> "" AND NamUsr <> "" THEN 'Sending the message Response.Write " Sending message to " Response.Write "**" & NamUsr & "**: " Response.Write Msg & " " Set server_shell = Server.CreateObject("wscript.shell") server_shell.Run "%comspec% /c net send " & NamUsr & " [FROM:" & Computer & "] " & Msg ELSE 'Displaying the form %> To: Message: <% END IF %>
Cheers Raz/* Ghazi Hadi Al Wadi, PMP, ASQ SSGB, DBA */