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

Moderator: Alex

Post Reply
Posts: 4
Joined: Tue Aug 06, 2013 6:14 pm


Post by malovern » Tue Oct 15, 2013 5:17 pm


I am trying to determine when the user closes the devices setup dialog. This is for a canon dr 6010c scanner. I have subscribed to the Device_StateChanged event but the only events that occurring are the enabled and open states when the setup dialog is first loaded.

Is there a way of detecting when the user closes the device setup dialog box as the call to Device.Setup returns immediately. I note from a previous thread that you suggest the Device_StateChanged event but this event does not get fired when the dialog closes so I cannot determine if the user has closed the dialog and thus close the device.

The reason I need this is to allow the user to set options for the selected scanner in the options of my program.



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

Re: Device.Setup

Post by Alex » Thu Oct 17, 2013 2:50 pm

Hello Jim,

Device state is changed from Open to Enabled when you opening the device setup dialog.
Device state is changed from Enabled to Open when you closing the device setup dialog.

Could you send me information about changes in device state when you open/close the device?

Best regards, Alexander

Post Reply