I created a UserControl in my project. After that I change it to be inherited from combobox instead of UserControl –
public partial class EprComboBoxControl : System.Windows.Forms.ComboBox
Then I build the project and that control appears in the tool box. Then I created a new windows from and add the item from tool box. When I am adding the control it says an error as follows.
failed to load the toolbox item ‘EprComboBoxControl’.It will be removed from the tool box.
I am using VS 2005
Try to add application exe in toolbox item.
Or
Create instance of control and use.
Please follow this for more reference.