... or a Construct() method (or some other similarly suggestive name) as a direct member of the class. The downside (as against a Factory) is an extra line of code at object create time, the upside is, er, not having to write the Factory(!) Depends on the size and complexity of the problem.
[puts "Design Patterns" back onthe bookshelf...]
I am creating some data objects and when the object is created I want to pass the Data record ID so that I dont have to create the object and call a method
i.e
Set objWorkOrder = CreateObject("LAMDataObj.WorkOrderCls('WOID')"
I have VB.net standard wich does not support ActiveX Dll
Can I Use Visual Studio 6 to create the dll and then install the .net framework
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.