I had already registered the .ocx file successfully using Regsvr32.exe, but
the file does not show up in the selection box as a registered server. When
I BROWSE and select my .ocx file, I still get the message, 'Type Library
not compatible for ActiveX Automation'. Is this because it is a .ocx file?
I've read elsewhere on some of the support pages that .ocx files cannot
be used and a .dll file should be created instead of a .ocx file in VBasic.
However I tried amovie.ocx in the system32 folder and it allowed me to see
the methods. What would I have to ask my vendor to do to allow me to access
the methods in his software?
"Daniel Bentolila"
wrote:
>>I think it's not enough that you have that ocx file but you need to regi
ster>that
component into your system registry, the ocx component may need others>dlls
or other files, Now I think the MS Visual C++ comes with some utility>named
RegSrv32.exe which you execute from the dos command line and you supply>the
ocx filename as an argument to that command, If the registration successed,>You
should see that ocx from the CVI ActiveX automation server.>>>
wrote:>>>I want to incorporate the components in this .ocx file that I have
into>a>labwindows project. I choose 'Create ActiveX Automation Controller'
from>the>Tools menu. I do not see that particular server (.ocx file) on
the selection>menu,>so I browse and try to add it. It gives me a 'Type Library
not compatible>for>ActiveX Automation'. Why is this so and how would I be
able to work>with>the vendor to be able to have these controls available
to me?