Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internet web control Execwb saveas
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00765987
Message ID:
00766981
Vues:
16
Have you try to simulate IE?

The 4th parameter of the wwHTTP.HTTPGetEx() method let you specify a custom header.
This header can be "User-Agent: Internet Explorer 5.0" (take the real header from a browser).

HTH :-)

>Thanks for the reply but we try with the WWIPStuff and the security of the proxy of our company is very strict and we can't pass true. We don't have control on this proxy and they don't want to make change to let us pass true. The only way to pass true the proxy is with internet Explorer.
>
>Michel
>
>>This function does not work from VFP.
>>
>>You can use innerHTML to copy the content, but IE may have reformated the code.
>>
>>The best solution in your case (XML) was to read directly the url stream with something like WWIPStuff.
>>
>>
>>
>>>Hi
>>>
>>>I want to open a file from the web (XML file) with a form containing web control and a timer every hour to get new data and save this file on the network where fox will get the data from the XML.
>>>
>>>I want to save a document without having dialog box for the file name. I know that this question was asked many time before but maybe someone found something new recently about that. I try all this code.
>>>
>>>thisform.olecontrol1.Execwb(4,2,"h:\temp\michelp\newname.html")
>>>
>>>thisform.olecontrol1.document.ExecCommand('SaveAs',.F.,"h:\temp\michelp\newname2.html")
>>>
>>>Thanks
>>>
>>>Michel
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform