Information générale
Catégorie:
Photos et traitement d'images
>I have a request from a client to be able to scan supporting documents from VFP. Has anyone ever done this that could help lead me in the right direction? Basically, they want a data entry form, and the ability to scan documents directly from the form by pressing on a "Scan" button to scan supporting documents for the data they are entering. Is this as simple as finding an ActiveX component, or does it require API calls to access the scanner Twain driver? Please respond if you have any information regarding this.
>
>Thank you in advance,
>Dan Madero
I have used espia twain class and espia image class for a simular application. The classes can be added to your form like other components. When you tell the control to scan an image in will call the scanner software (ie.HP Precision Scan), scan the image, and store in the twain class on your form. With windows NT the image can be scanned with the scan software user interface running unnoticed except for some progress bars that may pop up.
After scanning the image there is a command that will allow you to save the image to a file or memo field (not genereal field). Its not that bad. The negative is there are some support FLL files that must be used and there are two version, run-time and design time, and it can get messy when distributing using these classes.
My 2 cents,
David
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement