![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
| Thread Tools | |
| Display Modes | |
|
|