Visual Basic: Sprawdzanie rozdzielczości ekranu

Jak pobrać informacje o rozdzielczości ekranu komputera?

vb.net

szer = Screen.PrimaryScreen.Bounds.Width

wys = Screen.PrimaryScreen.Bounds.Height

vb6

Szer = Screen.Width / Screen.TwipsPerPixelX

Wys = Screen.Height / Screen.TwipsPerPixelY