Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling screen saver from VB6 on XP machine

Status
Not open for further replies.

fiveoaks

Programmer
May 28, 2004
1
US
I'm looking for a way to disable the screen saver from starting (or greatly increase the idle time) while running a VB6 program on a WinXP machine. Microsoft suggested using the SystemParametersInfo call, but that either doesn't work under XP, or I'm doing it wrong. In either case, it doesn't work. Any suggestions would be greatly appreciated
 
Screensaver settings are saved in HKEY_CURRENT_USER/Control Panel/Desktop

To disable screensaver it is enough (not sure though) to delete the SCRNSAVE.EXE's value. Do not remove "scrnsave.exe" just its value.



---------------------------------
LendPoint Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top