|
-
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
-
Jun 13th, 2011, 08:53 AM
#2
Re: Visual Basic 2010 express edition (simple question)
Welcome to VBForums 
Thread moved to 'VB.Net' (VB2002 and later) forum
-
Jun 13th, 2011, 09:11 AM
#3
Member
Re: Visual Basic 2010 express edition (simple question)
The example uses a command button just as you have described you have (not command line) and the author has changed its caption to say Display Hidden Names as seen on the image (even though the article says change it to Show Hidden Names)
-
Jun 14th, 2011, 12:56 AM
#4
Thread Starter
New Member
Re: Visual Basic 2010 express edition (simple question)
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
|