Announcement

Collapse
No announcement yet.

registering ocx's

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • registering ocx's

    Hi group,
    my setup fails to register some ocx's.
    My test machine is a clean win95 (release B) install.
    I am including VB6 runtime support module in my setup.
    I am finding that OLEPRO32.dll is not being updated to the version in my setup.exe, yet I know that the version in win95 is older.
    When I manually copy OLEPRO32.dll, register it, and then manually register my ocx's, this works.
    I saw a post regarding non microsoft ocx's not being registered. I am having the same problem.
    Can anyone help??


  • #2
    TIP: Re: registering ocx's

    Just a note for the lesser known:

    If anyone has problems registering dll or ocx files, here's an easy way to register/unregister the files in Windows 95, 98, NT/2000 and XP.

    Copy/paste the REGEDIT4 text below into a noepad and save the file with a .reg extension. Then double-click this file to merge it with the registry (make a backup of your registery before altering it).

    Then, by right-clicking on any .dll or .ocx file, the options to Register/Unregister should be available in the Explorer context menu.


    REGEDIT4

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\dllfile\shell\ Register DLL\Command]
    @="RegSvr32.exe \"%1\""

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\dllfile\shell\ Unregister DLL\Command]
    @="RegSvr32.exe /u \"%1\""

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ocxfile\shell\ Register OCX\Command]
    @="RegSvr32.exe \"%1\""

    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ocxfile\shell\ UnRegister OCX\Command]
    @="RegSvr32.exe /u \"%1\""

    Comment

    Working...
    X