I'm getting a lot of problems while working on VB.NET. Its getting difficult 4 me to read & write the inputs from & to the *.TXT file. I'm explaining the whole scenario, so plz suggest me the full code 4 this program
1 - START DATE: //Inputs the start date
2 - END DATE: //Inputs the end date
3 - MESSAGE: //Inputs the message as Reminder Text
4 - "SUBMIT" BUTTON
START DATE: 25/03/2006
END DATE: 25/04/2006
MESSAGE: Check Daily Sales
On pressing the SUBMIT button, the form must close.
For action, the program generates a TXT in a particular directory, let say "DATES_REM.TXT". The form requirments must got written in the TXT file on Line no.s 1,2,3 respectively. e.g.
LINE 1 ------ 25/03/2006
LINE 2 ------ 25/04/2006
LINE 3 ------ Check Daily Sales
Whenever the user logs on to Windows, some file must be accessed which reads the form requirements(all the lines) from TXT file & works according to the following algorithm
IF CURRENT DATE >= 25/03/2006 AND CURRENT DATE <= 25/04/2006 THEN
MSGBOX "Check Daily Sales"
END DATE = END DATE + 3 (days)
// The new date after addition must be overwitten in the TXT file on Line 2