This program shows me error ,all i need is to textbox5 when i write some number into ,and press enter goes to textbox6 and shows me like money(1523 money i spend)- textbox5(i write number like 2000 ,money i gave)=textbox6(cash 473):sorry on my bad englishvb.net Code:
Private Sub TextBox5_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox5.KeyPress If e.KeyChar = Microsoft.VisualBasic.Chr(27) Then ComboBox1.Focus() Exit Sub End If If e.KeyChar = Microsoft.VisualBasic.Chr(13) Then If IsNumeric(TextBox5) Then End If TextBox6.Focus() End If 'End If Exit Sub end sub




Reply With Quote