Prevent settings window showing before call OpenDataSource

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

Moderator: Alex

Post Reply
Vladimir
Posts: 7
Joined: Tue Jun 08, 2010 5:52 pm

Prevent settings window showing before call OpenDataSource

Post by Vladimir » Tue Jun 08, 2010 6:36 pm

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.

Alex
Site Admin
Posts: 1464
Joined: Thu Jul 10, 2008 2:21 pm

Re: Prevent settings window showing before call OpenDataSource

Post by Alex » Fri Jun 18, 2010 9:07 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest