TWAIN ActiveX Control, Plug-in, Scanner SDK, Component, HTTP Control/SDK

Dynamsoft TWAIN Products

Support Community for TWAIN Control/Component/SDK for Scanning Solutions
* Login   * Register
* FAQ    * Search

It is currently Tue May 22, 2012 2:02 am




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Reinitialize WebTWAIN?
PostPosted: Tue Aug 16, 2011 1:11 pm 
Offline

Joined: Tue Aug 16, 2011 1:00 pm
Posts: 6
When I click scan for the first time on my page everything works as expected. However, subsequent clicks don’t do anything after the first scan. I was just wondering if I needed to reinitialize the component or reset the buffer or something along those lines? I looked through the knowledge base and the command list and didn’t notice any command that would fit this function.

Thanks…


Top
 Profile  
 
 Post subject: Re: Reinitialize WebTWAIN?
PostPosted: Tue Aug 16, 2011 5:24 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
Hi m2mini,

m2mini wrote:
However, subsequent clicks don’t do anything after the first scan.

This issue may occur when the data source (scanner) is not closed properly. Please close source using the method CloseSource before opening source like below:

Code:
WebTWAIN.SelectSource();
WebTWAIN.CloseSource();
WebTWAIN.OpenSource();

Please keep me updated on this.

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
 Post subject: Re: Reinitialize WebTWAIN?
PostPosted: Wed Aug 17, 2011 5:17 am 
Offline

Joined: Tue Aug 16, 2011 1:00 pm
Posts: 6
That solved the issue...

Thanks! :D


Top
 Profile  
 
 Post subject: Re: Reinitialize WebTWAIN?
PostPosted: Wed Aug 17, 2011 11:26 pm 
Offline
User avatar

Joined: Tue Mar 08, 2005 12:23 am
Posts: 1075
Glad to hear that. :-)

_________________
Catherine Sea
TWAIN Support Team
TWAIN ActiveX/Plug-in for Web Applications, Scanner COM Control
TWAIN .NET Component/SDK for Desktop Applications

Follow me @Twitter, Facebook
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

It is currently Tue May 22, 2012 2:02 am


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Copyright © 2010 Dynamsoft Corporation. All Rights Reserved. | Knowledge Base | Source Control Blog