Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Visual Basic >> Snippet

Get screen resolution


'no API required
sHeight = Screen.Height \ Screen.TwipsPerPixelY
sWidth = Screen.Width \ Screen.TwipsPerPixelX