Skip navigation
You are not logged in.
Advanced Search
Skip user information
Manuel
Administrator
Posts: 256
Date of registration: Jul 16th 2008
Location: Erlangen, Germany
Occupation: Software Developer
Hobbies: Jabaco, game theory, text-mining
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
Remember me?