Hi,
can someone supply a code snippet to show how a thread procedure might say update a textbox or label on the form of the parent procedure i.e. the one that fired it off, whilst the parent allows other stuff to continue?
Thanks,
John.
Printable View
Hi,
can someone supply a code snippet to show how a thread procedure might say update a textbox or label on the form of the parent procedure i.e. the one that fired it off, whilst the parent allows other stuff to continue?
Thanks,
John.
Here is some information on the topic:
http://www.vbforums.com/showthread.p...hreadid=274224
http://www.gotdotnet.com/Community/M...aspx?id=179603
Also after seeing Wokawidget's great example of mutli-threading in VB6 ( http://www.vbforums.com/showthread.p...hreadid=265319 ) I remade a similiar example in .NET which is a MultiThreaded File Searcher and it interacts with the UI from a different thread. I will post that example even though it isn't really commented and may not focus on what you want, although it does show you how.