determine web publishing parameters from shapesheet?

S

Scott

Is it possible to determine the settings of web publishing parameters from
the shapesheet? For example, the user can select a graphic format (gif, jpg
or png) as an "alternate format for older browsers". Can I determine which
value is currently set by using a shapesheet formula? Failing that, can I
access the settings from VBA?
 
P

Paul Herber

Is it possible to determine the settings of web publishing parameters from
the shapesheet? For example, the user can select a graphic format (gif, jpg
or png) as an "alternate format for older browsers". Can I determine which
value is currently set by using a shapesheet formula? Failing that, can I
access the settings from VBA?

You can get the settings from the registry, if the setting doesn't
exist in the registry then the default value is used.

The location in the registry depends slightly upon the Visio version
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Visio\Solution\SaveAsWeb\settings
is a good place to start (for Visio 2003).
 
S

Scott

You can get the settings from the registry, if the setting doesn't
exist in the registry then the default value is used.

Thanks, Paul. So there's no handy-dandy shapesheet function that will let me
get the value then? I'll need VBA or other code to accomplish this?
 
P

Paul Herber

Thanks, Paul. So there's no handy-dandy shapesheet function that will let me
get the value then? I'll need VBA or other code to accomplish this?

Looks that way, and bear in mind that if the function hasn't been used
or only the default values have been accepted then there won't be any
appropriate registry entries at all. You'll have to play around with
each setting to find out what the registry key names are.
 

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