tubby735 Level: Protégé
 Registered: 14-02-2006 Posts: 6
|
Error Trapping for NETWORK Printer!
Hi,
I've designed a VB6 application which worked fine for the las t several weeks, however yesterday the network printer for some reason was not available in the middle of the night. This cause my application to fail in the 'PrintIT Function' this function automatically prints out the previous day performance, then clear the data file to start a fresh day.
What happened was the print out never happened and the data was not cleared, so the application kept adding the current day to the previous day data.
Does anyone know how I can trap this network error, so that
the application can dump the info to a file instead and still clear collected data.
Regards
Tubby735
|