Hi all big players

Here is a problem of mine:

I create a Form ("Form1") in my project and write a "Sub Main" procedure in a Module ("modMain") as :

VB Code:
  1. Module modMain
  2.     Sub Main()
  3.         Dim clsf As New Form1()
  4.         clsf.Show()
  5.     End Sub
  6. End Module

I set the Startup object property to "Sub Main"


The problem is it shows the form only for half second, why not get focused ?


Thanks in Adv.