K
kenanmengu
Hi,
I am developing a NETCF app running in intermec 730.
I've downloaded Intermec SDK and successfully run the barcode sample
provided by SDK.
But when i slightly changed the original code application hangs..
What's wrong with this code?
'**************************************************
Private Sub BarcodeRead(ByVal sender As System.Object, ByVal e As
Intermec.DataCollection.BarcodeReadEventArgs)
MsgBox("Barcode scanned")
' Application hangs here. If I remove MsgBox everything goes OK
Dim LItem As New ListViewItem(e.strDataBuffer)
LItem.SubItems.Add(New ListViewItem.ListViewSubItem)
Me.ListView1.Items.Add(LItem)
End Sub
I am developing a NETCF app running in intermec 730.
I've downloaded Intermec SDK and successfully run the barcode sample
provided by SDK.
But when i slightly changed the original code application hangs..
What's wrong with this code?
'**************************************************
Private Sub BarcodeRead(ByVal sender As System.Object, ByVal e As
Intermec.DataCollection.BarcodeReadEventArgs)
MsgBox("Barcode scanned")
' Application hangs here. If I remove MsgBox everything goes OK
Dim LItem As New ListViewItem(e.strDataBuffer)
LItem.SubItems.Add(New ListViewItem.ListViewSubItem)
Me.ListView1.Items.Add(LItem)
End Sub