Re: Script Printer Driver Installation and Network Printer Connection
It would make sense to me to add the connection to the printer, and
then install the driver to it. I would recommend placing the last
portion of your script to the beginning and try it again.
You don't need to define strComputer="." three times. Just once at the
top. The same goes for Set objWMIService. Once you are connected to
it, you don't need to keep doing it over again unless you are trying to
connect to a different WMI namespace other than cimv2.
Monkey
.
Relevant Pages
- Re: Visage.drs
... scan/update if a day got missed or the connection was saturated during a ... portion of the process. ... How MUCH bandwidth is required is a function of HOW MUCH data changes, ... and have a relatively low speed connection (when compared to the ... (comp.databases.pick) - Re: "Invalid attempt to FieldCount when reader is closed"
... Also try closing the connection in finally block ... > I am posting a portion of the code... ... > private method called on page_load ... (microsoft.public.dotnet.framework.aspnet.datagridcontrol) - Class Not Registered
... In the "Radio Tuner" portion or the Media Player I was trying to get a little bit of music playing when I clicked on the connection and a window came up saying "Class Not Registered" ... (microsoft.public.windowsmedia.player) - Re: Internet connection problem
... I have an uncontrolled dial-up connection on only a ... >portion of the user accounts installed on my XP Home computer. ... >the dial-up connection is initiated as soon as these accounts are ... >a shareware/freeware program that can tell me what is calling for the ... (microsoft.public.windowsxp.network_web) - Re: Ann Coulters Godless
... The connection is that a large portion of the population, ... almost certainly a sizeable majority, believe in all sorts ... (rec.arts.books) |
|