473,387 Members | 1,486 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Resource and Time consuming stuff

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
Aug 28 '06 #1
1 1217
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

Aug 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: cournape | last post by:
Hi there, I have some scientific application written in python. There is a good deal of list processing, but also some "simple" computation such as basic linear algebra involved. I would like to...
10
by: Niall | last post by:
I'm not quite sure which groups to post this to, so short of a massive crosspost, I decided on these two. I am running into troubles with resource usage of our app on Win2k and above systems. In...
4
by: John Wood | last post by:
I know this might be served better in the aspnet forum, but I'm not having much luck with an answer there... I have a couple of questions about asp.net hosted in IIS: 1. If my ASP.net...
2
by: Alexander Wehrli | last post by:
Hi, I embedded some configuration XML-File into my assembly. Everything goes fine if I want to read these Properties. But if I want to change a property, the runtime says me that this stream is...
2
by: s | last post by:
'project with web service <webmethod()> _ public function myws(id as integer) 'do db stuff with id and build document Dim xd As New XmlDataDocument...
2
by: DAL | last post by:
Question: How easy is it to have RSS feeds consumed on my site, and is there any EASY (your dealing with a newbie) tutorials that explain how to write the code. I am looking for a tutorial that...
9
by: Alf P. Steinbach | last post by:
<what to design a C++ solution for> A Windows API /resource/ is data embedded in the executable, accessed via API functions. A resource is completely identified by the quadruple (id, type,...
3
by: Steve Barnett | last post by:
A question on resource usage please. I have a custom control that I paint myself. As part of the code, I have several places where I include code like: canvas.FillRectangle(new...
0
by: Mitja Trampus | last post by:
I am trying to run a subprocess within given time and memory restrictions. The resource module kind of works for me, but I do not understand why and am seeking an explanation. Also, the signal...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.