Showing posts with label InfoPath Forms Code behind. Show all posts
Showing posts with label InfoPath Forms Code behind. Show all posts

Friday, May 11, 2012

Beginning InfoPath Development

Beginning InfoPath Development

  • You can design any sort of forms of in Microsoft InfoPath Designer.
  • Microsoft InfoPath Designer is available in the Microsoft Office.
  • Along with designing of the forms it also assists you in defining different types of validation rules in just a few clicks.
  • You can also do backend coding for the form by using Visual Studio Tools for Applications(VSTA).
  • In order to write any sort of code for your infopath form you will need to install the VSTA. In the VSTA you can write your code in C# or VB.
  • Before you write any sort of code, you need to enable the VSTA from the Control Panel.
  • The steps to enable VSTA are as follows:
          1)Go to Control Panel and select Add and Remove Programs
          2)Select Microsoft Office Professional, Right Click and Select Change
          3)Select Add and Remove Features
          4)Select Microsoft Infopath and click on the "+" sign
          5)An option called as .NET Programmability Support will be present, click on the "+" sign.    
          6)You will find Visual Studio Tools for Applications(VSTA). Right click on it and select Run         from my computer.
  • A small installation will start installing the VSTA.
  • After the VSTA is installed you can select Code Editor from the developer tab in the Infopath and begin coding.
  • For learning basic code behind you can refer to this link : click here.
Happy Coding..