This project has moved and is read-only. For the latest updates, please go here.


Visio shows "Compile error" message box when loading one of the StaMa diagrams


When loading (or after enabling the macros of) one of the StaMa diagrams an error message box as attached is displayed and the Microsoft Visual Basic for Applications environment is shown.
The code generator doesn't work.

file attachments


RolandSchneider wrote Aug 17, 2015 at 4:38 PM

This issue is caused by using the 64-bit version of Visio with StaMa diagrams up to and including version
Unfortunately there is no solution to use StaMa diagrams with the 64-bit version of Visio, as the StaMa code generator macros use the Microsoft Script Control (msscript.ocx) which is only available for 32-bit applications.
See also Limitation to Visio 32-bit version in the developers guide.

Please use the 32-bit version of Microsoft Visio.

wrote Tue at 9:32 PM