.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

cao.dbconnect.18

2 REPLIES 2
Reply
Message 1 of 3
mendesva
792 Views, 2 Replies

cao.dbconnect.18

Hi all,

I'm lost...

What do I have to do so this line of code works?

dim dbc as object = createobject("CAO.DbConnect.18")

Error message:

"Unhandled exception has occurred in a component in your application...

...

Cannot create ActiveX component"

 

As Reference I have "CAO 1.0 Type Library" but instead of a path it shows:

"<The system cannot find the reference specified>" 

The referenced file is "Program Files\Common Files\Autodesk Shared\cao16enu.tlb"

I don't have any cao18enu.tlb file if that is what is needed... 😞

 

Is there a way to reach the LinkTemplates and LabelTamplates whithout CAO.DbConnect?

 

I'm running Autocad 2011 64bit on a Win7 64bit  machine.

Using Visual Basic 2010 Express

 

 

 

Thanks everybody.

 

2 REPLIES 2
Message 2 of 3
wesbird
in reply to: mendesva

try cao.dbconnect.16

Windows 10 64 bit, AutoCAD (ACA, Map) 2023
Message 3 of 3
mendesva
in reply to: wesbird

I did but nothing hapens.

As said befor, when I reference the "CAO 1.0 Type Library", the reference path shows 

"<The system cannot find the reference specified>" 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost