by Liaqat Fayyaz (10 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 8th July 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Change the Windows wallpaper.
API Declarations
Public Const SPI_SETDESKWALLPAPER = 20
Dim strBitmapImage As String
strBitmapImage = "c:\windows\straw.bmp"
lngSuccess = SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, strBitmapImage, 0)