Hooking up surround sound to t.v.
Start with the receiver. If your speaker connections are done and you have good sound coming from the speakers, connect your components (xbox, dvd player, cable box, etc) to the appropriate connection type on the back of the receiver (HDMI, Component, etc for video; Optical, Coaxial, or analog for audio). Next, find the "Monitor Out" connection and hook that to an input on your television. The receiver should take care of the rest in the setup menu. To program your receiver i suggest downloading the user manual (search google for the make and model number of your reciever you should be able to find one available).
Things to remember.. your reciever may not "up-convert" video signals, which means if you hook Component into your reciever from, say, a dvd player and your Monitor Out is HDMI to the TV, your receiver might not switch the connection for you. If you end up with good audio but no video on an input, this is why. Try running that same video type (Composite, Component, HDMI, etc) to the TV from a seperate Monitor Out.
Your subwoofer, which I am assuming is a "Powered" type that plugs into a receptacle as well, plugs into the back of the reciever on the "Subwoofer Pre-Out" connection. If it is "Passive", which is unlikely, let me know.
The rest is programming, which is usually done in the setup menu or main menu for your receiver. Again, I recommend downloading the manual from a good website.