We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Working with vbaProject on Linux systems brokes vba in visio file

Attached example works fine on Windows systems. But after running it on Linux system resulted visio file has few issues:

1) module MTest disappears
2) clicking “Run macro” button on VBA editor generates error about incorrect code syntax even there is no any code in modules (Screenshot1.png)
3) clicking “Macros” button on Developer tab generates error (see attached Screenshot2.png)

Hi Dmitry,

Please confirm us that you’re using the latest version 16.11.0 of Aspose.Diagram API in the Linux environment. If you are using an older version, then please update it with the latest version 16.11.0 and let us know how that goes on your side. However, if you are already using the latest version, then please share Linux environment details e.g. operating system version and edition, Java builds, IDE name and edition along with resultant Visio drawing. We’ll investigate and reply you appropriately.

Yes, I’m using 16.11.0. Can be reproduced on Linux Mint 18 with Oracle jdk 8u112. Example to reproduce was attached to first post. Also the same issue was confirmed for Aspose.Cells here:

<a rel=“nofollow” href="
Hi Dmitry,

Thank you for the details. We managed to replicate the said problems on our side. We have logged tickets in our bug tracking system as below:

DIAGRAMJAVA-50443: Editing of a VSDM drawing disappears a VBA module on Linux Systems
DIAGRAMJAVA-50444: Editing of a VSDM drawing shows an error of incorrect code syntax on Linux Systems
DIAGRAMJAVA-50445: The VBA is not being initialized due to the editing of a VSDM drawing on Linux Systems

Your post has also been linked to these tickets. We'll keep you informed regarding any available updates. We're sorry for the inconvenience caused.

Hi Dmitry,

Thank you for being patient. We have a good news for you that the ticket IDs DIAGRAMJAVA-50443, DIAGRAMJAVA-50444 and DIAGRAMJAVA-50445 have now been resolved. If there is no issue in the QA phase, then their fixes will be included in the next version 16.12.0 of Aspose.Diagram for Java API. We’ll inform you via this forum thread as soon as the new release is published.

Hi Dmitry,

Thank you for being patient. In reference to the ticket IDs DIAGRAMJAVA-50443, DIAGRAMJAVA-50444 and DIAGRAMJAVA-50445, please download and use the latest Hotfix version: Aspose.Diagram for Java 16.11.2. Please also let us know how that goes on your side.

The issues you have found earlier (filed as DIAGRAMJAVA-50445;DIAGRAMJAVA-50443;DIAGRAMJAVA-50444) have been fixed in Aspose.Diagram for Java 16.12.0.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.