Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2002
    Posts
    3

    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. #2
    Join Date
    Dec 1969
    Posts
    123

    Lightbulb 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\""

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts