wia

Non physical location authorization in IIS6

I'm running an Asp.NET MVC 2 app under IIS 6. All pages are behind Windows Integrated Authentication except for some pages that accepts anonymous access. We setup these pages in the web.config with the location element like this <location path="MyPath/ToThePage"> <system.web> <authorization> <allow users="*"/> </...

Set page size when scanning in WIA 2.0

Hello, I have a business card scanner I'm using WIA 2.0 to interface with. I'm trying to set everything up in code so that I don't have to pop any dialog boxes. The issue I'm having has to do with setting the scanning page size. The scanner is about 4" wide but I can't get it to scan the right-most inch or so of it's bed. I would se...

Using COM objects with WIA and com4j in Java

Hi all I am a newbie in this and I wanted to ask if you could recommend me some articles, examples etc to start with communicating with scanner in java application I am developing a module that should communicate with different scanners conected directly or in the local network... I would like WIA to start with and com4j.. thanks all for...

WIA can not find my internal camera in windows 7

I am currently working on a project where I need to access a build in camera (software will run on a tablet), stream what the camera is showing, and allow the user to take a picture from the stream. I have a version of what I am trying to accomplish on my laptop with its built in camera working. The major difference is the Laptop is usin...

Anyone managed to capture video stream using WIA?

Is there a sample code to TakePicture from a stream url with WIA? I'm looking for some sample code to get started,but only find incomplete docs.. ...

Windows Image Acquisition: How to hide scanner setup window

I use WIA library to scan images in my app. Can I set scanner settings (colorfull, grayscell, dpi....) programmaticaly in my app and not show every time scanning settings to end user? I use next code to get an image from scanner public ImageFile Scan() { try { CommonDialog dialog = new Common...

WIA: Store Scanner settings and using it after

I have scanner capability in my application. I want to enable application to provide automatic scanning without requiring user to select every time scanner properties. Which approach I can use to store and use this information ?. I found THIS article on msdn but it probably not for C# application because i cannot find any Inteface and cl...

WIA 2.0 HP ScanJet 7650 specific problems

I'm having WIA 2.0 problems on Windows 7. One device, HP ScanJet 7650 refuses to have its scanning resolution set to anything above 100. When I try to set either of WIA properties 6147 _ Horizontal Resolution 6148 _ Vertical Resolution to anything above 100 I get: A first chance exception of type 'System.ArgumentException' occ...

Reading a file opened from "Scanners and Cameras" throws UnauthorizedAccessException

Our application requires a user to select a photograph from their camera. The cameras I tested with while adding this feature would all appear as a drive letter in "My Computer" so loading and working with the image was a no-brainer. A coworker gave me his camera which rather than mount as a drive it triggers the awful "Scanner and Cam...

WIA 2.0 Duplex property

Hello, I am developing an aplication with C# to use the WIA 2.0 library. At the moment I could use most of the features, such as ADF (auto document feeder), filters and more. Now, I need to use the duplexer of my scanner (fujitsu). I'm trying to set the WIA_DPS_DOCUMENT_HANDLING_SELECT scanner property to the DUPLEX value. See the cod...