Click here to Skip to main content
15,908,437 members
Home / Discussions / System Admin
   

System Admin

 
AnswerRe: Registry and environment variables Pin
Roger Wright28-Jan-07 20:56
professionalRoger Wright28-Jan-07 20:56 
QuestionRefresh all the screen (with Windows) Pin
dannygilbert326-Jan-07 1:19
dannygilbert326-Jan-07 1:19 
AnswerRe: Refresh all the screen (with Windows) Pin
Dave Kreskowiak26-Jan-07 5:54
mveDave Kreskowiak26-Jan-07 5:54 
GeneralRe: Refresh all the screen (with Windows) Pin
dannygilbert326-Jan-07 7:50
dannygilbert326-Jan-07 7:50 
GeneralRe: Refresh all the screen (with Windows) Pin
Dave Kreskowiak26-Jan-07 11:09
mveDave Kreskowiak26-Jan-07 11:09 
GeneralRe: Refresh all the screen (with Windows) Pin
dannygilbert329-Jan-07 2:13
dannygilbert329-Jan-07 2:13 
Question.NET 1.0 and 2.0 app on Vista Pin
Giles25-Jan-07 21:31
Giles25-Jan-07 21:31 
AnswerRe: .NET 1.0 and 2.0 app on Vista Pin
Mike Dimmick26-Jan-07 5:17
Mike Dimmick26-Jan-07 5:17 
Disclaimer: I'm not running Vista. However, I know a little about it.

If you're using the Windows Aero interface, try switching to the Windows Classic theme. Does that speed it up? If it does, possibly you're falling foul of the desktop composition.

With the Desktop Window Manager turned on (awful name, that), 'classic' 2D UI (GDI, GDI+) is no longer rendered in hardware by the graphics card. Instead, it is rendered in software to an off-screen memory buffer[1], which is then used as a texture on the '3D' object making up the window itself. Whenever you make a change, the texture has to be updated. This is different from classic GDI rendering, where the pixels were updated directly (with any regions obscured being clipped out so you didn't paint over a different window). This does mean that if a window is moved over yours, no WM_PAINT messages are sent.

See here[^] for some details on what's happening with GDI windows.

If I recall, the recommendation is to ensure that you're doing all your painting in WM_PAINT handlers, i.e. OnPaint in .NET, and simply using Invalidate to cause a callback to OnPaint if you need draw anything at any other point. That basically means that anywhere you use Control.CreateGraphics is suspect.

You should probably also be looking to make the minimal update required rather than completely redrawing a window.

If you're just using built-in controls then there possibly could be a problem with .NET itself.

It sounds like the hardware is pretty much up-to-date, but you should check whether the systems have integrated graphics (i.e. graphics implemented in the chipset using part of main memory for the video buffer) as this does have poor performance generally.

Or, of course, I could be off base entirely and it's got nothing to do with graphics!

[1] It's possible that some cards might support doing it in hardware, but I think current cards can't use their 2D acceleration hardware while the 3D APIs are in use, even if the driver model supported it, which I don't think it does.



Stability. What an interesting concept. -- Chris Maunder

GeneralRe: .NET 1.0 and 2.0 app on Vista Pin
Giles27-Jan-07 1:26
Giles27-Jan-07 1:26 
QuestionSystem restart [modified] Pin
deeps_cute25-Jan-07 18:15
deeps_cute25-Jan-07 18:15 
AnswerRe: System restart Pin
Mike Dimmick26-Jan-07 6:11
Mike Dimmick26-Jan-07 6:11 
GeneralRe: System restart Pin
deeps_cute26-Jan-07 17:14
deeps_cute26-Jan-07 17:14 
QuestionCOM+ Server not Available Pin
Brady Kelly23-Jan-07 4:45
Brady Kelly23-Jan-07 4:45 
QuestionNetworking problem Pin
TheJudeDude23-Jan-07 4:25
TheJudeDude23-Jan-07 4:25 
QuestionFAT 32 file system internals Pin
harsha_123423-Jan-07 1:26
harsha_123423-Jan-07 1:26 
QuestionCPU temperature using memory map [modified] Pin
Manasi D21-Jan-07 23:30
Manasi D21-Jan-07 23:30 
AnswerRe: CPU temperature using memory map Pin
Dave Kreskowiak22-Jan-07 10:39
mveDave Kreskowiak22-Jan-07 10:39 
GeneralRe: CPU temperature using memory map Pin
Manasi D22-Jan-07 18:28
Manasi D22-Jan-07 18:28 
GeneralRe: CPU temperature using memory map Pin
Dave Kreskowiak23-Jan-07 2:18
mveDave Kreskowiak23-Jan-07 2:18 
Questiondoubt in OS Pin
Dinesh babu .S21-Jan-07 6:27
Dinesh babu .S21-Jan-07 6:27 
AnswerRe: doubt in OS Pin
bsaksida22-Jan-07 9:12
bsaksida22-Jan-07 9:12 
QuestionDataGridView Pin
Socheat.Net21-Jan-07 0:19
Socheat.Net21-Jan-07 0:19 
AnswerRe: DataGridView Pin
bsaksida22-Jan-07 9:04
bsaksida22-Jan-07 9:04 
QuestionUNC address for a local Volume! Pin
Restive.54320-Jan-07 0:42
Restive.54320-Jan-07 0:42 
AnswerRe: UNC address for a local Volume! Pin
Sebastian Schneider20-Jan-07 6:38
Sebastian Schneider20-Jan-07 6:38 

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.