R
Ron
Hello,
I need 2 projects/apps to communicate with each other. I
figured out how to create a Class Library project with a
form and how to add a new exe project to the solution. I
set the dependencies where the exe proj is dependent on
the class lib proj. Now I can instantiate the form in the
class lib (frmLIB) from the exe form (frmEXE). I can also
write text to frmLIB.txtLIB.text from frmEXE. But I
really need for frmLIB to be able to write text to
frmEXE.txtEXE.Text. For example, If I click a button on
frmLIB I want "testing" to show up in frmEXW.txtEXE.Text.
Here is how I instantiate frmLIB and write to txtLIB.text -
frmEXE is dependent on clsLIB and I have made a reference
to clsLIB.DLL
Dim frm As clsLIB.frmLIB = New clsLIB.frmLIB
frmLIB.txtLIB.Text = "testing"
frmLIB.Show()
So how can frmLIB reference frmEXE? I switched the
dependcies so that clsLIB is dependent on frmEXE, but I
can't reference frmEXE from frmLIB. Is this doable?
Thanks
I need 2 projects/apps to communicate with each other. I
figured out how to create a Class Library project with a
form and how to add a new exe project to the solution. I
set the dependencies where the exe proj is dependent on
the class lib proj. Now I can instantiate the form in the
class lib (frmLIB) from the exe form (frmEXE). I can also
write text to frmLIB.txtLIB.text from frmEXE. But I
really need for frmLIB to be able to write text to
frmEXE.txtEXE.Text. For example, If I click a button on
frmLIB I want "testing" to show up in frmEXW.txtEXE.Text.
Here is how I instantiate frmLIB and write to txtLIB.text -
frmEXE is dependent on clsLIB and I have made a reference
to clsLIB.DLL
Dim frm As clsLIB.frmLIB = New clsLIB.frmLIB
frmLIB.txtLIB.Text = "testing"
frmLIB.Show()
So how can frmLIB reference frmEXE? I switched the
dependcies so that clsLIB is dependent on frmEXE, but I
can't reference frmEXE from frmLIB. Is this doable?
Thanks