Using ADF with WIA (VB.Net)

While I am working on Capturesco as a scanning/Capturing tool for Alfresco by using WIA, I faced a problem using ADF (Automatic Document Feeder) to scan images. I did some googling on the Internet until I found this article ADF using WIA, the article was for C#, I converted to VB.Net and did some modifications on the code to make it work.

The code will detect if there is a pages on the feeder if not, it will stop scanning, the code need some modifications to add multipages supports, for now all images will be saved as tiff on the C drive.

You can get the Scanning Code from Here