I have problem about close() or dispose() fucntion with my barcode reader (Windoes Embeded Compact 7). In this case I can only hide() form.
I tried to show Form2 as dialogue but after I clicked the close button (to hide this form and go back to Form1) It made all of my application close
In Form1 (Main):
Public Sub showForm2()
Dim secForm As New Form2
secForm.ShowDialog()
End Sub
In Form2:
'close button
Private Sub closebt_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles closebt.Click
Me.Hide()
End Sub
WndProc
) then I press back or change form then re-enter the scan form again I will received 2 messages per one scan, next time It will be 3, 4, 5 . . . messages. about this problem I don't know why – Palm