You need to put a return after line 18 is executed because there is no point contuining that function if it fails to open the file.
Last edited by Ancient Dragon; Oct 27th, 2007 at 9:55 pm.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,950 posts
since Aug 2005