Follow us on Twitter!
Ideas are far more powerful than guns.
Wednesday, April 16, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 20
Guests Online: 19
Members Online: 1

Registered Members: 82807
Newest Member: Black Hawk
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)