Page 1 of 1

Prevent settings window showing before call OpenDataSource

Posted: Tue Jun 08, 2010 6:36 pm
by Vladimir
Hello,

We have, for example 5 network scanners in our network. All of these scanners are registered on each client computer in our office.
I need to show list of Serial Numbers of registered in client's Windows scanners.
I found that I can get SerialNumber property via call TwainDevice.CapItems collection and then get TwainDevice.CapValue property.
But for this I should go through all devices while SourceIndex < TwainDevice.SourcesCount and call OpenDataSource() method for each SourceIndex.

I have the following problem: some scanners could be turned off at this moment and in this case when I call OpenDataSource() method I got the system parameters settings window that you can see Image.

Is there a way to hide this dialog when scanner is turned off?
Or maybe I can get status of this scanner to show me that this scanner is turned off?

Thanks.

Re: Prevent settings window showing before call OpenDataSource

Posted: Fri Jun 18, 2010 9:07 am
by Alex
Hello Vladimir,
Is there a way to hide this dialog when scanner is turned off?
It is a custom dialog from TWAIN driver and it cannot be disabled.

Best regards, Alexander