Hi Paul and Wapperdude,
I've been wrangling this - and unsuccessfully troubleshooting this for some time. I haven't made progress, unfortunately. Here are the things I know:
Specs:
Visio 2016
Windows 10
This behavior is not observed on all my Visio files, which implies it's limited to the corrupted files, not the installation (?). When I resave the corrupted file to a new file, stencil mange will follow. It's still there when I close and reopen a file. Fwiw, I suspect this problem occurred from putting my computer in sleep mode, while I had a large (around 100 page) unsaved Visio file open. I also suspect that when non-corrupted files get crashed due to another concurrently-open, mange-having file crashing, the non-corrupted file inherits the mange.
Hopefully that made a little sense.
More facts -
When a corrupted file is open, three "mange" stencils open in [Read Only] mode with this file. The mange stencils are open as independent windows, from the View>Switch Windows dropdown. I have other stencils open within the Shapes panel; the mange stencils are the only ones that are presented as Read Only, and in this way. Sometimes when I close the parent file, sometimes, I'm able to view the Read Only stencil in its own window on screen, without crashing Visio. I can navigate to the File Menu, and Visio will usually crash after that.
The three mange stencils are:
Miscellaneous Flowchart Shapes
Network & Peripherals
Network & Peripherals - 3D
I used these stencils a long time ago, but these files do not utilize any of the shapes in these stencils.
As mentioned, I can see these stencils listed in My View>Switch Windows list. As long as I never navigate to view the read only stencils, the parent Visio file can stay up without crashing.
Upon viewing one of the "bad stencils", Visio will do the following:
Crash
Reboot
Valiantly pull up the file that crashed (the stencil)
Crash again until I make it stop.
Opening the corrupted file directly from a file directory is reliable and stable.
Questions/Hypotheses?
A) Is there some code-based way to open associated shapes/stencils associated with a Visio file, and manually close them?
B) Could I surgically remove these three stencils from my Visio installation, and if so, how? I'm not working at a hardware or chip company now, so I don't need them....
C) Even if I do A or B, how can I prevent mange from re-occurring?
Thank you ever so much,
Trinity