Go Back   WinkeyFinder Forums > WinKeyFinder > WinKeyFinder Forum > Support 4 Winkeyfinder
Register Members List Alternate Download DeskArt Arcade Search Today's Posts Mark Forums Read



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: , , , ,

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2007, 08:48 AM
Author
 
Join Date: Mar 2005
Location: @home
Posts: 171
Rep Power: 4
Imran will become famous soon enough
Send a message via MSN to Imran Send a message via Yahoo to Imran
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.
If you have a 16-bit control, you can run regsvr instead of regsvr32. If your ActiveX control is registered incorrectly, you must first unregister it and then register it again. In both cases, you will get a dialog box prompting you that your control has been unregistered or registered successfully. To unregister a control, use the switch /u (i.e., regsvr32 /u <Full path of .ocx file>).

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 01-12-2007, 07:47 PM
rostek's Avatar
Junior Member
 
Join Date: Dec 2006
Location: Warszawa, Poland
Posts: 19
Rep Power: 0
rostek is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 10:57 AM.


WinkeyFinder License Agreement
WinKeyFinder - Tips and Tricks - Vista News - Downloads - Support - FAQ - Site Home - Win Keyfinder 1.73 RC2 - Simple KeyFinder - Windows Vista Cd Key Finder - Powered by vBulletin, Copyright ©2000-2007, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
WinkeyFinder Reserves all copyrights related to WinkeyFinder, All Other Logos and Banners used in this website are trade marks of their respective owners. and Subject to copyrights!
All trademarks mentioned on this page are the property of their respective owners.