Solved

Register winsck.ocx and comctl32.ocx

Posted on 1998-08-08
2
526 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
snoegler earned 100 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
if loop in java 3 161
maven archtype selection in eclipse 1 58
no14 challenge 14 73
Increment column based of a FK 8 48
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.

756 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