Re: vb.net Threading Question

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I think I have found my answer in on-line help..

Returning values from procedures that run on separate threads is
complicated by the fact that the procedures cannot be functions and
cannot use ByRef arguments. The best way to return values is to have
your multithreaded procedure call a procedure in your application, and
then pass the results as arguments. To do this, raise an event when a
task is done, and process the results with an event handler.

The following example returns a value by raising an event from a
procedure running on a separate thread:

.



Relevant Pages

  • Re: taskbar
    ... You've got 4 separate threads in this newsgroup alone about the same ... have to sift through all of them. ... Prev by Date: ...
    (microsoft.public.windowsxp.help_and_support)
  • Do the MDI child windows run on separate threads?
    ... I need to have two child windows running on separate threads. ... can you please point me in the correct direction? ... Prev by Date: ...
    (microsoft.public.dotnet.framework.windowsforms)