1
Reply

C# Screensaver issues with Windows XP

Ask a question
Torbjorn Svae

Torbjorn Svae

12y
1.4k
1
Hi, so I've been trying to make a screensaver for some time now. It all runs quite well on both Windows 7 and Windows XP. I've made it so it has Target .NET framework 2.0 just in case I get some issues with some computers there.

Here comes the issue I have. When I start the screensaver manually, I can close the screensaver with both mouse move and mouse click and I can close it with my keyboard. On my Windows XP computer I can only close the screensaver by moving the mouse og clicking the mouse. The ONLY key stroke it will respond to is the Ctrl+Alt+Delete sequence. I can hammer every other button and it won't close. Mouse move, mouse click and every keyboard button works on Windows 7, but not Windows XP. Any ideas?

It "feels" like the keypress event doesn't receive word that I've pressed any buttons at all. I made a label1 that were to change the text if I pressed any buttons, the label doesn't change when it runs.

I have attached the source code in case you want to see the whole thing.

EDIT: Just additional information. Both computers are part of a domain. As a result of that there is a policy that states you have to lock the screen along with starting the screensaver.

Hope someone can help me.

Regards,
Torbjørn

Attachment: screensaver.zip

Answers (1)