Solved

Help with MSXML and Visual Studio 2013

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

772 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