|
-
Mar 13th, 2001, 06:19 AM
#1
Thread Starter
Member
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.
-
Mar 14th, 2001, 01:24 AM
#2
New Member
Well i have some code regd how to add a Printer
Try this if it works out for you
Vijay
[email protected]
Private Sub cmdAddPrinter_Click()
Shell ("rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter")
End Sub
Last edited by vsandena; Mar 14th, 2001 at 01:34 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|