473,396 Members | 2,111 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,396 software developers and data experts.

Slow app response

Hi

I have replaced an ms access app with its vb.net version at a client site.
Now the clients keeps complaining about how slow the app response is. The
complains they have are for example when app is minimised and then trying to
maximise it after a while takes a while for app to get maximised. Also form
painting of controls is slow and app is generally slow in terms of response
to user clicks. I am using Infragistics controls and my feeling is that
makes the app bit sluggish compared to the original controls shipped with vs
2008 but I need the Infragistics controls for their features. I have also
ngen'd the app but surprisingly only the main app executable gets ngen'd and
not any of the dependency dlls such as Infragistics dlls.

Are there any tips to make app response better for user?

Thanks

Regards
Apr 11 '08 #1
3 2096
It is quite common, when you come from the COM world (ASP, Access apps,
COM), to code .NET like COM instead of like .NET. One potential artifact of
coding COM-like in .NET is a slow application. As you state the repainting
of the form is a problem, this is a prime suspect.

Even if you are coding .NET, a heavy UI can cause some issues. In many
instances, offloading work to another thread can help with the appearance of
speed for the end user, as the UI remains responsive.

Another potential area of slow down is inefficient SQL code. If Access is
still your back end, that could be an issue. There are ways to improve this,
like prepared queries. You also have to watch how you are locking an Access
application. If you code a multi-user application as a single user app, for
example, you will end up with all sorts of delays while it locks for each
user.

The Infragistics controls will slow things down a bit, but it should be on
the nature of a few milliseconds, not the type of slow down you are talking
about. If you have tons of controls on a single form, that could definitely
cause a problem. The solution there is to rearchitect your application into
more specific forms. A good use case writing session, paying attention to
flow of different concerns rather than "how I do it now" may break you
through. If you find you have not changed the application much, you are
probably stuck on "sunk costs" (wanting to hold on to your current UI rather
than pitch some of it out).

Without more specifics on the application, this is about all I can give you.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"John" <in**@nospam.infovis.co.ukwrote in message
news:Ok**************@TK2MSFTNGP02.phx.gbl...
Hi

I have replaced an ms access app with its vb.net version at a client site.
Now the clients keeps complaining about how slow the app response is. The
complains they have are for example when app is minimised and then trying
to maximise it after a while takes a while for app to get maximised. Also
form painting of controls is slow and app is generally slow in terms of
response to user clicks. I am using Infragistics controls and my feeling
is that makes the app bit sluggish compared to the original controls
shipped with vs 2008 but I need the Infragistics controls for their
features. I have also ngen'd the app but surprisingly only the main app
executable gets ngen'd and not any of the dependency dlls such as
Infragistics dlls.

Are there any tips to make app response better for user?

Thanks

Regards

Apr 11 '08 #2
I concur with Mr. Beamer. However, I might question the systems on which the
VB.NET application is running. How much RAM do they have? If they are
RAM-constrained, the system might have to swap to get the compiled image
back into play. This would account for the slow paint performance to some
extent. And yes, using JET (especially in a shared architecture) can be a
performance hog--not to mention the security and reliability issues.

--
__________________________________________________ ________________________
William R. Vaughn
President and Founder Beta V Corporation
Author, Mentor, Dad, Grandpa
Microsoft MVP
(425) 556-9205 (Pacific time)
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
__________________________________________________ __________________________________________
"John" <in**@nospam.infovis.co.ukwrote in message
news:Ok**************@TK2MSFTNGP02.phx.gbl...
Hi

I have replaced an ms access app with its vb.net version at a client site.
Now the clients keeps complaining about how slow the app response is. The
complains they have are for example when app is minimised and then trying
to maximise it after a while takes a while for app to get maximised. Also
form painting of controls is slow and app is generally slow in terms of
response to user clicks. I am using Infragistics controls and my feeling
is that makes the app bit sluggish compared to the original controls
shipped with vs 2008 but I need the Infragistics controls for their
features. I have also ngen'd the app but surprisingly only the main app
executable gets ngen'd and not any of the dependency dlls such as
Infragistics dlls.

Are there any tips to make app response better for user?

Thanks

Regards
Apr 11 '08 #3
John,

What is the problem, as they want something else than the regular, then they
have accept what they get. The Infragistics control is for sure not in ms
Access.

Cor

"John" <in**@nospam.infovis.co.ukschreef in bericht
news:Ok**************@TK2MSFTNGP02.phx.gbl...
Hi

I have replaced an ms access app with its vb.net version at a client site.
Now the clients keeps complaining about how slow the app response is. The
complains they have are for example when app is minimised and then trying
to maximise it after a while takes a while for app to get maximised. Also
form painting of controls is slow and app is generally slow in terms of
response to user clicks. I am using Infragistics controls and my feeling
is that makes the app bit sluggish compared to the original controls
shipped with vs 2008 but I need the Infragistics controls for their
features. I have also ngen'd the app but surprisingly only the main app
executable gets ngen'd and not any of the dependency dlls such as
Infragistics dlls.

Are there any tips to make app response better for user?

Thanks

Regards
Jun 27 '08 #4

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

Similar topics

9
by: j askey | last post by:
I have a strange bandwidth issue that I have finally tracked down to something fairly specific if anyone has any ideas... Setup: Win2003 Server, PHP 4.3.4, IIS6.0, ISAPI Network: DSL line with...
1
by: Jawahar Rajan | last post by:
All, I am using the ASP code below to save some data from a SQL Server database via ADO as an Excel spreadsheet strReportName = Request.QueryString("ReportName") If len(strReportName) > 0 then...
9
by: Seán Meehan | last post by:
Hi, Hope somebody can help because i've looked everywhere else fo ran answer. I'm connecting to an Access table with 100+ rows of data of approx 20 columns wide. I'm using getstring to "Quickly"...
0
by: dyw55a | last post by:
Hi, I have a web service which have a web method to validate the user and password. I am not sure why it slow down after several person start to run it. I let it return interger. But when user...
5
by: Kurt Bauer | last post by:
I have an ASP group calendar application which pulls calendar data from Exchange via webdav into an XML string. I then loop the XML nodes to populate a collection of appointments. Finally I use...
8
by: BlueBall | last post by:
I am writing some kind of network testing tool and I have wrote the following code in ASP.NET with C# int size= 10048576; // around 10 MB data string buffer = ""; for (int j=1; j<=1024;...
6
by: MadMan2004 | last post by:
Hello all! I'm having a problem with a project I'm working on and I'd like to ask for anyone's input that might be helpful. I'm building a rather large front-end application connecting to an...
2
by: jim.clifford | last post by:
Hello. I have a slow response with a system that I am setting up. The OS is Win 2000 Server with SQL Server 2000. My first execution of the SQL procedure is slow (about 40 seconds), while the...
2
by: gnomee2 | last post by:
Hello Everyone, I have a strange problem that I cannot seem to solve. I have two server running Windows 2003 MSSQL on one IIS on the other. Out of the blue I have slow queries that cause asp...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.