Alright guys, I'm a new coder and new to this forum..
At the moment, I'm making a personal program (So it doesn't have to look nice or be super sleek) that is basically an alarm clock. I set the time and date, it writes it to a text document then it reads it from the text document back into another textbox that is hidden and compares it to label1.text which is my system time and date.
the problem is, I have it so that I can add multiple dates in one document so when I enter one it'll do as so :
i.e.
8:30:00 PM 12/13/2010
8:35:00 PM 12/13/2010
The problem is, if I add more than 1 it adds the entire document to the textbox and then doesn't work because it comes out like so..
8:30:00 PM 12/13/20108:35:00 PM 12/13/2010
^ Which as you might've guessed does not equal
Alright guys, I'm a new coder and new to this forum..
At the moment, I'm making a personal program (So it doesn't have to look nice or be super sleek) that is basically an alarm clock. I set the time and date, it writes it to a text document then it reads it from the text document back into another textbox that is hidden and compares it to label1.text which is my system time and date.
the problem is, I have it so that I can add multiple dates in one document so when I enter one it'll do as so :
i.e.
8:30:00 PM 12/13/2010
or
8:35:00 PM 12/13/2010
So my question to you guys is, how can I make the program read 1 line, wait for it to match the label, (I already make it display a message box) and then after that is all done, go to the next line and wait for it to match. etc etc.
Please help guys, I have been fighting with this thing all day and I do believe this is my last bit before I can use it to help me during the day.
At the moment, I'm making a personal program (So it doesn't have to look nice or be super sleek) that is basically an alarm clock. I set the time and date, it writes it to a text document then it reads it from the text document back into another textbox that is hidden and compares it to label1.text which is my system time and date.
the problem is, I have it so that I can add multiple dates in one document so when I enter one it'll do as so :
i.e.
8:30:00 PM 12/13/2010
8:35:00 PM 12/13/2010
The problem is, if I add more than 1 it adds the entire document to the textbox and then doesn't work because it comes out like so..
8:30:00 PM 12/13/20108:35:00 PM 12/13/2010
^ Which as you might've guessed does not equal
Alright guys, I'm a new coder and new to this forum..
At the moment, I'm making a personal program (So it doesn't have to look nice or be super sleek) that is basically an alarm clock. I set the time and date, it writes it to a text document then it reads it from the text document back into another textbox that is hidden and compares it to label1.text which is my system time and date.
the problem is, I have it so that I can add multiple dates in one document so when I enter one it'll do as so :
i.e.
8:30:00 PM 12/13/2010
or
8:35:00 PM 12/13/2010
So my question to you guys is, how can I make the program read 1 line, wait for it to match the label, (I already make it display a message box) and then after that is all done, go to the next line and wait for it to match. etc etc.
Please help guys, I have been fighting with this thing all day and I do believe this is my last bit before I can use it to help me during the day.