Community articleDeveloping an application in Visual Basic
Added by IBM contributorIBM on July 26, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

In this tutorial, you will create an application that shows you how to read, modify, and write forms using the Form Library
By working through the tutorial, you will perform all of the steps involved in creating a simple application that uses the API functions, including:
  • Initializing the Form Library.
  • Reading a form into your application.
  • Setting and retrieving form data.
  • Removing a form from memory.
  • Destroying a form.
The sample application in this tutorial reads an input form called CalculateAge.xfd into memory. It retrieves the user's birth day, month, and year as well as the current date from the form. It then places these values into hidden fields in the form. This triggers the form to compute the user's age and display the result. When complete, the application saves the changes made to calculateAge.xfd as a new form called Output.xfd.
Note: The sample application described in this tutorial is included with the API and can be found in the folder: < API Program Folder
 
\Samples\COM\Form\Demo\Calculate_Age\

The tutorial describes the following tasks:
Parent topic:
COM Tutorials