I created my control
dim NewCtrl as Control
Set NewCtrl = CreateControl(TheForm.Name, acCustomControl, acDetail, , , 1, 1)
How I can fix the class and OLE of the ActiveX control... I want to place my control and not the default control... i'm a bit lost with creating ActiveX control from nothing...
At least I can change the name
NewCtrl.Name = "Switch
dim NewCtrl as Control
Set NewCtrl = CreateControl(TheForm.Name, acCustomControl, acDetail, , , 1, 1)
How I can fix the class and OLE of the ActiveX control... I want to place my control and not the default control... i'm a bit lost with creating ActiveX control from nothing...
At least I can change the name
NewCtrl.Name = "Switch