I use:
reg.RootKey(reg.rtLocalMachine)
key = "drivers\display\gpe"
If reg.GetValue(key, "logicalpixelsY") = 96 Then res = 1 Else res = 2
What is this parameter for VGA ?
If it is the same , which of the others
(see picture of my registry) is different ?