[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2009-04-30
Medium Priority
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
  • 2

Expert Comment

ID: 24283672
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

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

LVL 23

Accepted Solution

Mohamed Osama earned 2000 total points
ID: 24296971
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

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


Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
Tech giants such as Amazon and Google have sold Alexa and Echo to such an extent that they have become household names. And soon they are expected to be used by commoners in their homes, ordering takeout, picking out a song, answering trivia questio…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
Suggested Courses

873 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