Avatar of Tharo_Systems
Tharo_Systems

asked on 

How to Add Listbox item from a different thread?

I have a VB.NET (2005) multithreaded program. The main thread has a listbox on it that I am using as sort of a log. Each time an event happens, it adds an item to the listbox. I need the 2nd thread to be able to add items to the listbox as well. I've tried several things without success. Can someone help?
.NET ProgrammingVisual Basic.NET

Avatar of undefined
Last Comment
Tharo_Systems

8/22/2022 - Mon