LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read double click file path

Solved!
Go to solution

 

Hi,

 

                    The following like help of I was created the own file format. I am getting the icon and if I double clicked my file it’s calling my application file and its running.

 http://digital.ni.com/public.nsf/allkb/b7ad651dede2edfc86256b36000b80c9

 

Where I will get the file path, which one I was double clicked. please give me some guide line for me. 

 

Thanks in advance.

0 Kudos
Message 1 of 2
(2,565 Views)
Solution
Accepted by topic author M_S

You should tell the application to 'pass command line parameters' (that's in the build settings), then you will get the filepath in the command line parameters:

17503iF340AD405EEA5885

Or you could enable scripting and select the OS Open Document event (does not work in all LabVIEW versions):

17505iC01EAA05BC6D168D

 

If you like this event, please vote here on making it public.

 

There's quite some info on the LabVIEW wiki on associating your application with a file type

 

Ton

 

 

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 2 of 2
(2,560 Views)