Search results

  1. P

    Create new instance with variables.

    Is it possible to code a VBA class that accepts variables when creating an object instance? e.g. Dim myClass as AClass = new AClass("aParm", "bParm")
  2. P

    Need help implementing property of base class in derived class.

    In my base class (clsBase) I have Public aProperty As String and the Let and Get skeleton property methods. In the derived class (clsDerived) I coded Implements clsBase. I coded the Let and Get property methods, prefixing them with clsBase_xxxx. That works great. I can't figure out how to...
  3. P

    Interface implementation not executing.

    To play with writing an interface and implementation I wrote a simple example. The interface "clsSimple" has a field that I named pCustomerName and defined is as String. I created the Public Get and Set properties for CustomerName and wrote no code for them since they would be implemented in the...
Back
Top Bottom