VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This code initiates the screen saver of the system.You can change the command constants to modify t

Vishal V. Kulkarni  (6 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Thu 3rd May 2001   Mon 8th February 2021

This code initiates the screen saver of the system.You can change the command constants to modify the code for other windows operations.This

API Declarations


'This code is free.
'Contact [email protected] for furthur details
'This code can be customized as per requirement.
'Change commands to execute different system calls.
'This code assumes that you have a screen saver option is enabled in the system.

'Api declaration
Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, _
ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Const comWM_SYSCOMMAND = &H112&
Const cSC_SCREENSAVE = &HF140&

Rate This code initiates the screen saver of the system.You can change the command constants to modify t (1(1 Vote))
This code initiates the screen saver of the system.You can change the command constants to modify t.bas

This code initiates the screen saver of the system.You can change the command constants to modify t Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters