The only catch to this method is if for instance, the normal desired setting for a control is ENABLED, and during the vi run, it is set to DISABLED, and the vi is saved (before the method is called). The default setting will be DISABLED assuming that the vi is then closed. When the vi is later loaded, the control will be DISABLED (by default). With Proper programming, one can avoid that. Another thing, this method did not work with stand-alone LV executables under LabView 6. I think it works now under version 7.
Just a thought.