Watch this video.
You said you have vga, so it should work. Me myself, have a question. Im thinking about taking the hdmi output on my laptop, and getting an adapter that will change it to a DVI. Then i could get another thing that will let me have hdmi for the switch on one side, and dvi on...