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. Forms Threading Question

Forms Threading Question

Scheduled Pinned Locked Moved Visual Basic
questioncsharpdesign
3 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.
  • W Offline
    W Offline
    Wingnut74
    wrote on last edited by
    #1

    I am not sure if this is the proper forum... I am looking to create a VB.NET based Forms App that will interact with a Web Service. I want to have a main/UI thread that spawns a thread to handle the web service. How do I then, communicate between the two once this is done? I will need to have the Web Service handling thread send information back to the UI, but also have the UI thread send new information back. Can someone point me in the right direction or to some articles? I haven't had much luck and, with what I have found, have more questions than answers.

    D 1 Reply Last reply
    0
    • W Wingnut74

      I am not sure if this is the proper forum... I am looking to create a VB.NET based Forms App that will interact with a Web Service. I want to have a main/UI thread that spawns a thread to handle the web service. How do I then, communicate between the two once this is done? I will need to have the Web Service handling thread send information back to the UI, but also have the UI thread send new information back. Can someone point me in the right direction or to some articles? I haven't had much luck and, with what I have found, have more questions than answers.

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

      You don't need threading to handle this. You can use Asynchronous calls to call your WebService. Take a look at these articles on MSDN: Coordinating Asynchronous Service Calls[^] Asynchronous Method Execution Using Delegates[^] Multithreading and Asynchronous Programming in Web Applications[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      W 1 Reply Last reply
      0
      • D Dave Kreskowiak

        You don't need threading to handle this. You can use Asynchronous calls to call your WebService. Take a look at these articles on MSDN: Coordinating Asynchronous Service Calls[^] Asynchronous Method Execution Using Delegates[^] Multithreading and Asynchronous Programming in Web Applications[^] RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        W Offline
        W Offline
        Wingnut74
        wrote on last edited by
        #3

        Outstanding. Thanks!

        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