|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
When I sync threads and wating for a thread to finish (like dialing to modem)
then my user interface is stuck. What can i do to release it? "gad" <g**@discussions.microsoft.com> schrieb Release which one? Maybe specifiying the timeout when calling Join (do you> When I sync threads and wating for a thread to finish (like dialing > to modem) then my user interface is stuck. What can i do to release > it? call Join?) is sufficient. I wonder why you wait because the other thread is there not to have a locked user interface. You could wait on another thread, but I don't think this makes sense. Depends on what you wanna do. In other words, how do you expect the program to behave? Armin You can't block your UI main thread or you user interface will be
non-responsive. Instead you should have your secondary thread notify your main thread using Control.Invoke method. Show quoteHide quote "gad" wrote: > When I sync threads and wating for a thread to finish (like dialing to modem) > then my user interface is stuck. What can i do to release it? >
Reading Binary File in VS2005
Bug or By Design... number of lines in Richtextbox LRC Calculation algorithm How to change a VB solution/project name? Bind dinamicly dlls without createobject Releasing a loaded assembly in ASP.NET 2.0 sending Fax from vb.net with Microsoft Fax Service Extended COM Type Libary end sub and breakpoints Setting the Font and the color to my message |
|||||||||||||||||||||||