Pirates From History:

Visual Basic Database Tutorial

Ahoy! I'm going to be showing you how to make a database full of pirates in Visual Basic.

This tutorial is going to have four parts: The menu form, the add record form, the browse form and the search form. In each of these parts I will provide the steps I went through, what the code means and does and the code itself.

Lets begin with the menu form, as shown below:

From this form you will navigate to all the other forms in this project, so create a form and add three buttons as well as a quit button.

(Authors note: The transparent property does not work for buttons so I had to use the code to make them transparent: )
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load

'All of this crappy-looking code is what's making the button backgrounds transparent
Button1.FlatStyle = Windows.Forms.FlatStyle.Flat
Button1.FlatAppearance.BorderSize = 0
Button1.FlatAppearance.MouseDownBackColor = Color.Transparent
Button1.FlatAppearance.MouseOverBackColor = Color.Transparent
Button1.BackColor = Color.Transparent

End Sub
(Use this code to make your buttons transparent, the only thing you should have to change (to get my results) is the name of the buttons)

Now you will put the code in each button that will open its corresponding form, as follows:

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click


End Sub

All you have to do for the other buttons is put the appropriate name.show()

Now lets move on to the hard stuff!

Part 2! Part 3! Part 4!