Griaule Biometrics

Home » Creating an Access Control System using VB.2008 and Fingerprint SDK - Interface I

Basic forms

These steps will create your application interface, based on Windows forms.

The Users Management form

The first form we’ll will be used to manage your Users table. Since your project already contains an initial form, let’s work with it. First of all, let’s rename it:

  1. Right-click your initial Form1 and choose Properties;
  2. Change the Name property to formUsers (this is the name of the object reference):

  1. Change the Text property to Users management (this will change the form title):

Now let’s add the interface to your Users table. It’s very simple:

  1. On Data Sources tab, select Users table:

  1. To create a clean interface, click the drop-down arrow and change from DataGridView to Details. This will create an TextBox control for each table field instead of a DataGridView control;
  2. Drag the icon representing the Users table to your form. This will create several controls in your form:

Form contents explained:

Control name Type Function
NameTextBox Text box Manage Name column on Users table
OfficeTextBox Text box Manage Office column on Users table
PositionTextBox Text box Manage Position column on Users table
AccessControlDataSet Data set Maintains an in-memory copy of AccessControl database
TableAdapterManager Table adapter manager Provides the functionality to save data in related data tables
UsersTableAdapter Table adapter Provides communication between Users data set and database
UsersBindingSource Binding source Binds your form components to Users data set
UsersBindingNavigator Binding navigator The top navigation bar, to manipulate data on your form

 So far that’s all that you need to work with your database. Click Debug Start Debugging and execute your users form to see it working.

The Systems management form

Let’s add a new form to your project:

  1. Click Project Add Windows form…
  2. Rename it to formSystems;
  3. Change title to Systems management;
  4. Repeat the steps from Users form, but using Systems data source;
  5. The resulting form will look like this:

Pretty easy so far, right?