Msxml

H

Haris Bogdanovic

Hi.

I downloaded the latest Msxml and when I try:
var xhr = new ActiveXObject (Msxml2.XMLHTTP);
I get the error:
'Msxml' is undefined.
How do I correct that ?

Thanks
 
T

Thomas 'PointedEars' Lahn

Haris said:
I downloaded the latest Msxml and when I try:
var xhr = new ActiveXObject (Msxml2.XMLHTTP);
I get the error:
'Msxml' is undefined.

No, you get "'Msxml2' is undefined", if that.
How do I correct that ?

RTFM, RTFFAQ, STFW.


PointedEars
 
S

Steve

Haris said:
I downloaded the latest Msxml and when I try:
var xhr = new ActiveXObject (Msxml2.XMLHTTP);

var xhr = new ActiveXObject ("Msxml2.XMLHTTP");

http://msdn.microsoft.com/en-us/library/7sw4ddf8.aspx

Although there are no quotes in the formal definition, it's clear from
the examples that the ActiveXObject constructor expects a string.

BTW, if you're looking for JScript help you might have more luck posting
in microsoft.public.scripting.jscript. (I say "might" because traffic in
the group has decreased considerably since MS's poorly considered
decision to abandon uesnet in favour of web forums.)
 

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

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top