I'm working on this batch processor in VB6.
Currently, you click a button and it opens a selected drawing in AutoCAD. The VB
form stays open while you do some stuff in AutoCAD. My problem is that
when you close AutoCAD, and try to run the processor again, you get
"Runtime error '462': The remote server machine does not exist or is
unavailable." I know this is because I have eliminated the AcadApplication
by closing it.
So, how can I perform a check to see if an instance
of AutoCAD is available, if so assign it, and then if not recreate
I tried resetting acad (Dim acad as New
AcadApplication, and Dim dwg as AcadDocument) everytime the Proceed button is
clicked, but I need the variable to be Public so I can accesses it from a second
Any ideas would be great