Use Visual Studio Tools for Applications (VSTA) to write Visual Basic and C# code for InfoPath form templates. The Microsoft ...