VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



gives the screen resolution of your system

by Vineeth Venugopal (7 Submissions)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 9th June 2008
Date Added: Mon 8th February 2021
Rating: (1 Votes)

gives the screen resolution of your system

Rate gives the screen resolution of your system





Function Get_System_Resolution()
       Dim ScrW%, ScrH%
       ScrW = Screen.Width / Screen.TwipsPerPixelX
       ScrH = Screen.Height / Screen.TwipsPerPixelY
       MsgBox "Screen Resolution = " & ScrW & " x " & ScrH & " pixels"
End Function

Private Sub Command1_Click()
Call Get_System_Resolution
End Sub


Download this snippet    Add to My Saved Code

gives the screen resolution of your system Comments

No comments have been posted about gives the screen resolution of your system. Why not be the first to post a comment about gives the screen resolution of your system.

Post your comment

Subject:
Message:
0/1000 characters