Windows Develop Bookmark and Share   
 index > Windows Forms General > working with a scanner moving from text box to text box
 

working with a scanner moving from text box to text box

I have a form that has 4 text boxes tab index 1-4

the user is scanning a form with 4 barcodes

barcode 1 in text box 1

barcode 2 in text box 2

barcode 3 in text box 3

and

barcode 4 in text box 4

my barcode sanner has a return after the scan

how do I auto move box to box

and the last one to run a sub proc.

Ljhopkins  Thursday, September 04, 2008 4:30 PM

found it

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2595885&SiteID=1

Private Sub txtbxshipnum_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtbxshipnum.KeyUp

If e.KeyCode = Keys.Enter Then

Me.txtbxsoline.Focus()

End If

End Sub

Ljhopkins  Thursday, September 04, 2008 5:55 PM

found it

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2595885&SiteID=1

Private Sub txtbxshipnum_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles txtbxshipnum.KeyUp

If e.KeyCode = Keys.Enter Then

Me.txtbxsoline.Focus()

End If

End Sub

Ljhopkins  Thursday, September 04, 2008 5:55 PM

You can use google to search for other answers

Custom Search

More Threads

• Text smearing on horizontal scroll
• New to Cab(Composite Application Block)... Question on Menu Events
• backgroundworker & passing objects
• Open Form While Executing Code
• Auto close message box
• Display Timer on TaskBar
• graphicspath addstring
• TreeVeiw problem
• How do I make a button to remove data from List<>
• Screen Freezzing