Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, August 12, 2009 1:23:26 AM(UTC)

sears  
sears

Groups: Registered
Posts: 11


Public Function ScanStartMlt() As Integer
...
...
' start to scan
AddHandler _twSession.AcquirePage, AddressOf AcquirePageEvent
_twSession.Acquire(TwainUserInterfaceFlags.None)
RemoveHandler _twSession.AcquirePage, AddressOf AcquirePageEvent

...
...

End Function

My problem is :
When I call method ScanStartMlt,I shutdown my scanner(eg,powerdown), my procedure is stop(not exit).But no exception occured.My form couldn't give me any response.I can't do anything except force to exit my procedure.

How to resolve this problem.
For example ,when this problem has happened,I only want to wait 10 seconds.If I wait times > 10 seconds, give me a Messge from Form(But now I can't do anything).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, August 12, 2009 1:33:56 AM(UTC)

sears  
sears

Groups: Registered
Posts: 11


My leadtool's version is LEADTOOLS 15.0J.

Waiting for you reply.
:)
 
#3 Posted : Wednesday, August 12, 2009 7:00:18 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Could you please test this using Twacker utility from the Twain Working Group? You can get it from here: http://www.twain.org/devfiles/twack.zip

To test, perform scanning from within Twacker for multiple pages, and immediately after scanning begins, turn of the scanner. Does Twacker respond or does it hang too?

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#4 Posted : Wednesday, August 12, 2009 4:35:48 PM(UTC)

sears  
sears

Groups: Registered
Posts: 11


Thank you for your reply.

I follow you description to do it.
Messagebox is popuped.

Title:DG_IMAGE/DAT_IMAGENATIVEXFER/MSG_GET
Content:TWRC_CANCEL
sears attached the following image(s):
a.GIF
 
#5 Posted : Wednesday, August 12, 2009 4:39:51 PM(UTC)

sears  
sears

Groups: Registered
Posts: 11


OK button clicked.
sears attached the following image(s):
b.GIF
 
#6 Posted : Wednesday, August 12, 2009 4:48:10 PM(UTC)

sears  
sears

Groups: Registered
Posts: 11


next OK button click.
c.gif is popuped

Ok button click,b.tif is popuped too.
Like this,messagebox is looped popup.
Always can't close all the messagebox except force to exit the TWacker.
sears attached the following image(s):
c.GIF
 
#7 Posted : Thursday, August 13, 2009 4:23:37 AM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

When exactly do you get these messages?

To disable the Twacker messages, please do the following:
1. Open the Twack_32.exe.
2. Select the menu "File"\"Message Level"\"None"

Then use the following instructions to check the same issue using Twacker:

2. Select the menu "File"\"Select Source", and select your scanner twain driver.
3. Select the menu "File"\"Acquire", and scan multiple pages, and immediately after scanning begins, turn of the scanner. Does Twacker respond or does it hang too?

Please let me know how it goes.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
#8 Posted : Thursday, August 13, 2009 11:39:36 PM(UTC)

sears  
sears

Groups: Registered
Posts: 11


Thank you for your reply.

I use your description to check the same issue using Twacker.

I wait about 10 minutes.
But the Twacker no respond and hang too.

My scannar is Kadok i260.
 
#9 Posted : Saturday, August 15, 2009 11:14:14 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Since the scanner has the same problem in Twacker, then the problem lies in the Twain driver and you should contact your scanner manufacturer.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.185 seconds.