I am new to classes, and I am new to Visual Basic in general, but I am working on a multi class program. The code seems to be correct, but I am trying on instantiate a class oject with the code:
BookEntry = BookEntry(txtISBN.Text, txtTitle.Text, txtAuthor.Text, Category)
Which has a contructor of:
Sub New(ByVal ISBN As String, ByVal Title As String, ByVal Author As String, ByVal Category As String)
MyBase.New()
_ISBN = ISBN
_Title = Title
_Author = Author
_Category = Category
End Sub
I have no errors in my code (unless they are logical) except I keep getting a Class <Classname> cannot be indexed because it has no default property error.
I have Option Strict on, and I have re-written both my construtor and instantiator code.
If anyone has any idea what this might be your help would be very greatly appreciated.
UOK Games Webmaster, Network Administrator http://uokgames.com