Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Javascript + Visual FoxPro
Message
From
28/01/2022 14:39:21
 
 
To
28/01/2022 14:36:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01683339
Message ID:
01683359
Views:
53
Thank you Thomas.

>Both ways are certainly workable, but AFAIK support only older Javascript - something like 6 years or a dog live...
>Going for V8 Javascript probably is more future oriented - there should be 4 ways to accomplish this:
>- Dotnet with WebView2
>- DotNet with CefSharp
>- vfp with some C glue with CefSharp (Christoph / Foxpert has already implemented basic connection)
>- Selenium with its Choice of browsers but even more awkward interface (needing another connection layer)
>
>Of course ease of use of older COM solutions is much better - certainly point in favor of your solutions
>
>my 0.02
>thomas
>
>>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é
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform