I have no experience with VB. I need to create ActiveX control at run-time. I tried to use GetObject and CreateObject passing ProgID. Object is created successfully. But then I cannot call any of its methods or set any of its properties. I even can't show it if I set Visible control window property to true. I get run-time error "Object doesn't support this method".
Below is my piece of code
Dim objChart As Object
Set objChart = GetObject("", "mschartlib.mschart")
objChart.Visible = True