This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, August 16, 2005 1:28:06 PM(UTC)
Groups: Registered, Tech Support
Posts: 46
Version: 14Interface: COMSample Type: DownloadDevelopment Environment: VBScriptKeywords: Twain SetCapability CapabilitiesThis example shows you how to Get and Set Twain Capabilities
The attached VBScript project can be run through IIS. It shows you which objeccts need to be embedded in the page and how to use them to Get and Set Twain Capability Values. This example does not account for ICAP_FRAMES capability.
A listing of all Twain Capabilities and their possible values can be found in Chapter 9 of the Twain 1.9 specification found at www.twain.org.
Gabe
Developer Support
LEAD Technologies, Inc.
#2
Posted
:
Monday, February 6, 2006 7:43:59 AM(UTC)
Groups: Registered
Posts: 1
I tried running this sample application and I keep getting the error that an activex control on this page is not safe for scripting. Is there a way to do this in a client side script using the latest version of Leadtools without receiving that error?
Important notes
- I am running this under from a web server that is setup as a trusted site.
- The error is encountered trying to get/set capabilities.
Travis DeAngelis
Sr. Software Engineer
AdvancedMD Software
#3
Posted
:
Wednesday, February 8, 2006 3:02:08 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
Travis,
I found 2 issues:
1. The Twain Capability object doesn't seem to be marked as safe for
scripting (although the main Twain object is). I reported the problem
to our engineers under incident number 4268AMN.
2. The demo uses the RasterVariant.Type property, which causes a
keyword conflict with some languages. I changed it to use the
equivalent RasterVariant.vType property.
Until the incident is resolved, you might keep getting the Yes/No dialog, but the code change should solve the other problem.
I have uploaded the modified code to the original post.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
#4
Posted
:
Sunday, March 5, 2006 8:25:47 PM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
Incident number 4268AMN has been fixed in our latest v14.5 patch file.
The patch file may be downloaded by visiting
http://support.leadtools.com and clicking on the "SDK Patches" tab.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.