I don't have the book, so I'm not quite sure what it should be doing. But after the changes made does it save the changes in the right area back to the file? Like from the text property of the textbox control or from a saved string or a string array or wherever those changes are? Are there any other changes made before it saves. To me it looks like it recognizes the changes made but add's ccc to the last line or is never deleted. Ohhhhh I know what else it could be. You might want to, when opening the file, open it as create/new, or else it will just overwrite existing data, or append to it. That might be what's going on. Check on that. Just look at the FileMode properties when opening it, when creating a file data type. =)
RAyRAy
Huh O i C
Program or Be Programmed!!!
|