application's GUI freezing

W

webmaster

While an application thread connecting a web service in a server,
application GUI is freezing. Why applicaion's GUI is freezing ? How can i
stop to freezing while connecting ? After application finish the web
service's job, application's GUI works fine.

Please help me. thank you alot.
 
C

CT

Use a background thread for connecting or connect asynchronously, i.e. use
the Web service proxy's asynchronous methods Begin<MethodName>...
 
M

Michael Nemtsev [MVP]

Hello webmaster,

as CT recommended you need to use ASYNC model for this.
You can find more details there http://www.eggheadcafe.com/articles/20060620.asp

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://msmvps.org/blogs/laflour
:: http://twitter.com/laflour

"Tis nothing good or bad, but thinking makes it so" (c) W.Shakespeare


w> While an application thread connecting a web service in a server,
w> application GUI is freezing. Why applicaion's GUI is freezing ? How
w> can i stop to freezing while connecting ? After application finish
w> the web service's job, application's GUI works fine.
w>
w> Please help me. thank you alot.
w>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top