Loaded or unloaded?

matza7
11-13-2001, 08:06 PM
I have an array of winsocks, some are loaded some are unloaded.... how can i check to see if one is loaded?


mattie

ChiefRedBull
11-14-2001, 05:19 AM
Check the state, if it has state then its loaded, if it doesn't have one then its not.
<pre><font color=red>For i = 0 To Ubound(winsockarray)
If winsockaray(i).state then
msgbox "Winsock active"
Else
msgbox "Winsock Dead"
End if
Next i

</pre></font color=red>I think this will work - only im not at home now. I'll check later, but try this for now.

Chief

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum