Articles in this section
Category / Section

How to find an issues in using the web browser and other ActiveX controls with XPMenus in WinForms XPToolBar?

1 min read

Find an issue in using the web browser and other ActiveX controls with XPMenus

There is a known problem with embedding the Web browser and other ActiveX controls on a form when using XPMenus. While the Menus appear in the Designer, they do not show up at run-time.  Here are steps to work around this issue:

1. Remove BeginInit and EndInit call on the AxWebBrowser instance in the InitializeComponent.

2. Recompile and run the application and the menus should work fine.

The issue with this work around is that the designer will insert this code every time the form is saved. You will need to apply this fix every time.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied