My personal experience agrees with G-bunny's response. It'll only work if they're all the same DDR versions (all DDR1, DDR2, or DDR3).
Even then, you can try it, but getting the BIOS settings (timings and voltages especially) just right for a diverse bunch of RAM is kind of tricky, and only fleetingly successful. I had a pair that I had to reset the BIOS all the time to get them to work together. If you do try it, best to get all rated for the same speed from the same maker. And if you use a CPU/mobo with cache support (e.g. L2) best to get a pair in the exact same denominations in the first two slots. If you have 4 total RAM slots, you can try using your old RAM in them, but I wouldn't do that unless they were spec'd for a fast speed.