Solved

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

Posted on 2014-03-02
2
591 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 26

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Window placement 17 65
MsgBox 2 38
to transfer string from C lanaguage to VBA 4 44
VBA filters 2 39
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now