Determine Visio edition

N

Nikolay Belyh

How do I determine wich Visio 2007 edition (Standard / Professional)
is installed (programmatically)?
What is the right way to do this thing?

Kind regards, Nikolay.
 
J

JuneTheSecond

I don't know whether Version property includes information about edition.
I've hard that some addons are not includede in standard edition.
You might know the edition, if you check addons using addons property.
 
N

Nikolay Belyh

Thank you for the response.

Unfortunately the edition information is not included in Version/
FullBuild property.
On both edition Version="12.0", FullBuild="806228390"
Examinig addons collection is an option,
but it does not sound as a robust (right) way to go... does it?

I had an idea of checking MSI product information about installed
products,
but maybe there is an easir way to go? Digging MSI info is not that
fun, actually...

I mean, for example, Office's SKUs (Stock Keeping Units, i.e.
editions)
product id's are documented: http://office.microsoft.com/en-us/orkXP/HA011364611033.aspx
What about Visio's SKUs?

Also, I have found following key in the registry:
HKLM\SOFTWARE\Microsoft\Office\12.0\Visio\Edition

For "Professional edition" the value is "PRO", for "Standard edition"
the value is "STD"
Can this key be trusted for edition detection?
Are other values (beside from "PRO" and "STD") possible?

Kind regards, Nikolay.
 
N

Nikolay Belyh

Actually, I need to know not the edition; I need to know if
'shape-graphics' and the 'shape-data' features are supported by Visio
(2007) or not.
"Pro" does support them, "Standard" does not.
 
A

Al Edlund

You might try to see if one of the datarecordset methods works against the
document. datarecordsets is only in the professional version, so if you get
an error you know you're in standard.
al
 
N

Nikolay Belyh

Al, thank you for the response.

The problem is, I don't have a document when I need this information..
This information will be used to enable/disable certain (application-
level) features in the addin..

Kind regards, Nikolay.
 

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