Thread: Loading Screen

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    61
    Rep Power
    12

    Loading Screen


    I want to make window appear until the application be loaded

    how can i do it ?using VB.NET
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Windsor ON, Canada
    Posts
    462
    Rep Power
    14
    show the splash screen. load the main form in the splash screen's activate even. then show the main and unload the splash screen.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    61
    Rep Power
    12
    What is the Splash screen and how can i create it
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    17
    Rep Power
    0
    Splash screen is the screen that you want to show while your program is loading!!
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    61
    Rep Power
    12
    ok how can i do it
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    17
    Rep Power
    0
    It depends on what you want to show, it is a regu;ar form with your specific design. Do what nopoints advised to show and hide the splash screen as you need.
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Posts
    2
    Rep Power
    0

    splash screen


    To create a splash screen while you do other loading events, the easiest way is to create a new Form subclass.

    To get the "splash screen" look, just make the FormBorderStyle = FormBorderStyle.None, and set the BackgroundImage to something pretty (and then set the Form Size to the BackgroundImage's Size). Maybe even throw in a Label with its BackColor set to Transparent and set it public so you can change it as you proceed through your tasks.

    To load the Splash screen, in the method where you are coordinating your application loading, towards the beginning create an instance of the Form and run the .Show() method. Then, when you are almost ready to launch into your main application (through Application.Run, or whatever), run .Close() on the Splash screen form.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    61
    Rep Power
    12
    thank you man

    i did all the things you saied
    i create a form and make pretty background


    nad when the application start(MyBASE.load) i open the form

    for 20 seconds

    but i don't want to use the timer i want to make this screen showen until the application loaded
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Montreal, Canada
    Posts
    486
    Rep Power
    11
    just LOAD the form. When it have finish loading the form then you show it ! not before.

    you just line it up.

    show spash screen
    load frmpatatipatata as frmSomething
    frmpatatipatata.showdialog
    me.hide

    something +- like that ! just that you do it line by line, that's what the code should do then.

    p

IMN logo majestic logo threadwatch logo seochat tools logo