Add a custom taskpane to Word 2010 using C#

17 Oct

Create a VisualStudio project, in the template, select Word2010 Addin:


Word 2010 addin template: Application-level add-ins

Word 2010 document: Document-level customizations

Add a new user control “DemoTaskPaneControl” to the project, and add some controls to it.


Add the code below to the ThisAddIn_Startup() function


Compile and run the project, and you will see a new taskpane shown in MS Word 2010.


To disable the addin in MS Word 2010, go to File > Options > Addins > Manage, and unslect the addin project:


That is it.

Leave a comment

Posted by on October 17, 2010 in Dotnet/C#, Programming


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: