Originally posted by crptcblade
try
VB Code:
  1. Set Label1.Container = Frame1

Hmmm, it's not working. Shows me "Invalid Object Use" error.
My code is like:
VB Code:
  1. Set frmExtra.Command1.Container = whichform

So the code is in the module, and it takes the control from frmExtra and shows that on whichform.