VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



To Display the Resolution of the Monitor

by Raghu (22 Submissions)
Category: Windows System Services
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Thu 17th August 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

To Display the Resolution of the Monitor

API Declarations


Dim X As Long, Y As Long

Rate To Display the Resolution of the Monitor




x = GetSystemMetrics(0)
y = GetSystemMetrics(1)

Msgbox "Resolutions is : " & CStr(x) & " X "  & CStr(y),vbExclamation,"Monitor"

End Sub


Download this snippet    Add to My Saved Code

To Display the Resolution of the Monitor Comments

No comments have been posted about To Display the Resolution of the Monitor. Why not be the first to post a comment about To Display the Resolution of the Monitor.

Post your comment

Subject:
Message:
0/1000 characters