(From  Bob Myers)
Note that many of the pins shown above as "no connects"  (actually, these were sometimes used as monitor ID bits by many  manufacturers) are now defined under the VESA Display Data Channel  standard. This standard provides two protocols for display ID and  control, including support for the full ACCESS.bus interface. The  current definition of the "VGA" pinout per the DDC standard is:
6
  1 Red (Analog)   6 Red   Return       11 Monitor ID0 (opt.)    11. . . 1
  2 Green (Analog) 7 Green Return       12 Data (SDA)              . . .
  3 Blue (Analog)  8 Blue  Return       13 Horzontal Sync          . . .
  4 Reserved       9 +5 VDC (frm host)* 14 Vertical  Sync          . . .
  5 Return        10 Sync return        15 Data clock (SCL)*       . . .
                                                                 15  10  5Those signals marked with an asterisk would be supplied by the  host only if the host supports the DDC2 protocol (I2C or ACCESS.bus).
For more pc solution this site 
Click here may its help full.