- Home
·
- Miscellaneous
·
- Write And Read A text File. I use it for login programs and admin progs!
Write And Read A text File. I use it for login programs and admin progs!
Write And Read A text File. I use it for login programs and admin progs!
Rate Write And Read A text File. I use it for login programs and admin progs!
(2(2 Vote))
'in command button:
on error goto a
open (" file path and name and extension goes here ") for append as 1
print #1, text1.text
close 1
goto b
a:
msgbox "Couldnt Save!", vbcritical, "Error!"
end sub
'read a text file!
'in command button:
on error goto a
open (" file path and name and extension goes here! ")
input #1, msg
close 1
msg = text1
goto b
a:
msgbox "File Not Found!", vbcritical, "Error!"
b:
end sub
Write And Read A text File. I use it for login programs and admin progs! Comments
No comments yet — be the first to post one!
Post a Comment