
Activating Windows 98 Default Screen Saver
Thanx for the advice, however the code below will only work with
windows 95...and very nicely i might add....but when applied to win98
the computer attempts to enter stand by mode.... not exactly what i am
looking 4..... if u have any more idea's ,, i'd love to give them a
try....
On Fri, 10 Sep 1999 14:42:17 -0400, "www.TheScarms.com"
Quote:
>Try
>Const WM_SYSCOMMAND = &H112&
>Const SC_SCREENSAVE = &HF140&
>Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd
>as Long, ByVal wMas As Long, ByVal wParam As Long, ByVal wParam As Long) As
>Long
>Call SendMessage(form1.hwnd, WM_SYSCOMMAND, SC_SCREENSAVE , 0&)
>Dave
>>Does anyone know how to activate the windows 98 default screen saver
>>with vb5.0???
>>i know how to do this with win95, but when i ran that code on win98 it
>>caused an infinite loop trying to make my computer go into stand by
>>mode...
>>any help, any where.....?????