> Example:
>
> Folder1
> subfolder1
> main.vi
> subfolder2
> subvi.vi
>
> When I open main.vi, I want subvi.vi to be found regardless of where
> folder1 is located. I tried using "\..\subfolder2\*" but it
> doesn't like the syntax. Are there any constants that allow you to use
> locations relativ to the main.vi?
>
If you can control the relative location from main.vi to subvi.vi,
including the name of the folder subvi.vi is in, you will not need to
use the search mechanism. This relative path is what LV saves when you
save your VIs, and it is all LV cares about when loading. It is when
the VI is not located in memory, and not found at the relative path,
that LV starts to search.
Greg McKaskle