You can't dynamically create a new winsock control. It must be housed on a form (it can be invisible though if need be). Though instantiating the winsock control via code will work on the development machine, it will not work when ran on machines without VB installed.
Take a look at the details here:
http://support.microsoft.c
~IM
Main Topics
Browse All Topics





by: vinnyd79Posted on 2004-12-21 at 20:04:43ID: 12881481
You can use Winsock API instead of the control.
k-api/test bench/test bench-01.a sp
http://www.vbip.com/winsoc