Author Topic: DbConnect and VBA  (Read 2315 times)

0 Members and 1 Guest are viewing this topic.

Matersammichman

  • Guest
DbConnect and VBA
« on: October 01, 2007, 11:47:50 AM »
Can VBA be used to call up DbConnect?

deegeecees

  • Guest
Re: DbConnect and VBA
« Reply #1 on: October 01, 2007, 11:51:11 AM »
Absolutely, through CAO:

AutoCAD.GetInterfaceObject("CAO.DbConnect.16")

Matersammichman

  • Guest
Re: DbConnect and VBA
« Reply #2 on: October 01, 2007, 12:22:27 PM »
So, if I want to create a label on the fly, is that posssible?

deegeecees

  • Guest
Re: DbConnect and VBA
« Reply #3 on: October 01, 2007, 12:34:51 PM »
So, if I want to create a label on the fly, is that posssible?

I'm using AC2004 at the moment, haven't had a chance to really dig into any newer versions of the product, so "labels" are kinda off the map for me. Try searching the "Developer Help" files, if they're available to you.

Matersammichman

  • Guest
Re: DbConnect and VBA
« Reply #4 on: October 09, 2007, 12:43:13 PM »
What version is 2007? (not 16...)

deegeecees

  • Guest
Re: DbConnect and VBA
« Reply #5 on: October 09, 2007, 12:45:59 PM »