Thanks Feroz, it does what I need in functunality, but is exactly not the way I want to tackle this problem.
For instance: how are you ever going to reuse such code?
I am trying to make components that I can add to my user toolbox, meaning it needs to be easily scalable and "generic." As I was spending incredible amounts of time on this problem I realized that many most have tackled this problem allready in a much more effecient way.
I have allready come a ways, but it would really help if there is a way to programmatically list all the controls in a vi.
I really appreciate all the support, everybody..
Aart-Jan