A few months ago I recompiled a VB5 app for the first time since it was last built in 1998, it has been used daily. I didn't build this, just inherited it over 7 years ago and have never needed to look at it.
Every once in a while it would miss some files in its directory listings. Took me forever to figure out that it only occurred when the new SAN was under heavy load and took longer than half a second to return a directory listing.
I laughed when I came across this:
Problems Using Intrinsic File System Controls https://support.microsoft.com/EN-US/kb/196141
SYMPTOMS:
When you are using the intrinsic Visual Basic file system controls (for example, DriveListBox, DirListBox, FileListBox), some or all of your files are not listed. This usually occurs when you are trying to access files on a network server, but can occur locally under some circumstances.
CAUSE:
... These controls are old technology. They were not designed for, nor tested with, some of the new operating and network system software. ...
I just made it sleep for a second and then refresh its directory listings, sigh.. not gonna rewrite this thing now..