[cpp] Function writefile GetURL = "http://www.clubic.com/js/actu.xml" Dim Http Set Http = CreateObject("Microsoft.XMLhttp" ) Http.Open "GET",GetURL,False Http.Send htmlresult = Http.ResponseText Set Http = Nothing set fs=CreateObject("Scripting.FileSystemObject" ) set f=fs.CreateTextFile("clubic.tmp",true) f.write(htmlresult) f.close set f=nothing set fs=nothing writefile = "Temp File Written" End Function [url]
sur cette ligne "f.write(htmlresult)" il couine en disant "Argument ou appel de fonction incorrect"
Alors que cette fonction marche sans problème dans d'autre script!
Quelqu'un a une idée? Et aussi y a-t-il un lien sur HFR pour récuperrer les news facillement ?