How to create an event in VB?

Thread Starter

cmartinez

Joined Jan 17, 2007
8,257
Anyone knows how to create an event in VB.NET?

I already know how to use the AddHandler and RemoveHandler instructions. But I only know how use them on events that already exist within Windows, such as the DataReceived event in a serial port.

My question is, how do I create an event that will call a routine the moment a variable that was previously false becomes true? The purpose being running another code thread without stopping the currently running one.
 
Top