From the Windows Form (frmstart.vb) how can I access the Functions and values of Variables in the JavaScript (Test.js). I need with example code. Is it possible access the things in the JavaScript from Windows Forms. This is a windows application for getting values from JavaScript variables. Both the files are included in Windows application project in VB.NET.
frmStart.vb
============
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim intTest as integer
Dim strTest as String
intTest = intTestJS 'Not able to assign the global variables from JavaScript file
strTest = strTestJS 'Not able to assign the global variables from JavaScript file
End Sub
------------------------------------------------------------------------------------------------------------
Test.js
=======
var intTestJS = 0;
var strTestJS = "Evin";
function TestValue()
{
intTestJS = 222;
}

How to Access varaibles in JavaScript from Vb.NET
Jaime Atiles
micca46899
net2020