![]() |
| | #1 (permalink) |
| Hi There, I wrote the program in VB6 to connect and remove printer when it needs. It works fine with XP window but when we moved to Vista window that codes are not working any more. Anybody has the way to get it works with Vista window. Here is my coding for connecting printer CardPrinter = "\\myserver\RM_color" Set wshNetwork = CreateObject("Wscript.Network") wshNetwork.AddWindowsPrinterConnection CardPrinter, "HP Color LaserJet 4500" wshNetwork.SetDefaultPrinter CardPrinter Set wshNetwork = Nothing Thank you. | Guest
Posts: n/a
|
|
![]() |
| Tags |
| None |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dynamic Connect Printer | Madison | Windows Vista Printers & Scanners | 1 | 06-03-2008 10:39 PM |
| The printer name is invalid - Connect to internet printer | danicubos | Windows Vista Printers & Scanners | 3 | 01-30-2008 02:20 PM |
| can not connect to a network printer brother laser printer | evanbee | Windows Vista Networking & Sharing | 1 | 10-16-2007 09:44 AM |
| Printer cannot connect to printer at windows 95 workstation. | DT | Windows Vista Printers & Scanners | 4 | 10-12-2006 06:03 PM |
| Can I use Remote Desktop Web Connect w/a dynamic IP - If so how? | Dana | Windows XP Work Remotely | 3 | 01-22-2004 12:56 AM |