Click to See Complete Forum and Search --> : Firing an event


Binci
March 22nd, 2001, 10:50 PM
How can i fire an event from another event handling function.

eg: i want to invoke the command1_click() from winsock1_dataarrival()

can you help me??


Thank you

GungaDin
March 22nd, 2001, 11:14 PM
In the winsock1_dataarrival() event just call the event the same way you would any other method.

eg.

Private Sub WinSock1_DataArrival()
Call Command1_Click
End Sub

Hope this helps,

Nathan.

Binci
March 22nd, 2001, 11:23 PM
Thank you for explaining my doubt