Hi,
I need to insert newline at the end of a textfile using writefile.
Is this possible or are there another API-Call to do that?
/John Jacobson
Printable View
Hi,
I need to insert newline at the end of a textfile using writefile.
Is this possible or are there another API-Call to do that?
/John Jacobson
WriteFile hFile, xxx, 10, numwritten, CLng(0)
Have you tried substituting xxx above for one of these :
vbcrlf
Chr(13)
Try vbCrLf or vbNewline
That didn't work.
I Solved the problem with the VB scripting Runtime instead, It's a bit slower, but it works.