thisform.olecontrol1.bind thisform.olecontrol2.bindCommand1 Click:
thisform.olecontrol1.sendData("Hello from OleControl1")Command2 Click:
thisform.olecontrol2.sendData("Hello from OleControl2")OleControl1 DataArrival:
Debug susp a = "" this.getData(@a) a = aOleControl2 DataArrival:
Debug susp b = "" this.getData(@b) b = bIn DataArrival events I put debug/susp to trace this code line by line (rows a = a and b = b is to execute previous row (with GetData) and stay into event code). When you click on the command button, in other OleControl will be raised DataArrival event and you can see how data is received through UDP.
Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000) br>
VB (.NET) - what other language do you need in the whole Universe?...