VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Opens a file and overwrites it with user entered information!

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 '


Rate Opens a file and overwrites it with user entered information!



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

Download this snippet    Add to My Saved Code

Opens a file and overwrites it with user entered information! Comments

No comments have been posted about Opens a file and overwrites it with user entered information!. Why not be the first to post a comment about Opens a file and overwrites it with user entered information!.

Post your comment

Subject:
Message:
0/1000 characters