I have an application which contains lot controls (i.e Buttons,text boxs ,etc..). i want the user to assign shortcuts to the controls before i close the application.
P.S: the Application’s controls increases as i develop it with time so i want a general code that loop all over the application controls and write them down.?
Is there anyway rather than writing it as a table of the control Vs. the shortcut in a textfile then assigning it to the controls again when i open the application??
May you try to store that Shortcut control values into the registry instead of text file.At run time get the value from registry.try it works.