Dumb Screensaver Question
-
I was reading up on screensavers (I'd like to try building one from scratch in VB). Am I correct in assuming that I can just write an exe to display the graphics, then manually rename the exe to an scr file to make it a screensaver? Sounds too easy to be true. When compiling the list of available screen savers, the Control Panel searches the Windows Startup directory for files with the .scr extension. Because screen savers are standard Windows executable files with .exe extensions, you must rename them so they have .scr extensions and copy them to the correct directory. http://msdn.microsoft.com/en-us/library/cc144066(VS.85).aspx?ppud=4#Creating_Screen_Saver[^]
-
I was reading up on screensavers (I'd like to try building one from scratch in VB). Am I correct in assuming that I can just write an exe to display the graphics, then manually rename the exe to an scr file to make it a screensaver? Sounds too easy to be true. When compiling the list of available screen savers, the Control Panel searches the Windows Startup directory for files with the .scr extension. Because screen savers are standard Windows executable files with .exe extensions, you must rename them so they have .scr extensions and copy them to the correct directory. http://msdn.microsoft.com/en-us/library/cc144066(VS.85).aspx?ppud=4#Creating_Screen_Saver[^]
-
Alan Burkhart wrote:
Sounds too easy to be true.
Yes, but in this case it is. I have done this using C++ in the past, and all that is necessary is that the correct hooks are in place and it works like a charm.
Very cool. Thanks! AB