Visual Basic Customization

Visual Basic Customization

Reply
New Member
bellairej
Posts: 2
Registered: ‎04-25-2011
Message 1 of 4 (1,174 Views)

Missing: AutoCAD 2011 Type Library

1174 Views, 3 Replies
05-18-2011 12:28 PM

I have a user that gets two instances of the "AutoCAD 2011 Type Library" in his VBA references ... both are checked ... one says Missing: the other does not.

 

If he unchecks the "Missing:" one, then he is fine.

 

This happnes every time I update a .dvb file on his system.  I have tried unloading the .dvb first then reloading but still the same problem.

 

He is running AutoCAD Electrical 2011.  His OS is Windows XP (32 bit).

 

I am developing the .dvb on AutoCAD 2011 (not electrical) in WIndows 7 (64 bit).

 

Any ideas?

Contributor
OlorinFiresky
Posts: 23
Registered: ‎07-12-2011
Message 2 of 4 (911 Views)

Re: Missing: AutoCAD 2011 Type Library

04-03-2012 04:20 PM in reply to: bellairej

Hi bellairej,

 

I have a very similar issue and it does appear to be a problem between Windows 32 and 64 bit environments.  I'm hoping that maybe you had come up with a solution to the problem as I am yet to find one and googling has only brought me here to your request that nobody seemed to answer.

Mentor
truss_85
Posts: 173
Registered: ‎02-13-2011
Message 3 of 4 (906 Views)

Re: Missing: AutoCAD 2011 Type Library

04-03-2012 10:57 PM in reply to: bellairej

Reason is, that there is no VBA for 64bit available from Microsoft, they did it just for 32bit and say if you have 64bit change to .NET platform and that's it.

 

Autodesk did now a trick to have it at least working, the create a separate 32bit-process doing the VBA-job and from 64bit-AutoCAD it sends all traffic through the operating-system to the 32bit-VBA, and every request from the VBA-process to any AutoCAD-geometry/variables/properties.... are also sent from the 32bit-process via operating-system to AutoCAD.

 

And this why you take one of the type library is missing. Unfortunately there is no solution for that because there is different libraries we talk about like "AutoCAD 2011 Type Library" and "AutoCAD 2010 Type Library".

Contributor
OlorinFiresky
Posts: 23
Registered: ‎07-12-2011
Message 4 of 4 (903 Views)

Re: Missing: AutoCAD 2011 Type Library

04-03-2012 11:06 PM in reply to: truss_85

Thanks truss_85, that certainly answers that question.  Now to learn .NET.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

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