wia

WIA Document Handling Status returns 0 even though the ADF has pages loaded

I'm trying to scan from an ADF using VBA and the Windows Image Acquisition library (WIA). I am trying to check to see if there are pages loaded in the ADF so I know whether to scan another page. This function seems to work well in Windows 7 (my dev machine) but not in Windows XP (the production machines). I know MS made some changes t...

access WIA/TWAIN from .NET web application

We are developing C#.NET web application, which MUST have possibility to connect to front-end user's scanner, webcam or sign-pad (http://www.signotec.com/) device and execute their actions. This should be embedded with browser. AS far as I know it's possible with Java, AIR, Silverlight4 (it's still beta). What do you prefer it's best ...

Why can't WIA see my scanner?

I'm trying to use WIA (Microsoft Windows Image Acquisition Library v2.0) to build a C# 3.5 WinForms app in VS2008 running on a Vista rig to aquire images from a scanner. I know there are plenty of SDKs out there that do this (Accusoft, ByteScout, Knowledge Lake, etc) but we wanted some control over the UI (or lack of) and the ability to...

Which is the best .NET image capture API for me to use?

I have been tasked with integrating image acquisition into a .NET application and I have been looking for an API to use for performing this function. I have come across several "standard" APIs, some have been in existence for a long time, some not so long. I have looked at references to ISIS, TWAIN, WIA, and SANE (said to be mostly *ni...

Multipage WIA scan (docfeeder) scans 1 page and blocks scanner

Using C# (VS2008) and WIA - scanning to TIFF format; When I use the scanner for 1 page on the flatbed or document feeder the method executes without any problem. When I load multiple forms into the feeder the execution halts after scanning the first page (keeping status: "scanning to pc") but does not scan the next page(s). The method r...

Will a VB6 App Using wiaaut.dll work on Windows Vista or 7?

I downloaded the Windows Image Acquisition Automation Layer sdk redistributable from Windows and the VB6 app I wrote to capture still images from a DSLR, wia-compliant camera works great on Windows XP. Will the same app work on Windows Vista or 7? Microsoft says, "Windows Image Acquisition Automation Library v2.0 is only supported on Wi...

C#: How to avoid WIA-error when scanning documents with 2400dpi or more?

Hello, when we scan a document with a resolution of 2400dpi or higher, we recieve (for example) the following error-message: COMException: Ausnahme von HRESULT: 0x80010100 (RPC_E_SYS_CALL_FAILED) or COMException: Ausnahme von HRESULT: 0x8021006F in one of the following lines img = itm.Transfer(scanFormat.ScanFormat) as ...

Unified solution for WIA and TWAIN in a web front end

I need to add a web-based capability to allow users to scan images using a local TWAIN or WIA compliant scanner or digital camera and then upload those images to the server. (The scanning experience should be integrated into the web UI as opposed to just allowing them to scan it locally using whatever tools and then upload the resulting...

Alternatives to WPD/WIA on Windows XP?

WPD does not work correctly on Windows XP (SP1 if that matters), even if Microsoft states it does. Problem with WPD: IPortableDeviceManager.GetDevices call does not find any devices on Win XP while it finds all connected cameras on Windows 7. A few other people had this same problem with WPD not working on XP, no solution: 1 2 I hav...

NTLM Authentication fails ONLY with IE against 2k8 App server behind 2k8 IIS7 Reverse Proxy

I'm developing an ASP.NET application for an intranet site that is using Windows/NTLM/WIA/whatever authentication. The application is hosted on a Windows 2k8 server but is accessed through a Reverse Proxy using IIs7 on another 2k8 machine. Authentication works fine in FireFox, Chrome and Safari but fails in IE8. If I circumvent the Pr...

Testing WIA without having a scanner/camera device

Hello, I wrote a simple scanning code using WIA. I don't have a scanner device so I can't test it. Can I simulate a WIA device to testing it ? ...

WPD on XP, Vista, and 7 (need to transfer photo and video files)

I need to transfer files (still photos and videos) from any portable device that a user may connect (still camera, video camera, mobile phone, etc.) I don't need to worry about plain storage devices as these have drive letters. And I only care about existing files, I don't care about live video, preview video, taking new pictures, etc. ...

WIA flatbed vs feeder tray problem

I have some C# code to acquire image from scanner using WIA and it detects where the paper is is -- flatbed or feeder correctly. Now I am testing with Brother MFC and it always tries to pickup the scan from flatbed even when paper is in the feeder tray. I have reinstalled the driver for this Brother MFC so that its a Windows compatible d...

WIA event callback ... unregistering other callbacks that aren't my own?

Hi all, I've registered my program to the WIA_EVENT_SCAN_IMAGE event. Ideally, when I press the physical scan button on my scanner, my program will begin scanning without need for prompt. However, because other programs like Epson Scan might be installed, what ends up happening is that Epson Scan may start before my program can start ...

WIA interop deployment through VS ClickOnce

I have an application that allows me to scan images on my development PC which works successfully. It uses the Microsoft Windows Image Acquisition COM ActiveX dll. I am running VS2008 on Windows 7 64 bit. I am having problems trying to deploy the Interop dll using ClickOnce. This component is referenced through the VS project in the no...

Help needed with a script to copy photos from an iPhone / camera that does not mount with a drive letter

I would like to copy all photos from an iPhone to a computer. The iPhone does not mount with a drive letter. Can you have a look at this script, I only have a basic understanding of VB and cannot get it to work. See Urek's post here: http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/67ee3a21-23a6-4f79-8381-50a7580ebf0a ...

VB6 WIA Module-Automation Error

I'm trying to use WIA in an older VB6 program running in Windows 7 and when I run from source everything works great and I can import images. When I run from the compiled version I get the following error: Automation error. The specified module could not be found. (Error number 2147024770) I found the wiaaut.dll in both system32 and ...

Scanning - hw custom document size

Hi all, I need to perform a scanning of areas which do not meet standard sizes of A3, A4 etc. Those scans have to be loaded and post processed by custom application. The rough idea of my colleague was to disassemble standard scanner and attach optics + electronic (somehow) to a custom device which will navigate it (continuously) through...

scan documents using wia auto document feeder in xp and above

Hello guys, AM developing a scaning utility, that will scan using auto document feeder. i want to work on xp and above. The idea i have got is to use wia v1 for xp and wia v2 for vista, but i don't know how to go about it but i don't know much about the auto document feeder\ any ideas ...

Programmatically define layout for printing images in .NET

When you print images in Windows Photo Viewer, you can define various options: Number of copies of each picture Paper size (Letter, legal, tabloid...) Layout (full page photo, 5x6, 5x7, etc) Is it using WIA? If not, what technology should be used? Any code/ready component available to accomplish the task by accessing those printing p...