Resource and Time consuming stuff

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Al

    #1

    Resource and Time consuming stuff

    I'm working on Windows Form VB 2005 project.
    Most of my forms have many controls including Infragistics.
    Even without data objects (commands, dataadapters etc.) forms take some
    visible time (1-2 sec) to appear on the screen. With data it takes even
    more - 4-6 seconds.
    The appearance process goes pretty bad - some controls appear (not entire
    form) first within first 2 seconds, some parts of the previous form is still
    on the screen, then within 3-4 second remaining stuff appears.
    It looks on the screen pretty bad.
    I tried SuspendLayout, I tried to move at least data stuff to different
    events. Nothing helps. I still have a garbage on the screen within several
    seconds.
    I cannot decrease the number of controls on forms because VB 6 application
    with the same features exists and works fine. My goal is to move everything
    to VB 2005 without losing any functionality and without significant changes
    of user interfaces.

    Any advice how to display the form clearly?

    Thanks
    Al


  • gene kelley

    #2
    Re: Resource and Time consuming stuff

    On Mon, 28 Aug 2006 15:13:53 -0400, "Al" <al@newsgroups. comwrote:
    >I'm working on Windows Form VB 2005 project.
    >Most of my forms have many controls including Infragistics.
    >Even without data objects (commands, dataadapters etc.) forms take some
    >visible time (1-2 sec) to appear on the screen. With data it takes even
    >more - 4-6 seconds.
    >The appearance process goes pretty bad - some controls appear (not entire
    >form) first within first 2 seconds, some parts of the previous form is still
    >on the screen, then within 3-4 second remaining stuff appears.
    >It looks on the screen pretty bad.
    >I tried SuspendLayout, I tried to move at least data stuff to different
    >events. Nothing helps. I still have a garbage on the screen within several
    >seconds.
    >I cannot decrease the number of controls on forms because VB 6 application
    >with the same features exists and works fine. My goal is to move everything
    >to VB 2005 without losing any functionality and without significant changes
    >of user interfaces.
    >
    >Any advice how to display the form clearly?
    >
    >Thanks
    >Al
    >
    Impossible to tell what the problem is without seeing code:

    1) My experiences with 3rd party controls - ActiveX versions form VB6 days, although supported in
    NET, generally suffer from performance issues. Are you using an older Infragistics ActiveX version,
    or, the latest and greatest Infragistics NET component for framework 2.0?

    2) Are you trying to essentially "convert" the VB6 app? You likely won't get the performance
    results you are looking for short of rewritting the application from the ground up as a pure NET
    application.

    Gene

    Comment

    Working...