Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

accessing a user control from another user control (casting)

Status
Not open for further replies.

fcoomermd

Programmer
Nov 20, 2002
218
CA
how do I access controls on one user control from another, so I can set their properties?

I am hearing casting is the way to do it
for example:

Dim blah As ProjectName.dashboard = DirectCast(Me, ProjectName.dashboard)

NOTE: dashboard is a user control name

however this doesn't work...
any ideas? thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top