By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,526 Members | 925 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,526 IT Pros & Developers. It's quick & easy.

Easy way to Change default Printer in vb6

P: 1
Private Sub Command1_Click()
'change the name of your printer from the printer collection
Shell "RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n ""Microsoft XPS Document Writer"""
End Sub
Oct 23 '20 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.