Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Microsoft Windows Image Acquisition Library v2.0 - Duplex

$
0
0

I have a ScanShell 800DXN, I'm trying to use VB.net to scan both sides of a license at the same time. I'm using WIA which I can get to work with one side, if I set property 3096 to 0 (for all pages) when I run the item.transfer I get a Value does not fall within the expected range. error. 

If I use the windows AcquistionWizard (ShowAcquisitionWizard) with the default settings it stores two images.

I downloaded the GetImage C+ example for the msdn example and it works and it looks like the other thing its doing is setting 3096 to 0 and 3088 to 5 both of which I've tried.

*if I set 3088 to 5 I get Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED)) on item.transfer

It looks like it should work, I think it has to be in the WIA library ?


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>