Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Experts.

My operating System is WinXP,and I am using VB6.
I am trying to use the Modi,to convert a text picture to a string.

When I run the lines:
Dim miDoc As MODI.Document
                     Set miDoc = New MODI.Document


I get an error message "Activex component can't create object."

Can you please assist me here ?

Thank you.
Posted
Updated 2-May-11 4:13am
v2

1 solution

Sounds as if the MODI[^] component wasn't installed on the system you're running the program on.

Regards,

-MRB
 
Share this answer
 
v2
Comments
avinoamh 4-May-11 8:42am    
Thanks Bihy.

I added the file 'mdivwctl.dll' as a referance in the program,and I have the files 'Interop.MODI.dll' and
'AxInterop.MODI.dll' in the folder.
What am I doing wrong ?

Thank you.
Manfred Rudolf Bihy 5-May-11 11:21am    
The DLLs alone are not enough if you want to use MODI it will have to be properly installed on your system, sorry.
avinoamh 9-May-11 5:34am    
Thanks.
Please tell me how to do it. It will be appretiated.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900