MSXML2.ServerXMLHTTP: getting in a different port than 80 using VB
Hi, pals!
I'm trying to use a VB application to execute XML requests thru HTTP. The
sample code follows:
--------------------
Dim HttpReq As New MSXML2.ServerXMLHTTP
HttpReq...
HttpReq.Open "GET", "http://myserver/test.asp" , False
--------------------
The 'HttpReq.Open' method always execute the request using the TCP port
80. But I need to execute it requesting in other ports. How can I do it?
Is it possible?
I could not find any method or property capable to set this behavior on.
Thanks in advance,
Filipo
# 1 Re: MSXML2.ServerXMLHTTP: getting in a different port than 80 using VB
Hi,
Please try this code.
HttpReq...
HttpReq.Open "GET", "http://myserver:90/test.asp" , False
"Filpo Novo Mr" <fifo@banrisul.com.br> wrote:
>
>
> Hi, pals!
>
> I'm trying to use a VB application to execute XML requests thru HTTP. The
>sample code follows:
>
>--------------------
> Dim HttpReq As New MSXML2.ServerXMLHTTP
>
> HttpReq...
> HttpReq.Open "GET", "http://myserver/test.asp" , False
>--------------------
> The 'HttpReq.Open' method always execute the request using the TCP port
>80. But I need to execute it requesting in other ports. How can I do it?
>Is it possible?
>
> I could not find any method or property capable to set this behavior on.
>
> Thanks in advance,
>
> Filipo
>