Thank you Martina.
>Hi,
>
>Are two ways:
>1) use InternetExplorer.Application and html with javascript
>2) use MSScriptControl.ScriptControl.1 and run javascript code (
https://www.foxite.com/archives/run-javascript-from-vfp-0000242619.htm)
>
>MartinaJ
>
>>I would like to be able to put Javascript code in my FoxPro App.
>>
>>I have an application available as a remote desktop app. I would like to be able to execute the javascript code when I launch my Foxpro app.
>>
>>The javascript code would get the size of the screen (for example iPhone, iPad or desktop). Then it could create a file containing the needed information.
>>
>>After that the Foxpro app. takes control and the dimension of the screen would be defined based on the content of the javascript created file.
>>
>>TIA
*******************************************************
Save a tree, eat a beaver.
Denis Chassé