Using Visio viewer to show macro enabled drawings - visio

I'm trying to view a published drawing with Visio viewer that has macros (the target machine does not have Visio installed - just the viewer). The macros are not being run - is there any way using Viewer to allow this?

No, Visio Viewer does not support macros.

Related

Can I programmatically control / script Visual Studio Code?

I use AppleScript in my Mac for automating various processes in my computer. I know that Visual Studio Code does not have an AppleScript dictionary.
Is there any way to programmatically control Visual Studio Code eg using Python or any other programming language?
As an example I would like to programmatically get the path of the frontmost document.
I know that VSC has a JavaScript API . Can I use this for automation purposes?
I guess a lot of such automation / programmatic control can be done via the JavaScript extension API.
There is vscode.window.activeTextEditor, and that gives you document.fileName or document.uri for the filename, and selection.active to get you the cursor position (example).
It looks like this API allows for a lot of automation, e.g. moving cursor around, inserting text, etc.
There is vscode-ext (active fork) to write Python extensions. When you look at the code, you see that this provides a websockets bridge from JavaScript inside VSCode to Python in a separate process. This bridge could be use for controlling VSCode from some external process.
Further, I just learned about the Robot Framework / Robotic Process Automation (RPA) Framework (also with Python backend). I'm not sure but it might be helpful.

Does an Office Open XML inspector tool exist?

Does anyone know if a tool exists that lets you inspect Office Open XML (e.g., a Microsoft Word .docx file) in the same manner that Chrome lets you view the fully rendered web page alongside the underlying element structure and interact with it in real-time?
I am working on a project where I need to be able to do some fairly fine-tuned, programmatic manipulation of docx files. Having such a tool would really help provide a better understanding of the Office Open XML spec and its behavior.
Kind regards.
I am a contributor on a new VS Code extension that can modify OOXML parts and get diffs of the xml when there are changes from outside e.g. Word edits a document in real time the way you describe. You can get it on the VS Code Marketplace:
OOXML Viewer
And review the code on GitHub:
OOXML Viewer Repo
I am not aware of a convenient tool like that. It should be relatively easy to make an Add-in that gets the relevant OOXML from the document selection, but I couldn't find anything on the Office Add-ins Store, or Script Lab samples/snippets. (The closest I could find, might be this Web Add-in sample app).
With the Open XML SDK Productivity Tool, you can also modify document and use the Compare Files feature to see the changes in the OOXML, and the code needed to reproduce them.
There are few more tools for Visual Studio and Chrome mentioned on Eric White's Blog:
Open XML Package Editor Power Tool for Visual Studio
OOXML Tools Extension for Chrome

Is there an open-source tool for drawing OPC UA graphical notation?

Do you know about some drawing tool that supports the Graphical Notation described in the OPC UA standard Part 3 Annex D?
The notation is similar to UML but has some extra elements that map nicely to the OPC UA information model (like different types of references). This is an example of the notation:
It would be great if it was free, ideally open-source. Thanks.
There is a way to get the official OPC UA Specification Graphical Notation:
This requires a Windows PC with Office Word and Office Visio installed.
Download the Companion Specification Template (free after registering):
https://opcfoundation.org/developer-tools/specifications-unified-architecture/opc-ua-companion-specification-template/
Open the Word Document
Scroll to a Diagram in the first part of the document. Since all the drawings are embedded visio files, you can double-click to edit the graphical notation inplace.
Then select the graphical notation and copy/paste it to a new Visio Document
Use any part of the copied notation to create your own drawing
Yes Draw.io is good choise.
I have found recently one shape library for draw.io on github by Costantino Pipero. There are already created standard shapes.
You can just download .xml file and in draw.io you can import it in File -> Open Library from -> (choose from where you want import)
If you want edit this library or create your own - tutorial
If you have a Windows PC and Visio installed you can simply download the official Visio shape library form the OPC Foundation website: https://opcfoundation.org/guidelines-and-templates/
You can use draw.io: https://www.draw.io/
It's not an explicit tool for OPC UA but it supports all shapes, arrows and styling options.

Custom Banding option in Microstategy dashboard in 10.7 version

I am new to Microstrategy. I have installed Microstrategy Desktop 10.7 version. I am trying various options from microstrategy Tutorials(Basic Reporting Guide PDF). I found Custom Banding option is there in 9x version. I didn't find any Grid Menu or Custom Banding in 10.7 version. Can any one tell me how to get this option.
What was called MicroStrategy Desktop in version 9 is now called MicroStrategy Developer.
You should look for documentation for version 10+ for MicroStrategy Desktop or MicroStrategy Dashboard (similar functionalities but using the MicroStrategy iServer and Web interface, paid options :) ). Another name for the MicroStrategy Desktop (or web Dashboards) visualization was MicroStrategy Visual Insight.
About your question, check page 394, Dashboard Editor: Grid: Format.
If you open the Format panel after you selected a grid you should be able to see the Show Banding option. This will only color every other row of your grid.
If you want something more advanced, like colors based on values in the cells, you should use thresholds.

GTK# GUI designer for Visual Studio 2015

I'm trying to make an application in C# that can download, install and manage various games that I and a few friends'll be making.
I know how I'm gonna do it, but I want users to be able to use this app on both Windows and Linux as most games will run on both. That's not the big issue, I know how I'm gonna get that working. Ohhhh, the power of Mono and GTK#.
The issue is, however, that for GUI-designing I can't figure out how to design GTK windows within Visual Studio just like you can with Windows Forms. I don't know if there's an add-in or whateverthelike, I just need some way of designing my GUIs for Linux.
I am running Visual Studio Express 2015, on Windows 10.
I have never seen a public version of a Visual Studio embedded GTK (+/2/3) Designer, let alone one that supports GTK#.
As far as Mono GTK# goes, it's designer is called 'Stetic' and is embedded into MonoDevelop/Xamarin Studio.
Stetic has a GUI based designer but also uses the files produced from that designer to generate the C# code from a xml file (gui.stetic) and combine that with user written code (actions/events/etc...) via C# partial classes.
You can also use the Glade Designer (older versions) and import them into MD/XS and it will convert them to a gui.stetic files and thus create the C# classes for your UI. This is what I used to do when I needed to knock out a complex GUI prototype quickly. Stetic can really try your patience with the ways it works, but in the end, personally I would skip the Stetic and Glade GUI designers and just code the GTK# containers, widgets and actions in straight C#.
http://www.monodevelop.com/documentation/stetic-gui-designer/
Stetic GUI Designer Move to Glade for Gtk#3
GUI building with GTK#
MonoDevelop editor GUI designer
https://glade.gnome.org