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:39 pm




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Error message from sample VB code
PostPosted: Sat Mar 19, 2005 9:15 pm 
Offline

Joined: Sat Mar 19, 2005 9:03 pm
Posts: 2
Hello, I'm running your trial download examples using VB6 SP6.

I'm using a Canon Powershot A85 and successfully ran "AcquireImageWithDiskfile". However, when running "SaveImageAs JPG" I get the following runtime error message:

Method "DisableSource" of object "IDynamicTwain" failed.

Basically, all I need to do is to read each of the jpg files from the camera and display and/or store them on disk as Jpg. Any suggestions?

Thanks,
Kevin


Top
 Profile  
 
 Post subject: Re: Error message from sample VB code
PostPosted: Sat Mar 19, 2005 11:28 pm 
Offline
User avatar

Joined: Thu Mar 10, 2005 10:51 pm
Posts: 7
kevincarlson wrote:
Hello, I'm running your trial download examples using VB6 SP6.

I'm using a Canon Powershot A85 and successfully ran "AcquireImageWithDiskfile". However, when running "SaveImageAs JPG" I get the following runtime error message:

Method "DisableSource" of object "IDynamicTwain" failed.

Basically, all I need to do is to read each of the jpg files from the camera and display and/or store them on disk as Jpg. Any suggestions?

Thanks,
Kevin


Hi Kevin,

For the problem you came across, we test the two samples and nothing wrong occurs.

We suggest you try using CloseSource method instead of DisableSource method(included in OnPostTransfer event) in "SaveImageAs JPG" sample code , and see whether such error still occurs.

It is possible that the DisableSource() method is not supported by your TWAIN source.

If there's still a problem, please let me know.

_________________
Dynamsoft Support Team
Ice


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 20, 2005 2:21 pm 
Offline

Joined: Sat Mar 19, 2005 9:03 pm
Posts: 2
Thanks for your quick reply! I'm new to TWAIN and am eager to find any information I can get. Perhaps you can recommend some good books, URLs, etc. (As an independent Consultant/Programmer, I don't have access to many of the resources of larger companies.)

For example, I need to read all the stored images from a consumer-grade Canon digital camera, and store these as serially-numbered JPG file in a specified user directory, for subsequent processing. I'd guess that this is a common usage for your TWAIN library.

I'm sure that some sample code to demonstrate this would be appreciated by many programmers. I'm assuming that this is easily possible, but unfortunately my knowledge of TWAIN is a limiting factor.

Thanks,
Kevin


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 9:18 am 
Hi,

For information of TWAIN, the http://www.twain.org should be the right place to go.

You can use our Coding Service. In this service, you do not need to know anything about TWAIN (which can save you a great deal of time), and we will write the code for you.

Also, you can put any question here, and we will be very pleased to help you.


Thanks.


Top
  
 
 Post subject:
PostPosted: Mon Mar 21, 2005 9:23 am 
Offline
User avatar

Joined: Mon Mar 07, 2005 11:11 pm
Posts: 866
Oh, Sorry. The previous thread is posted by Robert. I forgot to login.


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

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


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

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