My apologies for an “amorphous” question. I developed an application for my customer that works just fine. In about one out of 30 runs, it crashes without an error message.
The part of the program that is malfunctioning is that which reads a directory of files. It opens them, reads rows of data, puts them into a table and closes the file.
The “crash” only seems to happen when the system is under load. The nature of the crash is that it opens the file and stalls. It is usually part way through the files in the directory when it does this.
I have Application.Screenupdate = FLASE at this point. I do not see the other files opening and closing.
The frustrating part is that I can’t duplicate the problem.
Short of telling the customer to reduce the load on their computer is there anything else I can do?
I had a similar problem a couple of years ago when copying and pasting pictures. However, in that case, the program produced and error that I trapped and re-ran the subroutine recursively until the “all clear: and the copy was successful.
I am wondering if there is something I can trap here
The program has too much proprietary data in it to sanitize. The best I can do is post the code.
![]()
Please Login or Register to view this content.
Bookmarks