Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2008
    Posts
    71
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Open an ASP script from a Delphi browser

    Hi,

    I have also a simple delphi browser and an ASP script to retrieve a remote webpage. So in their head I written the following code:

    Code:
    <%
    ' This code will retrieve a remote webpage
    set objHTTP = CreateObject("Microsoft.XMLHTTP")
    Call objHTTP.Open("GET", txtUrl, False)

    The words "txtUrl" it is a variable to identify the URL I open in my VFP browser. The ASP script is called from a button. It don´t open a webpage placed on my browser, however it gives in the address bar the url of the webpage opened in this way (for example):


    http://www.dhytex.com/viber/retrieve...www.elmundo.es

    So it works near 100% fine.

    What Must I do for fixing this bug?

    regards

    Bob

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,613
    Thanks
    80
    Thanked 4,635 Times in 4,597 Posts
    You don't have enough code there.

    All you have done is opened a connection to the txtURL page.

    You aren't then *doing* anything with it.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    New Coder
    Join Date
    Dec 2008
    Posts
    71
    Thanks
    8
    Thanked 0 Times in 0 Posts
    I fixed now the error.

    Bob


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •