Share via


Presentation: Working with Managed Controls

In this presentation, I describe the managed controls that are available for use on Microsoft Office Word and Microsoft Office Excel documents. Included in the presentation is a demonstration showing how to add the controls to your document at design time and run time, a discussion of the main considerations to keep in mind when you use Windows Forms controls on Office documents, and an example of hosting custom controls on documents.

 

This video is 30 minutes long and the file size is 18 MB. You can view this streaming video presentation at Working with Managed Controls.

 

--Kathleen McGrath

 

-----
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at https://www.microsoft.com/info/cpyright.htm.

Comments

  • Anonymous
    March 24, 2005
    Great presentation. It's interesting to see how the programming model for VSTO continues to evolve. I don't recall this level of control support in the earlier beta releases.<br><br>Conspicuously absent from the series is an ActionsPane presentation. Maybe I missed it, but I wonder if you are downplaying this now that control support is so thorough within the document itself. Of course, there are scenarios where you would still want to use the ActionsPane, or both embedded controls and controls hosted in the ActionsPane. But I'm interested to hear what MS thinks about managed controls embedded in the document vs. using the ActionsPane.<br><br>FYI, the image quality is fairly poor in the video. It was hard to read the code. This doesn't take away from good information in the presentation, though.
  • Anonymous
    April 11, 2005
    There are three short video demos on the actions pane posted to this blog:

    Video Tutorial: How to Add Controls to the Actions Pane (http://blogs.msdn.com/vsto2/archive/2004/11/10/255160.aspx)

    Video Tutorial: How to Set the Stack Order of Controls on the Actions Pane
    (http://blogs.msdn.com/vsto2/archive/2004/12/01/273101.aspx)

    Video Tutorial: How to Change Controls on the Actions Pane
    (http://blogs.msdn.com/vsto2/archive/2004/12/13/281969.aspx)

    --Kathleen McGrath
  • Anonymous
    November 01, 2008
    Hi,   I created some custom plaintextcontentcontrols for word 2007 vsto project.  I am able to delete the created custom controls but the problem is with the empty space.  The custom controls got deleted but not the space.  Can anyone suggest me how to delete those empty spaces in the document because that is giving problem while generating dynamic controls for the next time? Thanks in advance C.N.Siva