Dany, First, you associate the file with your LV7 app as usual (right-click the file >> Open with >> Choose program >> browse and select your LV app >> check the box 'Always use the selected program..'
Once the file association is made with your LV app, double-clicking the file will launch your LV app and give you the file path as the second element (index 1) of the 'App.args' array. You can then convert this to path and pass it to your read VI(s) in your app. Hope this helps. Khalid ----- Forwarded by Khalid Ansari 02/11/2004 10:42 AM ----- "Dany Allard" <[EMAIL PROTECTED]> Sent by: <[EMAIL PROTECTED]> 02/11/2004 10:06 AM To: <[EMAIL PROTECTED]> cc: Subject: Associate a type of file with a LV7 app Hi, Is it possible to associate a type of file, like *.txt with Notepad.exe, with a LV7 app. I know that LV7 have a new feature that permit to retrieve the command line used to call the app. But I don’t think that would be useful for what I want to do. I want to Double-Click on my file and my LV7 app start automatically and the file is read and displayed. Thanks Dany Allard [EMAIL PROTECTED]