Hello,

Im am running NT4 workstation and server.
I am having problems setting the wallpaper to a specific bmp.
I have tried the "setwallpaper" function but it doesnt seem to work. Even when I search the registry the filename of the bmp after I run the code it is not found anyware. This is the line of code Im running to set the wallpaper:

if SetWallPaper("adtaker.bmp") = 0

I figured I would try and write the value straight into the registry to - "HKEY_CURRENT_USER\control panel\Desktop" using the "wallpaper" key. I dont think I am using the correct syntax. Unfortunately the I dont understand the manuals syntax fully. The line of code I tried to do this with is:

writevalue ("HKEY_CURRENT_USER\Control panel\Desktop","adtaker.bmp" "REG_SZ")

Thanks for any help.
Terry