I mean use this for hiding your main form :

VB Code:
  1. MainForm.Hide()