xml in vb.net
in vb 6 i used the msxml2.dll to post xml documents to a server and received the response back.
how do i go about doing that in vb.net? there is a wealth of new things in vb.net and im sure that it is quite easy but i dont really know where to look.
here is how my code looks in vb 6:
Private xmlHttp As New MSXML2.XMLHTTP40
Private xmlDocReq As New MSXML2.DOMDocument40
Private xmlRoot As MSXML2.IXMLDOMElement
Dim xmlItem As MSXML2.IXMLDOMElement
Dim xmlItemChild As MSXML2.IXMLDOMElement
xmlDocReq.async = False
xmlDocReq.loadXML("my xml document")
xmlHttp.open("POST", "http://ip address", False)
this does work in vb.net if i reference the msxml2.dll but i am sure there must be a way from within vb.net. im also trying to put this in a web service but by using the code above, it just hangs on the xmlHttp.send part and does not return my xml response.
any help would be very appreciated.
By vega in forum VB Classic
Last Post: 11-07-2005, 03:52 PM
By Randy Charles Morin in forum XML
Last Post: 07-19-2002, 04:21 AM
Last Post: 06-15-2002, 01:10 PM
By CHRISTOS STAVRINOU in forum Database
Last Post: 11-16-2000, 04:56 PM
By Extensibility in forum web.announcements
Last Post: 07-20-2000, 06:20 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL