Archived: Removing the Dependency of a LabVIEW Executable to a Certain PathThis document has been archived and is no longer updated by National Instruments
Primary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
Problem: Whenever I create a LabVIEW executable using custom runtime menus, I must add the Runtime Menu (RTM) file as a support file. When I want to move the executable to another machine I also have to move all its RTM files, along with the directory structure that was created for them. If I move the executable to another directory and forget the RTM I usually see the application using the default LabVIEW runtime menus, but in some circumstances I receive "Error 80" and my application will crash. Why is this happening?
Solution: To avoid this problem you should use the Library Manager in LabVIEW to add your application into a LLB file. When you do this make sure you add all your RTM files to the LLB. Now you can build the executable from the LLB and the dependency to a particular directory should be removed. Now you will be able to run your application using the custom runtime menus no matter where you move it.
Related Links: Public KnowledgeBase: Error 7 Searching for a Runtime Menu File (*.rtm) that is No Longer in Use
Report Date: 02/08/2001
Last Updated: 08/27/2014
Document ID: 267GIUOV