I have a webpage using ASP.net in c# with a button that runs a VBscript like shown below.
<asp:Button ID="button" runat="server" Text="button"
OnClientClick="javascript:window.open('filelocation','_blank')" />
In the script I ask the user for information from the webpage they clicked the button on which they normally manually enter or copy and paste.
Is it possible to send these variables from the webpage as parameters to the VBscript file when the button is clicked so they do not have to enter the information, instead it is taken automatically using the parameters?
Thank you!
EDIT: Been looking at this How to call a VBScript file in a C# application? but cannot seem to get it to work also. Any ideas?