locked
Need guidance to add Active X Control in the commandbar of Visual studio shell application RRS feed

  • Question

  • Hi,

    We have a visual studio shell application and we are trying to add active x control to the command bar (Tool bar specifically)

    Need help to add Active X Control in the commandbar of Visual studio shell application in c#..

    We use the below command to create the active x control.

    var activeX = toolsCommandBar.Controls.Add(MsoControlType.msoControlActiveX, 1, String.Empty, brideclient.Index + 1, true);

    But in this command I am unable to associate the GUID of My Active x control. Can you guide me how to do this?
    Monday, May 18, 2020 11:36 AM

All replies

  • Hi Hemalatha Nallusamy,

    The active x control doesn't support visual studio, which works for ms office app.

    And you can try to follow this document to add your activex control to toolbar.

    Best Regards,

    Dylan


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Tuesday, May 19, 2020 6:25 AM
  • Thank You
    Tuesday, May 19, 2020 8:38 AM
  • Hi Hemalatha Nallusamy,

    If my reply is helpful for you, we suggest you could mark it as answer. And if you have other questions about it, please feel free to contact us.

    Have a nice day.

    Best Regards,

    Dylan


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Wednesday, May 20, 2020 8:28 AM