|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Resource and Time consuming stuffMost 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
Show quote
Hide quote
On Mon, 28 Aug 2006 15:13:53 -0400, "Al" <a*@newsgroups.com> wrote: Impossible to tell what the problem is without seeing code:>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 > 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 > Impossible to tell what the problem is without seeing code: As I said before even without any code written by me the problem occurs. With data accessing code it just becomes more visible. I made some screenshots (See an attachment). It's hard to catch the moment with a garbage on the screen when there is no data code, so I used the form with data access codes just to display the garbage for longer time. There is a limit with the size of attachment in news groups, so I make 3 replies just to show 3 screen shot. > 1) My experiences with 3rd party controls - ActiveX versions form VB6 I'm using the latest Infragistics stuff for .NET. In the previous version > 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? (VB6 project) I used Sheridan ActiveX controls. > 2) Are you trying to essentially "convert" the VB6 app? You likely won't No, I'm not converting VB6 application. I'm using the list of > get the performance > results you are looking for short of rewritting the application from the > ground up as a pure NET > application. functionalities and trying to create a new VB 2005 project with similar for the end user screen. Inside they are absolutely different from the VB6 screens. Different data access (ADO.NET instead of ADO) and of course different set of controls and other objects. The attachment shows the garbage when an inicial screen appears for the first time. No other forms was displayed before. In the next 2 messages I'll show the same screen when it appears after some other form and final appearance when no garbage on the screen anymore. Thank you Al [attached file: 1.jpg] Attachment shows the garbage when the form appears after another form
[attached file: 2.jpg] Attachment shows the form after everything was loaded and garbage has gone
[attached file: 3.jpg]
Timer driving me nuts
OK, new registry question Tree List View Listview - get value multiple columns validating textbox vfp oledbcommand [Fail] How do I add a c++ library to my vb.net project? Virtual desktop makes .NET modal dialog panels disappear looking for tree/outline control that allows in-place editing AND will expand as I type Looping through data adapter |
|||||||||||||||||||||||