Although Word has a huge selection of built-in dialog boxes
for gathering user input, VSTO opens the doors to using Win-
dows Forms and Windows Forms controls with your Office
solutions. There are several ways you can interact with a user
in Word using VSTO. In this section we focus on using Win-
dows Forms and placing controls directly on a document or
template.
VSTO and Windows Forms
As mentioned in Chapter 13, Windows Forms are completely
different from the MSForms UserForms that are part of VBA.
Windows Forms are founded in the System.Win-
dows.Forms.Form class supplied by the .NET Framework.
There are three basic ways you can work with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.