Click here to Skip to main content
15,894,460 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi All, I've my C# application which uses a scanner (EZTwain DLL). This shows up a message box which I need my C# app. to close by clicking OK on it. I want to do this without the user intervention.
Can anybody guide me to do this.
Thank you.
Posted
Comments
Sergey Alexandrovich Kryukov 28-Feb-13 1:13am    
What have you done to get this message box? No, using it is pretty much hopeless, can not be a reasonable solution.
—SA

If you need to do it without user intervention, which is quite explainable, you need to work at the level of TWAIN:
http://en.wikipedia.org/wiki/TWAIN[^].

See, for example, this CodeProject article: .NET TWAIN image scanner[^].

—SA
 
Share this answer
 
Comments
krp31 28-Feb-13 1:20am    
Forget the Twain, I need to know how I can, using .net, click the OK button that shows in my application.
Sergey Alexandrovich Kryukov 28-Feb-13 1:22am    
No, do yourself a favor, forget how you can, using .NET, click OK button. This would be a huge abuse. Sorry, a shame to discuss it...
—SA
So no one knows how to do this here is it??
 
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