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. C#
  4. Something like chat

Something like chat

Scheduled Pinned Locked Moved C#
csharpvisual-studiotutoriallounge
2 Posts 2 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.
  • C Offline
    C Offline
    CodeItWell
    wrote on last edited by
    #1

    I have a program with textBox1, textBox2 and button1. And my friend have that program. How to do this: When i insert in textBox1 his IP address, and insert some text in textBox2, when i click on button1 to send him the text entered in textBox2. How to establish a communication like this. I have Visual Studio 2003.

    Vasildb

    T 1 Reply Last reply
    0
    • C CodeItWell

      I have a program with textBox1, textBox2 and button1. And my friend have that program. How to do this: When i insert in textBox1 his IP address, and insert some text in textBox2, when i click on button1 to send him the text entered in textBox2. How to establish a communication like this. I have Visual Studio 2003.

      Vasildb

      T Offline
      T Offline
      Thomas Stockwell
      wrote on last edited by
      #2

      If the two computers are part of the same network you can use the API command NetSend. The command just takes the paramters of the ip address and the string to send.

      Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

      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