PDA

Click to See Complete Forum and Search --> : How do you load a form


bontyboy
Oct 11th, 2002, 12:40 PM
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!

area91
Oct 11th, 2002, 01:34 PM
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]

Edneeis
Oct 11th, 2002, 02:20 PM
Or from the Sub Main you may need to do this to start the thread:

Application.Run(New frmMain())

white_as_snow
Oct 13th, 2002, 07:43 PM
im glad this came up. it solves a problem i was having:D