Reading/Writing Resource File?
Posted on 2000-03-25
I can tell you my entire project, since it is of nothing of importance: I am wanting to create a form that shows maximized and shows some text on it, like "Happy Birthday" or "Merry Christmas". Now, this is not a problem, but I want to be able to change the message, font, color, date and time that it should popup on someones computer screen.
What I need answered is how to store a resource file within the EXE file, and read the values for the color, font, size, date, etc. (Don't get me wrong, I know how to create and include a resource file). I just need to know how to read those values once having included the resource file.
This is the most important part. I want to have another form (part of the same exe file), that you can choose your color, your message, font, size, etc. Once you are done, then it will write the new values into the EXE file.
I can easily do this with an INI file, but I do not want to have to distribute an INI and the EXE. I just want to change the values of a few items, send the EXE to someone, and they have the new values. This should make sense.