Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Making a Program in VB that changes your desktop on startup


ghost's Avatar
0 0

how would i go about making a program that changed my desktop image automatically from a specific folder?


ghost's Avatar
0 0
Const SPI_SETDESKWALLPAPER = 20

Private Sub Form_Load()
Dim lngDesktop As Long, strImage As String
strImage = "c:\blabla.jpg"
lngSuccess = SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, strImage, 0)
End Sub```

Then put this prog in taskmanager (startup)