Thanks, My problem is solved. One more thing, i need to show selected activex images in a ToolBox on start of application and allow user to drag n drop controls onto the container...Just like we do while designing a dialog box(adding buttons,etc). Any help on how to do it?