If its in the Project you need to ensure that it has Public or Friend scoping. I think the default scoping is friend.
If its in a class library that you are using you need to ensure that the class has Public scoping. If you specified friend or didnt specify any and it uses the default friend then it wont be visible to the Application.
Compilation error
AlistairSKing
Is this class in the the project or in a library
If its in the Project you need to ensure that it has Public or Friend scoping. I think the default scoping is friend.
If its in a class library that you are using you need to ensure that the class has Public scoping. If you specified friend or didnt specify any and it uses the default friend then it wont be visible to the Application.
pompoko
Do you have the implements statement on your properties, sub, or functions
Public Interface ISubClass
Function MyFunction() As Integer
Sub MySub()
End Interface
Public Class TheTestClass
Implements ISubClass
Public Function MyFunction() As Integer Implements ISubClass.MyFunction
Return 0
End Function
Public Sub MySub() Implements ISubClass.MySub
End Sub
End Class
poiuytrewq
CharlieRussell
If ISubClass is defined in another namespace you will need to import it for the compiler to recognize it.
Imports TheNamespace.WithSubClass
LpAngelRob