Results 1 to 4 of 4

Thread: 2 Files in one?

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2011
    Posts
    7

    Exclamation 2 Files in one?

    Lets say i have a login form and when i put in the right details how can i make it so it closes the login window and go to another window? and how to make multiple widows? like multiple forms?

  2. #2

    Thread Starter
    New Member
    Join Date
    Dec 2011
    Posts
    7

    Re: 2 Files in one?

    Anyone?

  3. #3
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: 2 Files in one?

    Please do not bump your threads. For some of the reasons, see this. People will read your thread (and hopefully reply) when they get the time to do so.

  4. #4
    Hyperactive Member
    Join Date
    Jul 2011
    Posts
    278

    Re: 2 Files in one?

    To display a form:
    vbnet Code:
    1. FormName.show

    To hide a form:
    vbnet Code:
    1. Me.Hide

    To close a form:
    vbnet Code:
    1. Me.Close


    One thing to note, if you have your project shutdown mode set to "When startup form closes" if you do Me.Close within the startup form, it will end the program. Changing the shutdown mode to "When last form closes" will allow you to close the startup form (e.g. your login form).

Tags for this Thread

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