my windows application frozen until webRequest finish

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cluny
    New Member
    • Sep 2006
    • 1

    my windows application frozen until webRequest finish

    hi,
    i wrote a program in c# that do posts to servers on the web.
    i've tried to put the code that make the WebRequest in a thread created from my windows application but the application is stack anyeay antill all the threads finished their work.
    what is the best and simple way of doing it?
    10'x
  • polygonVB
    New Member
    • Sep 2006
    • 15

    #2
    Hmmm I bet you're not properly executing your code in a seperate thread.

    I had to create a class that had a sub procedure
    then create a new thread for it
    then start the thread.

    You might want to try that. If you need further explanation let me know.

    Paul

    Comment

    • fatdaveh
      New Member
      • Sep 2006
      • 3

      #3
      Or use BeginGetRespons e(...)

      Comment

      Working...