I'm trying to do something that was so simple in vb6. I have a form (frmMain) that when a button is clicked it does frmScan.Show(). On this second form, I want the first textbox to have focus and be awaiting input from the user. Here are the things I've tried:
1) From first form (frmMain) I did frmScan.Show() and then frmScan.Focus()
2) Tried adding txtTextbox.Focus() to the form_activated and form_load subs
3) Made sure that the textbox had Tabstop set to True and TabIndex set to 0 so it should get focus first. I also went to view->tab stop order to be sure everything looked good.
Any suggestions would be appreciated.