Results 1 to 6 of 6

Thread: [02/03] Forms load slow

  1. #1

    Thread Starter
    Hyperactive Member anna7's Avatar
    Join Date
    Sep 2005
    Location
    Catalonia
    Posts
    481

    [02/03] Forms load slow

    Hi!

    What reason can be that the forms are loaded slowly ? Some times I can see it the repainting.

    It goes slow without loading data. Visually the load of controls are slow

    regards
    Last edited by anna7; May 22nd, 2006 at 11:33 AM.

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: [02/03] Forms load slow

    it's mostly because you have slow cpu or low memory.
    try not adding too much code in the Form_Load event
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  3. #3
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    40,106

    Re: [02/03] Forms load slow

    I suspect that a relatively small amount of memory would be the most likely culprit. How much system RAM do you have, and which OS?
    My usual boring signature: Nothing

  4. #4

    Thread Starter
    Hyperactive Member anna7's Avatar
    Join Date
    Sep 2005
    Location
    Catalonia
    Posts
    481

    Re: [02/03] Forms load slow

    Hi!

    The main characteristics are:

    • Pentium 4 2'8 Ghz.
      512 memory DDR333 SDRAM
      ATI Radeon 9700 64 Mb.
      O.S. Windows XP



    regards

  5. #5
    Fanatic Member dom_stapleton's Avatar
    Join Date
    Sep 2005
    Location
    Leigh-on-Sea, UK
    Posts
    665

    Re: [02/03] Forms load slow

    Ive noticed the same problem with programs made in VS. Even with no code, a form with a lot of controls made in VB, is much slower than a form with the same amount of controls made in C++/MFC.

    PS:
    I have a 2.2GHz AMD Athlon XP
    512MB memory
    and NVidia MX 440 128MB graphics card
    Last edited by dom_stapleton; May 23rd, 2006 at 05:07 AM. Reason: added specs
    I use Microsoft Visual Basic 2008 Express Edition.

    If my post has been helpful, please rate it, unless you don't believe in Karma... which actually I don't!

    Resources:
    Visual Basic Tutorials (1, 2) | MSDN Library | Google | Krugle | Search Forums

    Free components:
    Windows Forms Components | XP Common Controls Library

  6. #6
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: [02/03] Forms load slow

    Quote Originally Posted by anna7
    Hi!

    The main characteristics are:

    • Pentium 4 2'8 Ghz.
      512 memory DDR333 SDRAM
      ATI Radeon 9700 64 Mb.
      O.S. Windows XP



    regards
    I guess, you are talking about VS 2005 then, cause your hardware are compitible with vs 2003.

    The only way to solve this problem is looking into your windows settings and try to increase the size of the "page file"
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

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