Use Sub Main to load Form (at startUp) and Form.Show after the job is done. Use a splashForm if needed.