Skip to content

InfoPath cannot build the Visual Basic or C# Code

by on November 4, 2014

Adding Visual Basic or C code to a form requires Microsoft Visual Studio Tools for Applications (VSTA). To enable this feature, run Microsoft Office 2010 setup, and change the Microsoft Visual Studio Tools for Applications option under InfoPath to Run from my computer. The Microsoft .NET Framework 2.0 must be installed before installing VSTA.image

Start > add remove programs > right click on Microsoft Office 2010 > change


Add or remove features > continue

Expand > Microsoft office > Microsoft infopath > .Net programmability supportimage

Click on Visual studio tools for applications > select Run from my computer


Click continue (if this was already set, you may not need to)

NOTE: Prerequisites are .NET framework 2.0 and MS core xml services 6.0


Microsoft .NET Framework 2.0

Control Panel\Programs\Programs and Features > click on Turn Windows Features on or off (left panel) > wait for load > look for .NET Framework 2.0, 3.5, or 4.x, etc. (this should be inclusive of the older versions of .NET)


Expand > make sure BOTH boxes are checked for “Communication Foundation …” > click OK > wait for configuration change


Microsoft Core XML Services 6.0


From → InfoPath, Microsoft

One Comment

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: