Hi I need some help !I want to control users wallpaper's.
I have mixed W9x to W2K wokstations.
I want a unified wallpaper regardless windows version an if active desktop is active or not.
My problem is that all I have tryed seems to happen before the userprofile is loaded.
So my changes does not work.
This I have tryed:
writevalue( "HKEY_CURRENT_USER\Control Panel\Desktop", "Wallpaper", "inu.bmp", "REG_SZ" )
writevalue( "HKEY_CURRENT_USER\Control Panel\Desktop", "TileWallpaper", "1", "REG_SZ" )
writevalue( "HKEY_CURRENT_USER\Control Panel\Desktop", "WallpaperStyle", "2", "REG_SZ" )
writevalue( "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General", "Wallpaper", "inu.bmp", "REG_SZ" )
writevalue( "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General", "TileWallpaper", "1", "REG_SZ" )
writevalue( "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General", "WallpaperStyle", "2", "REG_SZ" )
writevalue( "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop", "NoHTMLWallPaper", "1", "REG_SZ" )
and SetWallpaper ("xxx.bmp")
Pleas help me !
/Jejje

[ 14 February 2002: Message edited by: -=[Jejje]=- ]