I need to use a sub in another class file with a new thread. The name of the class file is CworkerClass and the sub is worker. Below is the code that creates the thread and tries to use the worker sub with no success. I know this must be an easy question for someone. Thanks for looking.
Dim WorkerThread As Thread = New Thread(AddressOf Worker)
WorkerThread.Name = "Worker Thread: " & WorkerCount.ToString
WorkerThread.IsBackground = True
WorkerCount += 1
WorkerCountLabel.Text = "Worker Count: " & WorkerCount