by Anonymous (267 Submissions)
Category: Windows System Services
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Sun 13th December 1998
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)