flintstone42
Programmer
Hi:
I have using the urldownloadtofile api function for
sometime to download webpages
DECLARE LONG URLDownloadToFile IN URLMON.DLL ;
LONG, STRING, STRING, LONG, LONG
lnGetResults = URLDownloadToFile(0, url, localfile, 0, 0)
I have been using this for webservices with support the
http get funtion and putting the data inside the url
"
This works well except when the web service is down.
Then, the computer will seem to lockup for 3-5 minutes
before return an error code.
(Since the web service usually returns a value in
less then 2 seconds ).
This there a way to show a progress bar
(with a cancel button) for this function using foxpro?
The last value , is IBindStatusCallback
You are suppose to pass an object which handles the
interface (0 means no interface).
How do you do this in VFP (have found a few example in c++)?
I have using the urldownloadtofile api function for
sometime to download webpages
DECLARE LONG URLDownloadToFile IN URLMON.DLL ;
LONG, STRING, STRING, LONG, LONG
lnGetResults = URLDownloadToFile(0, url, localfile, 0, 0)
I have been using this for webservices with support the
http get funtion and putting the data inside the url
"
This works well except when the web service is down.
Then, the computer will seem to lockup for 3-5 minutes
before return an error code.
(Since the web service usually returns a value in
less then 2 seconds ).
This there a way to show a progress bar
(with a cancel button) for this function using foxpro?
The last value , is IBindStatusCallback
You are suppose to pass an object which handles the
interface (0 means no interface).
How do you do this in VFP (have found a few example in c++)?