Bentley Example - MicroStation VBA Events


The attached MSVBAEvents.mvba example can be used as a basis/template for a multitude of general VBA event testing needs and handle a number of common needs like Launching VBA Applications and Using OnProjectLoad or DesignFile Open/CloseModel Activate before/afterEnterIdleView Redraw before/after, and some very basic UserForm events too.  Note there is a use of "Stop" in the OnProjectLoad event to open the VBA debugger so you can view the (trace) events in the order called - just press F5 to continue.

SAMPLE TRACE OUTPUT:
Sample Trace Output

EXAMPLE PROJECT:

Download: MSVBAEvents.zip