by Adam Dean (3 Submissions)
Category: Files/File Controls/Input/Output
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sat 25th January 2003
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Opens a file and overwrites it with user entered information!
API Declarations
' Email me if you have any queries '
dim txt$
'Put you code here!
txt$ = text1
'opens the file.. app.path loads a file with the app's
'current path and the filename in the " "
open (app.path & "data1.txt") for output as #1
write #1, txt$
close #1
end sub