frozen GUI

the-Jerry

New member
Joined
Feb 2, 2007
Messages
1
Programming Experience
3-5
Hi everybody,

I just started networking with VB.NET and was following that great tutorial at: http://www.devx.com/dotnet/Article/28083/1954?pf=true
Everything worked fine, until I decided to go from a Console application to WindowsForms. I thought let's try to give the server application a little facelifting and make a nice form for it.

However this brings, the problem, that the GUI starts to freeze as soons as the networking listing part starts.
I think I have heard about running network code and forms in two different threads, or use Backgroundworker, but I don't know either one and if my theory is right.
Can anybody please help me with this? :confused:

Thank you in advance.
 
Doing socket programming in winforms requires knowledge of multi-threading. Search up some tutorials on the topic. All the asynchronous Begin../End.. class method pairs you encounter are also multithreading techniques.
 
Back
Top