AutoCAD 2010/2011/2012

AutoCAD 2010/2011/2012

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

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

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

Alfred,

 

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,

Brian

Product Support
Silvia.Menon
Posts: 182
Registered: ‎06-11-2007
Message 12 of 12 (204 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

http://usa.autodesk.com/getdoc/id=TS19357178

 

Best regards,

Silvia



Silvia Menon
Support Specialist
Product Support
Autodesk, Inc.


http://www.autodesk.com/autocad-support

 

________________________________________________________
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
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.