|
-
Jan 6th, 2008, 01:19 AM
#1
Thread Starter
Member
[RESOLVED] Winsock Error "not registerable"
hi
i need to add a winsock control to my project, so i open add component, do browse and find winsock.dll. but when i click ok it says this error occurred:
the file 'C:\WINDOWS\system32\winsock.dll' was not registerable as an ActiveX component
did this happen to anyone before??
and does anyone know how to solve this probelm??
i really need this to work...
thanks in advance
-
Jan 6th, 2008, 01:31 AM
#2
Hyperactive Member
Re: Winsock Error "not registerable"
Project > Components > Microsoft Winsock (Mswinsck.ocx) Mswinsck.OCX, not winsock.DLL
-
Jan 6th, 2008, 01:36 AM
#3
Thread Starter
Member
Re: Winsock Error "not registerable"
is this in system32? because im looking in system32 and i cant find anything called Mswinsck.ocx
is it in some other folder?
-
Jan 6th, 2008, 02:10 AM
#4
Hyperactive Member
Re: Winsock Error "not registerable"
Should be in C:\Windows\System32\Mswinsck.ocx
Go in to add a component, click browse and paste this in:
Code:
C:\Windows\System32\Mswinsck.ocx
And hit Open, it should load.. If not, report back.
-
Jan 6th, 2008, 02:15 AM
#5
Thread Starter
Member
Re: Winsock Error "not registerable"
when i click open it says 'File not found'
i've tried to search my computer for a file called 'Mswinsck' but nothing turned up.
can it be that it has a different name?
im using windows xp sp2
thanks for helping
-
Jan 6th, 2008, 02:36 AM
#6
Re: Winsock Error "not registerable"
google it for download, it should have been installed with vb
http://www.google.com.au/search?hl=e...G=Search&meta=
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Jan 6th, 2008, 03:12 AM
#7
Thread Starter
Member
Re: Winsock Error "not registerable"
thanks people
appreciate your help
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
|