1 Replies - 14212 Views - Last Post: 28 August 2012 - 01:48 PM Rate Topic: -----

#1 raycomp  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 25-August 09

MSComctlLib.Toolbar of control Toolbar1 was not a loaded control class

Posted 28 August 2012 - 04:42 AM

I am using VB6 with Windows 7 and all of a sudden I get the following error when loading the project and running it. My previously compiled .exe file still runs normally but need to make changes an suddenly this appears:

Object Library not set

Compile error: User-defined type not defined.

Log: reads as follows:
Line 31: Class MSComctlLib.Toolbar of control Toolbar1 was not a loaded control class.
Line 340: Class MSComctlLib.ImageList of control imlToolbarIcons was not a loaded control class.
Line 422: Class MSComctlLib.Toolbar of control tbToolBar was not a loaded control class.
Line 569: Class MSComctlLib.StatusBar of control sbr_Status was not a loaded control class.
Line 636: Class MSComctlLib.ImageList of control ImageList was not a loaded control class.

Need urgent help please as I need to supply updated version to a customer

Is This A Good Question/Topic? 0
  • +

Replies To: MSComctlLib.Toolbar of control Toolbar1 was not a loaded control class

#2 maj3091  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 301
  • View blog
  • Posts: 1,782
  • Joined: 26-March 09

Re: MSComctlLib.Toolbar of control Toolbar1 was not a loaded control class

Posted 28 August 2012 - 01:48 PM

Try re-adding the reference to the controlset (MS Common Controls if I remember rightly).
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1