Need MASTER VB PROG,

WIN 95/98/NT/2000

1. How do i add network printer using addprinter dialog box
however since I know the server name and printer name,

can I select options and pass arguments programmatically to the
addprinter dailog box, so that user don't have to do it manually.


2. HOW DO I ADD NETWORK PRINTER USING ADDPRINTER AND
GETPRINTERDRIVERDIRECTORY API.

any working code will be helpful.


Thanks ,


Milind.