I need a way to call a JS function from VB and get the return value of the function back to VB.
I have been investigating and the following references might have part of the answer, but not all:
The above references say how to execute JS code from VB, but what I am looking is for is to execute JS and get the values back to VB, which is NOT found there (or not clear enough)
I will award full points to any user who can provide me the JS and VB working code that would implement the following JS function - the simplest function ever-, being called from VB, and getting the result of the function back from JS to VB:
That is: VB should be able to send parameters to JS function, and then get the result.
Thanks to everyone in advance. Your help will be really useful! :)