Windows CE에 구현 된 XP SP3을 통해 MC1000 데이터 수집기가있는 EMDK 2.6이 포함 된 Visual Studio 2005 프로젝트가 있습니다. 내가 Me.TextBox6.Text 서로 다른 길이의 바코드 (예 : 24)를 읽을 때바코드의 길이를 확인하는 동안 오류가 발생했습니다.
'Handle data from the reader
Private Sub HandleData(ByVal TheReaderData As Symbol.Barcode.ReaderData)
'MsgBox("Hello I'm reading ....")
If Me.DataTextBox.Text = "" Then
Me.DataTextBox.Text = TheReaderData.Text
' Here begins the verification of the length
If Len(Me.DataTextBox.Text) = Me.TextBox6.Text Then
' The length is ok
objStreamWriter.WriteLine(Me.DataTextBox.Text)
'Update the last read
Me.Label5.Text = Me.DataTextBox.Text
'Clean the field of the current read
Me.DataTextBox.Text = ""
'The counter of the code bars reads increases +1
Me.TextBox3.Text = Me.TextBox3.Text + 1
Else
Me.DataTextBox.Text = ""
MessageBox.Show("The length of the string read is not as expected", "Error !")
End If
End If
End Sub
문제는 시작 : 은 내가 해결할 수없는 나에게 오류를 제공 프로젝트 내에서이 기능이 메시지 상자에는 ok가 표시되지만 다음 메시지와 함께 다른 메시지 상자가 나타납니다. "StartRead Invalid Request Read already pending" 이 프로그램이 계속 잘 수행되므로이 오류를 제거해야합니다. 도움이 되었습니까? 미리 감사드립니다.
감사합니다. – Alf