I am looking to execute an HTML file containing Javascript code.
The .html file doesn't return anything, it just has to be executed in order for the Javascript code to be processed.
I tried to use WebRequest, without success.
Public Sub ExecuteHTMLFile(Command As String)
Dim Url as String = "file////PC2/index.html?command=" + Command
Dim request As HttpWebRequest = WebRequest.Create(Url)
request.Method = "GET"
request.GetRequestStream()
What is the best way to run this file and send it parameters from a Visual Basic script?