Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Message Send

Message Send

Scheduled Pinned Locked Moved ASP.NET
sysadmin
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SreejithAchutan
    wrote on last edited by
    #1

    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.

    A G 2 Replies Last reply
    0
    • S SreejithAchutan

      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.

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      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"

      1 Reply Last reply
      0
      • S SreejithAchutan

        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.

        G Offline
        G Offline
        Ghazi H Wadi
        wrote on last edited by
        #3

        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 */

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups