You want two VGA inputs to your projector, right? One from a PC, and one from a DVD player (the composite->VGA source)?
Typically a normal KVM switch will be fine if you run at 1024x768 @72Hz or lower. I have seen some problems (usually you'll notice "ghosting" of the display, almost like there are two images superimposed and slightly offset) at high resolutions and high framerates. For instance, I've seen ghosting when I run a display at 1024x768 at 75 Hz on a normal KVM switch. If you run into problems you'll need an active switch, which will run about $200. 25' is long for a VGA cable, but not beyond the limits. I've used ones that long without a problem, but they are well shielded.
I sometimes use NTI for my cable/switch needs -
http://www.networktechinc.com/They aren't the absolute most expensive, but they make high quality stuff and are reasonably priced. Certainly good enough for most users, although I've had some applications that need even higher quality stuff.
Here is their page for switches -
link. The one you would want runs about $115, and a 25' cable from them runs $28. That switch has 150MHz bandwidth, enough to run at up to 1900x1200 at 60Hz (literally multiply your resolution horizontal times vertical time framerate to see if you fit in the 150MHz limit). That's probably enough for whatever PC you'll hook up to the display. If your PC is any higher, you'll pay $300 or so for a switch that can handle 300MHz or higher bandwidth. If you think you would need that, let me know and I can give you references.
UPDATE: Oh, BTW, the switches on the page I linked include a 3' VGA cable that you describe needing above.