ActiveX EXE to ActiveX Control
Hello!
I've got a big Problem! I dveloped an ActiveX EXE based on a MDI Form! Now I have to to make an ActiveX Control (OCX) from the EXE. Does anybody knows how I can solve it the best way?
I really don't want to develpe it new!!! :o)
Thank you for every answer!
Bye
Sebastian
# 1 Re: ActiveX EXE to ActiveX Control
I don't know if it's going to work, but...
Go to Project/Properties... and change Project Type to ActiveX control.
# 2 Re: ActiveX EXE to ActiveX Control
Thank U!
But...this was my first action! And it in not so easy, because a MDI-Form cannot be embedded. So I have to change the MDI to an User Control. This is possible. But now the problem beginns!
Many classes must be public. An ActiveX Control does not allowed public classes!
So I made the Public classes private. And changed all necessery data.
After that all clases don't know from witch instance they were created!
That was to much to changed!
And I hoped to get an easier way, how to solve this problem! Perhaps somebody how to do it!
Bye
Sebastian