Wednesday, September 22, 2010

Infopath Cannot add the Event Handlers

2 comments
When we try  to open the code for Infopath form , we recieve

   Error Message :
                               Infopath cannot add the Event Handler.
                               Infopath cannot create the visual basic or C# project.
                               The Location of the visual basic or C# project cannot be found or cannot be accessed.



   Resolution :

            Go to Tools -> Options -> Design Tab

                                Select the desired programming language in the Drop Down

            Go to Tools -> Form Options -> Programming Section

                                Select the desired language from form template code.


        Now you are ready to write the custom code in C# or visual basic