I cant seem to find an answer to this issue.

I am opening a form from a user control. I created some public write only properties on the user control, but I cant figure out how to create a reference to the original existing user control to interact with those properties.

any assistance would be appreciated

Make use of the sender object of the form.

You can cast the sender to the type of your control.

  Dim cntrl As New Type
  cntrl = TryCast(Sender,Type)

Thank you. I think would solve my problem but I can figure out where the correct sender is located. When I use the load event it seems to have the sender as the current form.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.