I'm attempting to reference controls on one form from another. For example, depending on certain conditions I might want to show hidden controls on form A when opening from form B. I have done this sucessfully several times in my application.

But now, when I try accessing the control, the error: 'dtpAddyEnd' is not a member of 'System.Windows.Forms.Form' displays.

The controls are accessible in form A's .vb code without issue.

The code snippet from form B is:
Code:
                Dim frm as Form
                        frm = New frmClientAddyAdd
                        frm.dtpAddyEnd.visible = True
                        frm.ShowDialog()
which is identical to code in forms that work.

I've looked in form A's Designer code to see if anything looked out of place, but was unable to see a problem.

I've tried cleaning the code and rebuilding. I closed out of VS and reopened, but all to no avail.

Any suggestions?
Vic