Re: Web Based Scanning Application
Started by Help at 05-08-2008 5:35. Topic has 6 replies.
|
|
05-08-2008, 10:11
|
Maen Hasan

Joined on 08-05-2004
Posts 1,817
|
|
|
Hello,
You can use LEADTOOLS Twain features with LEAD WinForms Control (RasterImageViewer).
I'm attaching a sample project that uses our .NET classes to do the following:
1. Acquire an image from Twain sources. 2. Do image processing (in this case, rotate) 3. Save to JPEG file.
You should be able to add other features to this sample control if you need to. If you need more information please see the .NET documentation.
In this attachment you will find a document that shows you the steps to deploy this project on your local machine. Please read the document carefully and follow the steps.
Thanks, Maen Badwan LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|
10-15-2008, 12:36
|
curtis_bds
Joined on 10-15-2008
Posts 3
|
Re: Web Based Scanning Application
|
 
 
|
|
|
I am trying to view this example and I'm running into a bit of trouble.
I was able to configure iis and run the project from VS but when i press the "aquire" button i get the following run time error:
"Microsoft JScript runtime error: Object doesn't support this property or method"
and if I debug it takes me to the line :
"myControl1.StartUp();"
in the index.html file.
I'm guessing it might have to do with the classid in the following code from the index.html file
If anyone knows what I might be doing wrong I would sure appreciate it
|
|
|
|
|
Report
|
|
|
|
10-16-2008, 4:02
|
Maen Hasan

Joined on 08-05-2004
Posts 1,817
|
Re: Web Based Scanning Application
|
 
 
|
|
|
Did you follow the instructions in the attached MS word document (Embed WinForm.rtf)? This document shows the steps to deploy this project on your local machine. Please read the document carefully.
Thanks, Maen Badwan LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|
10-16-2008, 13:33
|
curtis_bds
Joined on 10-15-2008
Posts 3
|
Re: Web Based Scanning Application
|
 
 
|
|
|
Thanks for your response. I did follow the instructions in the word document included with the project. I started over twice to make sure i didnt fudge one of the steps but I am getting the same result. I also tried just about every combination of security settings in IIS including the settings listed in the word document to no avail.
I have also tried the V16 project posted here http://support.leadtools.com/SupportPortal/cs/forums/7653/ShowPost.aspx
by GregR and I cant get that one to work either.
on both it seems like the object isnt really being created. they just appear as an empty box the size of what it is declared as in the HTML.
I'm using V16 with VS2008 and XP pro.
I'm guessing it must be PEBKEC lol :(
|
|
|
|
|
Report
|
|
|
|
10-19-2008, 10:08
|
Maen Hasan

Joined on 08-05-2004
Posts 1,817
|
|
|
Do you have .Net framework 2.0 on your machine?
I changed the project to use LEADTOOLS v16 with VS2008. Please try the attached project and let me know how it goes. Also, please follow the instructions carefully in word document included with the project and let me know if you have any problem with any of the instructions in the document.
Thanks, Maen Badwan LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|
10-21-2008, 13:58
|
curtis_bds
Joined on 10-15-2008
Posts 3
|
Re: Web Based Scanning Application
|
 
 
|
|
|
that seems to have fixed it, thanks for your help
|
|
|
|
|
Report
|
|
|
|
|
LEAD Support Fo... » General » Example Request... » Re: Web Based Scanning Application
|
|
Copyright LEAD Technologies, Inc. 2008
