
10-06-2005, 07:28 AM
|
 |
Google Hound
Retired Moderator * Guru *
|
|
Join Date: Nov 2001
Location: Arizona, USA
Posts: 12,378
|
|
|
If there's a fixed number of bytes per entry, get the file length,subtract the (bytes-per-entry * 50) and read. Then, search.
Since you're validating the serial number every time, this would probably be a good use for a simple database storage, like Access. If you set a primary or unique key on the serial number, ADO wouldn't allow a duplicate entry.
|
__________________
Lou
"I have my standards. They may be low, but I have them!" ~ Bette Middler
"It's a book about a Spanish guy called Manual. You should read it." ~ Dilbert
"To understand recursion, you must first understand recursion." ~ unknown
|