-
Is there a way to change the default printer with code ?? If so what is it. I know the user can change the default printer with the common dialog box but I'm having a problem when I try to do it with code. Any help is appreciated
[This message has been edited by raicheman (edited 01-03-2000).]
-
If u r on NT, u can use
"net use" command.
After constructing the command use Shell function to run it..
-
Yes, you can use "net use ...." but that will not set the printer as default. It will simply add it. I'm not sure how you would do that in VB, but I know how to do it in Kix Script. You can write a Kix script and use a shell command to run it. If you want to do it using Kix and need help just e-mail me and I will be glad to help you.
Thanks