Application development using WIA in c#


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Application development using WIA in c#

  1. #1
    Join Date
    Oct 2010
    Posts
    2

    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
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Moved to .NET

    I found this...does it help?

    http://www.codeproject.com/KB/dotnet...ingdotnet.aspx
    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

  3. #3
    Join Date
    Jan 2008
    Posts
    100
    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 02: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, 04:20 AM
  2. Replies: 0
    Last Post: 11-26-2002, 12:05 AM
  3. RE: Application development with VB & MS-Access
    By michael in forum VB Classic
    Replies: 0
    Last Post: 06-07-2002, 08:53 AM
  4. Rapid application development in .NET
    By Hurry in forum dotnet.announcements
    Replies: 0
    Last Post: 04-26-2002, 11: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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