Friday, September 28, 2012

Error while writing managed code for infopath 2007 forms - InfoPath cannot add the event handler.


InfoPath cannot add the event handler.

To work with Visual Basic or C# code, Microsoft visual studio tools for Applications (VSTA) is reguired. The Microsoft .Net Framework 2.0 and Microsoft Core XML Services 6.0 must be installed prior to installing VSTA…..

He has installed everything that is required. (MSXML Parser 6.0 / VS-2005 / VSTA) but still facing this error. Here is the solution from “Faithful”:

(1) Start “Add or Change Programs” from Control Panel
(2) From the list of installed programs, select “Microsoft Office 2007”, see this:

And click the “Change” button
(3) In the dialog that comes up, click the “Continue” button
(4) In the dialog that comes up, drill down to “Visual Studio Tools for Applications” and select “Run from My Computer”, like this:
And click “Continue”
(5) When the installation is done, you should be able to add events to your InfoPath forms.
6 Responses to “Error while writing managed code for infopath 2007 forms - InfoPath cannot add the event handler.”

No comments:

Post a Comment