![]()  | 
 ![]() ![]() ![]() ![]() ![]()  | 
  |
| .netPlus / Samples / VB | ||
| Filename: | adwallpaper.zip | 
| Last update: | 01/11/01 | 
| Size: | 16 kb | 
Overview
  This sample demonstrates how to retrieve and set wallpaper options of the Active 
  Desktop (AD) using the AD COM object and its IActiveDesktop 
  interface.
The regular Windows desktop can only use BMP files as a wallpaper. You can change the picture file using the SystemParametersInfo API, but you have to change the style settings in the Registry. AD lets you use either BMP or JPEG files, and it's easy to change the style used. To use a JPEG file, AD has to be enabled. But you can use the IActiveDesktop interface to set the wallpaper to a BMP file without enabling AD if you want.
See also
  Using 
  the Active Desktop Object
  Change 
  the Wallpaper 
©2000-2025, .netPlus