Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2006
    Location
    UK SouthWest
    Posts
    420

    Right click register and unregister dll's/ocx's

    A very handy bit of code i found;
    REGEDIT4

    // This adds the ability to Right-Click on a .dll or .ocx
    // and get the Register / UnRegister options.

    // .DLL files
    [HKEY_CLASSES_ROOT\.dll]
    @="dllfile"

    [HKEY_CLASSES_ROOT\dllfile]
    @="App Extension"

    [HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
    @="regsvr32.exe \"%1\""

    [HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]
    @="regsvr32.exe /u \"%1\""


    // .OCX files
    [HKEY_CLASSES_ROOT\.ocx]
    @="ocxfile"

    [HKEY_CLASSES_ROOT\ocxfile]
    @="App Extension"

    [HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command]
    @="regsvr32.exe \"%1\""

    [HKEY_CLASSES_ROOT\ocxfile\Shell\UnRegister\command]
    @="regsvr32.exe /u \"%1\""
    Save it as whatever.reg and then doubble click to enter the info into your registry. Then you can register and unregister dll's and ocx's just by right clicking on them

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    lol, where did you find that

    http://www.indigorose.com/forums/sho...79&postcount=2

    i found that same bit of useful code when i made my OLE Manager

    http://www.indigorose.com/forums/showthread.php?t=23517
    Open your eyes to Narcissism, Don't let her destroy your life!!

Similar Threads

  1. Is it possible to register a DLL?
    By bdf in forum TrueUpdate 1.0
    Replies: 1
    Last Post: 06-26-2002, 09:41 AM

Posting Permissions

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