Hi!
I need use the classic XMLHTTP, but in .net. Now I'm using the COM
component, but I like use a native class from the framework.
This is the code, very simple, that I use. How I do that in .net? Thanks!!!
Dim httpOb As MSXML2.XMLHTTP
httpOb = New MSXML2.XMLHTTP
httpOb.open("POST", "http://localhost/testweb.dll", False)
httpOb.send(xml)
Martin Honnen - 26 Apr 2006 19:05 GMT
> I need use the classic XMLHTTP, but in .net. Now I'm using the COM
> component, but I like use a native class from the framework.
[quoted text clipped - 4 lines]
> httpOb.open("POST", "http://localhost/testweb.dll", False)
> httpOb.send(xml)
You can either try WebClient
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fSystemNetWebClientClassTopic.asp>
or you can use HttpWebRequest/HttpWebResponse.
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fSystemNetHttpWebRequestClassTopic.asp>

Signature
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/