...

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



BOBKUSPE
01-08-2012, 01:44 AM
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:



<%
' 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/retrievewebpage.asp?=http://www.elmundo.es

So it works near 100% fine.

What Must I do for fixing this bug?

regards

Bob

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

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

Bob



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum