[XP Pro SP2]
Thank you for your help!
Click Start, Run and type:
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
This command-line refreshes the desktop wallpaper (should be a .bmp file).
Method 2: Using a program that uses the "SystemParametersInfo" API call to
apply the desktop wallpaper dynamically. I wrote this program some time ago,
and you may use it if you're interested.
http://windowsxp.mvps.org/wprefresh.exe
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com
"flint_and_steel" <flinta...@discussions.microsoft.com> wrote in message
news:E780F631-926F-4DB4...@microsoft.com...
Thank you for your help!
- flint_and_steel
<excerpt>
SPI_SETDESKWALLPAPER:
Sets the desktop wallpaper. The value of the pvParam parameter determines
the new wallpaper. To specify a wallpaper bitmap, set pvParam to point to a
null-terminated string containing the name of a bitmap file. Setting pvParam
to "" removes the wallpaper. Setting pvParam to SETWALLPAPER_DEFAULT or NULL
reverts to the default wallpaper.
</excerpt>
To save the image in .BMP format, here is an example for C# and VB2005
http://msdn.microsoft.com/coding4fun/inthebox/wallpaper2/default.aspx
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com
"flint_and_steel" <flinta...@discussions.microsoft.com> wrote in message
news:E4021BC8-3B54-4125...@microsoft.com...
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com
"Ramesh, MS-MVP" <ram...@XOX.mvps.org> wrote in message
news:uYE0Uv02...@TK2MSFTNGP03.phx.gbl...
If all you're looking for is a way to change the wallpaper from a script or the command line, then try Marty List's "Set Wallpaper".
It's perfect for this use.
Otherwise, you could use Ramesh's suggestion along with a program such as Image Alchemy, IrfanView, or some other program to convert
it to bitmap.
--
Alec S.
news/alec->synetech/cjb/net
Thank you so much for your help!!
Regards,
flint_and_steel
I've tried to use that API for refreshing the Run box after I clear the
History folder in IE then Merge a REG file with my preset entries. Would you
happen to know that parameter.
I hate waiting to restart for those commands to be available again.
--
Donald A. Herman
Software - Scheduler Pro, Disk Cataloger, Math Wizard
http://don_herman.tripod.com
Office Extras, Addins
http://don_herman.tripod.com/msoextras
.
.
"Ramesh, MS-MVP" <ram...@XOX.mvps.org> wrote in message
news:uYE0Uv02...@TK2MSFTNGP03.phx.gbl...
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com
"Donald A. Herman" <dher...@netzero.com> wrote in message
news:ehIoif42...@TK2MSFTNGP06.phx.gbl...
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting http://www.winhelponline.com
"flint_and_steel" <flinta...@discussions.microsoft.com> wrote in message
news:0DD2A0B4-6ADF-4E20...@microsoft.com...
Yeah it does.
If I wait to close the "Internet Properties" after the merge the MRU is
refreshed with my items! So I know there is a way. Thanks though.
--
Donald A. Herman
Software - Scheduler Pro, Disk Cataloger, Math Wizard
http://don_herman.tripod.com
Office Extras, Addins
http://don_herman.tripod.com/msoextras
.
.
"Ramesh, MS-MVP" <ram...@XOX.mvps.org> wrote in message
news:%23c1agf%232GH...@TK2MSFTNGP02.phx.gbl...