title: HDMI TV sometimes not detected in windows 7? Possible to invoke Detect in code?
body: <p>i have a standalone public kiosk pc that startups automatically everyday. It is connected to a HD TV and sometimes it is not detected. i have to personally go down to the PC, go to Screen Resolution and press Detect which it works. </p>
  
  <p>my question is how do i know if the monitor i want it to display is connected properly in code?</p>
  
  <p>thanks</p>