Im not declaring the ComUnitClass like
[VB]
Dim WithEvents whatEver as ComUnitClass
[/VB]
I add and remove these objects from an arrayList like this:
[VB]
ComList.Add(New ComUnitClass())
[/VB]
BUT i need ComUnitClass to raise events so where do i mention the WithEvents?
[VB]
Dim WithEvents whatEver as ComUnitClass
[/VB]
I add and remove these objects from an arrayList like this:
[VB]
ComList.Add(New ComUnitClass())
[/VB]
BUT i need ComUnitClass to raise events so where do i mention the WithEvents?
Last edited by a moderator: