Results 1 to 2 of 2

Thread: splashscreen

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    176

    splashscreen

    Hi All.

    When I run project splashscreen is popup and then Logon window is run. But unfortunately when Logon window is run the splashscreen still open like maximized window and I cannot see Logon window. How to fix that problem?

    Thanks.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: splashscreen

    Displaying a splash screen and a login window is a little bit tricky. You should definitely use the splash screen functionality built into VB, i.e. add your form and select it as the application splash screen in the project properties. For the login window, you have basically two options:

    1. Display the login window from the Load event handler of the startup form. The issue with this is that the main form will be created and displayed no matter what, so don't use this option if you want to exit the app on a failed login.

    2. Make the login window the startup form and set the Shutdown Mode to Last Form instead of First Form.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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