I am currently working on migrating from FormReader 6.5 to FlexiCapture 11. In FormReader, I had used its API to control the program via COM access, from VB and VB.Net. Can anyone point me to samples for similar methods of working with FlexiCapture? FormReader came with a number of samples, but I'm not finding the same for FlexiCapture. Maybe I'm just looking in the wrong place.
Thanks for any help!
Comments
5 comments
Hello
In the FC11 Help articles there is an article that describes an export performed by an external COM-compatible assembly, the full address of it is Using scripts in ABBYY FlexiCapture > Scripts for customizing processing stages > Sample scripts > Sample scripts describing export > Using an external COM component
Please take a look on this article as it contains main principles of working in such situation.
Thank you for your reply.
Is Export the only program functionality that can be automated via COM? In the past, I had automated recognition, validating, and exporting.
Hello,
Please take a look on the Help article Using scripts in ABBYY FlexiCapture > Specifics of scripts written in .Net languages
When you include in your code the namespaces ABBYY.FlexiCapture or ABBYY.FlexiCapture.ClientUI, stored respectively in ControllerInterop.dll and ShellInterop.dll assemblies, it means that you get access to objects described in Using scripts in ABBYY FlexiCapture > Scripts for customizing processing stages > Objects or Using scripts in ABBYY FlexiCapture > Scripts for processing interface events > Objects Help topics and you may use these objects for your purposes inside the external assembly.
Am I right in thinking that the scripting abilities you pointed out (including the references to external assemblies) are only meant to be called from within FlexiCapture? I'm trying to figure out how to open and control FlexiCapture, while starting in an external program. I want the external program to control FlexiCapture, not the other way around.
There is an ABBYY FlexiCapture 11.0 Shell Objects reference that one can access, but I can't figure out how create the COM object. With FormReader, you'd use "CreateObject("FormReader.Application.6.5")". Is there an equivalent name to reference if attempting to control FlexiCapture?
Hello
You may connect the ControllerInterop dll to your project as it was described before in the ABBYY FlexiCapture > Specifics of scripts written in .Net languages article and get access to FC classes and methods.
Please sign in to leave a comment.