Solved

Help with MSXML and Visual Studio 2013

Posted on 2016-08-30
1
59 Views
Last Modified: 2016-08-30
Hi
I am having problems trying to use MSXML in Visual Studio 2013.
My old code worked fine in Visual Studio 2003:

Imports System.Data
Imports System.Data.Odbc
Imports System.IO
Imports System.Net.HttpWebRequest
Imports System.Net.WebRequest
Imports System.Net.WebResponse
Imports System.Xml.XmlDocument
Imports MSXML
.......
Public function ProvisionService as boolean
            Dim XMLReq As New MSXML.XMLHTTPRequest
            Dim xmlHttp As New XMLHTTPRequest
            Dim r As System.Object
            Dim xmlDoc As String
            Dim xmlr As XMLDocument
            Dim URL As String
            Dim Asynch As Boolean

However in VS2013, it doesn't recognise the MSXML.XMLHTTPRequest or XMLDocument types.  I am getting the compile error: "Error      5      Type 'XMLHTTPRequest' is not defined".

Can anyone help me get this sorted?  I am sure there must be a simple solution but I am stumped!

thanks
0
Comment
Question by:hcg100
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
hcg100 earned 0 total points
ID: 41777300
I found the solution.
Just needed to add a reference to the microsoft.msxml.dll
0

Featured Post

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

688 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