12-12-2010 07:48 PM
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?
12-13-2010 03:58 AM
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