Queue Object
Any ideas?
Yasser wrote a good article on Threading a while ago that you should check out:
http://msdn.microsoft.com/msdnmag/issues/01/07/vbnet/default.aspx
The key idea is to use a ThreadPool object and use it's QueUserWorkItem method to store several calls to methods that will do the actual work. It's a good idea to queue up calls to methods that *do the work* b/c this is where your app is spending it's time. In other words, you don't want to create a new thread every time you receive a MSMQ message.
If you need more help or examples, please let me know.
Best,
Paul Yuknewicz
Visual Basic