Click to See Complete Forum and Search --> : Winsock?!
bradley252
Nov 13th, 2001, 11:22 AM
I hav vb6 learning edition and for my final a level poject, i am going to make my own icq messenger?! So i found out it is easiest to do so with winsock. So i browsed the Project>Components to see if i had it. which it said i did. I found a "Mirosoft Winsock Control 6 (sp4)" now when i try to draw a winsock icon onto my form it say that i dont have the right license?? Why? Is it something to do wih the service pack 4 bit? As i have seen other versions of vb 6 learning that have a sp number written on the splash screen, mine doesnt? Does his mean that i need a service pack to run winsock? Where can i get on from ?? How much??
VIsualPenguin
Nov 13th, 2001, 12:51 PM
I've got VB5 lerning edition, and I had the same problem.
Try this:
Uninstall VB and then check wether the file from the winsock control is in the system directory(winsock 5.0 is MSWINSCK.OCX), then install VB again.
It worked with me.
I'm not a professional or something, but What you say about that sp thing, it could be. if you like to, I can send winsock5.0 to you. mail me if so.)
VIP
DiGiTaIErRoR
Nov 13th, 2001, 03:53 PM
You can use regsvr32.exe to register OCX's. It won't always work but if the license is 'there' it should do it properly.
bradley252
Nov 13th, 2001, 03:59 PM
i wouldnt mind trying that regsvr.exe thing. could someone please send me the MsWinsck.ocxand the dos code t register it!? that would be a great help!
bradley252@aol.com
Sastraxi
Nov 16th, 2001, 07:35 AM
The dos code would be:For NT, 2k and I think XP:
RegSvr32 C:\WinNT\System32\mswinsck.ocx
For 95, 98, and ME:
RegSvr32 C:\Windows\System\mswinsck.ocxIf that doesn't work, add a /u flag to the end, execute it, and then remove the /u flag, and execute it again (3 times in total.) This will register it, unregister it, and then register it again.
bradley252
Nov 16th, 2001, 10:12 AM
ive tried to register it, and i get a messagge saying dllregister service suceeded. and when i try to add the component to the tool bar , itdoes but i try and put it on the form it still says i dont have a license?! so i tried the /u trck and i got a message saying
loadlibrary (file path) failed
wat is wrong? and does it matter that im using a file called rersvr32.exe to do it and im registering the file in system not system32?? bearing in mind i have windows 98 not nt of xp? which i know use the sys32 file??
bignell
Dec 3rd, 2001, 08:37 AM
as i's informed, for using winsock you need the enterprise or professional version of vb, look on ebay if you get some cheap
e.g. http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=1304875700
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.