|
-
May 20th, 2013, 08:10 AM
#1
Thread Starter
Addicted Member
[RESOLVED] WriteAllText: append with a space, multiple variables
Hi all.
I am using the below code to write to a file. Each time this code is used, it appends to the file, with no space between the old and new entry.
1. How can I append with a space between the two entries?
2. What about writing multiple variables? If I have two variables, NewEvent1 & NewEvent2, how can I write both to the file, with a comma between them?
EDIT: Forgot to mention that I want to separate with a comma because I want to read the variables back from the file. So the comma is a delimiter.
Thanks in advance.
Code:
My.Computer.FileSystem.WriteAllText("events.txt", NewEvent, True)
Last edited by vbforever23; May 20th, 2013 at 08:20 AM.
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
|