CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009

    Object Library Not Registered

    I have been using Windows 7 with SP1 and Visual Basic 6 with SP6 on a 64 bit computer.

    Just had a hard disk crash. With a new drive, I restored the original software as
    delivered when it was purchased plus 119 Microsoft updates plus re-loaded all the
    software programs I use, including VB6 and Service Pack 6.

    I have written one critical program using the Tree View control in file c:\windows

    I opened, in VB6 IDE, the Project/Components menu , scrolled down and
    checked the "Microsoft Windows Common Controls 6.0 (SP6)" entry. The
    location for this file is shown as "c:\Windows\SYSWOW64\MSCOMCTL .OCX".

    After clicking OK, I get a popup saying "Object Library Not Registered".

    After seaching the Internet for a solution, I opened the run conmmand and

    cd c:\Windows\SYSWOW64\
    regsvr32 MSCOMCTL.OCX

    The result is a popup saying "DLLRegisterServer in mscomctl.ocx succeeded."

    I also tried:
    regtlib.exe MSCOMCTL.OCX
    and got the response in the Command window of "Registration of mscomctl.ocx

    Yet, back in VB6 IDE, when I open Project/Component menu and again check
    "Microsoft Windows Common Controls 6.0 (SP6)", I get the same message:
    "Object Library Not Registered",

    So far, I have tried everything I can think of to fix this. Restarting the computer, even re-loaded VB6 and Service Pack 6, etc., etc. Same results.

    I am at my wits end on this one. If anyone can offer some advice on what is
    wrong or better, how to fix it, I will be very grateful. I really need to get this
    program working.


  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

Tags for this Thread

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