VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code is used to change the windows wallpaper.

by Dave Deponeo (2 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 25th April 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This code is used to change the windows wallpaper.

API Declarations



Public Const SPI_SETDESKWALLPAPER = 20


Rate This code is used to change the windows wallpaper.



Dim lngSuccess As Long
Dim strBitmapImage As String

strBitmapImage = "c:\windows\straw.bmp"
lngSuccess = SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, strBitmapImage, 0)


Download this snippet    Add to My Saved Code

This code is used to change the windows wallpaper. Comments

No comments have been posted about This code is used to change the windows wallpaper.. Why not be the first to post a comment about This code is used to change the windows wallpaper..

Post your comment

Subject:
Message:
0/1000 characters