[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.Jim
[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.I think you can download a trial version of the control from the Desaware website and I think they have some sample VB programs that install with the trial version. When I was first attempting to use the control, I looked at their VB sample program and basically wrote an AcuCobol program that was identical to the sample. It's a pretty easy control to work with.
Jim
[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.What kind of problems are you having with the control?
If you can post a sample program of what you have so far, I can take a look at it.
Jim
[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.This is a demo version
It can only be used in VB
I just wanted some reassurance it would work before I purchased, but if you have used it successfully I will go ahead and get it and proceed with my development. Then if I still have problems, I will forward you the code so and you can make suggestions, Thanks again,
[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.On your test, did you run the program from inside of AcuBench?
I think when we were first trying it out, when we ran our test program from inside AcuBench we got that VB message. But, if we ran the test program from the command line we didn't get the VB message. I know it doesn't make any sense, but I think that is what happened.
[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment."It worked", then my program aborts.
I suspect I need to do some sort of error code handling but I cannot seem to locate how to do this, Can you take a look at my actached code and give me some pointers,
[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.I couldn't find the "It worked" phrase in your code, so I'm not sure exactly where it is aborting.
Try the following code snippet for opening up the scanner and starting the aquire.
inquire twain-1 @ControlState in return-error.
if return-error
modify twain-1 @OpenAndSelectScanner(0)
end-if.
inquire twain-1 @ControlState in return-error.
if return-error = 0
display message box "No device selected." title "Acquire Stopped"
end-if
modify twain-1 @ScanImageWithUI().
[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.[Migrated content. Thread originally posted on 14 March 2003]
I would like to be able to interact with a scanner from an acucobol program using active-x, dll, etc. In short what I would like is have my program allow the scanning in of a document and then let the operator enter key words, location, file name so this information could be captured to a field and then later searched and retrieved and the document displayed to the screen via a call from another acucobol program. In summary, a simplied imaging application. I have an equipment management program and I would like to give the operator the opportunity to scan in repair work orders, etc and associate them with a given piece of equipment.Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.