Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. Dumb Screensaver Question

Dumb Screensaver Question

Scheduled Pinned Locked Moved Windows Forms
questionvisual-studiocomgraphics
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alan Burkhart
    wrote on last edited by
    #1

    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[^]

    L 1 Reply Last reply
    0
    • A Alan Burkhart

      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[^]

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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.

      A 1 Reply Last reply
      0
      • L Lost User

        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.

        A Offline
        A Offline
        Alan Burkhart
        wrote on last edited by
        #3

        Very cool. Thanks! AB

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups