Author Topic: VBA Enabler  (Read 3903 times)

0 Members and 1 Guest are viewing this topic.

BRad

  • Guest
VBA Enabler
« on: June 28, 2013, 01:53:45 PM »
Is there a sysvar that can be queried to determine if the VBA enable is running in the session?  Will it always run if installed, or can it be "demand" enabled and\or disabled?

CADDOG

  • Newt
  • Posts: 82
  • wishbonesr
Re: VBA Enabler
« Reply #1 on: July 23, 2013, 03:44:03 PM »
If installed, then running - kinda.  The whole thing doesn't get in memory until some vba command initializes it (vbaman, vbaload, vbarun)
You can search for file AcVba.arx in installation path of AutoCAD for it's presence that indicates it is loaded.

ex.  C:\Program Files\Autodesk\AutoCAD 2012\acvba.arx

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: VBA Enabler
« Reply #2 on: July 23, 2013, 03:48:44 PM »
If you need to do it programmatically, you can use the FINDFILE function.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io