|
-
Sep 17th, 2003, 12:31 PM
#1
Thread Starter
Lively Member
Ahh creating files
OK hello im only 17 and im learning Vb on my own, i have a project onwhich i have to create. but of course theres an issue.
I have the coding
dim studentname as string
open "C:\test1.text" for output as #1
studentname= text1.text
print #1, studentname
close #1
if i type my name (Jordan) into the text1.text it creates the file like its saposed to, BUT if i type John into it , it erases Jordan and only puts John in there! I need to know how to add multiple things to the file without erasing the existing information.
PLz help me
[VBcode]
SubLife_Load()
If Age>25
Unload me
end if
sub end

[/vbcode]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|