Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to setup a activex control

Status
Not open for further replies.

Rizar

Programmer
Apr 30, 2004
11
CA
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top