Thursday, May 17th 2012, 4:40pm UTC+2
You are not logged in.
Advanced Search
Manuel
Administrator
Posts: 255
Location: Erlangen, Germany
Occupation: Software Developer
1
Friday, August 22nd 2008, 1:04am
1 2 3 4
'1) Create a "Known Object": Dim mySocket As New VB#Winsock mySocket.Connect "127.0.0.1", 1234 MsgBox mySocket.RemoteHost
'2) Assign the Object to Variant: Dim myVariant As Variant = mySocket myVariant.Connect "127.0.0.1", 1234 MsgBox mySocket.RemoteHost
1 2 3 4 5
'3) Using the CallByName-Method: Dim myArgs(1) As String myArgs(0) = "127.0.0.1" myArgs(1) = 1234 CallByName mySocket, "Connect", VBMethod, ""
1 2
'4) Java Reflections: 'See: http://java.sun.com/docs/books/tutorial/reflect