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. The Lounge
  3. Passing string between 2 applications VB

Passing string between 2 applications VB

Scheduled Pinned Locked Moved The Lounge
algorithmshelptutorialquestion
26 Posts 18 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.
  • P Pete OHanlon

    First of all, welcome to Code Project. As you have probably gathered by now from our more robust members, the lounge isn't really the place to ask programming questions; generally you would want to ask a question in a more appropriate forum such as this[^] one. I have to assume that you don't really need Application 2 open all the time; rather, you have a requirement that Application 1 isn't going to open it with the relevant data. If we accept that as true then this simplifies the problem you have to solve. Basically, what you are looking for is something called Client/Server programming, where you communicate between two separate processes using techniques such as named pipes, sockets, messaging over TCP, and so on. The problem with this type of development is that this really is a complex area - you could use something like Anonymous Pipes[^]; there's a working example in VB.NET there so that should help. Alternatively, you should search Google for examples of Client/Server programming in VB.NET[^]. I hope that this helps to give you some areas to explore.

    This space for rent

    M Offline
    M Offline
    Mycroft Holmes
    wrote on last edited by
    #21

    I thought the robust members were quite restrained, in days of yore they would have flamed him at the stake.

    Never underestimate the power of human stupidity RAH

    J 1 Reply Last reply
    0
    • J Jeremy Falcon

      In which case application B could limit application A's disk access to limit the exposure of copies being created being serialized.

      Jeremy Falcon

      W Offline
      W Offline
      Wastedtalent
      wrote on last edited by
      #22

      Jeez we wouldn't want this guy to create anything Viral, he's just not ready.

      1 Reply Last reply
      0
      • R R Giskard Reventlov

        Buy an envelope and stamp. Put the string in the envelope and the stamp on it. Address it to the second app. Post it. Eventually it will arrive.

        J Offline
        J Offline
        Johnny J
        wrote on last edited by
        #23

        It's not done like that anymore you twit! Nowadays, data is passed between applications using emails! :doh:

        Anything that is unrelated to elephants is irrelephant
        Anonymous
        -----
        The problem with quotes on the internet is that you can never tell if they're genuine
        Winston Churchill, 1944
        -----
        I'd just like a chance to prove that money can't make me happy.
        Me, all the time

        1 Reply Last reply
        0
        • M Mycroft Holmes

          I thought the robust members were quite restrained, in days of yore they would have flamed him at the stake.

          Never underestimate the power of human stupidity RAH

          J Offline
          J Offline
          Johnny J
          wrote on last edited by
          #24

          The day is not over yet! :doh:

          Anything that is unrelated to elephants is irrelephant
          Anonymous
          -----
          The problem with quotes on the internet is that you can never tell if they're genuine
          Winston Churchill, 1944
          -----
          I'd just like a chance to prove that money can't make me happy.
          Me, all the time

          1 Reply Last reply
          0
          • J Jeremy Falcon

            In which case application B could limit application A's disk access to limit the exposure of copies being created being serialized.

            Jeremy Falcon

            F Offline
            F Offline
            Foothill
            wrote on last edited by
            #25

            If the children do become serialized, would it be a syndicated reality TV show?

            if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016

            1 Reply Last reply
            0
            • realJSOPR realJSOP

              I have an Aimpoint Pro - the bushnell should work pretty good. I went out shooting this weekend. Spent 300 rounds. One guy wanted to buy my rifle because he liked the camo paint job. Offered me $1500 - I passed on the offer.

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

              M Offline
              M Offline
              Mark_Wallace
              wrote on last edited by
              #26

              And then you took it home and lost it! Bloody Murphy!

              I wanna be a eunuchs developer! Pass me a bread knife!

              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