Let's run our program; right click on the
project in the Project Explorer and select Set As Startup. Then press F5 to run the new control.hostPrj.vbp
Of course, you would want to add additional text boxes for other fields. When the form is loaded, our control looks for each of the controls that are bound to our data control and locks them. Using our control, we have effectively recreated our State Machine that we discussed earlier. The user can't make a mistake. Once our control has all of the bells and whistles we wish to add, then making up a nice human/machine interface - the window between the database and the user - becomes a snap.
Next, let's look at how we package up our control so that we can let other people use it.