DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Filpo Novo Mór Guest

    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


  2. #2
    Mehmet MERCAN Guest

    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 Mór" <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
    >



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links