| |||||||
|
Welcome to the WinkeyFinder Forums forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Faster and Safer Browsing! |
| Tags: files, manaully, ocx, register, unregister |
![]() |
| | Thread Tools | Display Modes |
|
#1
| |||
| |||
| How To Manaully Register and Unregister .OCX Files Problem: How do I manually register type libraries (.tlb), ActiveX controls (.ocx), and ActiveX servers? Solution: Type Libraries Type libraries are binary files that contain all type information needed to utilize procedures and classes in a DLL. To register a type library, you can use regtlib.exe as follows: Code: 1. Select Start » Run.
2. Type the following in the dialog box that appears:
regtlib <Full path of .tlb file>
Where <Full path of .tlb file> is the location of your type library file. ActiveX Controls ActiveX controls are files with a .ocx extension. These controls come in 16-bit as well as 32-bit forms, with 32-bit being the most predominant. To register an ActiveX control, you can use regsvr32.exe as follows: Code: 1. Select Start » Run.
2. Type the following in the dialog box that appears:
regsvr32 <Full path of .ocx file>
Where <Full path of .ocx file> is the location of your ActiveX control. Note: For a complete listing of the switches available, just type regsvr32 from the Start » Run dialog box. ActiveX Servers ActiveX servers can be in the form of both DLLs and executables (EXEs). DLLs can be registered similar to an ActiveX control (e.g., regsvr32 C:\Teststand\BIN\TEAPI.DLL). However, when registering an EXE, you must use the switch /RegServer as follows: Code: 1. Select Start » Run.
2. Type the following in the dialog box that appears:
<Full path of the EXE file> /RegServer Code: Where <Full path of the EXE file> is the location of your EXE server (e.g., C:\TestStand\Bin\REngine.exe /RegServer). In the same manner, to unregister an EXE ActiveX Server use the switch /UnRegServer (e.g., C:\TestStand\Bin\REngine.exe /UnRegServer). RegServer and UnRegServer are switches whose functionality is built into the executable Note: If you find that you are dealing extensively with Type Libraries, ActiveX Controls, and ActiveX Servers, you may find the utility linked below useful. It is a very simple utility that allows you to quickly register and unregister Type Libraries, ActiveX Controls, and ActiveX Servers. The application is distributed freely by the Common Controls Replacement Project (CCRP), and the readme file included with the application explains how to use it. Also refer to KB 2XDAB1SJ for more inofrmation about .ocx files (linked below).
__________________ Winkeyfinder 1.72 Stable Ver, Download! Last edited by Imran : 01-11-2007 at 08:52 AM. Reason: Wrong title |
|
#2
| ||||
| ||||
| Re: How To Manaully Register and Unregister .OCX Files Thanks. But it is not useful for me (besides I registered OCX files, but problem still exists). Do not bother anymore. Regards Marcin Last edited by rostek : 01-12-2007 at 07:50 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |