you are making it the wrong way.
The dll should be a gui-less component, that reads data (from wherever it is, database, file, internet) and exposes it via properties. The dll should be completeley ignorant of any user interface, so in this way the same dll can be used by more than one app. The main app creates an instance of the dll, and populate its form[s] with the data collected in the dll. There is no reason to recompile anything as long as the data is read on run time:
Option Explict
Dim a As testtext 'testtext is the class in the activex dll
Private Sub Form_Load ()
Set a = New testtext
Me.Caption = a.GetFormCaption
End Sub
Marco
|