From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open File With LabVIEW Application

I have a LabVIEW application that can be used to analyze several data files at once.  I am wondering what the best way to right click on a file from Windows Explorer and open with the application.  I know you can use the command line property node to find what file was opened if the application is not running when you open the file, but from what I found, this does not work if the application is already running.  I have a work around in place by using my main application as an ActiveX server, and another application which reads the file name from the command line when the user right clicks and opens the file, passes the path to the main application, and shuts down so the process can be repeated.  Is anyone familiar with a way to do this without have two executables?

0 Kudos
Message 1 of 2
(2,901 Views)

This is not easy but you can find info there :

 

- http://lavag.org/topic/10829-how-to-assign-file-extension-to-exe/

- http://lavag.org/topic/4851-associating-my-exe-with-a-specific-file-extension-type/

- http://labviewwiki.org/Associate_your_own_file_type_with_Windows_Explorer

 

Hope this helps


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 2 of 2
(2,875 Views)