Doing a quick search I noticed a lot of posts on the internet asking how to connect an electric guitar to a computer using the M-Audio Delta 1010LT PCI sound card.
Most responses misguidedly advising you need a pre-amp because electric guitars do not output a 'line level' output. In other words the signal is too weak for most sound card inputs and needs a bit of amplification first. For general, run-of-the-mill sound cards, this is probably true.
Fortunately (or unfortunately for those who took that incorrect advice and went and purchased a pre-amp) the Delta 1010LT has two inputs that can be used for low level inputs such as microphones and electric guitars. The 1010LT will amplify the input up to line level which makes it loud enough to play guitar through your PC.
This is how I set mine up.