How to use ocx in .Net windows application

Posted by Anshuman Roy on Stack Overflow See other posts from Stack Overflow or by Anshuman Roy
Published on 2010-05-21T09:58:42Z Indexed on 2010/05/21 10:00 UTC
Read the original article Hit count: 450

Filed under:
|
|

I have to use a ocx in .Net application. In the toolbox, i right clicked and from com tab added the ocx. Now the ocx appeared in the toolbox and added the control to the form. Whe i execute the application got this error 'Could not load file or assembly 'Interop.WINCMP3XLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.'. Can you help me what else needs to be done.

I also used the Aximp tool to convert the wrapper dll for the ocx. Now when I used this dll, i could not access the method in the dll.

Please can anyone tell me the best way for using ocx in .Net application.

Thanks

© Stack Overflow or respective owner

Related posts about ocx

Related posts about in