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. Visual Basic
  4. Interacting between applications.

Interacting between applications.

Scheduled Pinned Locked Moved Visual Basic
sysadminquestionhelploungelearning
6 Posts 4 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.
  • T Offline
    T Offline
    The ANZAC
    wrote on last edited by
    #1

    I am trying to build a network chat program. I know this has been done a million times in a million different ways usually by beginner programmers but bear with me. Basically the issue i'm having is that I want to create one application (kept as an executable in a shared location) to receive messages in the form of strings from each chat application on workers computers. In this way it will work as a micro server receiving messages and distributing them into a readable form for all users. I'm doing it this way because I want the messages received to be displayed in order and there will be several users at once. This is important to the functionality. So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?

    The ANZAC

    A W L 3 Replies Last reply
    0
    • T The ANZAC

      I am trying to build a network chat program. I know this has been done a million times in a million different ways usually by beginner programmers but bear with me. Basically the issue i'm having is that I want to create one application (kept as an executable in a shared location) to receive messages in the form of strings from each chat application on workers computers. In this way it will work as a micro server receiving messages and distributing them into a readable form for all users. I'm doing it this way because I want the messages received to be displayed in order and there will be several users at once. This is important to the functionality. So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?

      The ANZAC

      A Offline
      A Offline
      Andy_L_J
      wrote on last edited by
      #2

      Isn't that the concept behind WCF? (Have never used it myself). This may clarify things MSDN[^]

      I don't speak Idiot - please talk slowly and clearly 'This space for rent' Driven to the arms of Heineken by the wife

      T 1 Reply Last reply
      0
      • A Andy_L_J

        Isn't that the concept behind WCF? (Have never used it myself). This may clarify things MSDN[^]

        I don't speak Idiot - please talk slowly and clearly 'This space for rent' Driven to the arms of Heineken by the wife

        T Offline
        T Offline
        The ANZAC
        wrote on last edited by
        #3

        I haven't used it and I'm not really keen to. Just trying to look for a quick and dirty solution. If it is effective i'll work up a more efficient application later. For now i just want to use technologies i am familiar with.

        Please check out my articles: The ANZAC's articles

        A 1 Reply Last reply
        0
        • T The ANZAC

          I am trying to build a network chat program. I know this has been done a million times in a million different ways usually by beginner programmers but bear with me. Basically the issue i'm having is that I want to create one application (kept as an executable in a shared location) to receive messages in the form of strings from each chat application on workers computers. In this way it will work as a micro server receiving messages and distributing them into a readable form for all users. I'm doing it this way because I want the messages received to be displayed in order and there will be several users at once. This is important to the functionality. So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?

          The ANZAC

          W Offline
          W Offline
          Wayne Gaylard
          wrote on last edited by
          #4

          Couldn't your service set up an xml file for each user on the server. Then the service just needs to poll for updates to the xml file, which can be updated by the clients.

          1 Reply Last reply
          0
          • T The ANZAC

            I haven't used it and I'm not really keen to. Just trying to look for a quick and dirty solution. If it is effective i'll work up a more efficient application later. For now i just want to use technologies i am familiar with.

            Please check out my articles: The ANZAC's articles

            A Offline
            A Offline
            Andy_L_J
            wrote on last edited by
            #5

            Maybe you could use this? FileSystemWatcher[^]

            I don't speak Idiot - please talk slowly and clearly 'This space for rent' Driven to the arms of Heineken by the wife

            1 Reply Last reply
            0
            • T The ANZAC

              I am trying to build a network chat program. I know this has been done a million times in a million different ways usually by beginner programmers but bear with me. Basically the issue i'm having is that I want to create one application (kept as an executable in a shared location) to receive messages in the form of strings from each chat application on workers computers. In this way it will work as a micro server receiving messages and distributing them into a readable form for all users. I'm doing it this way because I want the messages received to be displayed in order and there will be several users at once. This is important to the functionality. So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?

              The ANZAC

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              The ANZAC wrote:

              So my question is this. How do you send a string from one application and how do you make the other application receive or do something with it?

              Perhaps you can modify the example of the TcpListener[^] class to suit your needs :)

              I are Troll :suss:

              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