How to determine the version of the MSXML installed on a computer

  • Thread starter balakrishnan.dinesh
  • Start date
B

balakrishnan.dinesh

hi frnds
How to determine the version of the MSXML installed on a
computer and
How to determine the version of the MSXML used by Internet
Explorer
through javascript code.

Can anyone say me , Is there any way to find this thing ?

Waiting for ur quick response

Thnak & Rgrds
Dinesh
 
R

Randy Webb

(e-mail address removed) said the following on 12/26/2006 12:32 AM:
hi frnds
How to determine the version of the MSXML installed on a
computer and

Test for it.
How to determine the version of the MSXML used by Internet
Explorer
through javascript code.

Test for it.
Can anyone say me , Is there any way to find this thing ?

Yes.
 
M

Martin Honnen

How to determine the version of the MSXML installed on a
computer and

There are several MSXML versions that can be installed side by side on
the same system so there is not necessarily "the MSXML version" on one
system but rather several can be there.
With script you can check e.g. for MSXML version 6.0 whether you can
instantiate objects
try {
var xmlDocument = new ActiveXObject('Msxml2.DOMDocument.6.0');
}
catch (e) {
// handle case here that MSXML 6.0 DOMDocument can't be
// created as ActiveXObject
}
Inside of IE that will tell you whether your script can create that
object. If you end up in the catch clause that can however have at least
two reasons:
1) MSXML 6 is not installed
2) or creating such ActiveXObjects is not enabled for the zone your
script is run in
 

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

Members online

Forum statistics

Threads
473,754
Messages
2,569,527
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top