Visual Basic 2008 code
3 posters
Team PWNAGE™ :: Computer :: Programming
Page 1 of 1
Visual Basic 2008 code
Put code here. Ill start it of with a basic one
-----------------------------------------------------
messageBox.Show ("Hello")
-----------------------------------------------------
messageBox.Show ("Hello")
Re: Visual Basic 2008 code
Good idea -
button1.enabled = true // enable a button
button1.enabled = false // disable a button
button1.enabled = true // enable a button
button1.enabled = false // disable a button
Re: Visual Basic 2008 code
this code will count how many times you click a button
--------------------------
Dim times As Integer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
times = times + 1
Label1.Text = "You pressed me - " & times & " times"
End Sub
--------------------------
Dim times As Integer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
times = times + 1
Label1.Text = "You pressed me - " & times & " times"
End Sub
Re: Visual Basic 2008 code
very very confusing
Lord Jeffry- Newbie
- Posts : 5
Reputation : 0
Join date : 2009-11-22
Age : 105
Location : CHICKEN DIPAAAAAAAAAAA!!!!!
Re: Visual Basic 2008 code
It takes a while but when you use it alot you get use to it and its very fun.
Similar topics
» Visual Studio - Hello World
» VBS code (bannana code)
» VBS code (simple but deadly)
» How to stop a looped VBS code
» VBS code (bannana code)
» VBS code (simple but deadly)
» How to stop a looped VBS code
Team PWNAGE™ :: Computer :: Programming
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum