• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

msxml3.dll prob

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when I search for msxml3.dll in the files and folders, the search results show that I have msxml3.dll installed on the machine.
but when I type this code in notepad I get an error message(the catch part of the code is displayed)
1. can anybody tell me why
2. and on this line
var objXMLDOM = new ActiveXObject ( "Msxml2.DOMDocument.3.0" ) ;
why do we have a Msxml2, what is the 2 for
Here is the code:
<html>
<head>
<title>Test MSXML Install</title>
<head>
<body>
<script language="JScript" type="text/javascript">
try {
var strXML = "<?xml version='1.0' ?><AnyElement>Some text</AnyElement>"
var objXMLDOM = new ActiveXObject ( "Msxml2.DOMDocument.3.0" ) ;
objXMLDOM.loadXML(strXML) ;

//If no exception is raised MSXML 3 is installed.
document.write("MSXML 3 is installed on your machine.") ;
}

// If there is an exception it could be a coding error but
// it is likely that MSXML 3 is not installed.
catch (e)
{
document.write("MSXML 3 is NOT installed on your machine.");
}
</script>
</body>
</html>
 
No, tomorrow we rule the world! With this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic