[RESOLVED] Save settings after exit and reboot
Everyone,
I know it is possible to save preferences settings so that even if you shut down and restart your computer the preferences are saved. If I want to save the value of a variable so that when the computer is shut down and restarted i could retreive the variable, how could I do this.
I have looked through some threads and it looks like I can write the variables and values to a text file within the program directory but what would the code look like to export and then import the values?
I know this is most likely a very simple thing to do but I just can't seem to get it.
Thanks for your help
Re: Save settings after exit and reboot
This subject has been covered many, many times. Do a search you will find them.
Re: Save settings after exit and reboot
You can use the registry. Look at the SaveSetting and GetSetting methods of VB.
example