• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD 2010/2011/2012 DWG Format

    Reply
    Active Contributor
    Posts: 38
    Registered: ‎03-22-2005

    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

    Please use plain text.
    Product Support
    Posts: 175
    Registered: ‎06-11-2007

    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.

     

    Please use plain text.