R
rzaleski
Is there a way to initialize an ActiveX control in a class? I tried
copying over the code that was auto generated when I added the control
to a form, but I am hung up on the following line:
this.mycontrol.OcxState = ((System.Windows.Forms.AxHost.State)
(resources.GetObject("mycontrol.OcxState")));
Is there any other way to accomplish this?
copying over the code that was auto generated when I added the control
to a form, but I am hung up on the following line:
this.mycontrol.OcxState = ((System.Windows.Forms.AxHost.State)
(resources.GetObject("mycontrol.OcxState")));
Is there any other way to accomplish this?