Resource and Time consuming stuff

A

Al

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
 
G

gene kelley

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top