Question : form set focus vb.net

In vb6 I would open a form, then set focus back to the form I was on, so the new form would be in the background.

how do I do this in vb.net?

        FrmTestCommands.Show()
        FrmMain.SetFocus()

Answer : form set focus vb.net

try this:

dim myTestForm as new FrmTestCommands
myTestForm.show()
me.focus
Random Solutions  
 
programming4us programming4us