Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to check office version by VBScript/JavaScript

Status
Not open for further replies.

fairfaxVB

Programmer
Nov 3, 2005
46
US
Hi Friends,
I use office web component for web chart. I need to detect user's office version by VBScript or JavaScript.
So we can use different class id for chart.
Thanks for any code!

Thanks

FA
 
You can modify this:
Set objFSO = CreateObject("Scripting.FileSystemObject")
Wscript.Echo objFSO.GetFileVersion("c:\windows\system32\scrrun.dll")

This is good for a local computer only, not over a network.
 
Hi fneily,
Thanks for your help.
this code is running in web chart application for choose different chart class.
How can I run your code?
may i have emample?

nice weekend
FA

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top