MODI:C#Same codes work well in Office2007 ,but it failed in 0ffice

D

DeanWang

Hi,
The following codes worked well in the office 2007. But it will throw out an
exception with message "OCR Running Error" .

MODI.Document m_MODIDocClass = new MODI.Document();
m_MODIDocClass.Create(imagename);

m_MODIDocClass.OCR(m_currentLanguage, false, true); //The
app will try exceptions at here.

Anyone knows what's wrong?
Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top