The Reddest

The Reddest


  • Name: Brandon Cannaday
  • Favorite Languages: C#, Javascript, C++
  • Website: http://www.paranoidferret.com
  • Location: Brookston, IN
  • About Me:
    Even though I'm a programmer, I enjoy spending a lot of time outdoors - hiking, camping, etc. I spend most of my programming time in high level languages and user interface design. Most of my tutorials on this blog are about WPF, C#, or Javascript.

Published Tutorials (91)

Recent Comments

  • WPF Tutorial - How To Use Custom Cursors
    02/01/2010 - 10:12

    Did you include System.Drawing as a reference to your project?

  • C# Tutorial - The Built-In Generic Delegate Declarations
    02/01/2010 - 10:11

    Thanks for finding that. It looks like we missed that in the tutorial.

  • C# Tutorial - Object Finalizers
    01/21/2010 - 11:28

    The garbage collector won't immediately collect objects that are not referenced. Calling GC.Collect will force it to dispose unreferenced objects. If there's plenty of system memory and your application isn't requiring any more memory, it's actually more efficient for the GC to just leave that object alone.

    From the article:
    "Who knows how long it would be till the garbage collector finally tried to collect that instance of ClassWithFinalizer? It is quite possible it wouldn't happen until the program closed."

  • WPF Snippet - Reliably Getting The Mouse Position
    01/20/2010 - 09:39

    I would too. We upgraded Drupal a while ago and somehow lost the template that controls that. We'll get it fixed soon.

  • folderbrowsedialog
    01/19/2010 - 12:27

    Can you post your code?

  • Middleware used in Iphone Application
    01/19/2010 - 11:29

    The only piece I know of off the top of my head is SQLite.

  • Image processing
    01/18/2010 - 15:27

    What exactly are you trying to accomplish, and what exactly is not working? Answering those two questions will help me out a lot when reading through your code.

  • folderbrowsedialog
    01/06/2010 - 14:15

    Paths should only contain single slashes.

    C:\SomeDirectory\somefile.txt

    I don't know why it would ever need a double slash. Backslash is used to escape other characters when using .NET strings. If you want to build a string that contains backslashes, you have to use two. The result, however, is a string that contains a single slash.

    String^ myString = "C:\\SomeDirectory\\somefile.txt";
    // myString is now C:\SomeDirectory\somefile.txt

  • folderbrowsedialog
    01/06/2010 - 12:01

    What's the message in the exception that's thrown by File::Copy?

  • folderbrowsedialog
    01/06/2010 - 11:47

    How are you doing the copy? Are you using .NET's File::Copy function?