I wanna write some code to a file, the problem is however that,<BR>the last line of the file (code here) HAS to be at the end of the<BR>file, so my thought was to do a loop doing i to (obj.EndOfThread)-1, with a line-command, to find out wich line i&#039;m to write too, but, when i do find this line, how do i make the code write from there !??? really troubling me, <BR>you&#039;rs truly Zeenie