• Welcome to Valhalla Legends Archive.
 

Control Array of Winsocks

Started by Lenny, November 01, 2003, 11:33 PM

Previous topic - Next topic

Lenny


Dim i As Integer
   For i = 1 To totalBots
       Load wsBNET(i)
   Next i


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:

Load wsBNET.Winsock(i)
The Bovine Revolution
Something unimportant

Live Battle.net:

WARNING: The preceding message may have contained content unsuitable for young children.

Freeware

Quote from: Lenny on November 01, 2003, 11:33 PM

Dim i As Integer
   For i = 1 To totalBots
       Load wsBNET(i)
   Next i


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:

Load wsBNET.Winsock(i)


??? I have never had to specifiy the object...

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.
The Bovine Revolution
Something unimportant

Live Battle.net:

WARNING: The preceding message may have contained content unsuitable for young children.