Hello, I was asked for a class to develop a component.
What this component has to have is an interfase and its contract.
So I began with an ActiveX DLL project... How would I develop the interface? Or am I doing the wrong thing? In our classes we were told Components didn't behave like Objects but I have this:
VB Code:
Option Explicit Private Sub Form_Load() Dim myComponent As VBToExcel Set myComponent = New VBToExcel myComponent.DoSomething Set myComponent = Nothing End Sub
What am I missing? Did I mess it up?I mean, the code is working but it shouldn't be done like that, should it?




I mean, the code is working but it shouldn't be done like that, should it?
Rest in Peace, we will take care of the rest of it.
Reply With Quote