DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2010

    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?

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    Moved to .NET

    I found this...does it help?


  3. #3
    Join Date
    Jan 2008
    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

  1. Development of a Webcam Feed Application
    By Freelancer.Internet.com in forum Careers
    Replies: 0
    Last Post: 11-18-2009, 03:20 AM
  2. Replies: 0
    Last Post: 11-25-2002, 11:05 PM
  3. RE: Application development with VB & MS-Access
    By michael in forum VB Classic
    Replies: 0
    Last Post: 06-07-2002, 07:53 AM
  4. Rapid application development in .NET
    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
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.