Solved

Register winsck.ocx and comctl32.ocx

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

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

Suggested Solutions

Title # Comments Views Activity
Process filename extension 3 218
while loop over for loop 7 119
x-bar in Google Sheets 2 129
I could not set window to top 4 63
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.

751 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