locked
Registering DLL RRS feed

  • Question

  • Hi Everyone:

    I am not sure if this is the proper place to post my question.  If it is not, then I am sorry.  anyways, I have written a class library in VB. NET 2008 that includes several tools such as special textboxes, comboboxes, etc.  When I include the library as a 2nd project in my solutions, I can access the tools, and all work fine.  However, when I include the DLL as a reference in a standalone project, the tools do not show up.  So I thought I have to register the dll.  However, when I try to register the DLL using "regsvr32 mytools.dll", I get the error message:

    The module mytools.dll was loaded, but the entry-point DLLRegisterServer was not found.  Make sure that mytools.dll is a valid DLL or OCX file and then try again.

    I have no idea how to make sure to use my dll without including it in all solutions.  I have read the other posts on his subject, but I could not really follow their solutions.

    I would appreciate all your help.  Thank you.

    Bob


    • Edited by booboo_US Friday, June 10, 2016 7:52 PM
    Friday, June 10, 2016 7:47 PM

Answers

  • If all projects are .NET there is no registration requirement. If you have added the DLL to another project where are these "tools" supposed to show up? If you want them in your Toolbox then you will have to right click and select Choose Items... so you can browse for the library. You may want to add a new tab in the Toolbox for these components first.

    Paul ~~~~ Microsoft MVP (Visual Basic)

    • Marked as answer by booboo_US Saturday, June 11, 2016 3:50 PM
    Friday, June 10, 2016 8:06 PM

All replies

  • If all projects are .NET there is no registration requirement. If you have added the DLL to another project where are these "tools" supposed to show up? If you want them in your Toolbox then you will have to right click and select Choose Items... so you can browse for the library. You may want to add a new tab in the Toolbox for these components first.

    Paul ~~~~ Microsoft MVP (Visual Basic)

    • Marked as answer by booboo_US Saturday, June 11, 2016 3:50 PM
    Friday, June 10, 2016 8:06 PM
  • .NET DLL(s) to not have to be registered with the O/S.
    Friday, June 10, 2016 8:38 PM
  • When I include the library as a 2nd project in my solutions, I can access the tools, and all work fine.  However, when I include the DLL as a reference in a standalone project, the tools do not show up.

    What exactly are you doing to look for these tools in the application that references the DLL?

    Friday, June 10, 2016 11:14 PM
  • Thank you.
    Saturday, June 11, 2016 3:50 PM