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. Visual Basic
  4. How Do I....

How Do I....

Scheduled Pinned Locked Moved Visual Basic
questionhelp
2 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.
  • R Offline
    R Offline
    rspercy65
    wrote on last edited by
    #1

    How do I open the screen saver application using the Process control? I just need to know the name of the file I need to execute it in the control so I can set the screensaver to 'None'. Thnx in advance for any help on this.

    rspercy 1 + 1 = 186,440....Depending on the species.

    L 1 Reply Last reply
    0
    • R rspercy65

      How do I open the screen saver application using the Process control? I just need to know the name of the file I need to execute it in the control so I can set the screensaver to 'None'. Thnx in advance for any help on this.

      rspercy 1 + 1 = 186,440....Depending on the species.

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

      rspercy58 wrote:

      How do I open the screen saver application using the Process control? I just need to know the name of the file I need to execute it in

      Screensavers have the file-extension ".scr", you might want to search your computer for those. The default screensavers are in the Windows folder, but third-party screensavers usually end up in "Program Files". You can start a screensaver by passing it's path & filename to the Start-method of the Process-class, like this;

      Process.Start("C:\WINDOWS\system32\ssstars.scr")

      This will not change the users' default screensaver to "None", it will only start the screensaver that you specified. If you want to build your own screensaver, then check out the sample that Microsoft[^] provided. Hope this helps,

      I are troll :)

      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