Saving a Part

Saving a part that you have constructed includes generating the source code. If the part is an application or if you want to test the part by itself, you need a main part, which is a subclass of IVBMain.

To save the part and generate the source code:

  1. Select File from the menu bar.
  2. Select Save and generate.
  3. Select Part source.

To create an executable application, and generate code for the main() function:

  1. Create a nonvisual composite part that inherits from IVBMain.
  2. Generate source code for the main part as you did for other composites.


Related concepts
Generated Application Code

Related procedures
Generating Source Code
Generating Source Code for Your Application's main( ) Function
Working with IVBMain Parts