AutoCAD 2010/2011/2012

AutoCAD 2010/2011/2012

Active Contributor
Posts: 38
Registered: ‎03-22-2005
Message 11 of 12 (253 Views)

Re: CAD VBA shows msg "Object library invalid...."

04-30-2012 10:26 AM in reply to: aunna



The test system I'm working with didn't have either MSCOMCTL.OCX or MSCOMCT2.OCX.


My system had MSCOMCTL.OCX, so I copied this file to the test system and registered it.


My VBA programs now work as expected.


Thank you for your help.


Although I'm concerned that this might have un-done the Microsoft security update.


I have also started a trouble ticket with AutoDesk regarding this problem. I'm very curious to see what they have to say about this.


Thank you again,


Product Support
Posts: 182
Registered: ‎06-11-2007
Message 12 of 12 (213 Views)

Re: CAD VBA shows msg "Object library invalid...."

05-04-2012 09:06 AM in reply to: brianaubert

Hi all,


the following solution for this issue has now been posted on the AutoCAD Knowledgebase:


Error "Object Library invalid" when running VBA applications


Best regards,


Silvia Menon
Support Specialist
Product Support
Autodesk, Inc.


If my post answers your question, please click the "Accept as Solution" button. This will help everyone find answers more quickly.


Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.