well
after the last line of your code "ListBox1.Items.Add(TextBox2.Text)" in your last reply put this code
dim LC,minNumberOfRecords as Integer
minNumberOfRecords = 10 'this way at least you need 10 records to stop the program
LC = ListBox1.Items.Count
If LC > minNumberOfRecords -1 Then
If...
use this method
make a global variable
StartedRecoring as Boolean = False
put the code of your timer in this if clause
If StartedRecording Then
'the timer code
End If
and in TextBox2_TextChanged put this code
If TextBox2.Text <> 0 Then StartedRecording = True
this way once the value of...
well simply just add a listbox for example the name is ListBox1
in timer you should put this code
ListBox1.Items.Add(TextBox1.Text)
and for the time that the timer start to record the values i don't know what you have in your mind but you can simply put two buttons one Start and one Stop
in...
i don't quite get your question
but what i understand is that you need a list and a timer with the interval you want and the timer add the value of TextBox2 to the list!
am i right?:S
Hello everyone
I had a little question.
When i open a connection in vb.net should i close it after using it and open it again when i need it or let it be open the whole time until the program is terminated?
Please answer with reason
thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.