i have a background thread that needs to send data back to the main thread.
the following code works...
but i need to send parameters.. .this does not workCode:me.Invoke(New EventHandler(AddressOf SendSocketData)) Public Sub SendSocketData() ' do this end sub
help!Code:me.Invoke(New EventHandler(AddressOf SendSocketData("My Data"))) Public Sub SendSocketData(Data as string) ' do this end sub




Reply With Quote