I have a MDI application that needs to use an ActiveX control that I made as well. The ActiveX control does two things; number crunching and opens a its own dialog box if needed. Using the control from a dialog box is no problem, but I am having trouble getting it to run anywhere else. What I need to do is run the ActiveX control at statup, and preferably put it in the Main Frame class.
Is there a solution where I can get events and call methods from the ActiveX control with out having to open a dialog box first? The best solution that I can come up with is to create an invisible dialog box to keep the control in, although I haven't tried it yet.