Link to home
Start Free TrialLog in
Avatar of Lynn Thames
Lynn ThamesFlag for United States of America

asked on

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

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.


Avatar of davebuhl
davebuhl

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
http://msdn.microsoft.com/en-us/vbrun/ms788708.aspx

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

ASKER

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

ASKER CERTIFIED SOLUTION
Avatar of Mohamed Osama
Mohamed Osama
Flag of Egypt image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I still don't know what the problem was . . . but it works now :)

Thanks!