Steve,
Thanks for the quick reply. The error message now is... "Error: ActiveX component can't create object: 'WScript.Network'".
Here is the implementation...I'm open for any suggestions.
<SCRIPT LANGUAGE="VBScript">
<!--
Function Button1_OnClick()
Set WshNetwork =...
The following code works perfectly when run from a .vbs file. How can I utilize this code from a web page form button? Currently, the code errors on the first line.
Set WshNetwork = WScript.CreateObject("WScript.Network")
PrinterPath = "\\ServerName\PrinterName"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.