-
Application development using WIA in c#
I want to develop an application that can take an image from a scanner (Microtek). when a "Scan" button is clicked then the application will capture the image from the scanner. How can I start this using WIA(Windows Image Acquisition)? Do I need to install any SDK? Where should I download the SDK? Could anybody please provide me sample codes written in c#.net?
-
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
-
About a year ago, I tried to do similar but wasn't happy with the results.
With the help of the link above you will likely be able to get it to scan but not without first dealing with a native Windows WIA popup every time which didn't seem to ever save the settings. So it will generally be a little more faffy than clicking a single scan button.
Also note that some scanner drivers don't even provide a WIA driver, in which case it could be very hard to use the code from the link that Hack suggested.
I found another solution but it may not be useful to your situation. Since I was using C# (mono) on FreeBSD, I could basically launch a SANE script which did the scanning. This will not work on Windows though.
However, your scanner *might* provide a command-line tool that you can call from your C# application.
Last edited by kpedersen; 08-02-2011 at 01:13 PM.
Similar Threads
-
By Freelancer.Internet.com in forum Careers
Replies: 0
Last Post: 11-18-2009, 03:20 AM
-
By krishna in forum Careers
Replies: 0
Last Post: 11-25-2002, 11:05 PM
-
By michael in forum VB Classic
Replies: 0
Last Post: 06-07-2002, 07:53 AM
-
By Hurry in forum dotnet.announcements
Replies: 0
Last Post: 04-26-2002, 10:49 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks