Ok! in AutoCad R14 you can use it via OLE like this.
I can do:
oACAD= createObject("Autocad.Application")
oACAD.Visible= .t.
...
oACAD.Quit
But doing VBA in AutoCAD is like open form in AutoCAD.
Any one know how you can do this?
>I haven't done it but it's completely doable. In ver 14 Look in AutoCad help under ActiveX Automation.
>
>Looks like there is some good info there to get you started.
>
>BTW, you can automate it from vfp (although dealing with arrays can be funky).
>
>hth
>
>>I know how to use VBA. But how can I use VBA with AutoCAD. It looks like it passable according to AppDev training.
>>
http://www.appdev.com/autocad/default.asp?NewPage=/autocad/home.htm>>
>>Any one knows how to insert VBA development in AutoCAD?