code #1 Thanks agian. I am now working on trying to clear the text field when opening a file, it'll open a file and all, but it just adds it to the end of the currently opend one at the moment, but I have only been trying for a few minutes.