VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Write and Read Text File with Simple COde

by Teguh Prasetyo (3 Submissions)
Category: Files/File Controls/Input/Output
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Thu 12th January 2006
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Write and Read Text File with Simple COde

Rate Write and Read Text File with Simple COde



open "c:\tes.txt" for output as #1
print #1,"Line 1"
print #1,"Line 2"
close #1
dim L1$
dim L2$ 
open "c:\tes.txt" for input as #1
input #1,L1$
input #1,l2$
close #1
msgbox l1$+vbcrlf+l2$


Download this snippet    Add to My Saved Code

Write and Read Text File with Simple COde Comments

No comments have been posted about Write and Read Text File with Simple COde. Why not be the first to post a comment about Write and Read Text File with Simple COde.

Post your comment

Subject:
Message:
0/1000 characters