Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Apr 2001
    Location
    Wellington, New Zealand
    Posts
    173
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Using DLL without registring it (VBA / VB6)

    Is it possible to latebind an object based on a DLL without registering the DLL (assuming you know the path to the DLL)?

    I have a 'validation' routing that I am planning, and it would be great to not have to 'register' DLLs on a users system in order for the validation to run. Potentially the validation DLLs may change, so registration is not really what I want.

    I know that I could get around this using .NET but I don't want to do this in .NET (at the moment).

    Your thoughts appreciated.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 28 Times in 28 Posts

    Re: Using DLL without registring it (VBA / VB6)


  3. #3
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Using DLL without registring it (VBA / VB6)

    This Register/ Unregister OCX/DLL Utility might be what you're after. You could use the source code provided in your VB6 application, and it doesn't rely on the end user having Regsvr32.exe.

    Alan

    Added - Also the source code here:
    Register and Unregister Active X Components (DLLs and OCXs)
    Register/ Unregister Multiple OCXs/DLLs at The Same Time

  4. #4
    2 Star Lounger
    Join Date
    Apr 2001
    Location
    Wellington, New Zealand
    Posts
    173
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Using DLL without registring it (VBA / VB6)

    Great thanks, I will have a look at these. Look like exactly what I was after (but couldn't find) . [img]/forums/images/smilies/smile.gif[/img] Thanks .

    [img]/forums/images/smilies/smile.gif[/img]

Posting Permissions

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