View Full Version : Open an ASP script from a Delphi browser

01-08-2012, 02:44 AM

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:

' 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):


So it works near 100% fine.

What Must I do for fixing this bug?



Old Pedant
01-08-2012, 10:00 PM
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.

01-09-2012, 09:22 PM
I fixed now the error.