RabidChimp
09-05-2003, 07:43 PM
How would i go about finding the resolution at which the users monitor is currently set at?
Finding ResolutionRabidChimp 09-05-2003, 07:43 PM How would i go about finding the resolution at which the users monitor is currently set at? MikeJ 09-05-2003, 07:51 PM A search produced this: http://www.visualbasicforum.com/showthread.php?t=103307 ~Mike RabidChimp 09-05-2003, 07:54 PM ack forgot to search, thanks for your help MikeJ. deell 09-05-2003, 09:06 PM How would i go about finding the resolution at which the users monitor is currently set at? use MS System Info control: SysInfo1.WorkAreaHeight SysInfo1.WorkAreaWidth OnErr0r 09-05-2003, 09:10 PM No API, and no controls needed. Use the Screen object. Debug.Print Screen.Width Debug.Print Screen.Height BlueDragon 09-05-2003, 10:05 PM Private Sub Form_Load() Label1 = Screen.Width \ Screen.TwipsPerPixelX & " X " & Screen.Height \ Screen.TwipsPerPixelY End Sub Thats it! OnErr0r 09-06-2003, 09:10 AM oops, yes, I did forget to convert to pixels. :) |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum