What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » VB 6 User help

VB 6 User help
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: VB 6 User help
^o) If you want to add text to the end of the file use this instead, For Output overwrites/creates files, Input reads files and Append adds to files

code:
Private Sub Command1_Click()
Dim namefile As String
namefile = Text1.Text

Open App.Path & "\Accounts\" + namefile + ".txt" For Append As #1
Print #1, Text1.Text
Print #1, Text2.Text
Print #1, Text3.Text
Print #1, Text4.Text
Close #1

MsgBox "Msgbox"
End Sub


This post was edited on 01-23-2008 at 06:48 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
01-23-2008 06:47 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
VB 6 User help - by macbrutal on 01-23-2008 at 05:32 PM
RE: VB 6 User help - by freak544 on 01-23-2008 at 06:35 PM
RE: VB 6 User help - by Spunky on 01-23-2008 at 06:47 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On