Click here to Skip to main content
15,942,847 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I want to run the two threads one background, please send me some example on how to run event base producer and consumer thread in VB or VB.Net


1 solution

I would say, forget VB. As to VB.NET, it's pretty easy. Sorry, I don't do VB.NET code and not going it install VB.NET on any of my computers, but I can show you very similar code where you can easily get the idea. Please understand, that if you need effective help in .NET, you need to understand at least some C#. It's easy because .NET makes most CLR languages very similar. Please look at my Tips/Tricks article here: Simple Blocking Queue for Thread Communication and Inter-thread Invocation[^].

Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900