Follow us on Twitter!
Imagination is more valuable than knowledge - Albert Einstein
Tuesday, August 23, 2016
Navigation
Home
 Find:
 Information:
Learn
Communicate
Submit
Shop
Challenges
 Exploit:
 Programming:
 Think:
 Track:
 Patch:
 Other:
 Need Help?
Other
Members Online
Total Online: 20
Guests Online: 19
Members Online: 1

Registered Members: 95182
Newest Member: jozebrain1
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Making a Program in VB that changes your desktop on startup


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 19-03-05 22:32
how would i go about making a program that changed my desktop image automatically from a specific folder?


Author

RE: Making a Program in VB that changes your desktop on startup


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 20-03-05 21:27
Code
Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, ByVal lpvParam As Any, ByVal fuWinIni As Long) As Long
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)