‘New Button’ Complete

The New Task button is complete! I was having a weird problem where I would write this to the file:TaskCategory & TaskName & vbNewLine vbNewLine means exactly what you think it does, it’s basically the same thing as hitting enter when you have notepad open, because that’s basically how Todo.txt GUI runs, it edits the notepad file while you just click the buttons and enter the information. Anyways while I was writing vbNewLine it added a blank line between each task which totally messed up how the program displays all the tasks in the listbox so instead of writing vbNewLine I wrote nothing! exactly I was confused to but I realized that when you write nothing VB puts a line terminator into the file so it continues to the next line; now onto the Archive button, lots of loops and writing, hopefully not too much pain though.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: