Text Field and Running time issue in .Net
-
Hi all, I have a program running without stop with a textfield to display data. I reset the textfield whenever its maxlength is reached. The program ran well but one day I saw my computer was restarted and I looked at the application event and saw that it was caused by Running time in .Net . I wonder if anyone knows this running time issue or a similar problem. Thanks. Kyah
-
Hi all, I have a program running without stop with a textfield to display data. I reset the textfield whenever its maxlength is reached. The program ran well but one day I saw my computer was restarted and I looked at the application event and saw that it was caused by Running time in .Net . I wonder if anyone knows this running time issue or a similar problem. Thanks. Kyah
I never had any issues regarding this. Could you post what exactly has been written to the events queue?
-
I never had any issues regarding this. Could you post what exactly has been written to the events queue?
well, the code is not so complicated. private void display(string data) { checklength(data.length); txtdisplay.appendtext(data); } private void checklength(int num) { if((txtdisplay.text.length + num) > txtdisplay.maxlength) txtdisplay.reset(); } Anyone wants to test, creating a form with multiline textfield, just running a forever loop and passing a string to the display function. Thanks. Kyah