Hi guys -
Trying to open a file on a network drive when user clicks an HTML button on a web page. When page loads, there is an error that states there's an invalid character on the line where I declare my variable. When I click the button, the error changes to "Object expected" but is on a line nowhere near any scripting or any HTML code related to scripting. Does my code look correct or no?
And, yes my button is calling the function on the "onclick" and "filepath" from VB code does have a value when I do a view source on the page.
var x = new ActiveXObject("WScript.Shell");