PDA

View Full Version : Enable screen saver win98



hykchiu
01-12-2005, 03:12 AM
Hi,

I'm using below script to activate the screensaver.
On Windows2000/XP, it activates correctly.
But on win98 the display properties dialog box show "none" on screensaver.
How can I make it works on win98 (show my screensaver on display properties)? I have searched thru the forum, but can't get any good comments. can anyone help thanks.

SystemParametersInfo(SPI_SETSCREENSAVETIMEOUT, 900, 0, SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE) == FALSE

SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, 1, 0, SPIF_SENDWININICHANGE | SPIF_UPDATEINIFILE)

if (LaunchApp ("RUNDLL32","SHELL32.DLL,Control_RunDLL DESK.CPL,@0,1") < 0) then
MessageBox ("Failed", INFORMATION);
endif;