Solved

Register winsck.ocx and comctl32.ocx

Posted on 1998-08-08
2
522 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Turn a spreadsheet into a vba executable. 2 78
while loop over for loop 7 92
difference between String.subString() and String.subSequence() 6 169
tripleUp challenge 7 73
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: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

21 Experts available now in Live!

Get 1:1 Help Now