none
Screen turns black before running screen saver code RRS feed

  • Question

  • Hello, I want to create a screen saver which will run only during night (from 20:00 to 06:00). So my code looks like this:

    1. Check time and if it is a day, exit.
    2. Run the Screen Saver Form

    During the night everything is ok, but during the day, after specific time of inactivity, the screen turns black, then it runs the condition, the result is exiting the screen saver and then it show the desktop again.

    My question is, why the screen turns black before running the screensaver? In the app of the screensaver there is nothing which should show black screen.

    Monday, January 27, 2020 4:49 PM

All replies

  • Hello,

    We can not answer your question without seeing relevant code, no code this turns into a rather long guessing game between you and those who are here to assist you. 


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Monday, January 27, 2020 5:54 PM
    Moderator