Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Webbrowser control alternative?
Message
De
19/05/2003 09:32:50
 
 
À
19/05/2003 08:41:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00789439
Message ID:
00789974
Vues:
16
It works but just not in our particular setup. It doesn't seem to handle https connections. Thanks though. This is definitely going to come in handy some other time.

paul

>Paul,
>This might work, making the correct path substitutions. It was inteneded to download an HTML file. Sorry I'm not on my foxpro machine so I cant test it.
>
= DownloadRemote('http://www.levelextreme.com', 'c:\temp\test.txt')
>MODI FILE 'c:\temp\test.txt' NOWAIT
>
>FUNCTION DownloadRemote(lcRemoteFile, lcLocalFile)
>* downloading a remote file to a local file
>	DECLARE INTEGER URLDownloadToFile IN urlmon;
>		INTEGER, STRING, STRING, INTEGER, INTEGER
>	WAIT WINDOW NOWAIT "Downloading remote file..."
>	= URLDownloadToFile(0, lcRemoteFile, lcLocalFile, 0,0) = 0
>	WAIT CLEAR
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform