Recent Posts

Pages: [1] 2 3 ... 10
1
Haven't tried this before, but, get same thing with V2019.  But, I'm not convinced it's a bug, just don't know how to prove it.  It occurs to me that the creation date in the PDF reflects the creation date of the PDF itself, not the date of the Visio file.  Of course, this would be unfortunate from a documentation perspective. 

2
Searching the internet, this appears to be an Office 2016 installation problem, not a Visio 2016 issue.  To verify, try putting your Excel selection into Word or PP.  Then, double click.  Should see the same issue.   

See this:  https://answers.microsoft.com/en-us/msoffice/forum/all/office-2016-xls-file-wont-open-on-double-click/12504b15-4f53-4f3c-a691-723f2c38e5c3
3
Programming & Code / Re: Best Ways to Hide Shapes on a page?
« Last post by wapperdude on July 17, 2019, 04:23:39 PM »
Interesting.  Here's a few more links that might be of interest...at least, provide some ideas. 
http://visguy.com/vgforum/index.php?topic=6373.msg26266#msg26266  This allows the user to select a shape, then see outgoing or incoming or both connections.  It can also provide the shortest path between two shapes.

http://visguy.com/vgforum/index.php?topic=5936.msg23931#msg23931  This focuses more on just shortest path.

miscellaneous connectivity ideas:
http://visguy.com/vgforum/index.php?topic=8701.msg38015#msg38015
http://visguy.com/vgforum/index.php?topic=8702.msg38020#msg38020

4
Visio 2016 Issues (!) / Combo Boxes in PDF Files
« Last post by welchdw2 on July 17, 2019, 03:52:53 PM »
I created a drawing with combo boxes for a test.  Once all combo boxes have an answer selected, using VBA I save the file as a PDF format.  But when I open the PDF file, the combo boxes all show empty.  Any suggestions?
5
Programming & Code / Re: Best Ways to Hide Shapes on a page?
« Last post by bwharrington on July 17, 2019, 02:15:53 PM »
@bwharrington:  I think the point here is that you can get quite detailed in hiding shapes.  There is one other aspect, and maybe this is part of the driving factor...The shapes, though hidden, are still there.  So, some could place other shapes over the hidden ones.  That may or may not be OK.  But it could have implications with selection and shape movement/sizing...either accidentally or intentionally.

You hit the nail on the head here. I've been doing some experiments trying to find the best way to hide or show shapes. Our original implementations just set the visibility properly on the shape itself. That's just OK. In small models that may work but some of our customers and my project manager thing its clunky and I would attend to agree because as you mentioned, they shapes are still there.

I knew about the layer method but before I set on this magic refactoring journey I wanted to get all opinions. Thank you so much for providing yours. I really appreciate it. 
6
Programming & Code / Re: Best Ways to Hide Shapes on a page?
« Last post by bwharrington on July 17, 2019, 02:12:05 PM »
I'm currently on modeling software that allows users to import data objects from our CRM Cloud. We model these objects into two categories, Shapes and Connectors. Shapes represents just about anything you can think of and have properties. Connectors describe relationships between shapes.

Its not necessary that I need to hide ALL shapes but certain ones. Mainly connectors. In my case I want customers to be able to selected a shape and hide/show all incoming out outgoing connectors. Alternatively they can hide ALL connectors or Show them.

I've attached a simple drawing that may provide reference.

7
General Visio / Re: Protect custom stencil shapes from themes
« Last post by Blackhawk on July 17, 2019, 01:34:14 PM »
To some extent yes, but the problem is, I have a lot of different types of shapes and it takes a bit of time to discern what is all required.

For example, some shapes are just simple lines.   So the only way to protect those, seemed to be protecting the Format option, but then that affects the ability to change the arrows when in the document (which I need that ability).

Other times, the shapes are composites which some shapes need protecting in one way, and other shapes need it differently.   It became quite a daunting task to test all the possibilities of what to protect and what not to.   It wasn't like I had hoped which was just loop through all the shapes and subshapes setting all the theme properties to 0.   Sometimes they had formulas in them. 

I have learned that Visio is pretty damned powerful, but also frickin complicated if it doesn't behave like you want it to.   It would be nice if the "Theme Protection" settings just worked, but there seems to be so many other factors that get in the way.

Maybe when I am bored and have nothing better to do with my life, I will go back in and figure this out.  Right now, I gotta get stuff done.   :o
8
General Visio / Re: Protect custom stencil shapes from themes
« Last post by vojo on July 17, 2019, 01:24:14 PM »
one last suggestion:  Have tried guarding the theme cells themselves?
9
Programming & Code / Re: Best Ways to Hide Shapes on a page?
« Last post by vojo on July 17, 2019, 01:22:14 PM »
apologies...trying to be sarcastic as in why would you want to hide ALL the shapes.
Now, I could see a "hide all but selected" option being useful...but not sure why "hide all shapes"
10
General Visio / Re: Protect custom stencil shapes from themes
« Last post by Blackhawk on July 17, 2019, 11:18:05 AM »
Just want to say thanks to everyone for your assistance.   

I ended up having to abandon the effort once again.  No matter what I do I still keep running into issues where Visio tries to change things despite protection settings, shapesheet guard formulas, etc., and it is taking WAY WAY too much time to debug and write code to make it work properly.   Such a shame...

The solution at the moment is to disable themes in the document and then everything works.   That is too bad because I would like other shapes to be themed in the same document but just leaving my stencil shapes alone.   

Once again, thanks for helping.   I learned some interesting things about Visio (quite frankly, however,...shouldn't need to know for this type of problem) that perhaps I can apply at some point down the road for other things.

Keep up the great work with the forum!
Pages: [1] 2 3 ... 10