|
-
Jun 13th, 2011, 08:47 AM
#1
Thread Starter
New Member
Visual Basic 2010 express edition (simple question)
Im up to lesson 5 on http://www.vbtutor.net/vb2010/vb2010_Lesson5.htm at the bottom were the guy makes a program that displays the hidden name. I didn't quite understand what he wrote and what he changed because the instructions weren't clear.
What I did was make a windows form application, put a label and renamed it to "Show hidden names" and then inserted the code. His one turned out slightly different
My code is
Public Class Form1
Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim name1, name2, name3 As String
name1 = "John"
name2 = "Georges"
name3 = "Ali"
MsgBox(" The names are " & name1 & " , " & name2 & " and " & name3)
End Sub
End Class
He mentioned something about putting a command line, idk what that is i assumed he was referring to a label but i think i am wrong because his is a white rectanngle with text and mine is just a button
sorry im confused im only 13 ! :L
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|