07-18-2006 04:25 AM
07-18-2006 04:31 AM
To debug something like this, you should usually just place some indicators to see why the file "was not found".
I can't look at your code, but I'm pretty sure that had you done that, you would see that the code is trying to look for the file at ...folder\app.exe\file.csv.
That's because when you build an application the VIs are saved inside the EXE which acts like a directory and performing a strip path will give you the path of the exe. To perform another strip path only when you're running an executable you can use the Application>>Kind property, but it's better to use an algorithm which uses a while loop to strip the path until it gets to a directory. There is such an implementation in the OpenG file package.