I would like to know if it's possible to use a Winsock control without putting it on the form. I tried the following:

Public wskConnection As Winsock

Then I would normally use wskConnection, but I get an error as soon as I try to access one of its properties (Object vairable or with block variable not set).

Is there a solution to this? Thanks.