Results 1 to 7 of 7

Thread: [RESOLVED] Winsock Error "not registerable"

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2008
    Posts
    43

    Resolved [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

  2. #2
    Hyperactive Member
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    297

    Re: Winsock Error "not registerable"

    Project > Components > Microsoft Winsock (Mswinsck.ocx) Mswinsck.OCX, not winsock.DLL

  3. #3

    Thread Starter
    Member
    Join Date
    Jan 2008
    Posts
    43

    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?

  4. #4
    Hyperactive Member
    Join Date
    Dec 2007
    Location
    Canada
    Posts
    297

    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.

  5. #5

    Thread Starter
    Member
    Join Date
    Jan 2008
    Posts
    43

    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

  6. #6
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    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

  7. #7

    Thread Starter
    Member
    Join Date
    Jan 2008
    Posts
    43

    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
  •  



Click Here to Expand Forum to Full Width