There really isn’t enough information here to figure out what is supposed to be happening.
VB event basics:
Declare an event: - [from your error message it looks like this is in there somewhere
- Public Event Complete(byVal sender as Object,ByVal e as System.EventArgs)
Raise an event: - [I think this is probably somewhere in your code as well]
- RaiseEvent Complete(me,args)
The line is that is causing you a problem is an attempt to dynamically assign a sub routine to the event.
This is where the lack of code become a problem for us to guess at. Typically the code would look like this:
-
Dim myObj as new Flip1Half()
-
-
addHandler myObj.Completed, AddressOf Procedure_to_run_when_event_occurs
-
-
sub Procedure_to_run_when_event_occurs(sender as object,e as system.EventArgs)
-
Do something
-
End sub
-