Promis.e implements Microsoft's Visual Basic for Applications (VBA). Promis.e VBA has extensions to VBA that allow interaction to the design file elements and settings.
Several sample VBA macros are supplied with the product. For information about developing your own macros, see the MicroStation VBA Help (MicroStationVBA.chm) located in Promis.e 's program directory. You can also refer to sample VBA macros located in ..\Default\Macros\Examples\ folder in Promis.e 's program directory.
Visual Basic for Applications Configuration Variables
The following table lists the configuration variables that affect Visual Basic for Applications. Each configuration variable expects a valid value. An invalid value will not override a setting. You do not need to close and restart in order for the configuration variable change to take effect.
|MS_VBASAVEONRUN||Automatically save VBA projects||If set to 1, automatically saves modified VBA projects every time it starts running a VBA program.|
|MS_VBAAUTOLOADPROJECTS||Names of standard projects||Names of the projects that are opened when the VBA dialog is opened.|
|MS_VBASEARCHDIRECTORIES||Directories to search for VBA projects||Directories that are searched when opening an existing VBA project.|
|MS_VBANEWPROJECTDIRECTORY||Directory for new projects||Directory that is used when a new project is created.|