• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 785
  • Last Modified:

VB6 App Won't REcognize Dim objHTTP As MSXML.XMLHTTPRequest

Is there a project reference or library that I need to include to get this to be recognized.  Right now it is looking at it as a user-defined type.
0
Bob Schneider
Asked:
Bob Schneider
2 Solutions
 
MacroShadowCommented:
Microsoft XML is the reference you need.
0
 
hesCommented:
Add a reference to the Microsoft XML version 6.0 Library.

 
   'To use MSXML 6.0 use the following Dim statements
      'Dim xmlReq As MSXML2.XMLHTTP40
      'Dim xmldom As MSXML2.DOMDocument60
      'Dim xmlAttr As MSXML2.IXMLDOMAttribute
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now