Also please try to use the Native transfer mode (VSTwain1.TransferMode = TransferMode.Native) instead of the Memory trnsfer mode and let me know results.
I have added the following code when I going to scan an image.
VSTwain.IsTwain2Compatible = True
But it is showing an error, saying that " Twain DLL is not found. - at Vintasoft.Twain.StartDevice."
I've gone through the your FAQ section and found the below.
Can I use VintaSoftTwain.NET SDK in 64-bit version of Windows?
Yes, you can use VintaSoftTwain.NET SDK in 64-bit version of Windows.
Here is a list of steps that you should do:
•Download the latest version of TWAIN Data Source Manager from TWAIN web site (twaindsm-X.Y.Z.win.bin.zip file)
•Place twaindsm.dll and twaindsm32.msm (files from "twaindsm-X.Y.Z.win.bin.zip\Twain32" directory) into the "Windows\SysWow64\" directory
•Place twaindsm.dll and twaindsm64.msm (files from "twaindsm-X.Y.Z.win.bin.zip\Twain64" directory) into the "Windows\System32\" directory
•Specify path to the TWAIN Data Source Manager in your code:
...
VSTwain1.TwainDllPath = "c:\Windows\SysWow64\twaindsm.dll"
VSTwain1.IsTwain2Compatible = True
VSTwain1.StartDevice()
...
I've downloaded two folders from TWAIN website.
1) "twain 32" folder contains TWAINDSM32.msm and TWAINDSM.dll files.
2) "twain 64" folder contains TWAINDSM64.msm and TWAINDSM.dll files.
My machine is 32 bit.
I copied TWAINDSM.dll to C:\ WINDOWS \ system \ from twain 32 folder.and write the following code before VsTwain.StartDevice. ..............VsTwain.TwainDllPath = " C:\ WINDOWS \ system \ TWAINDSM.dll "VsTwain.IsTwain2Compatible = True.............
But still the image showing black background in kodak viewer.
Please provide solution on it.
Thanks,Umesh
------------------------------------------
Hello Umesh,
Thanks for your e-mail!
Yes, as it shows "TWAIN version: 2.0 and TWAIN 2.0 compatible: True" set Is= Twain2Compatible Property to true and test how it works.