07-31-2007, 07:32 PM
how do i change the desktop wallpaper with qm ? i have been searching the forum but cant seem to find anything about it
thanks
thanks
change wallpaper or background in windows
|
07-31-2007, 07:32 PM
how do i change the desktop wallpaper with qm ? i have been searching the forum but cant seem to find anything about it
thanks
07-31-2007, 07:53 PM
SystemParametersInfo SPI_SETDESKWALLPAPER 0 _s.expandpath("$commonpictures$\Sample Pictures\Forest.jpg") 3 ;;change SPI_SETDESKWALLPAPER is 20 SETWALLPAPER_DEFAULT is -1 If gives 'unknown identifier' error (it may be in older QM versons), change these SPI_... constants to these values. Works on all OS. (Edit: must be bmp file on XP).
08-06-2007, 07:37 AM
ok iv done some looking around on the internet and i found that this code will only work with .bmp in xp, vista can use both .jpg and bmp
str sPath = "C:\Users\Administrator\Pictures\Internet Explorer Wallpaper.bmp" that seems to be what works best but in xp i cant use jpg ![]()
08-06-2007, 07:46 AM
08-06-2007, 07:54 AM
that worked great thanks so much
|
« Next Oldest | Next Newest »
|