Take a look at this, make a new project and stick this in the form_load:
Seeing as you just wrote 4096 space characters into the file you would expect the length to be 4096... however the file has a length of 4100! Can anyone explain this?Code:Open "C:\bla.txt" For Binary As #1 Put #1, 1, Space(4096) Close #1 Msgbox FileLen("C:\bla.txt")




Reply With Quote