This project has moved. 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 2: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)
thanks!
Coordinator
Feb 9, 2016 at 5: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