Kann man bei VB.net den Desktophintergrund ändern?

...komplette Frage anzeigen

1 Antwort


Private Declare Auto Function SystemParametersInfo Lib "user32.dll" (ByVal uAction As Integer, ByVal uParam As Integer, ByVal lpvParam As String, ByVal fuWinIni As Integer) As Integer

Public Sub ChangeBG()
dim savePath = "SPEICHERPFAD MIT ENDUNG.jpg"
My.Computer.Network.DownloadFile("www.boehmer.pro", savePath)
SystemParametersInfo(&H14, 0, savePath, &H1 Or &H2)
End Sub



MFG xGlumi

Was möchtest Du wissen?