hello guys,
i have to create dynamic control. when i adding textbox, command button
by ** form1.controls.add ** method. it works fine but when i try to add activeX
contols like data control(dbcontrol) it gives me some type mismatch error.
please help me if anyone had implemented this one.

thanks!!

ashish