Save textboxes values for next use after program restart C++ CLI

Hello, it's possible to save user defined values in textboxes, checkboxes etc for next use, like save login credentials and others, but internally in exe? or its possible only via for example txt files and then read files on form load or database? Thanks.
When the Windows loader runs an executable, it opens the executable's disk file and this disk file is kept open during the lifetime of the process, and is only closed when the process terminates. Because of this lock on the file, it is normally impossible to modify an executable file whilst it is running.
Topic archived. No new replies allowed.