Sign in to follow this  
Followers 0
Hayashi

FileOpenDialog to browse for shared printers

2 posts in this topic

Hello,

I'd like to add some kind of functionality in my script to allow the user to choose a printer that is shared on the network.

I've tried using a FileOpenDialog, and while I could make it see my network and shared files, the dialog did not listen any of the printers (ex: "\\computer-name\printer-name"). Is there a way to use FileOpenDialog or something like it to browse for the shared printers?

Share this post


Link to post
Share on other sites



Have a look at _WinAPI_PrintDlg () or _WinAPI_PrintDlgEx () either of these functions will display a diaglog alowing the user to select a printer and set printer options..
 


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0