|
-
May 1st, 2008, 06:51 PM
#1
Thread Starter
Member
open and close txt file
hi im trying to align the name and the email address can someone help me out?
Private Sub cmdcontact_Click()
'Save Contact
Open "contact.txt" For Append As #1
Printer.Print "txtname.Text", "txtemail.Text"
MsgBox ("Contact Saved")
End Sub
it ends up coming out like this in the text file
jim mack [email protected]
Albert Sanchez [email protected]
Chris Jones [email protected]
-
May 1st, 2008, 07:52 PM
#2
Re: open and close txt file
Printer.Print txtname.Text; Tab(50); txtemail.Text
-
May 2nd, 2008, 06:39 AM
#3
Re: open and close txt file
Use a small database instead of a text file.
-
May 3rd, 2008, 11:13 AM
#4
Thread Starter
Member
Re: open and close txt file
hack can you give me more details on that?
-
May 3rd, 2008, 11:32 AM
#5
Thread Starter
Member
Re: open and close txt file
ok i see what you mean now but how would i be able to save the values into the database?
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
|