Here is my code
Dim num() As Integer = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
Dim temp As String = ""
Dim str As String = txtReading.Text
For x As Integer = 0 To str.Length
For y As Integer = 0 To num.Length
If str(x) = num(y).ToString...
Hi! When I'm receiving data from serial port the output is like these: 0.00023 but when I inputted it into db the number becomes 23
in the db, I validated it as varchar.
I'm having a problem about closing the port, because everytime i close the port, my program freezes.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click, Button2.TextChanged, RichTextBox2.TextChanged
Try
If...
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.