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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. General design question

General design question

Scheduled Pinned Locked Moved Visual Basic
questioncsharpdesignlounge
9 Posts 4 Posters 1 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.
  • E Offline
    E Offline
    errorfunktion
    wrote on last edited by
    #1

    Hi, I want to build two vb.net applications running on the same machine. One application needs to pass data to the other. How should I go about to implement this? Thanks, Gary

    V N D 3 Replies Last reply
    0
    • E errorfunktion

      Hi, I want to build two vb.net applications running on the same machine. One application needs to pass data to the other. How should I go about to implement this? Thanks, Gary

      V Offline
      V Offline
      Vasudevan Deepak Kumar
      wrote on last edited by
      #2

      How about one application having a webservice exposed and the other one consuming the same?

      Vasudevan Deepak Kumar Personal Homepage Tech Gossips

      E 1 Reply Last reply
      0
      • E errorfunktion

        Hi, I want to build two vb.net applications running on the same machine. One application needs to pass data to the other. How should I go about to implement this? Thanks, Gary

        N Offline
        N Offline
        NetRams
        wrote on last edited by
        #3

        By sending command line argument from one application to another. Rams.

        Be simple and Be sample.

        E 1 Reply Last reply
        0
        • V Vasudevan Deepak Kumar

          How about one application having a webservice exposed and the other one consuming the same?

          Vasudevan Deepak Kumar Personal Homepage Tech Gossips

          E Offline
          E Offline
          errorfunktion
          wrote on last edited by
          #4

          But since internet connectivity between the applications isn't necessary, isn't this redundant, or at least not efficient?

          1 Reply Last reply
          0
          • N NetRams

            By sending command line argument from one application to another. Rams.

            Be simple and Be sample.

            E Offline
            E Offline
            errorfunktion
            wrote on last edited by
            #5

            This might work, I would appreciate if you could post a link to some code demonstrating how to cause a vb app to accept and issue command lines. The data transfer rate needs to be very fast so I'm not 100% sure on this. Still this seems like a bit of a workaround. My original thinking was to implement something like the old com object interface, but I understand this is not really part of the new .net concept, so what is the equivalent? Is this an overkill for this type application? -- modified at 5:26 Tuesday 26th June, 2007 [edit] I have thought about it a bit and command lines are not good. The data transfer is about once a second. I can't have my standard I\O hijacked by some application listening for command lines. What if I want to use other command lines while the program is running?

            N 1 Reply Last reply
            0
            • E errorfunktion

              This might work, I would appreciate if you could post a link to some code demonstrating how to cause a vb app to accept and issue command lines. The data transfer rate needs to be very fast so I'm not 100% sure on this. Still this seems like a bit of a workaround. My original thinking was to implement something like the old com object interface, but I understand this is not really part of the new .net concept, so what is the equivalent? Is this an overkill for this type application? -- modified at 5:26 Tuesday 26th June, 2007 [edit] I have thought about it a bit and command lines are not good. The data transfer is about once a second. I can't have my standard I\O hijacked by some application listening for command lines. What if I want to use other command lines while the program is running?

              N Offline
              N Offline
              NetRams
              wrote on last edited by
              #6

              If transfer rate is high, then go with webservice.

              Be simple and Be sample.

              1 Reply Last reply
              0
              • E errorfunktion

                Hi, I want to build two vb.net applications running on the same machine. One application needs to pass data to the other. How should I go about to implement this? Thanks, Gary

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                For your, albeit brief, description of the requirements, I'd say .NET Remoting over an IPC Channel would be a good choice. You can read up on your communication options here[^].

                A guide to posting questions on CodeProject[^]
                Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                     2006, 2007

                E 1 Reply Last reply
                0
                • D Dave Kreskowiak

                  For your, albeit brief, description of the requirements, I'd say .NET Remoting over an IPC Channel would be a good choice. You can read up on your communication options here[^].

                  A guide to posting questions on CodeProject[^]
                  Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                       2006, 2007

                  E Offline
                  E Offline
                  errorfunktion
                  wrote on last edited by
                  #8

                  Thanks, This was what I was looking for. I am kind of a newbie to .net and the amount of classes is staggering. There is usually also no connection between object class names in the microsoft documentation to what they actually do, so figuring out what you need is quite difficult.

                  D 1 Reply Last reply
                  0
                  • E errorfunktion

                    Thanks, This was what I was looking for. I am kind of a newbie to .net and the amount of classes is staggering. There is usually also no connection between object class names in the microsoft documentation to what they actually do, so figuring out what you need is quite difficult.

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #9

                    errorfunktion wrote:

                    There is usually also no connection between object class names in the microsoft documentation to what they actually do, so figuring out what you need is quite difficult.

                    That's what the namespaces are for. Granted, I'd probably like to see some sub-namespaces in there to makes things a little easier, but that would break a ton of existing code if that suddenly changed.

                    A guide to posting questions on CodeProject[^]
                    Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                         2006, 2007

                    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