There are Visual Basic tutorials on the web.
Poking around in the Help files can be helpful. You'll see descriptions of whatever help entry you're looking at, as well as samples of it being used, which will show you ways to tell
VB what you want it to do (which is what programming is).
Just to get you sort of started:
Vb is an event-driven environment, in large part. If you create a form, and put a button on it, here's what will happen:
When you run the program, the form will show on the screen. It will be largely idle.
When you click the button, and event is raised, called the Click event. (The button also has events like MouseOver, MouseOut, MouseDown, MouseUp, MouseMove, DoubleClick, and so on.)
In the code you have written for the form, you will have added actions to take place within the Click event. That event being raised will cause the Click event code to run.
So let's say the button is named cmdStart ("cmd" for "Command" button.)
If you double-click the button during the design phase, the following will be added to the code belonging to the form:
Code:
Private Sub cmdStart_Click()
End Sub
The code between the first line and the last line will be run by clicking the button.
Let's say you create an Integer, set it to 10, then use the message box to display that. You would create:
Code:
Private Sub cmdStart_Click()
Dim i As Integer
i = 10
MsgBox "The Integer, i, = " & i
End Sub
That ampersand will add the characters 1 and 0 to the text between the quotes, and that joined set of characters will be displayed on the screen on top of everything els, within a box with an OK button on it. That joining of characters is called "concatenating" (kahn KAT ten aiting). Everything between the quotes is called a literal string.