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. General Programming
  3. Windows Forms
  4. dos

dos

Scheduled Pinned Locked Moved Windows Forms
csharp
4 Posts 4 Posters 11 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.
  • A Offline
    A Offline
    AL yasofy
    wrote on last edited by
    #1

    I want create programe to send message from my to athor computer same message is show in windows xp(message service) such as (net send 128.0.0.1 hi ) how I do that in C#.net

    L K N 3 Replies Last reply
    0
    • A AL yasofy

      I want create programe to send message from my to athor computer same message is show in windows xp(message service) such as (net send 128.0.0.1 hi ) how I do that in C#.net

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      http://www.codeproject.com/dotnet/PrataSendMsg.asp[^]

      led mike

      1 Reply Last reply
      0
      • A AL yasofy

        I want create programe to send message from my to athor computer same message is show in windows xp(message service) such as (net send 128.0.0.1 hi ) how I do that in C#.net

        K Offline
        K Offline
        kubben
        wrote on last edited by
        #3

        You use a Process class: Process myprocess = new Process(); //Program you want to launch execute etc. myprocess.StartInfo.FileName = "c:\\windows\\system32\\net.exe"; myprocess.StartInfo.Arguments = "send 128.0.0.1 hi"; myprocess.Start(); NOTE I am not sure about the location of net. I think it is in system32, but I could be wrong. Hope that helps. Ben

        1 Reply Last reply
        0
        • A AL yasofy

          I want create programe to send message from my to athor computer same message is show in windows xp(message service) such as (net send 128.0.0.1 hi ) how I do that in C#.net

          N Offline
          N Offline
          Newbie00
          wrote on last edited by
          #4

          ShellExecute(NULL,"open","net.exe", "send 128.0.0.1 hi","c:\\windows\\system32",SW_SHOW);

          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