Results 1 to 8 of 8

Thread: Registering and Un-registering DLL's and OCX's

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    3

    Post

    How do you register and unregister DLL and OCX files to the system.

  2. #2
    Member
    Join Date
    Jan 1999
    Location
    Vancouver, BC, Canada
    Posts
    32

    Post

    When you compile a DLL it is automatically registered in the registry. You can also register it manually by typing this into the RUN box (START -> RUN):

    REGSVR32 <full path to DLL>

    IE if you have a DLL called 'mydll.dll' in the root drive of your machine it would be:

    REGSVR32 C:\mydll.dll

    To unregister a DLL, use:

    REGSVR32 /U <full path to DLL>

    Word of caution: Before you delete or move any ActiveX component you create, make sure to un-register it first. If you delete one without unregistering it, the registry will still contain an entry for it, even though it no longer exists. This also means your VB References will contain a reference to an invalid ActiveX component (can get messy).

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    3
    Thats not what i meant, this is a place for DEVELOPMENT, how do i do it PROGRAMICALLY!!!!!!!! how to i register another dll that i didn't create such as msvbvm.dll WITHOUT using a setup wizard in vb

  4. #4
    Addicted Member
    Join Date
    Mar 2000
    Location
    bebenia, PA, USA
    Posts
    241
    Learn some manners if someone tries to help you; if it's not the right answer so what -- wait for someone else to reply. You are very rude!!! Were you intending to sound this way?

  5. #5
    Addicted Member
    Join Date
    Sep 1999
    Posts
    229
    You've never mentioned to have it "programically".
    Also please avoid in using upper case for the whole word,
    it sounds like you're shouting at someone.
    What a non professional.

  6. #6
    Lively Member FantastichenEin's Avatar
    Join Date
    Mar 2000
    Location
    dairy
    Posts
    106
    Just call regserve from the program with the correct params

  7. #7
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386
    check out www.codeguru.com/vb there's a sample around how to register compononents in code *without* shelling an app like regsvr32 (thus really in code...)
    By the way, you better use a setup since you might need to reboot during setup in order to install that ole dll's stuff, which you can't without booting since windooz is using them.

  8. #8

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    3
    Sorry about that people but i was placing EMPHASIS not hollering

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