Valhalla Legends Forums Archive | Battle.net Bot Development | Control Array of Winsocks

AuthorMessageTime
Lenny
[code]
Dim i As Integer
For i = 1 To totalBots
Load wsBNET(i)
Next i
[/code]

The compiler tells me "wsBNET" function is not defined. It seems like there's a simple mistake somewhere, but I can't find it

========================================================

Problem Solved, didn't realize it required more than just the name but the object:
[code]
Load wsBNET.Winsock(i)
[/code]
November 2, 2003, 5:33 AM
Freeware
[quote author=Lenny link=board=17;threadid=3371;start=0#msg26964 date=1067751196]
[code]
Dim i As Integer
For i = 1 To totalBots
Load wsBNET(i)
Next i
[/code]

The compiler tells me "wsBNET" function is not defined. It seems like there's a simple mistake somewhere, but I can't find it

========================================================

Problem Solved, didn't realize it required more than just the name but the object:
[code]
Load wsBNET.Winsock(i)
[/code]
[/quote]

??? I have never had to specifiy the object...
November 3, 2003, 1:32 AM
Lenny
Actually it was even more of a careless mistake, I forgot to specify the form in which the control was located...
I just didn't feel it necessary to post again, since the problem was solved even though at first incorrectly.
November 4, 2003, 1:43 AM

Search