QUOTE(jayawant.karale@gmail.com @ 20 Aug, 2008 - 05:37 AM)

Hello,
I'm trying to select only scanner and want to set the DPI to 100 and automatically scan without showing the scan dialog.
Any idea?
So, you can set the *AlwaysSelectDevice* parameter to false like so...
CODE
WIA.CommonDialog dlg = new WIA.CommonDialog();
WIA.Device scanner = dlg.ShowSelectDevice(WIA.WiaDeviceType.ScannerDeviceType, false, false);
Then it will only show the dialog if you have more than one scanner connected.