I want to know , how does one inherit from a class? Example: In this class i want it to have coding to connect to the database, and i use a form to use this class to connect to the database.

Any suggestions as i a m not familar as how to go about this.


Is this what you mean? This is what inherit is.

Public Class MyInheritableClass

End Class

Public Class MyClass
    Inherits MyInheritableClass

End Class

Or are you trying to make a static class?
A static class cannot be declared, which means you only have only one of it.