|
-
Jan 9th, 2000, 08:45 PM
#1
Thread Starter
New Member
I tried to create new (winsock) objects with code... didn't succeed... ( I did get on well creating new forms though)
( I put a winsock control named winsock1 in the form )
I tried
Dim winsk as Winsock
set winsk = new Winsock
(error : Invalid use of New Keyword)
Dim winsk as Winsock
set winsk = new Winsock1
(error : User Defined type not defined)
Dim winsk as Winsock
Set winsk = new Form1.Winsock1
(error : User Defined type not defined)
Dim winsk as new Winsock
(error : Invalid use of New Keyword)
Dim winsk as new Winsock1
(error : User Defined type not defined)
(I tried using "Dim winsck as Object" too, same results)
Anyone got any ideas?
PS :
Suddenly I remember that I can create new forms that contain a winsock control, then use it from there... But if you got a better method please tell me. Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|