Question

basically what I want to do is allow the user of my software to browse the network for a printer shared on another computer or server, the problem is that printers do now show up in the File Selection dialog in c#, is there an alternative that shows printers? if this is not simple to do I may look into a drag and drop feature to get the path to the printer instead.

-Background- This is for a program that can be scripted to do a lot of things for a computer when first installed at a customers location (such as branding for our company, updating windows, installing certain third party apps, mapping network drives, adding printers, changing some home page etc etc etc), I know i could manually enter in printer names for shared printers rather than browsing but the names are often long useless names that are hard to type.

UPDATE: After some research and tinkering, I cannot drag and drop onto the form as it requires administrative privileges, there are still other, more convoluted options, such as selecting or entering the network computer name and manually getting shared printers, but allowing them to select them via an explorer would be nice.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top