473,771 Members | 2,357 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WinForm app speed issue

Hi

I have a multi-form winform database application. The client keeps
complaining that application runs too slow 50% of the time. The problem
seems to be in two areas;

a) app is slow maximising after a prolonged period of being minimised.

b) when user clicks on a toolbar to select one of the several already open
forms.

This seems to suggest that there is nothing wrong with application per se as
application works fine 50% and also maximising app or moving from one open
form to another open form does not do anything special code wise. Also as
other non .net apps run just fine on the same pcs, this can't be due to spec
of pcs. I have also ngen'd the app using command line 'ngen install
myapp.exe'.

I am therefore wondering what can be causing this slow response and would
appreciate any help in ironing out this speed issue.

Many Thanks

Regards
Jun 27 '08 #1
3 1445
PS: I am using following Infragisitcs assemblies/controls in my app;

ngen install Infragistics2.S hared.v8.1.dll
ngen install Infragistics2.W in.AppStylistSu pport.v8.1.dll
ngen install Infragistics2.W in.Misc.v8.1.dl l
ngen install Infragistics2.W in.SupportDialo gs.v8.1.dll
ngen install Infragistics2.W in.UltraWinCalc Manager.v8.1.dl l
ngen install Infragistics2.W in.UltraWinCalc Manager.v8.1.Fo rmulaBuilder.dl l
ngen install Infragistics2.W in.UltraWinData Source.v8.1.dll
ngen install Infragistics2.W in.UltraWinDock .v8.1.dll
ngen install Infragistics2.W in.UltraWinEdit ors.v8.1.dll
ngen install Infragistics2.W in.UltraWinExpl orerBar.v8.1.dl l
ngen install Infragistics2.W in.UltraWinGrid .v8.1.dll
ngen install Infragistics2.W in.UltraWinList View.v8.1.dll
ngen install Infragistics2.W in.UltraWinMask edEdit.v8.1.dll
ngen install Infragistics2.W in.UltraWinStat usBar.v8.1.dll
ngen install Infragistics2.W in.UltraWinTabC ontrol.v8.1.dll
ngen install Infragistics2.W in.UltraWinTool bars.v8.1.dll
ngen install Infragistics2.W in.UltraWinTree .v8.1.dll
ngen install Infragistics2.W in.v8.1.Design. dll
ngen install Infragistics2.W in.v8.1.dll

"John" <in**@nospam.in fovis.co.ukwrot e in message
news:u%******** ********@TK2MSF TNGP03.phx.gbl. ..
Hi

I have a multi-form winform database application. The client keeps
complaining that application runs too slow 50% of the time. The problem
seems to be in two areas;

a) app is slow maximising after a prolonged period of being minimised.

b) when user clicks on a toolbar to select one of the several already open
forms.

This seems to suggest that there is nothing wrong with application per se
as application works fine 50% and also maximising app or moving from one
open form to another open form does not do anything special code wise.
Also as other non .net apps run just fine on the same pcs, this can't be
due to spec of pcs. I have also ngen'd the app using command line 'ngen
install myapp.exe'.

I am therefore wondering what can be causing this slow response and would
appreciate any help in ironing out this speed issue.

Many Thanks

Regards

Jun 27 '08 #2

"John" <in**@nospam.in fovis.co.ukwrot e in message
news:%2******** ********@TK2MSF TNGP06.phx.gbl. ..
PS: I am using following Infragisitcs assemblies/controls in my app;
Maybe, your problem is the use of those 3rd party tools. Maybe, you should
be talking to Infragistics about speed issues using their controls.

http://msdn.microsoft.com/en-us/magazine/cc163630.aspx

Jun 27 '08 #3
["Followup-To:" header set to microsoft.publi c.dotnet.langua ges.vb.]
On 2008-05-08, John <in**@nospam.in fovis.co.ukwrot e:
Hi

I have a multi-form winform database application. The client keeps
complaining that application runs too slow 50% of the time. The problem
seems to be in two areas;

a) app is slow maximising after a prolonged period of being minimised.

b) when user clicks on a toolbar to select one of the several already open
forms.

This seems to suggest that there is nothing wrong with application per se as
application works fine 50% and also maximising app or moving from one open
form to another open form does not do anything special code wise. Also as
other non .net apps run just fine on the same pcs, this can't be due to spec
of pcs. I have also ngen'd the app using command line 'ngen install
myapp.exe'.

I am therefore wondering what can be causing this slow response and would
appreciate any help in ironing out this speed issue.

Many Thanks

Regards

Have you run a profiler tool to identify the areas that are causing your
slow down?

--
Tom Shelton
Jun 27 '08 #4

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

Similar topics

6
4757
by: William F. Kinsley | last post by:
I am thinking of porting an existing MFC application to MC++ and I have created a simple MFC application to test the environment. My sample MFC application is compilied with the /clr switch. I added a basic WinForm class(via the wizard). In my MFC WinApp class I have a menu message handler to display the standard About Dialog. In the message handler I create, show and close the window. Everything appears to be working fine until I close...
8
2843
by: Sunil Menon | last post by:
Dear All, We are developing applications in ASP.Net...in one of our applications we would like to use a GridControl...we have tried to use a Server-Side Grid control but found the speed to be an issue...also our clients would like to use a lot of client side events like sorting, searching text, save each row on tab out of a row, use the auto correct feature... after intial r&d we feel that using a Grid Control in WinForms would be a...
7
5685
by: Dean Slindee | last post by:
I would like to hear some practical comments about how to decide whether a new application becomes a Winform vs a Webform application. Would you say that every app should be, by default, a Winform app unless it positively cannot be (for some technical reason). Or vice-versa? Obviously, Visual Studio could never be a Webform app because it requires a lot of CPU cycles. It appears to me that there is a broad sort of continuum in...
2
2780
by: jphelan | last post by:
Ever since I successfully applied some techniques for increasing the speed of my 17 meg. Application; it has only made me hunger for more. First, let me list what I have done so far: 1. Split the application and database into front and back-ends, 2. Increased the load-time of my application by "pre-loading my heaviest forms when the database is initially opened, 3. When forms do open, under, "Filter Lookup" I use, "Never", 4. I set...
0
2013
by: dadizhu | last post by:
Hi, everyone. I ran into an UI freeze issue with threading and simplied the problem down to the following sample code. The logic is as follows: 1. The main UI thread creates a non-UI STA thread(m_MainThread). 2. Then the non-UI thread runs and creates derived winform and holds a reference to the winform. NOTE: I don't call Application.Run() because I don't need a message pump on this "hidden form" in my application. I rely on the...
5
10579
by: lamxing | last post by:
Hi, I've come across a strange problem with the WinForm's sizing. I've designed a WinForm and it runs fine on my computer and some other PCs. But when I was trying to run the app under some PCs with wide screen, some of my controls on the WinForm will automatic resize themselves to be bigger and thus push other controls off the screen. For a sample of this problem, please see http://usctimes.com/screen.jpg .. The screen on the left is...
3
3366
by: Torben Laursen | last post by:
I have a COM shared add-in written in C# that I use in Excel. One of the thinks that the user can do is to open some winforms. The problem that I have is that the first time the user opens a winform it is slow around 7 seconds and after that it takes no time. Is there a way to speed up the process to show the winform the first time? Thanks Torben
14
2669
by: Monty | last post by:
Hello, I have created a solution which has both a web UI and a winform UI, the latter is just for administrators. The Web UI (a Web Application Project) and the winform project both reference the same BLL in a separate assembly, and I have all three projects in a single solution file for development, with the two UI's each having a project reference to the BLL assembly. I created a Setup and Deployment package for the winform app...
2
5570
by: =?Utf-8?B?SmltIE93ZW4=?= | last post by:
Hi John, Hopefully this post will find its way back to you - or perhaps be answered by someone else. As I mentioned in my last post on the earlier portion of this thread, changing the serialization settings for the build handled the initial slows we encountered when invoking the web service. Since that time, we ported the original VB.net code over to C# - this was done to make it cleaner easier to include the project in the rest of...
0
10260
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10102
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9910
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.