Not in classic VB. Constructors are supported in VB.NET. Having said that, it is possible to do something similar with VB6 - you need to investigate the idea of a factory class.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.