View Single Post
  #6 (permalink)  
Old December 2nd, 2013, 10:20 PM
Rod Stephens's Avatar
Rod Stephens Rod Stephens is offline
Wrox Author
Points: 3,166, Level: 23
Points: 3,166, Level: 23 Points: 3,166, Level: 23 Points: 3,166, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 647
Thanks: 2
Thanked 96 Times in 95 Posts
Default

I'm glad it helped!

One of the "practices of good programmers" is pushing a program until it breaks to see when and why it happens so you did the right thing!

The next step is to figure out where it died and see if there's an easy way to fix it. For example, if it dies in GetFiles while searching a big directory hierarchy, you might be able to search the hierarchy one level at a time. (If it dies in GetFiles in a single enormous directory, you may be stuck.)

Or you can leave well enough alone!
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)