470,648 Members | 1,511 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,648 developers. It's quick & easy.

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

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

Dec 26 '06 #1
3 3343
ba*****************@gmail.com 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.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Dec 26 '06 #2

hi randy,

Is there any sample code for this

Dinesh

Dec 26 '06 #3
ba*****************@gmail.com wrote:
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

--

Martin Honnen
http://JavaScript.FAQTs.com/
Dec 26 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Leon Gorbaty [Bentley] | last post: by
3 posts views Thread by Sharon | last post: by
2 posts views Thread by Norman Chong | last post: by
zeehere
1 post views Thread by zeehere | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.