Hi vDennis,
One of my colleagues used a piece of software which scans in the documents and then using Active X technology parses the image file and searches for the barcode. Upon finding it the software then reads the document ID and automatically stores it on our HP-UX dabase server - it even allows use of a feeder so the user simply puts multiple documents in the scanner, starts the scan and goes to make a brew !!
Alright, the ActiveX had to be purchased, but, we only needed 1 single user license as we have a 'gateway' PC which processes the documents, scans the barcode and stores them on the UNIX server.
Hint : Although we store the images on the database server we don't store the images in the database, but, write a database record which contains the key details, say, invoice number and another field which is a UNIX directory path and uniquely generated filename. The image is automatically ftp'd by the gateway PC to the UNIX server and a database record created which points the client application to the image. The image is then ftp'd down to the users PC - not storing images in the database is personal preference - prevents database getting too big, but, has disadvantages in that additional FTP software is needed to transfer the images to/from the server.
Active X's required :-
1. FTP - images to/from the server
2. Utility for parsing the image and recognising
the barcode.
3. Active X for scanning
4. Font for the barcode to be printed - we also use integration into MS Excel for printing our documents and have a cell which contains the barcode deta, simply formatted with the barcode font - I used code 39 as I found a free one and the info. we wished to hold fwas very straightforward.
There is an initial cost, but, we do alot of scanning and image moving !!
An absolute superb site for Active X's is
www.componentsource.com
Although, they do charge (you do get support though). so it's always worth doing a search over the internet first to see if you can get free software.
Sorry I can't give you any code samples as the code is not licensed to me, but, email me if you want me to give you some more specific details (or at least show you how to start using some of the above mentioned Active X's).
Progress these days can do pretty much anyything and Business Applications these days require more than a few buttons and drop-down boxes so their ActiveX support is quite good. We use them for all manner of things including image manipulation, advanced label printing and even device control !!
Hope this helps.