ActiveX Controls
- Hi, I am trying to embed an activex control (.ocx) created using VB6.0. It's a bare bones usercontrol with no extra code, just for testing purposes. But when I embed this control in one of our windows forms in our legacy development environment (Gupta Centura V3.1), running as an MDI child in an MDI context, the main menu bar of our runtime MDI disappears. And to get it back we have to close the container form. I think this to be a bug our development environment, not to support generic cases of activex controls. But the same program when built with some other standard ocx shipped with MS OFFICE 11 (MSCAL.OCX) works all fine and the MDI menu bar stays without any problem. I have checked with all the possible combinations in VB project settings and also from OLE/COM viewer, without any luck. Can someone suggest me if there is anything else that I could do to make it appear to be similar to MSCAL.OCX in order to avoid my MDI menu disappearing once thefocus is passed to the usercontrol? Pls don't tell me to go for MFC or ATL, since this is supposed to be a highly RAD type of work. Thanks.
Answers
- Hello iiahmadabdullah,
This forum provides support for documentation and interoperability questions on open specifications.
The Open Protocol Specifications can be found at: http://msdn2.microsoft.com/en-us/library/cc203350.aspx.
Your post does not appear to be related to the Open Protocols Specifications documentation set.
You may want to try one of our MSDN forums to get you started finding what you need. I would choose the language forum for the language you are coding in which can be found here:
VB - http://social.msdn.microsoft.com/Forums/en-US/category/visualbasic
C# - http://social.msdn.microsoft.com/Forums/en-US/category/visualcsharp
C++ - http://social.msdn.microsoft.com/Forums/en-US/category/visualc
You mentioned that you are embedding this control in a windows form so the following forum may be useful as well.
Windows Forms -- http://social.msdn.microsoft.com/Forums/en-US/category/windowsformsThanks
John Dunning
Senior Escalation Engineer Microsoft Corporation
US-CSS DSC PROTOCOL TEAM- Marked As Answer byJohn DunningMSFT, ModeratorThursday, July 09, 2009 3:55 PM
All Replies
- Hello iiahmadabdullah,
This forum provides support for documentation and interoperability questions on open specifications.
The Open Protocol Specifications can be found at: http://msdn2.microsoft.com/en-us/library/cc203350.aspx.
Your post does not appear to be related to the Open Protocols Specifications documentation set.
You may want to try one of our MSDN forums to get you started finding what you need. I would choose the language forum for the language you are coding in which can be found here:
VB - http://social.msdn.microsoft.com/Forums/en-US/category/visualbasic
C# - http://social.msdn.microsoft.com/Forums/en-US/category/visualcsharp
C++ - http://social.msdn.microsoft.com/Forums/en-US/category/visualc
You mentioned that you are embedding this control in a windows form so the following forum may be useful as well.
Windows Forms -- http://social.msdn.microsoft.com/Forums/en-US/category/windowsformsThanks
John Dunning
Senior Escalation Engineer Microsoft Corporation
US-CSS DSC PROTOCOL TEAM- Marked As Answer byJohn DunningMSFT, ModeratorThursday, July 09, 2009 3:55 PM
- Thanks.


