I want to implement a paperless filing system and was looking to use WIA with C# for the image acquisition. There are quite a few sample projects on CodeProject, etc. However, after downloading every one of them that I can find, I have run into a problem.
In each and every one of them, the reference to WIALib is broken. When I go to add...
How can I use WIA and Twain in C#? The TWIAIN/C# example found at http://www.codeproject.com/KB/dotnet/twaindotnet.aspx Throws an exception at line 59 on TwainLib.cs "an attempt was made to load a program with an incorrect format." on Vista 64.
I would use WIA but it does not have support for all of the devices I want to use.
Is there ...
When I connect my digital camera with my computer, a dialog box containing all the registered programs can be used to get images from the camera will appear. Now I want to add my own program in the list, so that when I click the item of my program, I can use my own program to get images from the digital camera.
Thank you very much!
...
I'm adding Windows Portable Devices (WPD) support to an app that currently uses Windows Image Acquisition (WIA). WIA provides a handy picture selection dialog via IWiaItem::DeviceDlg.
I can't find a WPD equivalent. Is there one, and, if not, what is the preferred technique to allow users to select items? I don't have to write my own dia...
I installed the sample driver for a WIA camera.
I don't know how to get an image from it.
What should I do?
...
I'm trying to identify the scanners attached to the computer. One of the possible solutions is to use WIA (Windows Image Acquisition Automation Library).
These were my actions so far:
Download wiaaut.dll
Copy it to system32
Register it with "regsvr32 wiaaut.dll" (successfully)
Add reference to my project in Visual Studio.NET
Check tha...
I'm using VS2008 SP1 under Vista SP1. My .Net-program uses a COM reference to WIA (Microsoft Windows Image Acquisition Library v2.0). I'm using CommonDialogClass.ShowAcquireImage to scan a document and it's working fine.
One of my customers is running XP. As I understand WIA, under XP you have to use WIALib (WIA 1.0). Is it possible to d...
Hi all,
Our web application uses Windows Integrated Authentication (aka NTLM Auth) for security.
It's working fine for both IE and Firefox users, but Safari users are seeing intermittent problems. Browsing the site will work fine, but every once in a while there will be problems loading elements of a page (e.g. CSS or JS files). Relo...
I have a C# (WinForm) program that supports scanning using WIA. I am trying to set device properties before scanning one or more documents. Primarily I want to set the paper size for the scanner. Following is a snippet of the code:
foreach (Property property in selectedDevice.Properties)
{
//WiaProperties.WiaDpsHorizontalBedSize is ...
I have code that ads both Autoplay and WIA handlers for reading images files from memory cards and digital cameras, respectively, and it works fine.
However, I'd like to reset the Autoplay and WIA handlers to the default of "Ask me what to do every time" the first time my application is run. Why? Because if the user has the handlers s...
I am wondering what would be the best/preferred way to write a scanning app that lives in a web browser. The basic idea is I want to use a web page from where I can click a button which will scan a document on the client and upload that document to server. The first thought that came to mind is write a native (C++?) browser plug-in. Howe...
I cannot get my Canon Pixma MP150 to scan a color scan from c# code. The following code is resulting in a black and white image, or if I change the value of 6146 to 2 then a grayscale image is created. I would like to be able to have a color scan from code. I know the scanner does color images because I can do one through the xp wizard i...
I've registered to receive WIA notifications for all devices through RegisterEventCallbackInterface for WIA_EVENT_DEVICE_CONNECTED and WIA_EVENT_SCAN_IMAGE events. However I only receive notifications when scanner device is plugged in - I don't receive notification when I scan (for example with mspaint which uses WIA). Am I supposed to r...
Hy,
I'm developing small app in C# 3.5 for winXP that will automatically download images and video from camera to pc, on camera plug-in via usb.
I have canon ixus 50 camera and i figure out how to get images from that camera to pc, but I just can't figure it out how to get/download avi format videos, can someone help me pls.
Its true th...
I'm working with a C# WIA application and it seems that I have two ways of accessing the WIA device 1) store the object after the initial call to Select Device or 2) store the device's id and use the manager to access the device only when I need it.
I'm assuming that I can keep hold of the device object for as long as I want but I'm u...
We have a Windows Forms app running on XP that uses WIA to retrieve images from digital cameras attached to our company's field technician laptops. As clunky as the COM wrappers and APIs are, they've handled millions of images reliably. Looking now at inevitable migration to Win 7 and wondering if we should move from WIA to WPD (Windows ...
Basically the constraints here are that i must use WIA because i am trying to get my scanner software to work in Windows 7 and Vista. It would be preferable (like really preferable) if i could do this in VB6.
Now this code i have compiles and everything, however when i run it i get the error "No WIA device of the selected type is availa...
i made web application to scan pages from scanner and worked well but when i made the project on IIS it is not work well and get me this problem
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the c...
Hello, I'm using WIA to acquire images from a scanner with C#. I can scan the papers, but I can't set up the page size correctly, it always defaults to A4 and I need to use Letter or Legal sometimes.
I tried with the WIA_DPS_PAGE_SIZE property, but when I try to set a value, I always get an error, that the value is out of the interval (...
hello guys,
i found some basic techniques around the web to acquire an image from a scanner using the WIA dll, all i want now is to know how can i loop through the result, the showacquireimage method returns only 1 image (or vector)..
thank you,
best regards,
...