This project has moved. For the latest updates, please go here.
1

Resolved

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

description

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

comments

RolandSchneider wrote Aug 17, 2015 at 3:38 PM

This issue is caused by using the 64-bit version of Visio with StaMa diagrams up to and including version 2.3.0.1.
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.