FormLoad is Slow

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sunc82
    New Member
    • Sep 2007
    • 4

    FormLoad is Slow

    When I insert a lot of button and picturebox in a form.
    it will load slowly.
    how to solve this n make it faster?
  • aliasruel
    New Member
    • Sep 2007
    • 73

    #2
    Hi,

    Try converting your Jpg image to GIF..

    regards,
    Ruel

    Originally posted by sunc82
    When I insert a lot of button and picturebox in a form.
    it will load slowly.
    how to solve this n make it faster?

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      Once you are in production make sure you are in release mode. If they are images make sure that they are optimised. HTH,

      Comment

      • Plater
        Recognized Expert Expert
        • Apr 2007
        • 7872

        #4
        Don't load so much at one time?

        Comment

        • sunc82
          New Member
          • Sep 2007
          • 4

          #5
          mm... now the problem is i have to put a lot of controls into 1 form, n i will have many form to go, i heard that multithreading is help, but i have no idea how to make it...

          when i load the form, the button will show 1 by 1... this look too bad..
          how to solve it well?

          Comment

          • Shashi Sadasivan
            Recognized Expert Top Contributor
            • Aug 2007
            • 1435

            #6
            Originally posted by sunc82
            mm... now the problem is i have to put a lot of controls into 1 form, n i will have many form to go, i heard that multithreading is help, but i have no idea how to make it...

            when i load the form, the button will show 1 by 1... this look too bad..
            how to solve it well?
            Make the form's visible property to false at the start of form_Load
            and make it true on the last line of form_load.
            And change the cursor to wait :P

            this way the user will have to wait until it show up completely

            cheers

            PS. its just a temp solution

            Comment

            Working...