Click here to Skip to main content
15,906,569 members
Home / Discussions / C#
   

C#

 
GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 2:31
sitebuilderLuc Pattyn19-Jul-07 2:31 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 2:48
Geert van Horrik19-Jul-07 2:48 
GeneralRe: Control updating is slow Pin
Martin#19-Jul-07 3:04
Martin#19-Jul-07 3:04 
GeneralRe: Control updating is slow Pin
Luc Pattyn19-Jul-07 3:20
sitebuilderLuc Pattyn19-Jul-07 3:20 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 3:22
Geert van Horrik19-Jul-07 3:22 
GeneralRe: Control updating is slow Pin
Martin#19-Jul-07 3:24
Martin#19-Jul-07 3:24 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 3:28
Geert van Horrik19-Jul-07 3:28 
GeneralRe: Control updating is slow Pin
Martin#19-Jul-07 3:38
Martin#19-Jul-07 3:38 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 3:39
Geert van Horrik19-Jul-07 3:39 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 4:01
Geert van Horrik19-Jul-07 4:01 
GeneralRe: Control updating is slow Pin
Martin#19-Jul-07 4:13
Martin#19-Jul-07 4:13 
GeneralRe: Control updating is slow Pin
Martin#19-Jul-07 4:44
Martin#19-Jul-07 4:44 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 5:06
Geert van Horrik19-Jul-07 5:06 
GeneralRe: Control updating is slow Pin
Martin#19-Jul-07 7:02
Martin#19-Jul-07 7:02 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 21:18
Geert van Horrik19-Jul-07 21:18 
GeneralRe: Control updating is slow Pin
Martin#19-Jul-07 21:23
Martin#19-Jul-07 21:23 
GeneralRe: Control updating is slow Pin
Geert van Horrik19-Jul-07 21:35
Geert van Horrik19-Jul-07 21:35 
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 | :)


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.