Hi,
Sorry that I can't pub the code, but below is some pseudocode of my application. This application is converted from clipper to vfp and
most of the program structure remain the same as before due to time
constraint plus I am still new to vfp.
//example code
do while .t.
if file found
unzip the file
process the file to main database files
else
display that the application is idle
endif
if exit
break out of loop and end program
endif
doevent <------ to allow the application to response to user event
enddo
Best Regards
Virusim