Cannot save scanned image

Questions, comments and suggestions concerning VintaSoft Twain ActiveX.

Moderator: Alex

Post Reply
imtiazbengali
Posts: 1
Joined: Tue Jun 07, 2011 7:05 pm

Cannot save scanned image

Post by imtiazbengali » Wed Jun 08, 2011 11:02 pm

I am using one of the demo example where Java Scripting is used to scan and save the images.

I did the following:

1. On the ASP.NET page, I click on the Scan Image button
2. A dialog box showing list of scanning devices attached to the PC is displayed.
3. I select the device from the list
4. Tha application starts the scanning process (I hear the scanning noise on the scanner attached to my local PC)
5. After scanning, no image is stored on my local machine.
6. On debugging the javascript code, I find that VSTwain.SaveImage(image index, path) function does not create any image file on the PC

Please help.

Alex
Site Admin
Posts: 1462
Joined: Thu Jul 10, 2008 2:21 pm

Re: Cannot save scanned image

Post by Alex » Mon Jun 13, 2011 6:57 pm

Hello,

You can check the result of saving using the VSTwain1.ErrorCode property:

Code: Select all

if (VSTwain1.SaveImage(0, "c:\test.tiff")  == 0)
  alert(VSTwain1.ErrorString)
Best regards, Alexander

vetrivel
Posts: 1
Joined: Thu Sep 25, 2014 4:18 pm

Re: Cannot save scanned image

Post by vetrivel » Tue Oct 07, 2014 1:15 pm

I am getting following error code.

what is the possibility of this error

"35 Error at creating file."

Alex
Site Admin
Posts: 1462
Joined: Thu Jul 10, 2008 2:21 pm

Re: Cannot save scanned image

Post by Alex » Tue Oct 07, 2014 4:21 pm

Hello,
I am getting following error code.

what is the possibility of this error

"35 Error at creating file."
Error means that path is incorrect or you do not have writing rights to specified path.

Best regards, Alexander

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests