#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2016
    Posts
    6
    Rep Power
    0

    mscomctl.ocx loaded on sys, VB6 still says not loaded!


    Win7, VB6

    Everything is Regsvr32 loads fine here:

    C:\Windows\SysWOW64\mscomctl.ocx

    With a copy already in Sys32 directory as well.

    But in the VB6 IDE, when I go to install component, it STILL says "object library not loaded".

    Now when I install the application I am editing, which has a treeview control, it all installs fine, the treeview is viewable.

    But when I open the .vbp file to actually work on the app, I get all that "object not registered" error on component install, of Win Common controls 6.0, or that mscomctl.ocx.

    It is registered by Regsvr32 with no error, but success message. But VB6 still does not recognize the library as loaded, thus treeview and all msconctl controls are unavailable.

    Anyone know what is causing this?
  2. #2
  3. No Profile Picture
    Aged to perfection.
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2004
    Posts
    487
    Rep Power
    509
    Try going to the icon to launch VB and right click it. Click "compatibility" and try running the compatibility test. It may provide an answer and if that doesn't work try running it in compatibility mode for Windows XP and see if that solves it.

IMN logo majestic logo threadwatch logo seochat tools logo