Your best bet would be a Sub Main
Example:
VB Code:
Module Module1 Public Sub Main() Dim frm as new Form1 If something = True Then Application.Run(frm) Else Something else End If End Sub End Module
|
Results 1 to 7 of 7
Thread: Closing formThreaded View
|
Click Here to Expand Forum to Full Width |