When you've done that, it should prompt you with a dialog box asking you what type of project you want to make. Choose Standard EXE and press open.

Once you have done that, you should have something that looks like this:
Now we are going to set up the design of the application. To do this we are going to need one Command Button, one label and a inputbox. The input box is made in the code. It can't be made on the design side.
To start off the design, insert the one command button (highlighted in blue below) and one label (in green below).

Now we need to name the controls.
To do this, go to the properties manager on the bottom right hand side of the screen. It looks like this:
Click on the command button and find Name on the properties dialog (most likely the first one on there), change the value to "cmd_Input". Do the same for the label except call it "lbl_name".
Time to code :D
Double click on the command button. It should come up with some code like this:
Private Sub cmd_Input_Click()
End Sub
In the middle of this, insert this code (I have used comments. These are useful things for using in your applications. It will help you remember what certain functions do etc):
a = InputBox("Please enter your name", "Name")
'This makes "a" a message box, we can use it by saying something like
'If a = "Something" Then. and your code. "a" will be the text that
'the user enters into the input box.
lbl_name.Caption = a
'This code sets the labels caption. We made the caption "a". This will
'make the labels caption whatever the user entered in the inputbox.
'We don't have quotation marks around it because that would instead make
'the labels caption the letter A.
'We can do more manipulation with "a". For instance we could make it:
'If a = "Ebonez.info" Then
'lbl_name.caption = "Some random text"
'We could also change the forms caption to what the user entered by doing this:
Me.Caption = a
'Notice how I used "Me" instead of the form name? Well this is the same as if
' I said Form1.Caption = a. I used Me because it uses the current form instead
'of me having to type out Form1. You should now have this code
Private Sub cmd_Input_Click()
a = InputBox("Please enter your name", "Name")
'This makes "a" a message box, we can use it by saying something like
'If a = "Something" Then. and your code. "a" will be the text that
'the user enters into the input box.
lbl_name.Caption = a
'This code sets the labels caption. We made the caption "a". This will
'make the labels caption whatever the user entered in the inputbox.
'We don't have quotation marks around it because that would instead make
'the labels caption the letter A.
'We can do more manipulation with "a". For instance we could make it:
'If a = "Ebonez.info" Then
'lbl_name.caption = "Some random text"
'We could also change the forms caption to what the user entered by doing this:
Me.Caption = a
'Notice how I used "Me" instead of the form name? Well this is the same as if
' I said Form1.Caption = a. I used Me because it uses the current form instead
'of me having to type out Form1.
End Sub
Now press F5. This will run your application. Alternitivly you can press this button (the one highlighted in blue):
When your app is running, you should be able to click a button and have a input box pop up and ask you for your name. When you enter it, it should change the form and labels caption to your name.
When you are done with your application, exit out of it and save.
discuss this topic to forum
