Asyncronous Question

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

Guest

Hi
In .NET, what do I write or code (so to speak) to have a task be done in the background without hanging up my application. I know in VB6 I used to write an Active X .dll/exe. What do I write in .NET to peform the same task

Thanks
 
Take a look at Applemans Moving to VB.NET, he has a really good chapter on
Multi-threading with a good (appliable) example.
 
Hi,
Can you gurus recommend a good vb.net book(s) I can keep for reference. Books that you pros use

Thanks
 
Hi
This shows only for forms. What if I need a function to connect to the database and run a hugh query or performa an action query against a database in the background and then notify the user when it is finished

Thanks
 
Hi,

Yes. .NET Multithreading. I have a link to it under Books on my homepage.

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
Hi,

Same idea. You can use Asynchronous Delegates or worker threads. For lots
of details, see the book that I suggested. There a couple of small "misses"
in it, but it is by far the most complete discussion of the subject of
threading that I have seen. There are a number of factors that need to be
considered when employing threading, IMO.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 
Back
Top