VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



This code demonstrates how to get the screen resolution without using any API code

by Eliran Abudi, BomberSoft. (1 Submission)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 2nd January 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)

This code demonstrates how to get the screen resolution without using any API code

Rate This code demonstrates how to get the screen resolution without using any API code




' I wrote this code for a label but you can use any control that can display text.
' 1) Put a label or any control that can display text and then put the code below.

Private Sub Form_Load()
Label1.Caption = Screen.Width / 15 & "x" & Screen.Height / 15
End Sub

Download this snippet    Add to My Saved Code

This code demonstrates how to get the screen resolution without using any API code Comments

No comments have been posted about This code demonstrates how to get the screen resolution without using any API code. Why not be the first to post a comment about This code demonstrates how to get the screen resolution without using any API code.

Post your comment

Subject:
Message:
0/1000 characters