‘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.


RSS Feed

I don’t know why I didn’t add it long ago but I’ve added a link to the RSS feed at the bottom of the left hand column, that’s all (oh and I added menus).

A Breakthrough!

I have figured out how to easily read and write using the Streamreader and Streamwriter classes. For anyone who doesn’t know what these classes are they are a new way to read and write information from files, I originally was scared by the idea of learning a big new class but after reading the example here I was not so intimidated, it’s a very simple way to do it, the only difference is after each line I write in I will have to use the constant vbNewLine which you should be able to guess what it does. So the project should be moving ahead a little quicker now.

Small setback, I found out that somehow the whole project was deleted, god thing I hadn’t done too much on it sonce I got back and I don’t comment anything so I would have been totally lost as to what I needed to do anyways but I have a preview for you guys:


I’m sorry

Sorry it’s been so long but I’ve been busy with school and exams and whatnot, but now this task will be so much easier, I have learned how to use User defined structures and random access files. This means that I will be able to set a format for how a task is written to a file, and instead of requiring a search through all of the records to just get to the record needed I can just read the record using its ID number as I call it. So the program will run faster and the code will be more efficient (or in other words I won’t have to do as much work). I plan on putting a good amount of time into the project next week, hopefully I can pull myself away from other things to work on it.

Making progress

Well I am thinking about using a database instead of .txt but that would defeat the whole purpose XD, but it would include a button to create a text file from the database to make it readable on any machine. I’m just saying this because VB 2008 is a huge pain when it comes to managing .txt files, I used some code that said essentially the same thing as the Add Item button in VB 6 but instead of printing it to the text file all nice and neat it printed a huge space, then what I wanted to print ON THE SAME LINE! Huge pain but I’ll figure it out eventually.

Going to Visual Basic 2008

I’m going to try and teach myself Visual Basic 2008 and will be developing¬† the program in that language from now on, this means the project is on hold until i find a decent help site :P, and get a decent knowledge so I don’t have to ask for all the code on the help site :P.

Alpha xcoming todayx here!

Will be uploading alpha version today (only add item button works so far archive button is halfway there). Alpha is available here: http://sourceforge.net/project/showfiles.php?group_id=223573&package_id=271329&release_id=591312

E-mail me of any bugs at: morm[remove if not a bot]reed@[remove again]gmail.com

Bug 1: Task doesn’t end for some reason, run the program then close it a few times, then look at the task list Todo.txt GUI is listed multiple times

Bug 2: Archived Tasks button doesn’t work