09-01-2010 10:04 AM
I was wondering if there is a way to have the user drag and drop files onto the .exe icon and this would initiate the program to do something with those files automatically?
For example: Some PDF convertor programs allow you to drag and drop documents, images, etc. directly onto the PDF convertor icon on your desktop and it will automatically convert them all to PDF's, without the user even having to open the program.
Can this same type of functionality be done with a Labview EXE file?
Solved! Go to Solution.
09-01-2010 12:07 PM
If you look at the Command Line Arguments Property of the Application class, the first element should be the EXE name, the following array elements will be the Path or Paths that were dropped on the EXE icon.
09-01-2010 01:13 PM
Thank you! That did it.
The only side note that I would include to others that are trying this is to make sure you have the "Pass All Command Line Arguments to Application" box checked in the "Advanced" section when you build the executable.