Results 1 to 5 of 5

Thread: Object library not registered

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2012
    Posts
    13

    Object library not registered

    If I go to Project, Components, check the box for Microsoft Forms 2.0 Object Library, and then click OK, I get
    Object library not registered
    I register FM20.DLL, but I still get the same error.

    Any thoughts?

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Object library not registered

    This isn't really worth bothering with unless you are making MS Office add-in DLLs, which is really why it exists at all.

    Those controls are not meant to be hosted on a VB6 Form or UserControl. There are warnings about doing this, and you can't legally deploy the library anyway.

    But if I suspect your problem at hand is that you failed to register it properly.

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: Object library not registered

    Make sure you haven't placed it into a virtualized folder, then make sure that you don't register it in the virtualized HKLM and do that using the 32-bit regsvr32.dll (there are two on a 64-bit Windows machine).

    So in other words just do what we've been doing since 2006.

  4. #4
    Hyperactive Member
    Join Date
    Mar 2018
    Posts
    460

    Re: Object library not registered

    Quote Originally Posted by dilettante View Post
    This isn't really worth bothering with unless you are making MS Office add-in DLLs, which is really why it exists at all.
    Unicode capable controls is another reason why people use it. Still not a good idea, but changing it out could be painful.

  5. #5

    Thread Starter
    New Member
    Join Date
    Jan 2012
    Posts
    13

    Re: Object library not registered

    Adding Microsoft Forms 2.0 Object Library was my attempt at resolving another error. Based on the responses above, it was not the correct solution.

    The error I am trying to fix is:

    Line 58: Class MSForms.ScrollBar of control vsc was not a loaded control class.

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