Bonjour a tous,
je souhaite télécharger un fichier Web au format .txt et l'enregistrer sur c.
J'ai récupérer ce code :
adapté a ma situation ça donne ceci :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2 Dim objClient As New WebClient Call objClient.DownloadFile("http://www.google.com", "c:\test.html")
Ça ne fonctionne pas... un coup de pouce svp
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 Private Sub Commande870_Click() Dim objClient As New WebClient Call objClient.DownloadFile("http://www.xxxxx.fr/Ventis.txt", "c:\Ventis.txt") End Sub
Partager