Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update Windows Desktop

Status
Not open for further replies.

Milby7

Programmer
Dec 5, 2003
67
GB
Hi!

I'm trying to get windows to pickup registry updates without rebooting. I've added a change to a service & for some weird reason Windows/the service doesn't pickup the changes made unless I show a messagebox afterwards!?!?

If anyone has any ideas, or knows of any articles, that would be really helpfull.

Cheers!!!
 
see in registry the key:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General
put in the variable Wallpaper the path to the picture file.

Ion Filipski
1c.bmp
 
Or you could use IActiveDesktop interface which can offer you much more options:

AddDesktopItem
AddDesktopItemWithUI
AddUrl
ApplyChanges
GenerateDesktopItemHtml
GetDesktopItem
GetDesktopItemByID
GetDesktopItemBySource
GetDesktopItemCount
GetDesktopItemOptions
GetPattern
GetWallpaper
GetWallpaperOptions
ModifyDesktopItem
RemoveDesktopItem
SetDesktopItemOptions
SetPattern
SetWallpaper
SetWallpaperOptions

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top