excel versions installed detection

G

Gary Howlett

Hi,

How can I perform the follwing in vb.net....

1) detect which versions of excel i have installed on the machine.

2) open a particular version of excel that i choose

Many Thanks

Gary
 
C

Cindy M.

Hi Gary,
How can I perform the follwing in vb.net....

1) detect which versions of excel i have installed on the machine.

2) open a particular version of excel that i choose
Mmmm. You are aware that Microsoft doesn't support
multiple/parallele installations of Office versions? The better
strategy is to use virtual machines...

It can be done. It involves looking up Registry keys in HKCLR. You
start by checking for the presence of keys such as
Excel.Application. For each version installed (or that has been
installed) there should be a top-level entry. Look up the CLSID
value, then search that in the Registry to get the entry for that
version. The default value of LocalServer32 sub-entry will give you
the full path to the exe file.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17
2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :)
 

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