Forum 'VintaSoft Twain .NET SDK Discussions'

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

Login

Prevent settings window showing before call OpenDataSource



Prevent settings window showing before call OpenDataSource

Post 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 .

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

Post 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


Page 1 from 1: 1