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:
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. ]
Tell me what you guys think
[ 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:
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
Last edited by Colorful ; edited 1 time in total
- 0useful
- 0not useful
#3. Posted:
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...
- 0useful
- 0not useful
#4. Posted:
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..
- 0useful
- 0not useful
#5. Posted:
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
- 1useful
- 0not useful
#6. Posted:
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.
Sorry I don't have the time to actually download and test it, but it definitely seams like it works nice job.
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Mar 27, 201113Year Member
Posts: 546
Reputation Power: 28
#8. Posted:
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
#9. Posted:
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
- 1useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Jan 21, 201212Year Member
Posts: 17
Reputation Power: 0
so I heard you like VB: Forums/t=3019387/mario-portal-vbn...nload.html
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.