Client-side MS Office/Excel versions

B

BobS

I'm writing a Web App which streams Xml Excel data back to the client
and would like to know what version of MS Office/Excel the client has
installed. Is it possible to examine the incoming client Request, etc.
server-side to make this determination - sort of along the lines of
checking for browser level or use of .Net on the client?

Thanks,

-- Bob S --
 
D

David M. Andersen

Sniff it on the client side using javascrip
var xyz = new ActiveXObject("OWC11.DataSourceControl.11")
// this causes an exception if OWC11 isn't installe

you can set a cookie indicating the presence of OWC11 and grab it in Request.Cookies on the server side on the NEXT page access. By this time, it is too late for the current page
 
B

BobS

Hi David,

Just what I was looking for - many thanks!

From your frag I inferred that OWC10 => Office XP and used both in a
nested try/catch set on the client to check for the XML-based Excel
versions. Works great, thanks for your help.

-- Bob S --
 

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