01-04-2006 08:08 AM
01-09-2006 04:49 AM
01-09-2006 01:46 PM
02-25-2010 01:31 AM
Hi all,
yes its an old thread but I'm facing that problem right now too.
I modified an old panel with LW/CVI 7.1
I rebuilt the lwl file with the localizer tool provided with LW/CVI 7.1
Loading the panel with LoadLocalizedPanel throws error -6000
Changing the VERSION entry in the lwl file from 101 to 100 works for all but 1 panel included in that uir.
The one that fails gives an error -46 "The attribute passed is not valid" :great information ((
The thing I modified in the failing panel was the controll mode; I set it from normal to indicator
ah
03-02-2010 12:22 PM
I tried reproducing the problem you're seeing, but I wasn't able to. I took a CVI 7.1 example, created an .lwl for it, and changed the example to load the .lwl at runtime. Then I modified the .uir by changing the control modes of one of its controls from Normal to Indicator and re-ran my program, and I didn't get an error. This makes me think that whatever is causing the error might be sensitive to the specific .uir that you're using. In order for me to reproduce the problem, would it be possible for you to attach your original .uir and .lwl files here, along with a description of what exactly I should then change in the .uir in order to see the LoadLocalizedPanel error?
Thanks,
Luis