Resources Base
When you try scanning an image with Dynamic Web TWAIN, you may receive the error message “General failure” in the ErrorString property.
The problem occurs when the source (scanner) is not disabled completely after a scanning session or the source is currently unavailable.
You can set IfDisableSourceAfterAcquire to true
. It must be set before the call to SelectSource
function AcquireImage() {
DWObject.IfDisableSourceAfterAcquire = true;
DWObject.SelectSource();
DWObject.OpenSource();
DWObject.AcquireImage();
}
latest version