How can different forms use the same instance of a DLL's class?
Hi!
I have a simple question.
How do different forms in a Standard EXE project use the same reference to a DLL's class?
How do I instantiate the object in one form,and use it in that form, as well as other forms in the Project?
If I use:
Dim DBMOD as DatabaseModule.DBCLASS
Private sub Sub Form1_Load
Set DBMOD = New DatabaseModule.DBCLASS
End Sub
How do I use the same object DBMOD in my other forms?? It should be instantiated in one form and then used again in that form as well as other forms(the same instance of it).
Please help!!! :) thanks