If you are having a problem with LoadPanelEx, the most likely cause is that the EXE can't find the UIR file. Make sure that after you distribute your application, your UIR file is in the location specified in the LoadPanelEx call. If the UIR file is not present or in the wrong location, modify the distribution kit to put the UIR file in the write location.
Best Regards,
Chris Matthews
National Instruments