Reading and writing lines from a text file...
I am trying to make a winsock control send a line from a text file once every minite.
so if the text file had 5 lines, it would send a line every minite then go and start from the top again...
First of all, I want to make it so that when a form loads, the text box in it will say the same as the text in the text file.
Then If the user wants to edit the text file, or add a line to it, it can be saved....
Then I want the winsock to send each line from the text file individually at an interval of 1 minite.
Do I can do it with textboxes and a timer, eg
timerinerval being 60000,
that then just keeps sending the text in the text boxes over and over, (which is what i want) but That can't save the text in the textboxes and limits the amount of messages by the amount of text boxes you have....
timer1.enabled = false
timer2.enabled = true
timer2.enabled = false
timer1.enabled = true
i would be grateful of any help :)