saveing program features

Say im designing a simple program heres what i want to do.
type a number into a text box, shut down the program and when it reopens i want that number to stay there.
This is so i can change "options" inside of my programs and the program will remember those changes when it re-opens.
[296 byte] By [TuNiX] at [2007-11-20 11:52:30]
# 1 Re: saveing program features
http://www.dev-archive.com/forum/showthread.php?t=393894&highlight=registry
Rich2189 at 2007-11-9 19:32:10 >
# 2 Re: saveing program features
Using a INI file with 'WritePrivateProfileString' & 'GetPrivateProfileString'
GremlinSA at 2007-11-9 19:33:05 >
# 3 Re: saveing program features
To make the things simpler you can use the text file also.
Shaikh.Riyaz.a at 2007-11-9 19:34:04 >