Thanks for the reply.
I am trying to create by own user control with a thumbnail and a workspace viewer, and using DotTwain for scanning.
I am getting follwing exception while running it:
An unhandled exception of type 'System.TypeInitializationException' occurred in Unknown Module.
Additional information: The type initializer for 'Atalasoft.Imaging.AtalaImage' threw an exception.