Can't register mswinsck.ocx on a new vista Home Premium SP1

Posted on 2009-04-30
Last Modified: 2013-12-12
I have a new vista computer that I cannot install my software on.  I am the developer and also wrote the install routine, everything else seems to run fine, but the program that uses mswinsck.ocx does not.

I tried to manually register it using the following steps:

Navigate to Start/All Programs/Accessories/Command Prompt
Right click on Command Prompt and select Run as Adminstrator
cd \windows\system32
regsvr32 c:\windows\system32\mswinsck.ocx

I get the following error:

The module "mswinsck.ocx" failed to load.

Make sure the binary is stored at the specific path or debut it to check for problems with the binary or dependent .DLL files.

The specified module could not be found.

However, typing "dir mswinsck.ocx" finds the file . . . . .

Thanks for your help.

Question by:lthames
    LVL 2

    Expert Comment

    The mswinsck.ocx file is not installed in the system32 directory as part of the standard Vista installation.  Did you do a seperate Visual Basic program install that brought in the files or manually place them in the System32 directory?

    This link tells you which VB files are shipped with Vista and which are not

    I believe you have to install Visual Studio to get that file.  I could be wrong there.

    Author Comment

    Yes, the file is there.  My install script put it there.

    LVL 23

    Accepted Solution

    Try installing the latest VB6 SP runpack redistributable, should sort it out, if this worked, you can add it as a step in your installer program.


    Author Closing Comment

    I still don't know what the problem was . . . but it works now :)


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Article by: Rob
    Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
    I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
    This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
    The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now