To display a form:
vbnet Code:
  1. FormName.show

To hide a form:
vbnet Code:
  1. Me.Hide

To close a form:
vbnet Code:
  1. Me.Close


One thing to note, if you have your project shutdown mode set to "When startup form closes" if you do Me.Close within the startup form, it will end the program. Changing the shutdown mode to "When last form closes" will allow you to close the startup form (e.g. your login form).