Bill Blogs in C#

Bill Wagner discusses C#, LINQ, and other items of interest

Just a simple sample
A C# 2.0 program to cycle wallpaper

I decided to extend a sample at coding for fun that lets you change your desktop wallpaper (you know, just for fun). 

My version lets you pick a directory with any number of image files, and it will cycle through the images at regular intervals.

My reason for this update was simple.  This version (http://www.srtsolutions.com/public/item/66746) was on the family computer, but there was a problem.  It only ran if you were in the administrator group.  The sample was written so that it created a bitmap file in the Windows System directory.  So, when I went to all non-admin accounts, that capability was lost.

My version uses a users' local ApplicationData path for temporary bitmap images, and therefore runs for limited users.

Have fun, and the usual disclaimers apply.



The original Setting Wallpaper sample
A simple managed application to set your desktop wallpaper
My updates
Cycling wallpaper
Published Tuesday, September 27, 2005 5:24 AM by wwagner
Filed under:

Comments

No Comments