Solved

Help with MSXML and Visual Studio 2013

Posted on 2016-08-30
1
38 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
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

16 Experts available now in Live!

Get 1:1 Help Now