FEACELVELYDAY
New Member
I am wondering if it is possible to implement a progress bar for a VBScript function inside a web browser.\[code\]<script type="text/vbscript">function AddP(pName)Set WshNetwork = CreateObject("Wscript.Network")WshNetwork.AddWindowsPrinterConnection pNamemsgbox "Finished"end function</script>\[/code\]As shown the function above is for adding a networked printer. The issue is that when the function is called, it seems like the browser just hangs during the process. I fear this will throw off the end user and they will try to close the browser because they think it is frozen.Any solution needs to be compatible with IE8This is how I am calling the function:\[code\]<a language="vbscript" href="http://stackoverflow.com/questions/14619808/AddP('pathToPrinter')">Install This Printer</a>\[/code\]