If you mean you want to save a setting when you finish with the programme, and retrieve it later, you can use the commands GetSetting and SaveSetting. These use the registry to save any setting you want and retrieve it later.
Say you have a text box called Text1, and you want it to 'remember' what it said the last time the user ran the programme, you would put in the Form_Unload event
and in the Form_Load event,Code:SaveSetting("MyApp","Startup","Text",Text1.text)
Code:Text1.text=GetSetting("MyApp","Startup","Text","")




Reply With Quote