anyone know?-windows
Printable View
anyone know?-windows
In XP I think it's D:\Documents and Settings\user name\Local Settings\Application Data\Microsoft\Wallpaper1.bmp
it would depend on where your user profile is stored or what hard drive your operating system is. %systemdrive%\Documents and Settings\User\local Settings\Application Data\Microsoft\Wallpaper1.bmp
or %homepath%\local Settings\Application Data\Microsoft\Wallpaper1.bmp
the second one would work on all user profiles but the top one will only work on users that dont have roaming profiles or that have not changed the location of there profile.
in Win 98, background pics are saved in the Windows folder.
well, when you change it to be a custom pic, where does it save that? it isnt
%homepath%\local Settings\Application Data\Microsoft\Wallpaper1.bmp..
what do you meen "costom pic"?do you meen when you change the picture using windows picture/fax viewer? i think in windows picture/fax viewer it does not copy the picture but insted it sets the background to open the path of the origional file and not a copy windows makes.
no, when you right click, goto properties
then desktop/browse..and add your own picture..you can then delete the original..so where does it go?
This is how Microsoft Windows processes ALL wallpapers.
Windows is only capable of displaying bitmaps as wallpapers, however it performs a little bit of trickery to allow you to use jpegs etc.
When you set a bitmap as your wallpaper, Windows directly references the picture, so if you move or delete it, it will disappear.
However, with any other format, Windows must convert it into a bitmap so it can then display it. It makes a copy of your picture and stores it inside your account. In the registry, there is a string that tells it where this converted copy is and the path to the original. This means you have two copies of it.
To find where Windows gets this information from, go to the key HKEY_CURRENT_USER\Control Panel\Desktop
The string ConvertedWallpaper tells you the original wallpaper that was converted so it can display it properly in the display properties. This value is ignored if a bitmap is used.
The string OriginalWallpaper is the path where Windows stores the converted wallpaper.
And the string Wallpaper contains the path to the actual wallpaper to use. When this string is the same as OriginalWallpaper, it gets its path from ConvertedWallpaper, however, when it is different, it uses the path contained in the string because it is a bitmap.
sorry about my last post. i was using bitmaps as my background.
okay thats for thatr good post! but now, how would i change the picture thru the registry? i edited it, but it didnt change the picture on the background : ?
Refreshing doesn't change it?
nope, does it for you? i wonder if theres a way to do this thru code (the refresh)..i think you can see where im going with this
I think the code from the hobo here does that :)
http://www.vbforums.com/showthread.php?t=248726
thx manavo!