VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Creating a text file and writing into it using File I/O operations

by Bhuwan Chand Joshi (69 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 21st July 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

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



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. 


Download this snippet    Add to My Saved Code

Creating a text file and writing into it using File I/O operations Comments

No comments have been posted about Creating a text file and writing into it using File I/O operations. Why not be the first to post a comment about Creating a text file and writing into it using File I/O operations.

Post your comment

Subject:
Message:
0/1000 characters