Creating a text file and writing into it using File I/O operations
Creating a text file and writing into it using File I/O operations
Rate Creating a text file and writing into it using File I/O operations
(2(2 Vote))
Public sub Form_Load()
Open "D:\Test.txt" For Output As #1
Write #1, "Your Name"
Write #1, "Your Designation"
Close #1
End Sub
'This program creates a text file Test.txt in drive "D:\" and write Your Name and Designation into the file.
Creating a text file and writing into it using File I/O operations Comments
No comments yet — be the first to post one!
Post a Comment