Home › Forums › TWAIN Classic › Help Required
- This topic has 4 replies, 4 voices, and was last updated 16 years, 1 month ago by gabe.
- AuthorPosts
I m trying to Scan using TWAIN and Visual Studio 2005 on Kodak i1220 scanner. It works fine with the black and white pixel type but throws an exception ‘Parameter is not valid’ with RGB or Gray Pixels. Does anyone have any idea how to get out of this issue?? It’s Urgent!!
@sourabhv wrote:
I m trying to Scan using TWAIN and Visual Studio 2005 on Kodak i1220 scanner. It works fine with the black and white pixel type but throws an exception ‘Parameter is not valid’ with RGB or Gray Pixels. Does anyone have any idea how to get out of this issue?? It’s Urgent!!
First try a different scanner, to find out if its scanner or code that’s responsible
Hi,
I have a kodak i1220 scanner. I want to Scan using TWAIN and Visual Studio 2005. Is this possible? If it is, can somebody help me as I am very new to this. How can I use the scanner’s drivers under the C:WINDOWStwain_32KODAKScanner directory?
Thank you!
the scanner’s driver are a problem. as soon as you use dllImport and load twain_32.dll and openDs on your i1220 you are using the drivers under %windir%twain_32Kodak – unless you’re running on a terminal server/citrix ~ then you may be running the drivers under the user profile….
In any event, the ide you’re using isn’t a an issue.What kind of exception?
Are you using a library to access twain or are you running everything via interop? If you’re using interop are you running native or managed interop?
What language from Studio 2005?
Where in your code do you get the exception? what’s the last call?.
small update, I don’t have am i1220 here but the i1220 in simulation mode works just fine from my vb.net (studio 2005) program. If it’s working in simulation mode I’d have a hard time thinking that it wouldn’t work with live hardware. if you wanna post a bit of the code you’re having trouble with I’ll take a look at it.
.
- AuthorPosts