How to connect pc to tv with vga in hdmi?

if i only got vga and buy an vga to dvi converter and an dvi to hdmi cable, does that work if i want to have high quality
3 answers 3