Upon aiding a friend - I have decided to post the example used here.
The following is a snippet that shows basic class inheritance.
The source file as well as a test case can be found attached.
You can test these classes with the following code:
Dim cNew As New Car
Dim vNew As New Van
Dim tNew As New Truck
With cNew
.Make = "Chevrolet"
.Model = "Camaro"
.Engine = 6.0
.Year = 2013
.Style = Car.StyleOption.Coupe
MsgBox(.ToString)
End With
With vNew
.Make = "Chevrolet"
.Model = "Express"
.Engine = 6.0
.Passengers = 4
.Year = 2013
.Cargo_Rack = True
.Folding_Seats = False
MsgBox(.ToString)
End With
With tNew
.Make = "Chevrolet"
.Model = "Silverado"
.Engine = 6.0
.Year = 2013
.Cab = Truck.CabSize.Crew_Cab
.Torque = 413
MsgBox(.ToString)
End With