With the following code, the debugger keeps telling me "Too many arguments to 'Public Sub New()'. " What needs to be done w/ it?
' create new object and store into Client array clients(count) = New Client(firstName(count), _ lastName(count), account(count), _ balance(count))
Also, it's letting me know that an "Overload resolution failed because no accessible 'Show' can be called with these arguments:" -then gives me a huge list. Here's the code it's yelling at:
Public Property First() As String Get Return firstValue End Get Set(ByVal value As String) If (value = "") Then MessageBox.Show("Please enter a first name.", MessageBoxButtons.OK, _ MessageBoxIcon.Information) End If End Set End Property
What do I need to do in order to get a message box to pop up without coding it like this?