Analog Port as 5V?

hmm.. thats exactly what i did (digitalWrite(14,HIGH)).. yet the outcome is different from using the 5V pin...
I guess it has to do with only having 40ma...
is there a way to have more? (DOES the 5V pin have more?)
How would i have to use a transistor to toggle a 5V line on or off?