Function to set Wallpaper in NT4 / 2000
Results 1 to 2 of 2

Thread: Function to set Wallpaper in NT4 / 2000

  1. #1
    Registered User
    Join Date
    Mar 2001
    Location
    Dorset, UK
    Posts
    103

    Post Function to set Wallpaper in NT4 / 2000

    Either Java Script / VB call to allow you to set a picture as wallpaper in NT4 / Win2000. Machines will use this via a web page (if possible) and are running IE4 to 5.5 SP1.

    The function exists in IE 5.5 - right click set as wallpaper bit.

  2. #2
    Registered User
    Join Date
    Jan 1999
    Location
    London, Great Britain
    Posts
    300

    Post

    The filename of the desktop wallpaper is stored in the registry, so you will need to change that setting to point to the file of your choice. These are located in the following registry location:
    HKEY_CURRENT_USER\Control Panel\Desktop\

    The key "wallpaper" holds the actual path and filename of the wallpaper to be displayed.

    There is also another key called "tilewallpaper" which is set to either tile (1) the wallpaper or not (0).

    These keys are what the control panel sets.

    Don't forget that you also need to get your desktop wallpaper onto the user's machine before you can set the registry.

    An alternative would be to create your own Windows Theme which is basically a package that contains all the files and settings - you can even change the colours and icons as well.

    There are plenty of programs available to create Themes independantly of MS, so have a search on Google for them. An example would be something like Desktop Architect that allows you to package everything.
    I'd rather die peacefully in my sleep like my Grandfather,
    than screaming in terror like his passengers.
    Jim Harkins
    <a href="http://www.Horrible.Demon.co.uk/" target="_blank">http://www.Horrible.Demon.co.uk/</a>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •