Results 1 to 4 of 4

Thread: How do you load a form

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2000
    Location
    treehouse
    Posts
    106

    How do you load a form

    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!

  2. #2
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    Toronto, Ontario, Canada
    Posts
    275
    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]
    Last edited by area91; Oct 11th, 2002 at 02:10 PM.

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Or from the Sub Main you may need to do this to start the thread:
    VB Code:
    1. Application.Run(New frmMain())

  4. #4
    Member
    Join Date
    Oct 2002
    Location
    la la la you can't see me
    Posts
    46
    im glad this came up. it solves a problem i was having
    What does "formatting drive C..." mean?!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width