Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All.

Hoping you can help.

I'm using Twirl to create custom aettings for a scanner I am using.

Once the driver is created I want to be able to incorporate it into an application (C#) without using the default UI.

Basically all the settings are done, I do not want users playing with this. They just need to hit the scan button and then save it into the a file (a preview would be nice) but I'll try to get round to that.

Thanks for your help.

James
Posted
Comments
lukeer 7-Nov-12 7:26am    
There is something missing in your question. It's the question.
Member 9445399 7-Nov-12 7:45am    
Ha!

Your absolutely right. I've been so rushed that I haven't asked the question!

I'm looking for a way using C# to import and use the settings of a custom made twain driver. If I use WIA, I can configure the settings within the application fine, without windows being thrown up giving users more options to mess with. However WIA is limited for my application, IE it doesn't support Duplexing.

But if I use Twain and configure the settings, it still throws up the default program window for the users to change and play about with.

Does this make any sense? Thanks
Sergey Alexandrovich Kryukov 7-Nov-12 19:20pm    
Is the only question "Does it make any sense?"? In all cases, modify the body of the question itself, not just comment.
--SA

1 solution

Set CAP_INDICATORS and TW_USERINTERFACE.ShowUI to false.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900