Sunday, January 17, 2010

Scan Image with WIA (windows image Acquisition) on VB.NET 2008 and VB 6.0


Wia or windows Image Acquisiton is Library from microsoft for acquiring digital image from imaging device such as Scanner, Web cam, Video Camcorder and Etc. the latest version of WIA is WIA ver 2.0. to get this SDK you direct download Via microsoft or via Reliez.net.
on this project i try scan image from USB scanner and load the picture box with image result from scanner.
The project using microsoft visual studio 2008. before we started make code for wia, we must register wiaaut.dll from SDK with Regsvr32 wiaaut.dll. after that make reference on workspace with microsoft windows image acqusition library V.20.
For more detail you can download the sample project via this link reliez.net

and for SDK with this link, 

Same Project but write with visual basic 6.0 you can visit this link : http://reliez.net/2010/01/24/windows-image-acquisition-on-vb-6-0/