twaindotnet icon indicating copy to clipboard operation
twaindotnet copied to clipboard

Way to Set Default Scanner w\o GUI

Open Clebam opened this issue 7 years ago • 1 comments

Hi Guys,

I'm trying to figure out how to Set Default Scanner without using the GUI.

I read this post: https://stackoverflow.com/questions/16555951/setting-default-twain-data-source-without-using-api-ui-menu

But I don't know how I can use DSM 2.0 and add it to TwainDotNet DataSourceManager.

I'm stuck with it, so if anyone has any idea.

Maybe I'm going the wrong way, so if there is another way to hide the GUI. (I want the user to use my own GUI)

Clebam avatar Jul 17 '17 12:07 Clebam

This is the solution: Editing Registry

See link below: http://www.gssezisoft.com/main/2013/03/using-cmdtwain-with-multiple-scanners/

I wish a method were set in twaindotnet to do so :)

Clebam avatar Jul 19 '17 22:07 Clebam