LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ocx file

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?
0 Kudos
Message 1 of 4
(3,428 Views)
I think it's not enough that you have that ocx file but you need to register
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?
0 Kudos
Message 2 of 4
(3,428 Views)
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?
0 Kudos
Message 3 of 4
(3,428 Views)
When you look closely you will find that CVI is NOT fully supportive of
ActiveX Comp. The word from NI is that it will be in the next release,
which is due sometime in 2001.

Richard.

Sheila Floresca wrote in message
news:389ee283@newsgroups.ni.com...
>
> 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 am
ovie.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
register>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?
0 Kudos
Message 4 of 4
(3,428 Views)