Well, the file was actually written, so the create time changed. It was only the referece where to write the data to that as wrong, and that I didn't catch when stepping through the code. But now it works. Thanks again for the help!
Arjen Tjallema wrote:
Thanks a lot for your help!
You're welcome; it's good to find the solution occasionally!
txtspeak is the realm of 9 year old children, not developers. Christian Graus