I'm a newbie in VB...
I have an application written in VB. This application should be able to acquire image from a scanner(TWAIN) and display in my application.
Anyone knows about how to do that? Maybe I need a scanner ActiveX, right?
Thanks.
Printable View
I'm a newbie in VB...
I have an application written in VB. This application should be able to acquire image from a scanner(TWAIN) and display in my application.
Anyone knows about how to do that? Maybe I need a scanner ActiveX, right?
Thanks.
have a look at this
hello, thanks for your reply but I cannot access to this page.:(
I can access the link ...
http://www.catenary.com/howto/intrface.html
I could, but the samples required their library.
Have a look here, there is a trial download available.
http://www.catenary.com/
I'm also new, but in my opinion it should be very simple. :rolleyes:
You need a TWAIN ActiveX control to do this. Is Dynamic TWAIN OK? ;)
There are examples in www.planet-source-code, take a search there. ;)
Take a look at the VintaSoftTwain ActiveX: http://www.vintasoft.com/vstwain-index.html.
VintaSoftTwain ActiveX allows to control work of scanners, digital or web cameras and any other TWAIN devices. You can fully control an image acquisition process, use an automatic document feeder, clean up images using noise removal, auto border crop, blank page detection, save acquired images to disk or SQL server, upload images onto web or ftp server.
EZTW32.DLL can be an option. However its not an ActiveX but it is an API. It's easy to use. Try Google on this or I can provide some code.
Success.
Can you provide me with some code? How do you register the DLL? I tried adding a reference to it but VBA refused.
The code provided is not explained but simple to read.
Copy the dll to windows/system. It's not an ActiveX dll but an API!
Are you doing this in VB or Excel VBA?
I used eztwain for VB. Hack I was reading to fast I mist Triple A's VBA.
I am using VBA. But VBA and VB are so much alike that I figured what works in VB also works in VBA.
I can change my application to VB but that is difficult because I am using the excelsheet to input the data. I am using a 9 by 9 grid in excel to input some numbers. I hate to implement a 9x9 matrix of textboxes. It can be done but is considerably more work.