Visio Guy

Visio Discussions => General Visio => Topic started by: alk on November 13, 2022, 08:17:44 PM

Title: TOO MANY TEMPLATES OPENING
Post by: alk on November 13, 2022, 08:17:44 PM
Hi, I am still using visio2007, hope someone still remembers how to use it!
When I open a file to work on, it seems 20-30 templates also open in the background, this takes extra time and is annoying, how can I stop it?
See attachment.
Title: Re: TOO MANY TEMPLATES OPENING
Post by: Paul Herber on November 13, 2022, 08:30:45 PM
In your Visio settings (can't remember for sure where it is in V2007 - maybe Tools menu) go to Advanced -> File Locations
and check the Start-up location. If there is a path here then Visio will try to open any file that it recognises, templates, document, stencils, executable file, shortcuts  ...
Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 13, 2022, 08:39:27 PM
Thanks Paul, for the help now and other the past 10 years! I am not sure what these paths do. but I will play around with them. 'this is what I have for Start-up:  E:\Users\User\Documents\- WORK
Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 13, 2022, 08:46:51 PM
Nope, it did not work...come to mention it , I have the same problem with my visio2016 as well, where somethimes 50 templaes open, and the package freezes for a long time till everything has finished loading, it would be nice to get rid of the extra templates!
Title: Re: TOO MANY TEMPLATES OPENING
Post by: Paul Herber on November 13, 2022, 09:34:00 PM
Unless there is a good reason for a path to be set, it should be empty normally.
Title: Re: TOO MANY TEMPLATES OPENING
Post by: Surrogate on November 13, 2022, 09:37:25 PM
Quote from: alk on November 13, 2022, 08:17:44 PMit seems 20-30 templates also open in the background
It seems dozen stencils are opened !
Hope this macro (https://github.com/Surrogate-TM/surrogate-tm.github.io/blob/master/own/macro/vsd_CloseAllDockedWindowsAndDocuments.md) can helps...
Title: Re: TOO MANY TEMPLATES OPENING
Post by: Paul Herber on November 13, 2022, 09:44:26 PM
Give us a list of the names of the opened files.
Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 14, 2022, 06:46:19 AM
Here I cleared most of the paths except for my shapes, still the templates are opening.
I 'hide' all the templates away in another folder, I tried zipping the folder, and I tried moving the folder to a different location [My Docs], still all the templates open!
You wanted to know the names of the unwanted stenciles opening: Basic Flow Shapes (metric)1, "2, etc,
Then others I made of my own first mg:1, "2, "3,....."146 etc!
Any extra suggestions?

Title: Re: TOO MANY TEMPLATES OPENING
Post by: Surrogate on November 14, 2022, 07:38:55 AM
Quote from: Nikolay on September 23, 2014, 03:07:42 PM
visOpenNoWorkspace
If you dont want use VBA-code, try open your document with this option
(https://i.imgur.com/XDRP1ZH.png)
Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 14, 2022, 12:12:51 PM
Hello Surrogate, I am willing to give VBA a try, but I know nothing on how to use it, please advice step by step.
Title: Re: TOO MANY TEMPLATES OPENING
Post by: Surrogate on November 14, 2022, 01:39:38 PM
Sorry, but I haven't a lot time now, for write step-by-step.
Hope this animation can helps...
(https://i.imgur.com/jvMTHX9.gif)
Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 14, 2022, 02:13:33 PM
Thanks Surrogate, but still to complicated for me, my visio2007 does not seem to have the same options as yours. My visio2013 does, but I can't save it something to do with macro free, and I can't find macro enabled.
Is there a way I can move files around, or templated around so that visio won't find them, and thus not open dozens of them. Perhaps it you explained what is happening I can find a solution myself. Where are the files getting the templated to open multiple times?
Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 14, 2022, 02:18:17 PM
Surrogate,
Perhaps you can log on and show me?
AnyDesk 699827233
Title: Re: TOO MANY TEMPLATES OPENING
Post by: wapperdude on November 14, 2022, 02:51:30 PM
Uninstall / reinstall V2007?

Do you have 2 versions of Visio loaded on your PC?
Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 14, 2022, 02:57:03 PM
Hello Wapperdude,
Yes, I have 2007 and 2013. I generally work in 2007 (I like floating toolbars, and open vsdx from cliens in 2013).
What is happening, where are the files I open getting the templates from?
I am nervous to uninstall, and I can't image why it should remove the problem.
Title: Re: TOO MANY TEMPLATES OPENING
Post by: wapperdude on November 14, 2022, 03:42:35 PM
I've not tried running 2 versions of Visio, so I won't address any possible issues with that.

V2013 can do everything V2007 can and more.  I was a forever V2007 holdout.  But once I tried V2019, well, no looking back.

QuoteWhat is happening, where are the files I open getting the templates from?
This is a bit confusing.  When you launch Visio, the templates should already be available.  That when they get loaded...normally.  Opening a file, even one that was built from a template, should not call any templates.

In some of the earlier responses, I see what looks like an interchangeably use of "stencils" and "templates".  These are 2 very different entities.  Stencils are files that contain organized collections of shapes.  This type of file has .he's as basic root file extension.  A "template" is a mutations reference configuration file.  It may contain a basic layout drawing page, multiple stencils, page settings.  The user gets a convenient starting point.   At some point, the template gets appropriately named and filed as a drawing with a vsd type of extension.  The opening this saved drawing can recall all stencils that were open when last saved.

So, are you dealing with multiple stencils or multiple templates?

Next question, does this problem show up if you open the problem file in V2013?

Title: Re: TOO MANY TEMPLATES OPENING
Post by: Paul Herber on November 14, 2022, 03:53:02 PM
Looking at the PDF you posted in your first message, the 3 files down the left hand side all all stencils, in their sort of normal location. The other open files containing the quite complex thumbnail shapes are also stencils. What we can't see is the actual drawing. However, if you close all the shape files on the right-hand side, then save your diagram then all should be well.
Another however. Do you have my Visio Utilities installed? Have you setup a path for start-up stencils? If so then that could be where they are coming from.

Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 14, 2022, 04:46:53 PM
Yes Wapperdude, still holding out wint visio2007-without my floating toolbars and clip manager, I feel lost- if you tell me these 2 feature are also in visio 2013/2019 I may give it another try.

Yes the problem is with both visio2007 & 2013.

You are right-my problem is STENCILES, I got the terms mixed up. I have a standard TEMPLATE called 17, when I open it I want my standard stenciles attached, however many unwanted repeats of STENCILES open up as well.
Sometimes I need to wait a long time for an old file of mine to load because of all the stenciles I see opening up in at the same time as the file I am recalling.

...I decided to delete all the superfolous stenciles, I counted x147 of them!
-No path for stenciles in PATHS.
-I don't know what Visio Utilities is so probably don't have it installed.
Title: Re: TOO MANY TEMPLATES OPENING
Post by: wapperdude on November 14, 2022, 06:52:24 PM
Cool. 

147 is lot.  To be sure that would be slow and annoying.  You said you deleted those.  I presume you re-saved. If not, I fear you'll have to re-delete.  If you did save, does that solve your problem?

Since both Visio versions exhibited the problem, it would seem there's not a unique to one or the other.
Paul has developed an add-on, Super Utilities, which is a collection of "tools" to augment / provide solutions for frequent tasks that Visio either doesn't have, doesn't exist, or otherwise is obtuse.  Minimal cost.

The new GUI, beginning with V2010, packs a lot more, semi steadily available commands.  Some are not organized/placed as expected from earlier versions / common sense.  But, thru repeated use, you learn the idiosyncrasies.  I admit, such was the primary reason for my clutching onto V2007.  But once my fingers were pried open, and I experienced the expanded capabilities, object model...well, by V2019, Visio had settled down reasonably well.  Before I retired, work had V2010.  Ugh!  Each successive released version had performance improvements/features.

What specific V2007 features are you interested in?
Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 14, 2022, 08:26:54 PM
Hi, I have never heard of object modeling, my Visio needs are very simple, see my website.
Website: http://kPatentDrawings.com/

v2007 I like being able to use floating toolbars, and also Microsoft Clip Organizer, it is easy to drag and drop a new icon/shape into the Organizer, then simply move them accross to my store of wmf clipart folders.
-Name one useful feature for me, I notice that all the drawing tools are the same, only thing that attracts me is the smaller file size for vdsx, when I have large files eg 100mb, the saving time can be prohibitive!

I deleted and saved all the open files as you suggested, yes, there are no extra stenciles opening.
When I open an old file, I am getting an average of 4 extra stenciles, not bad, I think I probably saved them with extra stenciles open and there is no way to get rid of them now. I have 6k files which were saved with extra stenciles attached!

Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 15, 2022, 01:29:38 PM
PROBLEM SOLVED, GREAT wapperdude, one I did as you suggested, delete all the extr stenciles and save, they are not as bothersome as before, today I only have x4 extra ones floating around, beats 147! Now I can cut down on my tranquilizers!
Title: Re: TOO MANY TEMPLATES OPENING
Post by: Surrogate on November 15, 2022, 03:19:18 PM
Sholom !
Quote from: alk on November 14, 2022, 08:26:54 PM
Hi, I have never heard of object modeling, my Visio needs are very simple, see my website.
Website: http://kPatentDrawings.com/
Wow, you made these sketchs in Visio ?
Quote from: alk on November 14, 2022, 08:26:54 PM
I have 6k files which were saved with extra stenciles attached!
I modify my code for you there (https://gist.github.com/Surrogate-TM/a951d82662e9fae6079f371e37799076)
Title: Re: TOO MANY TEMPLATES OPENING
Post by: alk on November 15, 2022, 04:48:54 PM
Thanks S.,
Unfortunately I can't use it, to follow the video you sent me was too complicated for my zero VBA abilities.
Effort and assitance much appreciated.
Wapperdudes suggestion though seems to be working fairly well.