Hi all. I am using the following lines to write to a text file. The current code keeps adding data to the end of text file!! But i want this code to over right the text file(Not add data to end of the text file) with fresh data and if the text file didn't exist create one.
3 Code:
Open "C:\data.txt" For Append As #1 Print #1, strUser; " ID:"; strId Close #1




Reply With Quote