empty fields

hello,
I have 3 textbox in the save.vb and a button called save
I want to make sure the ppl dont leave empty fields
meaning if they only put name and last name but not
phone a windows will come and say you need to put
your phone number. how would I do that?

Public Class frmAdd
Private Sub cmdSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdSave.Click
Dim FileNo As Short
On Error Resume Next

A better solution might be to create a separate function to check for valid entries and return a true/false value to indicate success/failure before writing the data to the file. You might want to look at performing some additional validation on the phone number as well.

XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should. An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way.
I've always enjoyed working with graphics, but it's never too clever to re-invent …

Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data.
A Microsoft Access subform is used to show relevant calcul…

When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…