473,396 Members | 1,871 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Twain Scanner question

I need some decent code example(s) that can work with any scanner without
using any third party software that comes with scanner.
I've been using "Kodak Image Scan Control", but it seems to be very limited
and not all third party scan software would work with it.
Maybe there is existing .NET object in VS.NET that I can use.

Please give me suggestion, or show me links where I can find more help.
Thanks.
Jul 19 '05 #1
2 7178
> Maybe there is existing .NET object in VS.NET that I can use.

..NET has no (not yet?) classes for imaging devices...

You have to use [heavy] PInvoke/Interop with the Win32 Imaging APIs or
any (third-party) COM-Components

check my TWAIN C# sample:
http://www.codeproject.com/dotnet/twaindotnet.asp

or for Windows XP only, my WIA Scripting sample
http://www.codeproject.com/dotnet/wi...tingdotnet.asp
(For XP SP1, there is a new WIA-Automation component)

PLEASE NOTE:
my samples just show the very basic Interop technology,
are NOT complete and you have to understand TWAIN / WIA!

Or check third-party (I did not test any):
http://www.accusoft.com/imaging/imagegear/igp_about.asp
http://www.accusoft.com/imaging/imag...ig_netbeta.asp
http://www.leadtools.com/home2/VertMkts/LTDotNET.htm
http://www.pegasusimaging.com/twainpro.htm
http://www.data-tech.com/Products/ImageMan/imaging.asp
http://www.cfdev.com/activescan/
http://www.dosadi.com/

--
Thomas Scheidegger - MVP .NET - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/
Jul 19 '05 #2
I personally am using Lead tools at our company, and it works great. Its a
bit pricey, but it has a ton of functionality, and I can call them and talk
to one of their developers (or at least someone who knows enough to be a
developer) within about 5 minutes.
"Thomas Scheidegger [MVP]" <sp************@swissonline.ch> wrote in message
news:Ou****************@TK2MSFTNGP11.phx.gbl...
> Maybe there is existing .NET object in VS.NET that I can use.


.NET has no (not yet?) classes for imaging devices...

You have to use [heavy] PInvoke/Interop with the Win32 Imaging APIs or
any (third-party) COM-Components

check my TWAIN C# sample:
http://www.codeproject.com/dotnet/twaindotnet.asp

or for Windows XP only, my WIA Scripting sample
http://www.codeproject.com/dotnet/wi...tingdotnet.asp
(For XP SP1, there is a new WIA-Automation component)

PLEASE NOTE:
my samples just show the very basic Interop technology,
are NOT complete and you have to understand TWAIN / WIA!

Or check third-party (I did not test any):
http://www.accusoft.com/imaging/imagegear/igp_about.asp
http://www.accusoft.com/imaging/imag...ig_netbeta.asp
http://www.leadtools.com/home2/VertMkts/LTDotNET.htm
http://www.pegasusimaging.com/twainpro.htm
http://www.data-tech.com/Products/ImageMan/imaging.asp
http://www.cfdev.com/activescan/
http://www.dosadi.com/

--
Thomas Scheidegger - MVP .NET - 'NETMaster'
http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tomas Christiansen | last post by:
Anyone having experience with Kevin Gill's TWAIN module (from www.sourceforge.org)? Seems that a user MUST be logged in on the computer (Windows 2000) to be able to scan on a TWAIN-scanner?...
0
by: Neil Benn | last post by:
Hello, Has anyone had any success with python twain? I've downloaded it and run the module however, I'm getting a python core crash when calling to SourceManager.OpenSource. Needless to say,...
0
by: Mikael Olofsson | last post by:
Hi all! Sorry for this rather lengthy post. It's a long preamble followed by a few questions based on that. Here's my situation: I am trying to write a specialized scanner utility for my own...
2
by: samuabreu | last post by:
I'm currently developing an API of Twain for Java. As Twain is implemented in C (and in fact Im writing and calling C methods from the app) I couldn't find a better group to search for twain...
3
by: Mateusz [PEYN] Adamus | last post by:
Hi First of all please let me know if there is some other, more suitable group for this news - TIA :-) Now, my problem. I'm writing an C# application in which I'm using some functions from...
4
by: Slavyan | last post by:
I need some decent code example(s) that can work with any scanner without using any third party software that comes with scanner. I've been using "Kodak Image Scan Control", but it seems to be very...
4
by: Dustin Davis | last post by:
I'm hoping there is a TWAIN expert lurking here somewhere :) I'm writing a very customized application. The software will be set up in multiple location and will always have two types of scanners...
3
by: =?Utf-8?B?UmljYXJkbyBGdXJ0YWRv?= | last post by:
I'm facing what i consider to be a serious problem, because i can't find the solution!!! I've made possible, for the software i'm developing, to aquire images from a scanner using WIA. The problem...
1
by: =?Utf-8?B?UmljYXJkbyBGdXJ0YWRv?= | last post by:
I'm facing what i consider to be a serious problem, because i can't find the solution!!! I've made possible, for the software i'm developing, to aquire images from a scanner using WIA. The problem...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.