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.
Cannot save scanned image
Moderator: Alex
Re: Cannot save scanned image
Hello,
You can check the result of saving using the VSTwain1.ErrorCode property:
Best regards, Alexander
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)
Re: Cannot save scanned image
I am getting following error code.
what is the possibility of this error
"35 Error at creating file."
what is the possibility of this error
"35 Error at creating file."
Re: Cannot save scanned image
Hello,
Best regards, Alexander
Error means that path is incorrect or you do not have writing rights to specified path.I am getting following error code.
what is the possibility of this error
"35 Error at creating file."
Best regards, Alexander