Jump to content

Incrementar viarivel


tx-oliveira
 Share

Recommended Posts

responseData = System.Text.Encoding.Default.GetString(data, 0, bytes)

		Dim Ritorno As Byte()
		Dim Lunghezza As Integer
		' Dim Quebra As String = Chr(0) & Chr(3)

		Ritorno = New [byte](256) {}


		Lunghezza = ConvByte(data, Ritorno) ' Funcao
		Dim Ii As Integer

		Dim dataOggi As Integer


		For Ii = 4 To Lunghezza + 3
			dataOggi = Hex(Convert.ToInt16(Ritorno(Ii)))

			ListBox1.Items.Add(dataOggi) ' Certo

				TextBox1.Text += dataOggi.ToString() ' So aparece o ultimo




		Next
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.