Quote Originally Posted by DataMiser View Post
You are looking for


but you are writing


What is actually in the file?
Have you set a break point and stepped through your code to see what is happening?
If not then these are the first things you should do.
Firstly my program checks if the string was created. If it is created then it reads whether it is "sIntroSequence=BGS_LOGO.BIK" which represents checked status of checkbox18 or "sIntroSequence=" which represents unchecked status of checkbox18.

If no such things is found in text file then it writes default string "sIntroSequence=" (unchecked status).

On the form I have a button that writes "sIntroSequence=BGS_LOGO.BIK" or ""sIntroSequence=" according to checkbox18's checked status.

So it makes sense.