|
-
Apr 14th, 2003, 07:45 PM
#1
Thread Starter
New Member
Compile error: Invalid use of property -> for Load on a winsock control??? HELP!
Hello all,
I have a winsock object on a form, and when I try to do a connection to it I get this error:
Compile error: Invalid use of property
The "Load" word is highlighted in this code:
Private Sub tcpServer_ConnectionRequest(Index As Integer, ByVal requestID As Long)
If Index = 0 Then
intMax = intMax + 1
Load tcpServer(intMax)
tcpServer(intMax).LocalPort = 0
tcpServer(intMax).Accept requestID
End If
End Sub
I have the Index set to zero.. What am I doing wrong?? This code for the handler can be found in MSDN Multiple Winsock connections help page... so I must be doing something else wrong that affects that Load statement!
Thanks!
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
|