Hi all, I'm trying to create a simple configuration program that will change some simple settings in a configuration file. But i cannot seem to find an easy way of finding a matching line in a text file. Remove it and add another line instead ? Have anyone done anything similar ? regards, Lasse