You can use the text box leave event and set the focus to the button in there.
E.g.,
Private Sub TextBox1_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Leave
Button1.Focus()
End Sub
I have used datarow and iterated through the rows and populated the listbox. I tried this method below and works fine for me. This might not be the most efficient method, but it works
Private Sub loadListbox(ByVal selectString As String)
oConn.Open()
oQuery = "Select *...
Is it possible to kill an application from a different machine on the network, if so how can it be done using VB.NET?
E.g, I have an application running in one machine when the user logs into another machine and starts this app it should automatically kill the previous application running in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.