Click here to Skip to main content
15,905,614 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am new to vb.my problem is that when a form with a gridview is minimized and then restored the form and gridview refresh slowly.how do i tell my application to use the current computers hardware settings?there are a lot of solutions to adjust refresh rate of the screen ,but that is not what i want.
thank you
Kobus
Posted
Comments
Sergey Alexandrovich Kryukov 14-Jun-11 1:36am    
Not clear: what do you call a refresh rate? There is no such thing. If ***you*** introduced it, get rid of it if you can: polling is evil.
--SA
Kleinyster 14-Jun-11 16:15pm    
When a simple datagridview with 20 lines of data is minimized and the restored the lines appear 1 by 1 and not instantly.The same effect you get when playing a new 3d game on an old pc with a slow graphics adaptor – refresh/refreshing?
The application does not make full use of the graphics adaptor.


1 solution

I doubt if it is hardware related, unless you are using a lot of complex images and controls that need on-the-fly rescaling.

Instead, profile your app: That will tell you what is taking the time. Google will help if you search for "c# profiling" and look about a bit. When you have an objective measure of time taken, and by what, you can start lookign at strategies to reduce that time - but not until then.
 
Share this answer
 
Comments
Kleinyster 13-Jun-11 15:43pm    
i agree ,it's not hardware.i only have visual studio 2008 pro and the sdk installed.no other software running except vs.the applications that i develop is refreshing slow ,and it is just a very basic gridview on a form.it seems like vs or the apps is not making use of the graphics adaptor.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900