in this code:
VB Code:
'make delegate with same signature Public Delegate Sub DoOperationHandler(param1 as integer,param2 as integer) 'with params Private Sub DoOperation(param1 as integer,param2 as integer) Result=param1+param2 'Do your stuff... End Sub 'you don't need this sub to fire the threaded method Private Sub eheheheh() Dim x As New DoOperationHandler(AddressOf DoOperation) x.BeginInvoke(1,4,Nothing,Nothing) End Sub
this launch a real thread?? how can a I interrupt, resume, abort and etc???
Thnak you,
Guilherme Costa




Reply With Quote