Scripting Question

VBS Script is failing when I tried to run it from Google Chrome Can you help?

04/27/2017 636 views
Set objNetwork = CreateObject("WScript.Network")
objNetwork.AddWindowsPrinterConnection "\\PrintServer\Printer Name"

So basically, I have a printer which is linked to the printserver. If I open the browser and access my printer to run the script...I can only do that in IE, Firefox. If I tried in chrome, it failed and display the whole script on the screen. 

Please help me with this.
0 Comments   [ + ] Show comments


All Answers

I don't believe that Chrome supports client side VBScript.
According to Microsoft IE11 doesn't either.

I believe your options are to continue running it with a working browser, or develop another method of deploying printer connections.


Answered 04/28/2017 by: dunnpy
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ