You are viewing our Forum Archives. To view or take place in current topics click here.
Screen Resolution Checker[VB.NET]
Posted:

Screen Resolution Checker[VB.NET]Posted:

Extazc
  • TTG Senior
Status: Offline
Joined: Aug 17, 201113Year Member
Posts: 1,444
Reputation Power: 75
Status: Offline
Joined: Aug 17, 201113Year Member
Posts: 1,444
Reputation Power: 75
Here is a screenshot of the program

[ Register or Signin to view external links. ]

Public Class Form1
    Public Function ScreenResolution() As String
        Dim intX As Integer = Screen.PrimaryScreen.Bounds.Width
        Dim intY As Integer = Screen.PrimaryScreen.Bounds.Height
        Return intX & " X " & intY
    End Function

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        TextBox1.Text = ScreenResolution() ' Full Resolution
        TextBox2.Text = Screen.PrimaryScreen.Bounds.Width 'Obviously Width
        TextBox3.Text = Screen.PrimaryScreen.Bounds.Height ' Obviously Height
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Clipboard.SetText(TextBox1.Text)
    End Sub
End Class



Tell me what you guys think


Last edited by Extazc ; edited 2 times in total
#2. Posted:
Colorful
  • New Member
Status: Offline
Joined: Jan 21, 201212Year Member
Posts: 17
Reputation Power: 0
Status: Offline
Joined: Jan 21, 201212Year Member
Posts: 17
Reputation Power: 0
no source code? Or are you just trying to show off...


Last edited by Colorful ; edited 1 time in total
#3. Posted:
Bighair
  • Powerhouse
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 401
Reputation Power: 17
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 401
Reputation Power: 17
Pretty simple but does its job...
#4. Posted:
Bighair
  • Powerhouse
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 401
Reputation Power: 17
Status: Offline
Joined: Sep 26, 201014Year Member
Posts: 401
Reputation Power: 17
Colorful wrote now source code? Or are you just trying to show off...


Show of?? the coding is pretty simple..
#5. Posted:
Extazc
  • TTG Senior
Status: Offline
Joined: Aug 17, 201113Year Member
Posts: 1,444
Reputation Power: 75
Status: Offline
Joined: Aug 17, 201113Year Member
Posts: 1,444
Reputation Power: 75
Colorful wrote no source code? Or are you just trying to show off...


Sorry i thought this was pretty simple, i will post the source code in a few
#6. Posted:
JoshUS
  • TTG Contender
Status: Offline
Joined: May 20, 201014Year Member
Posts: 3,135
Reputation Power: 136
Status: Offline
Joined: May 20, 201014Year Member
Posts: 3,135
Reputation Power: 136
Seams like it works fine, which is really all that counts.

Sorry I don't have the time to actually download and test it, but it definitely seams like it works nice job.
#7. Posted:
F16
  • Wise One
Status: Offline
Joined: Mar 27, 201113Year Member
Posts: 546
Reputation Power: 28
Status: Offline
Joined: Mar 27, 201113Year Member
Posts: 546
Reputation Power: 28
Or just go here: [ Register or Signin to view external links. ] :l
#8. Posted:
Extazc
  • TTG Senior
Status: Offline
Joined: Aug 17, 201113Year Member
Posts: 1,444
Reputation Power: 75
Status: Offline
Joined: Aug 17, 201113Year Member
Posts: 1,444
Reputation Power: 75
F16 wrote Or just go here: [ Register or Signin to view external links. ] :l


I Guess so , they are both convenient and easy to get too
#9. Posted:
Extazc
  • TTG Senior
Status: Offline
Joined: Aug 17, 201113Year Member
Posts: 1,444
Reputation Power: 75
Status: Offline
Joined: Aug 17, 201113Year Member
Posts: 1,444
Reputation Power: 75
JoshUS wrote Seams like it works fine, which is really all that counts.

Sorry I don't have the time to actually download and test it, but it definitely seams like it works nice job.


You dont need to download i just put the code there
#10. Posted:
Colorful
  • New Member
Status: Offline
Joined: Jan 21, 201212Year Member
Posts: 17
Reputation Power: 0
Status: Offline
Joined: Jan 21, 201212Year Member
Posts: 17
Reputation Power: 0
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.