Results 1 to 8 of 8

Thread: GUI to register/unregister DLLs and OCXs

  1. #1

    Thread Starter
    Fanatic Member doofusboy's Avatar
    Join Date
    Apr 2003
    Posts
    526

    GUI to register/unregister DLLs and OCXs

    Can't remember where I grabbed the base code for this little tool, but it works great [so my apologies and cudos to whoever wrote it].

    I just tweaked it by adding Browse buttons, messages, and Clear and Exit buttons.

    Great little tool, saves effort for those that are as lazy as I am.
    Attached Files Attached Files
    Do canibals not eat clowns because they taste funny?

  2. #2
    Let me in .. techyspecy's Avatar
    Join Date
    Aug 2002
    Location
    Back to VBF.
    Posts
    2,456
    With all due respect, i think this would be even more waste of time and efforts. Registering/Unregistering DLLs, OCXs takes hardly any time if you know the commands.

    Simple type ..........

    regsvr32 filepath to register and
    regsvr32 -u filepath to unregister.

    You can run these command's from start menu - > run.

    I think what could be really usefull is if i could right click on some DLL or OCX anywhere in my hard drive and Register/Unregister option could come up in that menu. I think that would be really helpfull. I haven't seen that example anywhere on this forum.....???? May be i should take the initiative and do this ...

  3. #3
    Hyperactive Member
    Join Date
    Mar 2002
    Posts
    424
    I'd buy that for a dollar!

  4. #4
    Hyperactive Member brenaaro's Avatar
    Join Date
    Sep 2001
    Location
    Montreal, Canada
    Posts
    391
    techyspecy:

    You can add those verbs to the context menus for .OCXs by adding it in the View->Folder Options->File Types definitions.

    Just point it to regsvr32.exe and add a /u parameter for the Unregister verb.

    If you can see DLL file types in that list then you can do likewise. If not, what I did was create Register and Unregister shortcuts in my "Send To" menu that again point to regsvr32 with the /u parameter for Unregister.

    You just right click on the ocx or dll and go Send To->Register or Unregister.

    *CORRECTION*

    For unregistering (by Send To) I had to create a little Sub Main app that takes whatever filepath it is passed and shells regsvr32 with the /u param. I forgot that shortcuts don't seem to recognize additional parameters..
    Last edited by brenaaro; May 30th, 2003 at 08:18 AM.
    And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.

  5. #5
    New Member
    Join Date
    Aug 2003
    Posts
    3

    little file that will allow you to right-click on dll or ocx and register/unregister

    you asked for it and now you get it....

    just d/l this little file and double click it to install it
    and you will have the capability....


    ps. seems i can't upload a .reg file, so i changed the extension to .txt....

    so once you download it change the extension back to .reg and then double-click it to install it....
    Attached Files Attached Files

  6. #6
    Hyperactive Member brenaaro's Avatar
    Join Date
    Sep 2001
    Location
    Montreal, Canada
    Posts
    391
    Cool, thanks! But it doesn't seem to work for .ocx files (NT4)...?
    And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.

  7. #7
    New Member
    Join Date
    Aug 2003
    Posts
    3

    hmmmm....

    i am using windows 2000 and it's working fine....

    i haven't a clue as to why it doesn't work with NT4, sorry....


    i have also used it on win98 with success.

    anyone else have an answer to this NT4 issue?

  8. #8
    Hyperactive Member brenaaro's Avatar
    Join Date
    Sep 2001
    Location
    Montreal, Canada
    Posts
    391
    I'm working on 2000 now, but if I recall correctly, I think I solved the problem by adding that extra CRLF at the end of the .reg file.

    It's just that the entry wasn't getting added to the registry.
    And I, for one, welcome our new insect overlords. I'd like to remind them as a trusted TV personality, I can be helpful in rounding up others to toil in their underground sugar caves.

Posting Permissions

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



Click Here to Expand Forum to Full Width