vhazell wrote:
I want at the second click, third,4,5,.... click in button2, it will append my file, not delete and create new file like above !!
Then use:
if (f.Open(filename, CFile::modeCreate | CFile::modeReadWrite | CFile::modeNoTruncate) != FALSE)
{
f.SeekToEnd();
...
}
"Take only what you need and leave the land as you found it." - Native American Proverb