Localizing a .NET office extension (desktop)

This article summarizes my experience on translating office add-ins to multiple language. It is not an official guide, but just how you could do it. It assumes you have an office extension (VSTO, desktop) in a single language, and want to provide it in some other languages for users in other countries. GitHub demo repository: https://github.com/nbelyh/VstoMultiLanguageDemo For generic information on localization on application localization in .NET, please refer the official Microsoft documentation: https://docs.microsoft.com/en-us/dotnet/framework/resources/index The steps I suggest:

SvgPublish updated 1.2.11

The SvgPublish extension has been updated to version 1.2.11 Visit the extension’s page: https://unmanagedvisio.com/products/svg-publish/ Download the latest version: https://unmanagedvisio.com/download/svgpublish/SvgExport-1.2.11.msi Summary New: Translations for German and Russian languages. Now all options and exported elements can be displayed in these languages. Japanese translation is ongoing. Fixed relative links behavior. Please see the related article for the details. Fixed layer behavior. Now in case when shape belongs to multiple layers, the show/hide logic corresponds one-to-one to the Visio layers logic. Also, now by default only the layers visible in Visio are toggled on; invisible layers are toggled off by default on export. New: …

SvgExport updated 1.2.10

The SvgPublish extension has been updated to version 1.2.10 Download to the latest version: http://unmanagedvisio.com/download/svgpublish/SvgExport-1.2.10.msi Visit the extension’s page: http://unmanagedvisio.com/products/svg-publish/ The summary of the recent updates and bugfixes: New: add “hover + click” tooltip and popover behavior. This feature is supposed to solve the problem when you want to publish tooltips or popovers, that have some hyperlinks in the text body. Now you can enable them to show up and disappear if the user moves the cursor outside of the shape. However, they will stay if the user has clicked on the shape. The new setting is shown on the screen below, …

Book: Mastering Data Visualization With Microsoft Visio Professional 2016

Recently finished reading the David Parker’s “Mastering Data Visualization With Microsoft Visio Professional 2016” book. Highly recommended if you already have some experience with Visio and want to know more about its data visualization capabilities, and how these can be used in your infrastructure. Some unique topics covered – creating custom data graphics and Pivot Diagram Add-on.

Starting PuTTY from an exported HTML diagram

Consider a following scenario: you have a diagram containing network devices (servers) and you want to start PUTTY client when any of those devices is clicked to open SSH session to a corresponding device. And you want that to be on a webpage.
A possible solution to that on windows is to register a custom application protocol and map it to launch an executable. You can see a common example when “callto:” link opens Skype. Here are some explanations. This works for all major browsers, works also in Visio (without any macros).
With Visio (and a tiny SVG Publish script), this approach can be improved. Suppose you have a rack diagram, which already has all server addresses ready. SVG Publish can convert the data into custom links that can be used to launch an executable (PuTTY in this example).

Command line to import/export Visio VBA code

The import/export VBA extension supports not only the UI (button-click), but also command line interface! It was not initially documented (now it is), but the tool includes command-line utility as well, so that one can use it with powershell script or a batch file (for batch processing of files), or in any other automated way. For this functionality MSI (full) version is required:  Below are some examples of what can be done using command line.