LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use ActiveX to start external programs

Hello friends,

there's just one little thing to do.
I want to open a text-file by using the windows editor if I push a certain button at my LabView program.
I think I have to use ActiveX similar to the Excel/Powerpint examples provided with LabView.
But I could not find a ActiveX-reference to the windows-editor.

Has anyone an idea how to do that?

Another question is about registering of ActiveX-programs.
I have to use a part of an external program by using ActiveX. Thats no problem as long as this external program is installed.
But I just want to use a little small ActiceX functionality of this hugh big program. Is it possible use/register only the ActiveX functionality I need without installing the complete external program?

Thanks for your help.
Regards.
Ronny
0 Kudos
Message 1 of 2
(2,534 Views)

Hello

1st question: see this link: http://forums.ni.com/ni/board/message?board.id=170&message.id=103677&query.id=39772#M103677

Will help in opening a windows documen using the default program.

 

2nd question: To use only activex functionality, you must find what(s) .ocx or dll has it.  Then, you will only have to register it, not the full program.

Sometimes, it is no too easy to find that. There are tools in the net to find dependencies and look for the actual situation of that functionality.

 

Hope it helps

Alipio

---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 2 of 2
(2,528 Views)