I can't believe this! I can't load a form. I have a module with a Sub Main() procedure to connect to a database and then I want to load a Form (frmMain).
Good grief Charlie Brown!
Printable View
I can't believe this! I can't load a form. I have a module with a Sub Main() procedure to connect to a database and then I want to load a Form (frmMain).
Good grief Charlie Brown!
ok..here it is..i no its hard when u first try :
Dim Form as New FrmMain
Form.Show
-------------------
change the FRMMain to what you want to show[CODE]
Or from the Sub Main you may need to do this to start the thread:
VB Code:
Application.Run(New frmMain())
im glad this came up. it solves a problem i was having:D