[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Help with MSXML and Visual Studio 2013

Posted on 2016-08-30
1
Medium Priority
?
79 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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

656 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