I hope I can explain this in a coherent fashion.
I have the following code:
VB Code:
Private Function GetANewBGWorker() As BackgroundWorker Dim bgworker As New BackgroundWorker() With {.WorkerSupportsCancellation = True} AddHandler bgworker.DoWork, AddressOf WorkerDoWork Return bgworker End Function
Say I wanted to programatically assigned the "AddressOf". What Type would i put for the "ByVal BlahBlah as Blah" section? Is




Reply With Quote