Problems with a Control

Hi:
I have a control developed by another programmer and I wanto to add it to the ToolBox. I register the Dll file well, but when I drag it to the form it throws an exception saying that the DLL  has not a constructor in the Class.
I don't know if i's a stupid question, but I'm starting with the control programing. 
Thanks


Answer this question

Problems with a Control

  • szesteve

    Well to talk with the guy is imposible I think. Anyway, which is the 12 step process  I mean. When I register the control I right click the toolbox and I add an element. I search for the DLL file and I click OK. Then I drag into the form and...CRASH! The class hasn't got any contructor...
    Thanks ;)

  • steveio54

    is this a .NET control or an ActiveX control

  • Christof

    You may wish to discuss it with the other programmer.  If he just gave you an assembly w/o source, then it could be that the other programmer goofed it up.  

    You may also wish to ask that programmer to create an installer for it rather than giving you the 12 step process.  

  • Problems with a Control