I have the following lines of code in a VB program I wrote:
Set net = CreateObject("WScript.Network")
strUNCPrinter = "\\testserv\prn1"
net.AddWindowsPrinterConnection strUNCPrintera
I would like to put this code snippet inot a web page to run from a local intranet site at my facility. So far just drawing blanks.
The goal is to have a link for a user to click on and it would execute the code ultimately installing a network printer on their workstation.
Can someone assist with this? Coming up empty on everything I have tried so far.
thx
Set net = CreateObject("WScript.Network")
strUNCPrinter = "\\testserv\prn1"
net.AddWindowsPrinterConnection strUNCPrintera
I would like to put this code snippet inot a web page to run from a local intranet site at my facility. So far just drawing blanks.
The goal is to have a link for a user to click on and it would execute the code ultimately installing a network printer on their workstation.
Can someone assist with this? Coming up empty on everything I have tried so far.
thx