Try looking under the examples that ship with LV. This is under the help menu item in LV. You can type in subpanel and find examples that might help you. If you still have questions we can make and example for you. Hope this helps.
The problem is probably the path to the VI, like BJD said.
When you build a VI into an exe, the exe serves as a directory. This means if you want to get the directory for the EXE you need to do another strip. You can find out if you're in an EXE by using the Application>>Kind property.
I think this is the third time I wrote this today.