HDMI has an advantage over VGA, in that it carries audio & video over 1 cable. For my desktop, I turn off the HDMI audio (from the computer) because the computer speakers are better than the TV's.
VGA may not "hot swap" if attempting to run dual monitors (laptop & TV), HDMI "hot swaps" similar to USB.
Look at your "on TV" menu, to see wht inputs are available: among others it should say PC (VGA) & 1 or more HDMI, mine has 2 HDMI inputs. The Toshiba computer should have software to enable HDMI video/audio out.
BTW, for my TV
VGA max resolution = 1360x768
HDMI max resolution = 1920x1080p
TV sits on desk next to computer; it's a very big desk!