Public Sub Main()
Dim frm As New frmMDI
frm.Show()
End Sub
I used the above code in module.

In VB it opens the MDI and stays.
In .Net it doesn't open and stay. Application terminates immediately after doing some process.

Pls help.