question regarding long database calls...?

  • Thread starter Thread starter Paul M
  • Start date Start date
P

Paul M

hi,

i have a form that calls a remote database over the web and populates a
treeview.
However if the connection is really slow, the form goes white and stops
responding until the call has completed.

Is there any way around this to keep the form not going into that "not
responding" mode?

thanks,
Paul.
 
Hi,

I'd strongly recommend to read the "Safe, Simple Multithreading in Windows
Forms" series by Chris Sells. They are available in the MSDN Library.
 

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

Back
Top