LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with vi after using application builder

I am using a Multiple file selection dialogue vi that I found here on the example section in a VI that is being used to export data to Excel. I have attached the problem vi library for you to see. The entire program works great before it is created as a stand alone application. After, the program runs one time correctly, then if executed again, it does not open the file selection dialogue box. I traced the problem to the Multiple File Select vi that I got on here. I have tried with no success to figure out what the problem might be. Can someone familiar with this type of vi please look at it and see if there is anything obvious that can be fixed easily. I need this program to run correctly as the stand alone will be delivered to a customer. The need is for the user to select 1 or more files for import to excel simultaneously. As I said, the entire program works flawlessly before the application is created, but will only run one time afterwards, then simply hangs without any file select dialogue appearing. There is no need to see the rest of the vi as I tried to simply make the example code I got here an executable to test it and found the problem that way. THe code, as found in the zip library, will run without problem until it is turned into an executable. I have attached the files as a zip just as it was downloaded. Please help if you can???
 
thanks
0 Kudos
Message 1 of 3
(2,728 Views)

I do multiple file select just in Labview

Select folder - use List Directory (using a pattern if your want to filter the file) to get  an array of strings for file names - manipulate names (at this point I remove the file extension) - write to properties  of a list box to be used as your dialog select - allow user to pick the files from list box - accept using a separate control, or a user event - build file paths from this selection - do what you need to do.

Lucy

0 Kudos
Message 2 of 3
(2,705 Views)

Hi Franco,

Compiled File Dialog (Win API) but was unable to reproduce the problem you described (XP/LV7.1)  Smiley Sad

Definately a long-shot, but, it couldn't hurt to close the VI-reference opened in File Dialog (Win API).vi

cheers

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 3 of 3
(2,704 Views)