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 Sun May 20, 2012 2:47 pm




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: frmScan and MasterPage
PostPosted: Sun Apr 03, 2011 3:00 pm 
Offline

Joined: Fri Apr 01, 2011 1:29 pm
Posts: 8
I currently use the Trial Dynamic Web TWAIN 6.2 Released and using ActiveX Edition ASP.NET (C#) Samples

i use MasterPage in my web siat in RegPage.aspx like this:

Code:
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
function btnScan_onclick()
      {
         frmScan.DynamicWebTwain1.SelectSource();
         frmScan.DynamicWebTwain1.OpenSource();
         frmScan.DynamicWebTwain1.IfFeederEnabled = true;
         frmScan.DynamicWebTwain1.IfAutoFeed = true;
         frmScan.DynamicWebTwain1.XferCount = -1;
         frmScan.DynamicWebTwain1.AcquireImage();
      }



--> I Tried to use it here and failed due to <frmScan ????>
</asp:Content>


Top
 Profile  
 
 Post subject: Re: frmScan and MasterPage
PostPosted: Tue Apr 05, 2011 9:20 pm 
Offline
User avatar

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

Would you please be more specific about the problem you are experiencing?

Thanks.

_________________
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: frmScan and MasterPage
PostPosted: Thu Apr 07, 2011 6:03 am 
Offline

Joined: Fri Apr 01, 2011 1:29 pm
Posts: 8
[url]
http://a3.sphotos.ak.fbcdn.net/hphotos- ... 4540_n.jpg
[/url]


When I try to put the code inside a sub-page appears with the error is located next image linkage


Top
 Profile  
 
 Post subject: Re: frmScan and MasterPage
PostPosted: Fri Apr 08, 2011 1:51 am 
Offline
User avatar

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

To better pinpoint the cause of the problem, could you send your TWAIN-related code, as well as the master page, to Catherine@dynamsoft.com? I will check it for you.

Also, if you like, you can contact our support team via Live Help to have an online meeting:
http://www.dynamsoft.com/Support/livehelp.aspx

_________________
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: frmScan and MasterPage
PostPosted: Fri Apr 08, 2011 9:17 pm 
Offline

Joined: Fri Apr 01, 2011 1:29 pm
Posts: 8
hi Catherine :


I have sent Mail with the attachment to u .


Top
 Profile  
 
 Post subject: Re: frmScan and MasterPage
PostPosted: Sun Apr 10, 2011 10:34 pm 
Offline
User avatar

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

Thanks. I will check your code and give you an email ASAP.

_________________
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: frmScan and MasterPage
PostPosted: Sun Apr 10, 2011 11:58 pm 
Offline
User avatar

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

Instead of using frmScan.DynamicWebTwain1 to refer to the control, please try using document.getElementById("DynamicWebTwain1").

For example:
Code:
document.getElementById("DynamicWebTwain1").SelectSource();


Let me know if it works.

Regards,

_________________
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: frmScan and MasterPage
PostPosted: Mon Apr 11, 2011 11:50 am 
Offline

Joined: Fri Apr 01, 2011 1:29 pm
Posts: 8
hi Catherine

I got this error message:

:arrow: Microsoft JScript runtime error:Object doesn't support this property or method.


Top
 Profile  
 
 Post subject: Re: frmScan and MasterPage
PostPosted: Mon Apr 11, 2011 2:07 pm 
Offline
User avatar

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

I have modified your code and sent it back to you.

Please try it and let me know how it works.

Regards,

_________________
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: frmScan and MasterPage
PostPosted: Tue Apr 12, 2011 11:50 am 
Offline

Joined: Fri Apr 01, 2011 1:29 pm
Posts: 8
Hi Catherine

Regrettably, I got the same error message first :!:

:arrow: Microsoft JScript runtime error:Object doesn't support this property or method.


Top
 Profile  
 
 Post subject: Re: frmScan and MasterPage
PostPosted: Tue Apr 12, 2011 1:04 pm 
Offline

Joined: Fri Apr 01, 2011 1:29 pm
Posts: 8
Catherine, the problem was resolved because I open the example in the office and the Trail TWAIN Control was tested over time and when I use my laptop it succeeded because the Trail TWAIN Control available for the experiment


Thank you many thanks ..

Katherine I have The Trail TWAIN Control on my laptop if I buy a Dynamic Web TWAIN 6.2 ActiveX Edition (1 Web Server License) Will there be a new download For the full version of TWAIN Control or I use the Trail TWAIN Control and Activation by License.

Secondly, how can I transfer the TWAIN Control From my laptop and put it on the server, and will be dealing with the license number ?

Again thank you Catherine You are a huge benefit to the company


Top
 Profile  
 
 Post subject: Re: frmScan and MasterPage
PostPosted: Tue Apr 12, 2011 5:50 pm 
Offline
User avatar

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

Glad to hear that the problem has been solved. :)

For your questions:

1. After you get the full version, you need to uninstall the trial version first. For detailed information on how to upgrade, please refer to:
http://kb.dynamsoft.com/questions/24/Ho ... version%3F

To purchase the license, you can place an order online at:
https://www.dynamsoft.com/Secure/WebTWAIN_BuyIt.aspx

2. Please check out the following article for information on how to deploy your application to your web server.
http://www.dynamsoft.com/help/TWAIN/WebTwain/index.htm

Tell me if you have any further questions.

_________________
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  [ 12 posts ] 

It is currently Sun May 20, 2012 2:47 pm


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron

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