T
tweety
I had a problem with IE 6.0.2800. The responseText property of the
XMLHTTP object was giving an error.There was a bug in msxml dll. so i
upgraded to
msxml4 and changed the code to the following:
try
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0");
}catch(e)
{
try
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (E)
{
alert ("Please upgrade your Internet Explorer.Aborting ... " );
}
}
If msxml 4 is installed in the system then the code works fine.If there
is no msxml4 then it doesnt work. It gives an error
"Could not set value property".
If the code is like this:
try
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}catch(e)
{
try
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0");
}
catch (E)
{
alert ("Please upgrade your Internet Explorer.Aborting ... " );
}
}
then it works in a system without msxml 4 but gives the same error
"Could not set value property" in a system with msxml 4.
Why doesnt it take the statement inside the catch and create the
object?
This problem is only with Windows 98.
XMLHTTP object was giving an error.There was a bug in msxml dll. so i
upgraded to
msxml4 and changed the code to the following:
try
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0");
}catch(e)
{
try
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (E)
{
alert ("Please upgrade your Internet Explorer.Aborting ... " );
}
}
If msxml 4 is installed in the system then the code works fine.If there
is no msxml4 then it doesnt work. It gives an error
"Could not set value property".
If the code is like this:
try
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
}catch(e)
{
try
{
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.4.0");
}
catch (E)
{
alert ("Please upgrade your Internet Explorer.Aborting ... " );
}
}
then it works in a system without msxml 4 but gives the same error
"Could not set value property" in a system with msxml 4.
Why doesnt it take the statement inside the catch and create the
object?
This problem is only with Windows 98.