
How to change desktop wallpaper
Quote:
>Heres what you need to do.
>Get the VB Declaration for the Win32s Function
> 1. SystemParametersInfo.
>You also need the constant value for SPI_SETDESKWALLPAPER
>you pass the path to the picture you wish to use as one of the parameters
>to this function. Check out the Function parameters in the API viewer
>which comes with VB 4.0. If you are really stuck I can email you the
>sample code.
>Cheers
>Ian Gratton
Thanks, Ian. I'd never messed around with the API functions at all --
changing wallpaper was there plus a whole lot more. The one thing I
didn't find, though, was the ability to chose 'tiled' or 'centered' status
for a background. Do you or anyone else know how this is accomplished?
Thanks again for the help.
Chris R