|
-
Jan 28th, 2005, 04:08 AM
#1
Thread Starter
Hyperactive Member
Help Please!
I have problem with my Mobile VB application. How do I change VB's winsock to Mobile VB's AFClientsocket?
The error message is:
run-time error "450"
wrong number of arguments or invalid property assignments
Code:
Private Sub cmdConnect_Click()
'
' Connect to the localhost on port 10101.
Call lstEvents.AddItem("Connecting to 127.0.0.1")
With AFClientSocket1
Call .Close
.RemoteHostIP = "127.0.0.1"
.remotePort = 10101
Call .Connect
End With
'
End Sub
What is the problem with this coding?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|