I have a VBS (old fashioned VBS that is) that installs a network printer via WMI on any PC. I can pass in the PC's name via a command line argument. The question is, how can I execute this VBS from a web page. Passing in the user's PC name is the easy part (I think). Ulitmately, I need to make a call something like installprinter.vbs mypcname Yes, I'm sure I could use the .NET wrapper for WMI but the script already exists and I don't understand how to use it. Whereas, I know VBS pretty well. Thanks Mike
"mike" wrote in message news:1187660547.658195.17270@r23g2000prd.googlegroups.com... > Yes, I'm sure I could use the .NET wrapper for WMI Are you trying to install this printer on the server or the client...? -- Mark Rae ASP.NET MVP http://www.markrae.net
> > Are you trying to install this printer on the server or the client...? > > -- > Mark Rae > ASP.NET MVPhttp://www.markrae.net Hi Mark I want to install the printer on the client that calls the script. The VBS will run on the server but connect to the WMI service on the client. Just a thought - will the security surrounding HTTP actually prevent this from happening? While the script itself doesn't use HTTP, I wonder if the fact that it has been called from HTTP will prevent execution. Thanks Mike