compiler error message

J

Jon Paal

how do I "define" 'MSXML.XMLHTTPRequest' type ?


Compiler Error Message: BC30002: Type 'MSXML.XMLHTTPRequest' is not defined.

Source Error:



Line 82: Dim XMLReq As New MSXML.XMLHTTPRequest
Line 83: Dim strURL As String
Line 84: Dim tempstr As String


Source : Line: 82
 
J

Juan T. Llibre

So, you tried :

Dim xmlReq As MSXML2.XMLHTTP40
and
Dim HttpReq As New MSXML2.XMLHTTP30

....and they both failed ?

What is the file name for your version of msxml*.dll ?

msxml2.dll, msxml2.lib (MSXML 2.0)
msxml3.dll, msxml2.lib (MSXML 3.0)
msxml4.dll, msxml2.lib (MSXML 4.0)
msxml5.dll, msxml2.lib (MSXML 5.0 for Microsoft Office Applications)

Maybe you installed MSXML 6.0 ?

http://www.microsoft.com/downloads/...cf-3bcf-4009-be21-27e85e1857b1&displaylang=en

Also, see this :
http://msdn.microsoft.com/XML/BuildingXML/XMLinNETFramework/default.aspx
 

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,770
Messages
2,569,584
Members
45,076
Latest member
OrderKetoBeez

Latest Threads

Top