Project.OnNetReceive



OnNetReceive(pvData As Variant,strSource As String,lId As Long)

Parameters

pvData As Variant
This parameter reads out the data of the NetSend message.
strSource As String
This string provides the name of the sending computer.
lId As Long
This parameter reads out the ID of the NetSend message.
ED
not used
RT
avaliable

Remarks

This event reacts on receiving a NetSend message.

Sample:


'This event will be executed when the client receives the NetSend message
Private Sub Project_OnNetReceive(ByVal strSource As String, ByVal lID As Long, pvData As Variant)

MsgBox "Source string = " & strSource
MsgBox "lID = " & lID
MsgBox "Data = " & pvData

End Sub


See Also

Project