Heres what im trying
CStdioFile File;
CString Line;
if(File.Open("d:\\test.txt", CFile::modeRead))
{
while(File.ReadString(Line))
{
listBox.SetWindowText(Line);
}
}else{
AfxMessageBox("could not open file", MB_ICONINFORMATION);
}
}
For some reson it wont open the file ??
im so puzzled with this
Kevin

New Topic/Question
Reply



MultiQuote





|