App freeze when I click during network actvity

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I found this topic but nobody answer, so I try again

My application download some information from server. On my app is button, when it's pressed starts new thread which download the infromation. Everythink is ok, but if I click anywhere in the form then second tread is runing, my App freeze. Itried everythink ( i thougt) but notthings help.
 
Are you updating GUI from a different thread?
If yes, you MUST use Control.Invoke to do that.

--
Alex Yakhnin .NET CF MVP
www.intelliprog.com | www.opennetcf.org

Hi,
I found this topic but nobody answer, so I try again.

My application download some information from server. On my app is button,
when it's pressed starts new thread which download the infromation.
Everythink is ok, but if I click anywhere in the form then second tread is
runing, my App freeze. Itried everythink ( i thougt) but notthings help.
 
Yes, as they have their own UI and message pump.

-Chris
 

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