Solved

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

Posted on 2014-03-02
2
612 Views
Last Modified: 2014-03-04
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
Comment
Question by:Bob Schneider
2 Comments
 
LVL 27

Assisted Solution

by:MacroShadow
MacroShadow earned 200 total points
ID: 39900190
Microsoft XML is the reference you need.
0
 
LVL 20

Accepted Solution

by:
hes earned 300 total points
ID: 39900251
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

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question