IF FILE('c:\temp\IVRFILL.TXT') lnHandle = FOPEN('c:\temp\IVRFILL.TXT') IF lnHandle > 0 && Successful opening of a file.... * Seek to end of file to determine number of bytes in the file. nSize = FSEEK(lnHandle, 0, 2) && Move pointer to EOF IF nSize <= 0 * If file is empty, display an error message. WAIT WINDOW "This file is empty!" NOWAIT ELSE * If file is not empty, store the file's contents in memory * and display the text in the main Visual FoxPro window. = FSEEK(lnHandle, 0, 0) && Move pointer to BOF IF nSize > 0 DO WHILE NOT FEOF(lnHandle) lcStringSegment = FGETS(lnHandle) THIS.PARENT.m_ProcessIVRstringtotable(lcStringSegment) ENDDO ENDIF ENDIF *Get rid of the file, now that we are done with it.... FCLOSE(lnHandle) DELETE FILE c:\temp\IVRFILL.TXT ENDIFIt normally worked fine here on both 32 and 64 bit PCs...... so............. is there a problem with the FCLOSE running before the DELETE FILE so quickly.... should I put a short time delay there so the file is sure to be closed by the time the DELETE FILE is called?