I only have personal experience on recording acoustic with a crap mic using audacity program, so I can't give you any good advice, but check this link, it has some info about it, different ways to do it. I've actually been thinking to buy that M-audio box some day.
http://www.musiconmypc.co.uk/art_record_guitar_on_pc.php