OpenEx and visOpenHidden

P

Paul Herber

I'm trying to test for the presence or otherwise of various stencils
using OpenEx with the visOpenHidden attribute. I need this to operate
with Visio 2000, 2002 and 2003.

However, visOpenHidden seems to do odd things in Visio 2000. Was this
a new feature added in Visio 2002?

MTIA.
 
C

Chris Roth [ Visio MVP ]

I can't say for sure, but your guess sounds reasonable. OpenEx has been
around since 4.0, but I'm not sure about the hidden file capabilities.

If you have the Visio 2000 developer's reference installed, you can check
for sure. But my (weak) memory thinks that the 2000 - 2002 timeframe is
where hidden-file-opening became available.

But if you trying to see which stencils are open, you just need
Visio.Application.Documents, and for older versions, there's a
..DockedStencils method that gives you a string array of stencil names.

--

Hope this helps,

Chris Roth
Visio MVP
 
P

Paul Herber

I can't say for sure, but your guess sounds reasonable. OpenEx has been
around since 4.0, but I'm not sure about the hidden file capabilities.

If you have the Visio 2000 developer's reference installed, you can check
for sure. But my (weak) memory thinks that the 2000 - 2002 timeframe is
where hidden-file-opening became available.

But if you trying to see which stencils are open, you just need
Visio.Application.Documents, and for older versions, there's a
.DockedStencils method that gives you a string array of stencil names.

Thanks Chris,
Looks like Visio 2000 just ignores the invisible attribute.
The purpose is to remind users to download extra stencils after
entering a registration key.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top