> how can I delete the first line from a textfile by vba, or how can i
> delete a special string from a textfile by vba.
You can't, really. Not with _any_ language.
The only way to delete content from a file, text or otherwise, is to:
* read the file
* write the desired content back
That second step is generally to a new file. Once you have a good reproduction,
minus the unwanted bits, you can delete the original and rename the new.

Signature
Working Without a .NET?
http://classicvb.org/petition