Solved

Register winsck.ocx and comctl32.ocx

Posted on 1998-08-08
2
521 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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

10 Experts available now in Live!

Get 1:1 Help Now