Desktop wallpaper across dual monitors

0

Posted by Joe | Posted in Personal | Posted on 24-10-2009

Yesterday I stitched together a few images of Sydney Harbour that I took on my way to work:

Sydney Harbour

I wanted to make it a wallpaper over both of my monitors. When playing around with the settings I found that the only option that seemed to do anything over both monitors was TILE.  I resized the image so the height of the image matched the resolution of my monitors, then set it as a tiled wallpaper, which due to the size just showed the image once over both monitors.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit

Convert file size bytes to megabyte/gigabyte string using C#

5

Posted by Joe | Posted in C# | Posted on 21-10-2009

I feel like I haven’t posted in ages. Have been busy changing job and moving house but I have a list of things I want to blog about soon.

Recently I needed to convert a number of bytes to a readable string that represents the number of kilobytes, megabytes or gigabytes.

I created an extension method for Int32 which does this for me Int64 as per Alex’s comment about the FileInfo.Length property being a long. I also changed my method for Int32 to call the other method so that it can be used for both int and long.

Read the rest of this entry »

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Reddit