Type 'MSXML2.XMLHTTP40' is not defined

B

Big George

Hello,

I'm trying to write a code in ASP.NET 3.5 using MSXML2
However, type 'MSXML2.XMLHTTP40' is not defined

ASP.NET doesn't recognize: Imports MSXML2

In my Widnows XP, I don't have any: c:\windows\system32\msxml2.dll

What is missing here or what should I install to be able to use
MSXML2.dll

Code Snippet:
Dim xmlReq As MSXML2.XMLHTTP40 = New MSXML2.XMLHTTP40
Dim xmldom As MSXML2.DOMDocument = New MSXML2.DOMDocument
Dim xmlRoot As MSXML2.IXMLDOMElement
Dim xmlNode As MSXML2.IXMLDOMNode

Thanks !
 
M

Mr. Arnold

Big George said:
Hello,

I'm trying to write a code in ASP.NET 3.5 using MSXML2
However, type 'MSXML2.XMLHTTP40' is not defined

ASP.NET doesn't recognize: Imports MSXML2

In my Widnows XP, I don't have any: c:\windows\system32\msxml2.dll

What is missing here or what should I install to be able to use
MSXML2.dll

Code Snippet:
Dim xmlReq As MSXML2.XMLHTTP40 = New MSXML2.XMLHTTP40
Dim xmldom As MSXML2.DOMDocument = New MSXML2.DOMDocument
Dim xmlRoot As MSXML2.IXMLDOMElement
Dim xmlNode As MSXML2.IXMLDOMNode
It's part of MDAC. You have to find out what version of MDAC from MS you
must download and install that the version that has the DLL you are looking
for.

MDAC is most likely on the machine due to a SP. You need to search the HD
looking for the DLL.
 

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,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top