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

Bob Schneider
Bob Schneider used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Microsoft XML is the reference you need.
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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial