Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Register winsck.ocx and comctl32.ocx

Posted on 1998-08-08
2
Medium Priority
?
548 Views
Last Modified: 2013-11-20
I have 2 files winsck.ocx and comctl32.ocx that i need to run 2 different programs. They are in c:/windows/system. The problem is when i open the programs i get the error message component *.ocx not correctly registered: file is missing or invalid. I nkow these files are current and not corrupt. how can i "regster" them???
0
Comment
Question by:avtronics
2 Comments
 
LVL 6

Accepted Solution

by:
snoegler earned 400 total points
ID: 1320452
Use the redistributable file regsvr32.exe in your msdev\bin directory. Just execute it with the
parameter of the file to register:

  regsvr32.exe winsock.ocx
  regsvr32.exe comctl32.ocx

To unregister, use

  regsvr32.exe /u winsock.ocx
  regsvr32.exe /u comctl32.ocx

The source code of regsvr32.exe should be provided with your MSVC distribution. Search
the CD for regsvr32.mdp.

Perhaps your files could also be corrupted - regsvr32.exe should show a message in this case.
0
 
LVL 1

Author Comment

by:avtronics
ID: 1320453
Thanks much. It worked perfectly. Found another way to register the file in regsrv32.exe too. Just drag and drop the .ocx onto the exe file and no dos prompt needed.... Thanks again
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

877 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