dim FileNumber as integer
' Open a file and send it a null character.
' Then close the file
FileNumber = FreeFile
On Error Resume Next
Open "C:\Temp\Null.txt" For Binary As FileNumber
Print #FileNumber, vbNull
Close FileNumber
On Error GoTo 0
Hope this helps.
HyperEngineer
If it ain't broke, it probably needs improvement.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.