.Hi guys! is it possible to pass values from a javascript function to a vb6 window app that will be opened also using the said javascript function? if possible, can anyone guide me how? Thanks in advance!
Asked
Active
Viewed 299 times
0
-
How will you open the VB6 window app with JavaScript? Or is that also a question? If you want to do this from JavaScript in an HTML page, then there is no way around it. If you are using JavaScript with Windows Scripting Host, this is possible. – Abbas Dec 21 '11 at 08:20
-
This is possible refer to my answer on this thread: [http://stackoverflow.com/questions/21160827/is-there-a-way-to-send-messages-from-c-net-assemblyactivex-to-vb6-application](http://stackoverflow.com/questions/21160827/is-there-a-way-to-send-messages-from-c-net-assemblyactivex-to-vb6-application) – variable Apr 26 '17 at 11:23
1 Answers
0
Javascript runs in your browser which is isolated from your System. You can not simply pass values from your browser to another application.
What you can do is create a REST API.

PiTheNumber
- 22,828
- 17
- 107
- 180
-
.can you please give me an overview on how REST API will be useful for me? – zerey Dec 21 '11 at 08:36
-
You create a simple http server and send ajax requests from your webpage to your program. – PiTheNumber Dec 21 '11 at 08:47