Changing windows desktop background from VB.Net application

  • Thread starter Thread starter Metallikanz!
  • Start date Start date
M

Metallikanz!

I don't think the there's any type in the FCL that allows you to do it
directly, you'll have to "PInvoke" and call the SystemParametersInfo Win32
API call passing SPI_SETDESKWALLPAPER as the accessibility parameter. You
can also use the SPI_SETSCREENSAVEACTIVE accessibility parameter for the
same function to manipulate screensavers.

HTH, Metallikanz!
 
Hi!

is it possible to change the windows background file or screensaver timeout
or screensaver itself from a vb.Net form (myForm1)
i think it must be possible but i don't know the way.
by the way i need to open control panel applets from within my VB.Net
application. how can i do it?

i appreciate if someone can help me in doing that things.

best wishes...
 
Back
Top