VB2005 : Help Making Splash Screen To Load Reference

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rusdyrip
    New Member
    • Jan 2008
    • 29

    VB2005 : Help Making Splash Screen To Load Reference

    hi

    i have trouble on vb2005 first time load,
    it's really slow.
    but after i have open it,the form become quick.

    is there any way to load all on splashscreen.

    i have a look at vb2005 splashscreen example.but it don't have anything change
    on the performance.

    i want to make like ,Adobe Photoshop Loading Screen.so it slow at first open,but quick after that



    thx

    sory bad english >.<
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Generally speaking, the idea of a splash screen is to load as little as possible, so you get something onto the screen as quickly as possible. That way, though your application may take just as long (or even slightly longer) to load, it seems quicker to the user.

    Your splash screen should contain very little code. It should just come up on the screen, ensure that it's visible, then call another routine somewhere else which does all the work. If you're trying to load everything from your splash screen, then it may take a long time to load in all the referenced objects/modules/whatever so that it can start calling them.
    Last edited by Killer42; Jan 28 '08, 03:59 AM.

    Comment

    • rusdyrip
      New Member
      • Jan 2008
      • 29

      #3
      Originally posted by Killer42
      Generally speaking, the idea of a splash screen is to load as little as possible, so you get something onto the screen as quickly as possible. That way, though your application may take just as long (or even slightly longer) to load, it seems quicker to the user.

      Your splash screen should contain very little code. It should just come up on the screen, ensure that it's visible, then call another routine somewhere else which does all the work. If you're trying to load everything from your splash screen, then it may take a long time to load in all the referenced objects/modules/whatever so that it can start calling them.
      i understand.
      my problem is the loading slow because i have many controls

      i don't know how to load this control on background first
      so if i open my form the control is already loaded.

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        I'm not familiar with VB2005, but in VB6 you can simply Load the form, which basically does everything except make it visible.

        Comment

        • Ali Rizwan
          Banned
          Contributor
          • Aug 2007
          • 931

          #5
          If that loading is fake then this is not the good idea for proffesional approach to waste time.
          But if you want to just show a splash screen in which you just give credits which apears for a second and then disappear.

          Add a form set its border style to none or add a splash screen form.
          Place your objects or contents there and then add a timer set some interval to it and right this code in timer:

          Code:
          Me.Hide
          Form1.Show
          Now splash screen appears for the time you have set and then disappears opening the form1.

          For some graphical screens and goodlooking apps or some further help you can mail me or contact me using Yahoo messenger.You can find my email from my profile(clickin g my avatar or name).

          Regards
          >> ALI <<

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Originally posted by Ali Rizwan
            If that loading is fake then this is not the good idea for proffesional approach to waste time.
            But if you want to just show a splash screen in which you just give credits which apears for a second and then disappear.
            What do you mean by "fake"? The specific purpose of a splash screen is to "entertain" the user while the application loads, thus improving the perception of performance. (Although, a bit like screensavers, they do seem to have outgrown their original purpose). This is rarely a waste of time, though in fact it can slightly increase the loading time. It's one of the basics of user interface design - get something visible happening ASAP to reduce the percieved delay.

            Why do you think Windows shows that animated bar at the bottom at startup, for example? If the screen just sat there and apparently did nothing for 20-30 seconds, MS would have to employ another thousand people just to answer phones and say "it's supposed to do that".

            Comment

            • rusdyrip
              New Member
              • Jan 2008
              • 29

              #7
              so the function of splash screen just to show some animation before the form load. then is there any way to load form on background,or i must use thread?


              i am confused how to increase load performance my vb application.
              cause i am use several component and it take my memory resource about 70mb++.

              on vb6 i can hide it by make the form visible a while, then after everything load,i show it
              but on vb2005 the form redraw every time i call show ,so it become slow.


              thx

              Comment

              Working...