If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How to use MODI(MS Office Document Interface) in VB6?

I already reference the MODI v12 library and use the following sample code. But when I run the project, it shows me an error at "miDoc.Images(0).OCR" with error message: Object hasn't been initialised and can't be used yet.

Actually I'm doing a simple project that input a tif file and then perform the OCR process and output the tif content to a text.

For example the tif file got "ABCDEFGHIJ" then I want to use the MODI OCR to output the ABCDEFGHIJ from the TIF picture.