04-13-2006 09:53 AM - edited 04-13-2006 09:53 AM
Message Edited by Support on 04-13-2006 10:46 AM
04-13-2006 10:18 AM - edited 04-13-2006 10:18 AM
I'm assuming that the VI you posted is running as a subVI in your main and that you are getting the path somewhere else. If that's the case, then you should know that the path to a folder is different when you build a executable. For example, if you use something like Current VI's Path, in the development environment, it might be something like c:\folder\example.vi. In an executable, the path would be c:\folder\application.exe\example.vi. You need to do an extra strip path in an executable. You can use the Application property called Application.Type to determine whether or not you are working with an exe or development system to decide whether or not to do an extra strip path. There have been numerous postings on this exact same topic and if you need example code, you can search the forum.
p.s. It's not a good idea to post your phone number and email address in a public forum unless you enjoy spam and unsolicited phone calls. It's also a bit unreasonable to expect the users of this forum (most of whom do not work for NI) to respond directly to you.
Message Edited by Dennis Knutson on 04-13-2006 09:22 AM
04-13-2006 10:28 AM