This project has moved and is read-only. For the latest updates, please go here.

twain not work when refresh the page or when close it and open it again

Feb 9, 2016 at 3:34 PM
hello there
i use "saraff.twain" and i have problems when Refresh the page that contained with this object or when close the page and open it again .
in this case opendsm() method has error and i Can not use _twain32 object to scan .
how can i dispose this object to use it again (when refresh Page or when colse it and open it again)
Feb 9, 2016 at 6:53 PM
Hello, hjeishi1360.
Try invoke a AxHost.Dispose() method when page closing (from javascript).
Marked as answer by SARAFF on 2/11/2016 at 6:55 AM