This is most likely the hardest part. This tutorial will not show you the quickest way to make your program but it will go through as much stuff as possible.
Recap:
You should have a button and a text box on your form.
Step one: making a variable.
First you should double click on a white part in the form. If you do it right a thing should say something that has to do with loading. If it says clicking or text change then you did something wrong. Go back by clicking a tab at the top and click somewhere else. There should be a blank line somewhere between all of the words. Type. Dim text as string while typing an auto completer will try to help. If you want to use it here is how:
click on the word that you are trying to complete
Press tab on the key board
Now we are almost done making the variable.
FYI:
what you are currently doing is having the program make a variable called text that is a string when the program loads
There are several common types of data that can be made into a variable. They are strings, integers, decimals, and Boolean. There are more but they aren't used as often.
Strings are used for non number variables.
Integer is used for non decimal numbers
decimal is used for decimal numbers
Boolean is used for true or false stuff. Ex. If text=pie then then Boolean = true
Dim is used to declare that you are about to make a variable.
Text is the name and can be anything
As is just there to make it Easter to read
string is the data type and can be many things.
Now you need to double click the text box. It should say something about text changing. In the blank line between the text that just appeared type text=textbox.text
FYI:
You just made your program make the variable text be equal to what is in the text box when the text is changed.
Step 2: getting output.
You are almost done.
Double click on the button and type in the space messagebox("you entered "text" into the textbox")
FYI:
You just made your program make a message box appear that says some stuff.
Press f5 on your keybourd and you should see the program type something in the textbox and click the button. A message box should appear. Press the x button on the program when you are done.
Now press save all and name your program.
Please tell me if something went wrong. I will gladly help you.
