Results 1 to 6 of 6

Thread: [RESOLVED]: Very Easy for some

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2003
    Location
    Portville NY
    Posts
    780

    [RESOLVED]: Very Easy for some

    i haven't programmed Vb in a long time and now i need some one to refresh my memory. i have one form in a project and i am trying to add another one. i have a command button to load this new form, my question is, what isthe code to load it? this is what i think that it is
    commandbutton_Click()
    form.load=formname
    end sub
    Last edited by Dubya007; Mar 22nd, 2004 at 12:38 PM.

  2. #2
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    VB Code:
    1. Public Sub Command1_Click()
    2. Form2.Show
    3. End Sub

  3. #3
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    Also consider reading this

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2003
    Location
    Portville NY
    Posts
    780

    RESOLVED

    hey thanks a lot dude that helped me. it worked.

  5. #5
    Supreme User Madboy's Avatar
    Join Date
    Oct 2003
    Location
    England
    Posts
    3,253
    no problem, just edit your first post and add [RESOLVED] in the thread title buddy

  6. #6

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