Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 21:47
Geert van Horrik19-Jul-07 21:47 
GeneralRe: Control updating is slow Pin
Martin#19-Jul-07 21:58
Martin#19-Jul-07 21:58 
GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 3:29
sitebuilderLuc Pattyn19-Jul-07 3:29 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 3:33
Geert van Horrik19-Jul-07 3:33 
GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 3:51
sitebuilderLuc Pattyn19-Jul-07 3:51 
GeneralRe: Control updating is slow [modified] Pin
Luc Pattyn19-Jul-07 3:09
sitebuilderLuc Pattyn19-Jul-07 3:09 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 3:27
Geert van Horrik19-Jul-07 3:27 
GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 3:40
sitebuilderLuc Pattyn19-Jul-07 3:40 
Hi Geert,

this sounds like a different cause all together.

How complex is your form, how many controls are there, anything trying to
setup a connection to a DB or another machine, anything special in there ?

if all is normal, reasonnable and simple:

- how is your CPU load during the wait period ? 100% ? 50 % ? less ? (do you have
a dual core, or a hyperthreading CPU ?
- any Thread.Sleep() included ?
- any cross-thread sins ?
- is it also slow without Visual ? double click the exe, if that is fast, its
because Visual needs some 5 seconds to process the first exception you get
(at least it used to be, dont know the current status on that)
- anything involving several threads with joins and/or possible resource allocation
problems (almost deadlocks) ?

if none of the above help, I see only two routes to go, take your pick:
- add logging with timestamp to a lot of things, and study that log file
- remove a lot of things and watch when it suddenly goes lots faster.
(obviously I prefer the logging methodology).

Smile | :)


GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 3:45
sitebuilderLuc Pattyn19-Jul-07 3:45 
QuestionHow to unregister an event Pin
t4ure4n19-Jul-07 1:51
t4ure4n19-Jul-07 1:51 
AnswerRe: How to unregister an event Pin
kubben19-Jul-07 2:00
kubben19-Jul-07 2:00 
AnswerRe: How to unregister an event Pin
Luc Pattyn19-Jul-07 2:01
sitebuilderLuc Pattyn19-Jul-07 2:01 
GeneralRe: How to unregister an event Pin
Dan Neely19-Jul-07 2:19
Dan Neely19-Jul-07 2:19 
GeneralRe: How to unregister an event Pin
Luc Pattyn19-Jul-07 2:35
sitebuilderLuc Pattyn19-Jul-07 2:35 
GeneralRe: How to unregister an event Pin
Bijesh19-Jul-07 3:56
Bijesh19-Jul-07 3:56 
GeneralRe: How to unregister an event Pin
Luc Pattyn19-Jul-07 5:32
sitebuilderLuc Pattyn19-Jul-07 5:32 
GeneralRe: How to unregister an event Pin
Luc Pattyn24-Jul-07 6:46
sitebuilderLuc Pattyn24-Jul-07 6:46 
GeneralRe: How to unregister an event Pin
Martin#19-Jul-07 2:33
Martin#19-Jul-07 2:33 
GeneralRe: How to unregister an event Pin
Luc Pattyn19-Jul-07 2:38
sitebuilderLuc Pattyn19-Jul-07 2:38 
GeneralRe: How to unregister an event Pin
Martin#19-Jul-07 2:48
Martin#19-Jul-07 2:48 
AnswerRe: How to unregister an event Pin
b_umika19-Jul-07 2:01
b_umika19-Jul-07 2:01 
QuestionGenerating a program ID Pin
Muntyness19-Jul-07 1:49
Muntyness19-Jul-07 1:49 
AnswerRe: Generating a program ID Pin
ekynox19-Jul-07 2:04
ekynox19-Jul-07 2:04 
AnswerRe: Generating a program ID Pin
Luc Pattyn19-Jul-07 2:04
sitebuilderLuc Pattyn19-Jul-07 2:04 
AnswerRe: Generating a program ID Pin
Chintan.Desai19-Jul-07 2:29
Chintan.Desai19-Jul-07 2:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.