DarkMercenary44
Technical User
I've got a list box that updates itself from a dat file, the problem I run into is that if I make lets say five entrys, then want to delete like the 3rd one, how do I completely delete the last record in the file [cause I'll be moving all records up one to account for the deletion] Right now if I delete a record the list box updates with a blank list item, anyone know away to do this.
The only way I see to do this is to change the name on the orginal dat file, and create a new one reading record for record form old to new and skipping the record that needs to be deleted, but if you have a huge list then that could take forever. DarkMercenary
darkmercenary44@earthlink.net
In the real world
As in dreams
Nothing is quite
What it seems
:Book of Counted Sorrows
The only way I see to do this is to change the name on the orginal dat file, and create a new one reading record for record form old to new and skipping the record that needs to be deleted, but if you have a huge list then that could take forever. DarkMercenary
darkmercenary44@earthlink.net
In the real world
As in dreams
Nothing is quite
What it seems
:Book of Counted Sorrows