LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
cancel
Showing results for 
Search instead for 
Did you mean: 
TCPlomp

Add a native File Open event

Status: New

For modern application development we need better methods to detect wheter our application is called to open a file.

Currently the only help NI gives is based on command line parameters. And we need to jump through loops to get it working to react on opening a file when the program allready runs.

 

This is a major showstopper in creating professional applications.

 

LabVIEW 8.2 had a hidden event for getting this event, which unfortunatly doesn't work in later versions.

 

 

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!
3 Comments
battler.
Active Participant
I would agree with that.
deyyoung
Member

This needs a lot more attention than it has gotten!

dadreamer
Member

@TCPlomp wrote:
LabVIEW 8.2 had a hidden event for getting this event, which unfortunatly doesn't work in later versions.

Actually it is not true, I have just tested "OS Open Document" event on LV 2011 and 2014 and it run like a clockwork. To achieve this you should just have proper registry keys set, it has been posted here, for example. That thread also contains alternative method of DDE interception, so you would have small additional functionality: your application may know if it's exe file is being double-clicked when it's already running. And, of course, it works with file associations as well.